Re: Can we Flush the Postgres Shared Memory ?

Поиск
Список
Период
Сортировка
От raghu ram
Тема Re: Can we Flush the Postgres Shared Memory ?
Дата
Msg-id BANLkTinmZhDFg-PV5sztAYVLMm7Qm-+p7w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Can we Flush the Postgres Shared Memory ?  (Raghavendra <raghavendra.rao@enterprisedb.com>)
Ответы Re: [GENERAL] Can we Flush the Postgres Shared Memory ?
Re: [GENERAL] Can we Flush the Postgres Shared Memory ?
Re: Can we Flush the Postgres Shared Memory ?
Список pgsql-admin


On Tue, May 3, 2011 at 6:01 PM, Raghavendra <raghavendra.rao@enterprisedb.com> wrote:

On Tue, May 3, 2011 at 5:37 PM, Simon Riggs <simon@2ndquadrant.com> wrote:
On Tue, May 3, 2011 at 11:54 AM, raghu ram <raghuchennuru@gmail.com> wrote:

> It may be a silly question, still out of curiosity I want to know, is there
> any possible way to flush the Postgres Shared Memory without restarting the
> cluster.
> In Oracle, we can flush the SGA, can we get the same feature here..
> Thanks in Advance.


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.


Is this clears the entire shared memory cache and same time,if i execute fresh SQL statement, Data will be retuned from disk??

 

--Raghu Ram


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

Предыдущее
От: Dimitar Atanasov
Дата:
Сообщение: Re: Postgresql backup bash script.
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: [GENERAL] Can we Flush the Postgres Shared Memory ?