Re: Regarding postgreSQL performance on DRAM

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Regarding postgreSQL performance on DRAM
Дата
Msg-id f79c8603-2e22-5c71-3817-7583f469b7bd@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: Regarding postgreSQL performance on DRAM  (Rohan Kadekodi <kadekodirohan@gmail.com>)
Список pgsql-admin
On 2019-02-20 22:50, Rohan Kadekodi wrote:
> Perf tool shows that there is a non-trivial amount of time spent in
> DropCachedPlan and AllocSetAlloc. Does this hint to some sort of caching
> being done by PostgreSQL, and is there a way to disable this caching?

AllocSetAlloc() is memory allocation, which, well, you need some of. ;-)
 DropCachedPlan() has to do with how statements are prepared and
released.  You can probably reduce some of that overhead by using
prepared statements consistently.  Hard to tell without more details
about your test script.  Have you looked at pgbench?

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Ron
Дата:
Сообщение: Re: Moving postgres 9.4 databases to new vm hosted datacenter
Следующее
От: Michael King
Дата:
Сообщение: Removing archived wal files on Master