pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chander Ganesan <chander@otg-nc.com>
To: Jan-Peter.Seifert@gmx.de
Cc: pgsql-admin@postgresql.org
Subject: Re: PostgreSQL's query caching behaviour
Date: Thu, 22 Jan 2009 16:52:13 -0500
Message-ID: <4978EA8D.5010609@otg-nc.com> (raw)
In-Reply-To: <20090122125328.233660@gmx.net>
References: <20090122125328.233660@gmx.net>

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.




view thread (2+ messages)

Message-ID: <4978EA8D.5010609@otg-nc.com>
Permalink:  ../4978EA8D.5010609@otg-nc.com/
Also on:    postgresql.org/message-id/4978EA8D.5010609@otg-nc.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: chander@otg-nc.com, Jan-Peter.Seifert@gmx.de
  Subject: Re: PostgreSQL's query caching behaviour
  In-Reply-To: <4978EA8D.5010609@otg-nc.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox