Actually I am trying to figure out how much execution time any query is
taking is taking when executed for the first time.
Because once a query is executed for the first time, the query plan, data
buffer is cached so subsequently time taken is much lower.
For this, I want to have the Shared buffer cache flushed to note the
initial execution time.
Is my understanding correct here ?
Chander Ganesan <chander(at)otg-nc(dot)com>
07/15/2009 08:48 PM
Suvankar Roy <suvankar(dot)roy(at)tcs(dot)com>
Re: [ADMIN] Flush Shared Buffer Cache
Suvankar Roy wrote:
> Can anyone help me out with how to flush out Shared Buffer Cache in
> One way would be to restart the database, but I would like to avoid
AFAIK, that's the only way.
Is there a reason that you need to dump the shared buffers? Perhaps if
we knew what you were trying to accomplish we could provide you with a
suitable solution that doesn't require a restart...
Open Technology Group, Inc.
One Copley Parkway, Suite 210
Morrisville, NC 27560
Expert PostgreSQL, PostGIS, and other Open Source training delivered
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
In response to
pgsql-admin by date
|Next:||From: Abraham, Danny||Date: 2009-07-16 08:11:06|
|Subject: Re: initdb --encoding=LATIN1 fails on Windows|
|Previous:||From: dayat||Date: 2009-07-16 03:57:28|
|Subject: Where 8.4.0 binaries-no-installer for win32|