RE: AW: Plans for solving the VACUUM problem

Поиск
Список
Период
Сортировка
От Mikheev, Vadim
Тема RE: AW: Plans for solving the VACUUM problem
Дата
Msg-id 3705826352029646A3E91C53F7189E3201665C@sectorbase2.sectorbase.com
обсуждение исходный текст
Ответ на AW: Plans for solving the VACUUM problem  (Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>)
Список pgsql-hackers
> > > So are whole pages stored in rollback segments or just
> > > the modified data?
> > 
> > This is implementation dependent. Storing whole pages is
> > much easy to do, but obviously it's better to store just
> > modified data.
> 
> I am not sure it is necessarily better. Seems to be a tradeoff here.
> pros of whole pages:
>     a possible merge with physical log (for first
>           modification of a page after checkpoint
>         there would be no overhead compared to current 
>           since it is already written now)

Using WAL as RS data storage is questionable.

>     in a clever implementation a page already in the
>           "rollback segment" might satisfy the 
>         modification of another row on that page, and 
>           thus would not need any additional io.

This would be possible only if there was no commit (same SCN)
between two modifications.

But, aren't we too deep on overwriting smgr (O-smgr) implementation?
It's doable. It has advantages in terms of IO active transactions
must do to follow MVCC. It has drawback in terms of required
disk space (and, oh yeh, it's not easy to implement -:)).
So, any other opinions about value of O-smgr?

Vadim


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

Предыдущее
От: Don Baccus
Дата:
Сообщение: Re: Support for %TYPE in CREATE FUNCTION
Следующее
От: "gabriel"
Дата:
Сообщение: pg_log ??