pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedset archive mode => on
6+ messages / 6 participants
[nested] [flat]
* set archive mode => on
@ 2014-08-04 13:46 Sofer, Yuval <Yuval_Sofer@bmc.com>
0 siblings, 4 replies; 6+ messages in thread
From: Sofer, Yuval @ 2014-08-04 13:46 UTC (permalink / raw)
To: pgsql-admin
Hi
Is there any way to turn archive mode to on, without restarting Postgres database server?
Thanks,
Yuval Sofer
BMC Software
CTM&D Business Unit
DBA Team
972-52-4286-282
yuval_sofer@bmc.com<mailto:yuval_sofer@bmc.com>
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: set archive mode => on
@ 2014-08-04 14:08 Guillaume Lelarge <guillaume@lelarge.info>
parent: Sofer, Yuval <Yuval_Sofer@bmc.com>
3 siblings, 0 replies; 6+ messages in thread
From: Guillaume Lelarge @ 2014-08-04 14:08 UTC (permalink / raw)
To: Sofer, Yuval <Yuval_Sofer@bmc.com>; +Cc: pgsql-admin
Le 4 août 2014 15:48, "Sofer, Yuval" <Yuval_Sofer@bmc.com> a écrit :
>
> Hi
>
> Is there any way to turn archive mode to on, without restarting Postgres
database server?
>
No.
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: set archive mode => on
@ 2014-08-04 14:12 Kevin Grittner <kgrittn@ymail.com>
parent: Sofer, Yuval <Yuval_Sofer@bmc.com>
3 siblings, 0 replies; 6+ messages in thread
From: Kevin Grittner @ 2014-08-04 14:12 UTC (permalink / raw)
To: Sofer, Yuval <Yuval_Sofer@bmc.com>; pgsql-admin
"Sofer, Yuval" <Yuval_Sofer@bmc.com> wrote:
> Is there any way to turn archive mode to on, without restarting
> Postgres database server?
http://www.postgresql.org/docs/current/interactive/runtime-config-wal.html#RUNTIME-CONFIG-WAL-ARCHIV...
"This parameter can only be set at server start."
--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: set archive mode => on
@ 2014-08-04 14:21 Simon Riggs <simon@2ndquadrant.com>
parent: Sofer, Yuval <Yuval_Sofer@bmc.com>
3 siblings, 1 reply; 6+ messages in thread
From: Simon Riggs @ 2014-08-04 14:21 UTC (permalink / raw)
To: Sofer, Yuval <Yuval_Sofer@bmc.com>; +Cc: pgsql-admin
On 4 August 2014 14:46, Sofer, Yuval <Yuval_Sofer@bmc.com> wrote:
> Is there any way to turn archive mode to on, without restarting Postgres
> database server?
Sorry, not currently.
But it is something we've wanted to add for some time.
--
Simon Riggs http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: set archive mode => on
@ 2014-08-04 14:38 Ray Stell <stellr@vt.edu>
parent: Sofer, Yuval <Yuval_Sofer@bmc.com>
3 siblings, 0 replies; 6+ messages in thread
From: Ray Stell @ 2014-08-04 14:38 UTC (permalink / raw)
To: Sofer, Yuval <Yuval_Sofer@bmc.com>; +Cc: pgsql-admin
On Aug 4, 2014, at 9:46 AM, Sofer, Yuval <Yuval_Sofer@bmc.com> wrote:
> Hi
> Is there any way to turn archive mode to on, without restarting Postgres database server?
handy query to show the context of the parameter. postmaster context requires a restart, sighup a reset works:
select name, setting, context from pg_settings;
chpt 18 is good, too.
http://www.postgresql.org/docs/9.3/static/runtime-config-wal.html#RUNTIME-CONFIG-WAL-ARCHIVING
Attachments:
signature.asc (application/pgp-signature, 235B) download
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: set archive mode => on
@ 2014-08-04 14:44 Tom Lane <tgl@sss.pgh.pa.us>
parent: Simon Riggs <simon@2ndquadrant.com>
0 siblings, 0 replies; 6+ messages in thread
From: Tom Lane @ 2014-08-04 14:44 UTC (permalink / raw)
To: Simon Riggs <simon@2ndquadrant.com>; +Cc: Sofer, Yuval <Yuval_Sofer@bmc.com>; pgsql-admin
Simon Riggs <simon@2ndquadrant.com> writes:
> On 4 August 2014 14:46, Sofer, Yuval <Yuval_Sofer@bmc.com> wrote:
>> Is there any way to turn archive mode to on, without restarting Postgres
>> database server?
> Sorry, not currently.
> But it is something we've wanted to add for some time.
The existing compromise on this is that archive_command is separate from
archive_mode, and archive_command *can* be changed on the fly. So you can
run with archive_mode on and set archive_command to a no-op (I think an
empty string might work, read the docs), if you think you might want to
activate archiving later without restarting.
regards, tom lane
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2014-08-04 14:44 UTC | newest]
Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-08-04 13:46 set archive mode => on Sofer, Yuval <Yuval_Sofer@bmc.com>
2014-08-04 14:08 ` Guillaume Lelarge <guillaume@lelarge.info>
2014-08-04 14:12 ` Kevin Grittner <kgrittn@ymail.com>
2014-08-04 14:21 ` Simon Riggs <simon@2ndquadrant.com>
2014-08-04 14:44 ` Tom Lane <tgl@sss.pgh.pa.us>
2014-08-04 14:38 ` Ray Stell <stellr@vt.edu>
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