[ADMIN] Restoring From Backups

Поиск
Список
Период
Сортировка
От Harold Falkmeyer
Тема [ADMIN] Restoring From Backups
Дата
Msg-id CACcYriu4d8am_8nso7m94V4=8MG+_cmk1Lo=t0NHJ4m6odEknA@mail.gmail.com
обсуждение исходный текст
Ответы Re: [ADMIN] Restoring From Backups
Список pgsql-admin
Greetings,

Three'ish more questions:

When restoring a table from backup (using pg_dump and pg_restore), are there reasons, other than restoration performance, to defer index restoration until after the COPY is complete?

After completing a COPY into a fresh table, is there any benefit to running a subsequent VACUUM (given that there shouldn't be any dead tuples)?

As we understand it, an ANALYZE is necessary, regardless if we restore to a table with preexisting indexes or one that's had indexes added after the fact.  Is this correct?  Put slightly a different way, do CREATE INDEX and/or REINDEX operations cause stats updates?

Thank you in advance,

Harold Falkmeyer

В списке pgsql-admin по дате отправления:

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: [ADMIN] How to build a distributed pg-10.0 cluster
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [ADMIN] Restoring From Backups