Re: PostgreSQL Caching

Поиск
Список
Период
Сортировка
От Brad Nicholson
Тема Re: PostgreSQL Caching
Дата
Msg-id 1159969946.15773.23.camel@dba5.int.libertyrms.com
обсуждение исходный текст
Ответ на Re: PostgreSQL Caching  ("Tomeh, Husam" <htomeh@firstam.com>)
Список pgsql-performance
On Tue, 2006-10-03 at 18:29 -0700, Tomeh, Husam wrote:
>  >>      * When any session updates the data that already in shared
> buffer,
> >>does Postgres synchronize the data both disk and shared buffers area
> >> immediately ?
>
> Not necessarily true. When a block is modified in the shared buffers,
> the modified block is written to the Postgres WAL log. A periodic DB
> checkpoint is performed to flush the modified blocks in the shared
> buffers to the data files.

Postgres 8.0 and beyond have a process called bgwriter that continually
flushes dirty buffers to disk, to minimize the work that needs to be
done at checkpoint time.


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

Предыдущее
От: "simon godden"
Дата:
Сообщение: Re: simple case using index on windows but not on linux
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: simple case using index on windows but not on linux