Thread: best starting point...

best starting point...

From
Jessica Richard
Date:
On a new system with 64G memory, what is the best starting points for shmmax on OS and shared_buffers for Postgres. All databases combined are about 50G.

I want to evaluate this with the two following scenarios:

1. this machine is running only  Postgres, no other applications

2. this machine has postgres plus some other things (such as web server, etc).

What are the dangers for shmmax and shared_buffers to be confiugred very big for each of the two scenarios?

In case #1, if shmmax = 63G and shared_buffers = 50G, can it speed up Postgres (loading almost all dbs into memeory)?

Thanks,
Jessica