Plans cache eviction from process local Memory

From: pinker <pinker(at)onet(dot)eu>
To: pgsql-general(at)postgresql(dot)org
Subject: Plans cache eviction from process local Memory
Date: 2018-06-07 09:32:53
Message-ID: 1528363973507-0.post@n3.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi!
I would like to know how postgres will behave with a big amount of cached
plans from prepared statements on 1 connection. Let's say there is an
application level connection pooling and one connection can last for many
weeks. Many plans are cached from many prepared statements, is there any
postgres management of that or it is totally system thing?
Some plans will be evicted from process memory at some point of time or they
will be kept infinitely causing huge amount of memory being allocated for
this connection?

--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html

Browse pgsql-general by date

  From Date Subject
Next Message Raymond O'Donnell 2018-06-07 09:49:16 Re: Code of Conduct plan
Previous Message Christoph Berg 2018-06-07 08:58:12 Re: Unknown database folders in base directory