Re: [ADMIN] Can we Flush the Postgres Shared Memory ?

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: [ADMIN] Can we Flush the Postgres Shared Memory ?
Дата
Msg-id BANLkTim6ucpFuytq=kf2ignxFUeUK2N=1Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [ADMIN] Can we Flush the Postgres Shared Memory ?  (raghu ram <raghuchennuru@gmail.com>)
Список pgsql-general
On Tue, May 3, 2011 at 2:30 PM, raghu ram <raghuchennuru@gmail.com> wrote:

>>> The CHECKPOINT command will do this for you.
>>
>>
>
> According to PostgreSQL documentation, whenever you execute "CHECKPOINT" in
> the database,it will flush the modified data files presented in the Shared
> Buffers retuned to the Disk.
>            http://www.postgresql.org/docs/9.0/static/sql-checkpoint.html
> Is this clears the entire shared memory cache and same time,if i execute
> fresh SQL statement, Data will be retuned from disk??

No, but then you'd need to flush OS buffers and all disk caches as
well to make that effective.

--
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

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

Предыдущее
От: Karsten Hilbert
Дата:
Сообщение: Re: [ADMIN] Can we Flush the Postgres Shared Memory ?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [ADMIN] Can we Flush the Postgres Shared Memory ?