Re: How to switch file systems with least downtime?

From: Moshe Jacobson <moshe(at)neadwerx(dot)com>
To: Michael Nolan <htfoot(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to switch file systems with least downtime?
Date: 2013-09-14 13:46:36
Message-ID: CAJ4CxL=h+=hre5pf1nyEWt06VV4RsgJwj73OiBTUzjBSe9FgRQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sat, Sep 14, 2013 at 9:40 AM, Michael Nolan <htfoot(at)gmail(dot)com> wrote:

> Have you considered setting up a synchronously replicated slave database
> on the new file system (using a port other than 5432), getting it in sync,
> then shutting both databases down (master first), switching the slave over
> to become the master and restarting just that database on port 5432?

Not a bad idea, but in this case, a small amount of downtime is preferable
over going to that level of effort.

Moshe Jacobson
Nead Werx, Inc. | Manager of Systems Engineering
2323 Cumberland Parkway, Suite 201 | Atlanta, GA 30339
moshe(at)neadwerx(dot)com | www.neadwerx.com

"Quality is not an act, it is a habit." -- Aristotle

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message CS DBA 2013-09-14 15:26:31 Re: How to switch file systems with least downtime?
Previous Message Michael Nolan 2013-09-14 13:40:42 Re: How to switch file systems with least downtime?