Re: Performance Tuning and Disk Cache

Поиск
Список
Период
Сортировка
От Michael Stone
Тема Re: Performance Tuning and Disk Cache
Дата
Msg-id 20070318184904.GL25629@mathom.us
обсуждение исходный текст
Ответ на Performance Tuning and Disk Cache  (Barry Moore <barry.moore@genetics.utah.edu>)
Список pgsql-performance
On Sun, Mar 18, 2007 at 06:45:34AM -0600, Barry Moore wrote:
>Does anyone know how I can repeatedly run the same query in the
>"worst case scenario" of no postgres data in the disk cache (e.g.,
>clear the page cache or force it to be ignored)?

Depends on your OS. On linux you can run:
echo 1 > /proc/sys/vm/drop_caches

Mike Stone

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

Предыдущее
От: "Rangarajan Vasudevan"
Дата:
Сообщение: Re: Performance Tuning and Disk Cache
Следующее
От: Tom Lane
Дата:
Сообщение: Re: function call vs staright query