Checkpoint question

Поиск
Список
Период
Сортировка
От Qingqing Zhou
Тема Checkpoint question
Дата
Msg-id Pine.LNX.4.58.0601111812270.2317@eon.cs
обсуждение исходный текст
Ответы Re: Checkpoint question  (Simon Riggs <simon@2ndquadrant.com>)
Re: Checkpoint question  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
I understand checkpoint code doing something like this:
Get RedoRecPtr;Flush all dirty buffers no matter what's its LSN;Write down checkpoint xlog record;

So I wonder is it possible flush only dirty buffers with LSN < RedoRecPtr
to improve checkpoint caused delay? Because even we flush every dirty
buffers, we still have to replay from the RedoRecPtr. Of course, this only
applies to non-critical checkpoints (critical ones like startup and
shutdown).

Regards,
Qingqing



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: sort operation leads planner to different number of rows?
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Checkpoint question