Checkpoint question

Поиск
Список
Период
Сортировка
От Qingqing Zhou
Тема Checkpoint question
Дата
Msg-id Pine.LNX.4.58.0601111812270.2317@eon.cs
обсуждение исходный текст
Ответы Re: Checkpoint question
Re: Checkpoint question
Список 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 по дате отправления: