Discussion:
changes to postgresql.conf
(too old to reply)
Johnny Tan
2012-09-24 13:05:11 UTC
Permalink
I need to make changes to these settings in postgresql.conf:
* effective_cache_size
* shared_buffers
* work_mem
* maintenance_work_mem

On a live, production server, can I simply do a "reload" and get those
values in, or do I need to do a stop/start?
--
Sent via pgsql-admin mailing list (pgsql-***@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Magnus Hagander
2012-09-24 13:20:54 UTC
Permalink
Post by Johnny Tan
* effective_cache_size
* shared_buffers
* work_mem
* maintenance_work_mem
On a live, production server, can I simply do a "reload" and get those
values in, or do I need to do a stop/start?
For shared_buffers, you need a stop/start. For the other three, a
reload is enough.
--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/
--
Sent via pgsql-admin mailing list (pgsql-***@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Johnny Tan
2012-09-24 13:32:23 UTC
Permalink
Post by Magnus Hagander
For shared_buffers, you need a stop/start. For the other three, a
reload is enough.
Thank you.
Steve Crawford
2012-09-24 17:34:38 UTC
Permalink
Post by Johnny Tan
* effective_cache_size
* shared_buffers
* work_mem
* maintenance_work_mem
On a live, production server, can I simply do a "reload" and get those
values in, or do I need to do a stop/start?
To expand on other responses, try "select * from pg_settings;" and see
http://www.postgresql.org/docs/current/static/view-pg-settings.html

Anything with a "context" of "postmaster" requires a restart so while
shared_buffers requires a restart the other three do not and, in fact,
can be set by a user on a per-connection basis.

Cheers,
Steve
--
Sent via pgsql-admin mailing list (pgsql-***@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Loading...