Re: Theory question

Поиск
Список
Период
Сортировка
От dinesh kumar
Тема Re: Theory question
Дата
Msg-id CALnrH7qJ7H-zDkfnA9+V4-QM2HqM5HW2q40Sxm1X9KqEh2UaWA@mail.gmail.com
обсуждение исходный текст
Ответ на Theory question  (Jayadevan M <maymala.jayadevan@gmail.com>)
Список pgsql-general
On Tue, Nov 12, 2013 at 6:57 AM, Jayadevan M <maymala.jayadevan@gmail.com> wrote:
Hi,
What are the real differences between the bgwriter and checkpointer process? Both of them write data from the buffer to the data files, right? Is it just a matter of 'when' they write?

I believe, "Checkpoint" is one of the responsible duty of bgwriter process. AFAIK from PG 9.2 onwards, we have another independent process called "CKPTR process" which independently works. "Bgwriter" simply move the shared_buffer's pages into local disk on the basis of LRU method. Where as "CKPTR process" moves all the dirty buffers into local disk, and make a transaction log sequence, at which all the data files have been updated to reflect this information.

Best Regards,
Dinesh
manojadinesh.blogspot.com

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

Предыдущее
От: Raghavendra
Дата:
Сообщение: Re: Theory question
Следующее
От: "Francisco Figueiredo Jr."
Дата:
Сообщение: Re: GSSAPI server side on Linux, SSPI client side on Windows