RE: Plans for solving the VACUUM problem

Поиск
Список
Период
Сортировка
От Mikheev, Vadim
Тема RE: Plans for solving the VACUUM problem
Дата
Msg-id 3705826352029646A3E91C53F7189E32016651@sectorbase2.sectorbase.com
обсуждение исходный текст
Ответ на Plans for solving the VACUUM problem  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> If PostgreSQL wants to stay MVCC, then we should imho forget
> "overwriting smgr" very fast.
> 
> Let me try to list the pros and cons that I can think of:
> Pro:
>     no index modification if key stays same
>     no search for free space for update (if tuple still
>         fits into page)
>     no pg_log
> Con:
>     additional IO to write "before image" to rollback segment
>         (every before image, not only first after checkpoint)
>         (also before image of every index page that is updated !)

I don't think that Oracle writes entire page as before image - just
tuple data and some control info. As for additional IO - we'll do it
anyway to remove "before image" (deleted tuple data) from data files.

Vadim


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

Предыдущее
От: reina@nsi.edu (Tony Reina)
Дата:
Сообщение: Shared memory for RH Linux 7.1
Следующее
От: "Oliver Elphick"
Дата:
Сообщение: Re: Bug#98565: postgresql logs notices with GMT timestamps in syslog (fwd)