Re: [HACKERS] Checkpoints and buffers that are hint-bit-dirty

2007-07-08 Thread Gregory Stark
"Tom Lane" <[EMAIL PROTECTED]> writes: > Gregory Stark <[EMAIL PROTECTED]> writes: >> When we checkpoint we write out all dirty buffers. But ISTM we don't really >> need to write out buffers which are dirty but which have an LSN older than >> the >> previous checkpoint. Those represent buffers wh

Re: [HACKERS] Checkpoints and buffers that are hint-bit-dirty

2007-07-07 Thread Tom Lane
Gregory Stark <[EMAIL PROTECTED]> writes: > When we checkpoint we write out all dirty buffers. But ISTM we don't really > need to write out buffers which are dirty but which have an LSN older than the > previous checkpoint. Those represent buffers which were dirtied by a > non-wal-logged modificati

[HACKERS] Checkpoints and buffers that are hint-bit-dirty

2007-07-06 Thread Gregory Stark
When we checkpoint we write out all dirty buffers. But ISTM we don't really need to write out buffers which are dirty but which have an LSN older than the previous checkpoint. Those represent buffers which were dirtied by a non-wal-logged modification, ie, hint bit setting. The other non-wal-logge