Re: PG and undo logging

Поиск
Список
Период
Сортировка
От 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 по дате отправления:

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: How to skip duplicate records while copying from CSV to table in Postgresql using "COPY"
Следующее
От: Arup Rakshit
Дата:
Сообщение: Re: How to skip duplicate records while copying from CSV to table in Postgresql using "COPY"