From: | Simon Riggs <simon(at)2ndQuadrant(dot)com> |
---|---|
To: | raghu ram <raghuchennuru(at)gmail(dot)com> |
Cc: | Raghavendra <raghavendra(dot)rao(at)enterprisedb(dot)com>, pgsql-admin <pgsql-admin(at)postgresql(dot)org>, pgsql-general <pgsql-general(at)postgresql(dot)org>, pgsql novice <pgsql-novice(at)postgresql(dot)org> |
Subject: | Re: Can we Flush the Postgres Shared Memory ? |
Date: | 2011-05-03 13:54:30 |
Message-ID: | BANLkTim6ucpFuytq=kf2ignxFUeUK2N=1Q@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-general pgsql-novice |
On Tue, May 3, 2011 at 2:30 PM, raghu ram <raghuchennuru(at)gmail(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Cédric Villemain | 2011-05-03 13:55:00 | Re: [GENERAL] Can we Flush the Postgres Shared Memory ? |
Previous Message | tv | 2011-05-03 13:53:27 | Re: [GENERAL] Can we Flush the Postgres Shared Memory ? |
From | Date | Subject | |
---|---|---|---|
Next Message | Cédric Villemain | 2011-05-03 13:55:00 | Re: [GENERAL] Can we Flush the Postgres Shared Memory ? |
Previous Message | tv | 2011-05-03 13:53:27 | Re: [GENERAL] Can we Flush the Postgres Shared Memory ? |
From | Date | Subject | |
---|---|---|---|
Next Message | Cédric Villemain | 2011-05-03 13:55:00 | Re: [GENERAL] Can we Flush the Postgres Shared Memory ? |
Previous Message | tv | 2011-05-03 13:53:27 | Re: [GENERAL] Can we Flush the Postgres Shared Memory ? |