Re: Best practices for data buffer cache setting/tuning (v15)

2024-01-29 Thread Bruce Momjian
On Mon, Jan 29, 2024 at 01:46:30PM -0800, Christophe Pettus wrote: > > > > On Jan 29, 2024, at 11:39, David Gauthier > > wrote: > > > > Is there a document which makes recommendations on sizing data > > buffer cache, tuning options which evict old/unused data in mem, and > > cache fragmentation av

Re: Best practices for data buffer cache setting/tuning (v15)

2024-01-29 Thread Christophe Pettus
> On Jan 29, 2024, at 11:39, David Gauthier wrote: > > Is there a document which makes recommendations on sizing data buffer cache, > tuning options which evict old/unused data in mem, and cache fragmentation > avoidance for a v15.3 DB ? On any modern system, set shared_buffers to 25% of in

Re: Best practices for data buffer cache setting/tuning (v15)

2024-01-29 Thread Laurenz Albe
On Mon, 2024-01-29 at 14:39 -0500, David Gauthier wrote: > Is there a document which makes recommendations on sizing data buffer cache, > tuning options which evict old/unused data in mem, and cache fragmentation > avoidance for a v15.3 DB ? Start with "shared_buffers" sized as a quarter of the av