| От | Tom Lane |
|---|---|
| Тема | Re: Fastest way to restore a database |
| Дата | |
| Msg-id | 14884.1221246427@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Fastest way to restore a database (William Garrison <postgres@mobydisk.com>) |
| Ответы |
Re: Fastest way to restore a database
|
| Список | pgsql-general |
William Garrison <postgres@mobydisk.com> writes:
> So... if I am using pg_dump and pg_restore with a compressed backup,
> then it is using COPY, correct? And I think that would follow a CREATE
> TABLE statement as mentioned in the first link... so no WAL files written?
Only if you use --single-transaction.
The worry expressed upthread about the transaction being "too large" is
unfounded, btw. Unlike some other DBs, PG doesn't have a finite-size
undo log.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера