| От | Tom Lane |
|---|---|
| Тема | Re: PG and undo logging |
| Дата | |
| Msg-id | 26654.1432479604@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: PG and undo logging (Ravi Krishna <sravikrishna3@gmail.com>) |
| Список | pgsql-general |
Ravi Krishna <sravikrishna3@gmail.com> writes:
> Thanks for the detailed explanation. The explanation makes me wonder
> that PG must do more work at commit time, right?
No. Commit and abort are both O(1). Where we pay the piper is in
having to run VACUUM to clean up no-longer-needed row versions.
This is a better design in principle, because the necessary maintenance
can be done in background processes rather than making clients wait
for transactions to finish. In practice, it's still pretty annoying,
just in different ways than Oracle's UNDO.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера