Re: Flush Shared Buffer Cache

Поиск
Список
Период
Сортировка
От Suvankar Roy
Тема Re: Flush Shared Buffer Cache
Дата
Msg-id OFF46F752A.C15FB624-ON652575F5.001C8D93-652575F5.001D484C@tcs.com
обсуждение исходный текст
Ответ на Re: Flush Shared Buffer Cache  (Chander Ganesan <chander@otg-nc.com>)
Ответы Re: Flush Shared Buffer Cache  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Список pgsql-admin

Hi Chander,

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 ?

Regards,

Suvankar Roy



Chander Ganesan <chander@otg-nc.com>

07/15/2009 08:48 PM

To
Suvankar Roy <suvankar.roy@tcs.com>
cc
pgsql-admin@postgresql.org
Subject
Re: [ADMIN] Flush Shared Buffer Cache





Suvankar Roy wrote:
>
> Hi,
>
> Can anyone help me out with how to flush out Shared Buffer Cache in
> Postgres.
>
> One way would be to restart the database, but I would like to avoid that.
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...

--
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, and other Open Source training delivered worldwide.


ForwardSourceID:NT00004B0E    
=====-----=====-----=====
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


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

Предыдущее
От: dayat
Дата:
Сообщение: Where 8.4.0 binaries-no-installer for win32
Следующее
От: "Dirk E Zondag Jr"
Дата:
Сообщение: Re: Networking request