Re: How clear the cache on postgresql?

Поиск
Список
Период
Сортировка
От bricklen
Тема Re: How clear the cache on postgresql?
Дата
Msg-id CAGrpgQ9eBOiVNF-LGCzN_E6FgErjBQ5xsUi8TVcxvDh+jwqUqg@mail.gmail.com
обсуждение исходный текст
Ответ на How clear the cache on postgresql?  (hmidi slim <hmidi.slim2@gmail.com>)
Ответы Re: How clear the cache on postgresql?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Fri, Nov 24, 2017 at 6:54 AM, hmidi slim wrote: > I'm trying to analyze some queries using the explain instructions and the > option analyze and buffers. I realized that the query refers to the cache > memory to return the results. Is there any solution to clear the cache in > postgresql inorder to get execution time of the query when it get data from > disk and not from cache memory? > ​ If you are on a (non-production) *nix server you can use: sync && echo 3 > /proc/sys/vm/drop_caches​

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

Предыдущее
От: hmidi slim
Дата:
Сообщение: How clear the cache on postgresql?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: How clear the cache on postgresql?