pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: francis picabia <fpicabia@gmail.com>
To: Brad (Toronto ON CA) Nicholson <bnicholson@hp.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Best practise for upgrade of 24GB+ database
Date: Fri, 20 Jan 2012 15:42:09 -0600
Message-ID: <4F198B510200002500044A64@gw.wicourts.gov> (raw)
In-Reply-To: <CA+AKB6HeK2832DNB9uDO1DqxaH7ziaq7xFm7EWFb-nZc+n49oA@mail.gmail.com>
References: <CA+AKB6FCmzst0vtMeu7xbemXeFeBt-_5TUnMdEB0r_pgsrVheA@mail.gmail.com>
	<EC55DC235432104F8255702A8D7344D92572B41A@G4W3294.americas.hpqcorp.net>
	<CA+AKB6HeK2832DNB9uDO1DqxaH7ziaq7xFm7EWFb-nZc+n49oA@mail.gmail.com>

francis picabia <fpicabia@gmail.com> wrote:
 
> That's great information.  9.0 is introducing streaming
> replication, so that is another option I'll look into.
 
We upgrade multi-TB databases in just a couple minutes using
pg_upgrade using the hard-link option.  That doesn't count
post-upgrade vacuum/analyze time, but depending on your usage you
might get away with analyzing a few tables before letting users in,
and doing the database-wide vacuum analyze while the database is in
use.
 
One of the other options might be better for you, but this one has
worked well for us.
 
-Kevin



view thread (7+ messages)  latest in thread

Message-ID: <4F198B510200002500044A64@gw.wicourts.gov>
Permalink:  ../4F198B510200002500044A64@gw.wicourts.gov/
Also on:    postgresql.org/message-id/4F198B510200002500044A64@gw.wicourts.gov

 · 

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 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-admin@postgresql.org
  Cc: Kevin.Grittner@wicourts.gov, fpicabia@gmail.com, bnicholson@hp.com
  Subject: Re: Best practise for upgrade of 24GB+ database
  In-Reply-To: <4F198B510200002500044A64@gw.wicourts.gov>
  References: <CA+AKB6FCmzst0vtMeu7xbemXeFeBt-_5TUnMdEB0r_pgsrVheA@mail.gmail.com> <EC55DC235432104F8255702A8D7344D92572B41A@G4W3294.americas.hpqcorp.net> <CA+AKB6HeK2832DNB9uDO1DqxaH7ziaq7xFm7EWFb-nZc+n49oA@mail.gmail.com> <4F198B510200002500044A64@gw.wicourts.gov>

* 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