pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Scott Ribe <scott_ribe@elevated-dev.com>
To: Graeme B. Bell <grb@skogoglandskap.no>
Cc: Postgres Maillist <pgsql-admin@postgresql.org>
Subject: Re: postgres hot-standby questions.
Date: Thu, 26 Mar 2015 12:48:33 -0600
Message-ID: <8CFAFF7B-BD43-4481-89ED-DE1A3054B837@elevated-dev.com> (raw )
In-Reply-To: <5EEEF0C6-E675-4E17-992C-525725E5C60F@elevated-dev.com >
References: <848F3721-4A21-4260-9640-8F698E3EE376@skogoglandskap.no >
<3C08D5DD-0702-4136-BBE3-21CBE064ADDE@elevated-dev.com >
<A8D5B7E4-31EF-4C5B-B0CC-F6514B50C79B@skogoglandskap.no >
<604F46E7-7F6C-485B-BB72-21378D341F94@elevated-dev.com >
<BE76354B-718A-48BC-8C20-5292D225DF61@skogoglandskap.no >
<7EE11DF8-A813-4B65-BFD2-B258C5A9D666@elevated-dev.com >
<A0BDBCD1-78E5-46ED-8835-B63BC08186D8@skogoglandskap.no >
<CD1B6BE2-8D28-4AE3-805F-7D42F4EA3ACA@elevated-dev.com >
<C3258C19-AAF1-42A6-93DD-C9057C5C05C0@skogoglandskap.no >
<5EEEF0C6-E675-4E17-992C-525725E5C60F@elevated-dev.com >
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
> On Mar 26, 2015, at 12:42 PM, Scott Ribe <scott_ribe@elevated-dev.com> wrote:
>
> On Mar 26, 2015, at 12:17 PM, Graeme B. Bell <grb@skogoglandskap.no> wrote:
>>
>> ...I won't be able to directly apply the (promoted) standby's new WAL entries over the top of it.
>
> I see--there's our difference. When I do this, I am willing to stay on the standby for a while if need be.
>
>> A checkpoint or autovacuum might generate a small change/entry in WAL (I don't know this for sure regarding autovacuum; this is a worst case assumption).
>
> I would think autovacuum would have to, since it writes some changes to at least index pages.
But you can disable autovacuum. And you can manually checkpoint. So maybe you'd just add that after shutting down services that access the db. (For me, that's mostly: "sudo launchctl unload my.particular.prefix.*")
--
Scott Ribe
scott_ribe@elevated-dev.com
http://www.elevated-dev.com/
https://www.linkedin.com/in/scottribe/
(303) 722-0567 voice
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
view thread (19+ messages) latest in thread
Message-ID: <8CFAFF7B-BD43-4481-89ED-DE1A3054B837@elevated-dev.com>
Permalink: ../8CFAFF7B-BD43-4481-89ED-DE1A3054B837@elevated-dev.com/
Also on: postgresql.org/message-id/8CFAFF7B-BD43-4481-89ED-DE1A3054B837@elevated-dev.com
copy link · copy postgr.es
reply 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: scott_ribe@elevated-dev.com, grb@skogoglandskap.no
Subject: Re: postgres hot-standby questions.
In-Reply-To: <8CFAFF7B-BD43-4481-89ED-DE1A3054B837@elevated-dev.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