| От | Tom Lane |
|---|---|
| Тема | Re: Fastest way to restore a database |
| Дата | |
| Msg-id | 15717.1221249346@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Fastest way to restore a database (Scott Ribe <scott_ribe@killerbytes.com>) |
| Ответы |
Re: Fastest way to restore a database
|
| Список | pgsql-general |
Scott Ribe <scott_ribe@killerbytes.com> writes:
>> 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.
> Sure, it won't fail. But would there be some point at which it would become
> slower than multiple transactions? Or is it always faster (or at least as
> fast)?
I can't think of any reason it would be slower.
There are certainly issues you could run into with very long
transactions, like vacuum not being able to remove bloat elsewhere.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера