> > > 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?
pgsql-hackers by date
|Next:||From: gabriel||Date: 2001-05-29 17:46:31|
|Subject: pg_log ??|
|Previous:||From: Hannu Krosing||Date: 2001-05-29 17:07:16|
|Subject: Re: Plans for solving the VACUUM problem|