clear cache in postgresql

Поиск
Список
Период
Сортировка
От Atul Kumar
Тема clear cache in postgresql
Дата
Msg-id CA+ONtZ75zZv+7ThMdiyFVAa7ZXBSv6NLAGgLqmzbrrjMU3Os8g@mail.gmail.com
обсуждение исходный текст
Ответы Re: clear cache in postgresql  (Julien Rouhaud <rjuju123@gmail.com>)
Список pgsql-general
Hi,

I have an postgres 10 instance on RDS.

Sometimes I run a Postgres query it takes 30 seconds. Then, I
immediately run the same query and it takes 2 seconds. It appears that
Postgres has some sort of caching. Can I somehow see what that cache
is holding? Can I force all caches to be cleared for tuning purposes?

So I need to clear the cache without restarting/rebooting the postgres
server to check the correct execution plan of my query.

Please help me with your suggestions.




Regards.



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

Предыдущее
От: Atul Kumar
Дата:
Сообщение: Re: query issue
Следующее
От: Julien Rouhaud
Дата:
Сообщение: Re: clear cache in postgresql