Re: Checkpoints and buffers that are hint-bit-dirty

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Checkpoints and buffers that are hint-bit-dirty
Дата
Msg-id 1948.1183821808@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Checkpoints and buffers that are hint-bit-dirty  (Gregory Stark <stark@enterprisedb.com>)
Ответы Re: Checkpoints and buffers that are hint-bit-dirty
Список pgsql-hackers
Gregory Stark <stark@enterprisedb.com> 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 modification, ie, hint bit setting. The other non-wal-logged
> operations will sync the buffer themselves when they're done.

In the current dispensation we don't really care how long a checkpoint
takes, so I don't see the advantage to be gained.
        regards, tom lane


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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Fixed from TODO?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: usleep feature for pgbench