pg.ddx.io pgsql-general@postgresql.org mailing list archivehelp / color / mirror / Atom feed
Suggest the best values for the postgres configuration parameters 2+ messages / 2 participants [nested] [flat]
* Suggest the best values for the postgres configuration parameters @ 2018-04-10 17:32 Raghavendra Rao J S V <raghavendrajsv@gmail.com> 2018-04-11 07:25 ` Re: Suggest the best values for the postgres configuration parameters Laurenz Albe <laurenz.albe@cybertec.at> 0 siblings, 1 reply; 2+ messages in thread From: Raghavendra Rao J S V @ 2018-04-10 17:32 UTC (permalink / raw) To: pgsql-general@lists.postgresql.org We are using postgres *9.2* version on *Centos *operating system. Total ram available is *80GB *. At present we don't have any connection pool mechanisiam. Max number of connections are allowed is 1000. Could you please suggest the best values for the below configuration parameters? - shared_buffers - effective_cache_size - work_mem - maintenance_work_mem - checkpoint_segments - wal_keep_segments - checkpoint_completion_target - Max_prepared_transactions =0 -- Regards, Raghavendra Rao J S V ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Suggest the best values for the postgres configuration parameters 2018-04-10 17:32 Suggest the best values for the postgres configuration parameters Raghavendra Rao J S V <raghavendrajsv@gmail.com> @ 2018-04-11 07:25 ` Laurenz Albe <laurenz.albe@cybertec.at> 0 siblings, 0 replies; 2+ messages in thread From: Laurenz Albe @ 2018-04-11 07:25 UTC (permalink / raw) To: Raghavendra Rao J S V <raghavendrajsv@gmail.com>; pgsql-general@lists.postgresql.org Raghavendra Rao J S V wrote: > We are using postgres 9.2 version on Centos operating system. That's no good, 9.2 is out of support. Use v10 or at least 9.6. > Total ram available is 80GB . At present we don't have any connection pool mechanisiam. Max number of connections are allowed is 1000. That's not good either. Use a connection pool. > Could you please suggest the best values for the below configuration parameters? > > shared_buffers 4 or 8 GB > effective_cache_size 80 GB minus what the OS and other applications need. > work_mem Depends on your queries. With max_connections absurdly high as 1000, no more than 50MB. > maintenance_work_mem 1GB > checkpoint_segments Depends on your workload. > wal_keep_segments 0 (unless you need replication and have nothing better) > checkpoint_completion_target 0.8 > Max_prepared_transactions =0 0 (unless you need distributed transactions) Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2018-04-11 07:25 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2018-04-10 17:32 Suggest the best values for the postgres configuration parameters Raghavendra Rao J S V <raghavendrajsv@gmail.com> 2018-04-11 07:25 ` Laurenz Albe <laurenz.albe@cybertec.at>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox