Re: Testing query times

Поиск
Список
Период
Сортировка
От Greg Smith
Тема Re: Testing query times
Дата
Msg-id 4B183955.9070503@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: Testing query times  (Scott Marlowe <scott.marlowe@gmail.com>)
Список pgsql-general
Scott Marlowe wrote:
Restarting pgsql accomplishes the same thing as regards pgsql.  BUT
most OSes also cache, so you need a way to flush the kernel / file
system cache.  That depends on which OS you're running. 
Can't tell if this is Linux or Windows from how the question was asked.  Here's how to clear the OS cache on Linux: 

sync; echo 3 > /proc/sys/vm/drop_caches

And on Windows you should be able to clear it with CacheSet:  http://technet.microsoft.com/en-us/sysinternals/bb897561.aspx

-- 
Greg Smith    2ndQuadrant   Baltimore, MD
PostgreSQL Training, Services and Support
greg@2ndQuadrant.com  www.2ndQuadrant.com

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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: Testing query times
Следующее
От: Daniel
Дата:
Сообщение: Re: Strange. I can logon with an invalid or no password atall