From: Steve Crawford <scrawford@pinpointresearch.com>
To: Johnny Tan <johnnydtan@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: changes to postgresql.conf
Date: Mon, 24 Sep 2012 10:34:38 -0700
Message-ID: <506099AE.3060101@pinpointresearch.com> (raw)
In-Reply-To: <CABMVzL2adXregMGOiypsKw9L7skmEb+Y-vGFZgTFfRpx=wm+uw@mail.gmail.com>
References: <CABMVzL2adXregMGOiypsKw9L7skmEb+Y-vGFZgTFfRpx=wm+uw@mail.gmail.com>
On 09/24/2012 06:05 AM, Johnny Tan wrote:
> 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?
>
>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: scrawford@pinpointresearch.com, johnnydtan@gmail.com
Subject: Re: changes to postgresql.conf
In-Reply-To: <506099AE.3060101@pinpointresearch.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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