Re: PostgreSQL's query caching behaviour - Mailing list pgsql-admin

From Chander Ganesan
Subject Re: PostgreSQL's query caching behaviour
Date
Msg-id 4978EA8D.5010609@otg-nc.com
Whole thread Raw
In response to PostgreSQL's query caching behaviour  (Jan-Peter.Seifert@gmx.de)
List pgsql-admin
Jan-Peter.Seifert@gmx.de wrote:
> Hello,
>
> I've a question regarding caching of results in the PostgreSQL-Server.
>
If you restart the server it will clear out the shared buffer pool, and
subsequent queries would show the appropriate delay..  You can clear out
the OS disk cache (on linux) using the commands:

sync
echo 1 > /proc/sys/vm/drop_caches

That's likely what you are missing.

--
Chander Ganesan
Open Technology Group, Inc.
One Copley Parkway, Suite 210
Morrisville, NC  27560
919-463-0999/877-258-8987
http://www.otg-nc.com
Expert PostgreSQL, PostGIS, MapServer, Python, PHP, Django and other Open Source Training.


pgsql-admin by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: Postgres 8.3.x upgrade
Next
From: Gerd König
Date:
Subject: pgpool-II question