Reputation: 22535
As a rule of thumb, how many max connections should I set my Postgres server to have? For instance, if I have 8 GB of memory, and quad core 3.2 GHZ machine, and the server is dedicated to only Postgres, how many max connections would be safe?
Upvotes: 11
Views: 5970
Reputation: 80061
There is no real rule of thumb since it really depends on your load.
work_mem
so you'll run out of memory with a lot of connections.The basic thing is:
Upvotes: 5