From: Tom Lane <tgl@sss.pgh.pa.us>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: Julie Nishimura <juliezain@hotmail.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Convert hot_standby 9.4 postgresql into standalone server
Date: Tue, 14 Jul 2020 19:44:54 -0400
Message-ID: <3023063.1594770294@sss.pgh.pa.us> (raw)
In-Reply-To: <CAKFQuwb+8bOOeEmTN+oLFKo_TkGC_Mfwyf4PY=0rFKDM106ZYw@mail.gmail.com>
References: <BYAPR08MB5014BADC15CDCAFC0B5A4059AC610@BYAPR08MB5014.namprd08.prod.outlook.com>
<CAKFQuwb+8bOOeEmTN+oLFKo_TkGC_Mfwyf4PY=0rFKDM106ZYw@mail.gmail.com>
"David G. Johnston" <david.g.johnston@gmail.com> writes:
> On Tuesday, July 14, 2020, Julie Nishimura <juliezain@hotmail.com> wrote:
>> Hello, we currently have 9.4 hot_standby master-slave pair. Going forward,
>> we can keep only one server. How can I convert the system properly?
> If you are keeping the primary you shouldn’t have to do anything. The
> absence of a secondary server shouldn’t impact the primary. You might be
> recording more detail to WAL than strictly necessary but that isn’t wrong
> outright.
Yeah. What you *do* need to think about is, if you no longer have
a standby server, what's your disaster recovery plan in case the
primary fails? You need to have some good backup procedures in place.
regards, tom lane
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, david.g.johnston@gmail.com, juliezain@hotmail.com
Subject: Re: Convert hot_standby 9.4 postgresql into standalone server
In-Reply-To: <3023063.1594770294@sss.pgh.pa.us>
References: <BYAPR08MB5014BADC15CDCAFC0B5A4059AC610@BYAPR08MB5014.namprd08.prod.outlook.com> <CAKFQuwb+8bOOeEmTN+oLFKo_TkGC_Mfwyf4PY=0rFKDM106ZYw@mail.gmail.com> <3023063.1594770294@sss.pgh.pa.us>
* 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