From: Shaun Thomas <sthomas@peak6.com>
To: Claudio Freire <klaussfreire@gmail.com>
Cc: Andy Colson <andy@squeakycode.net>
Cc: Igor Chudov <ichudov@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Postgres for a "data warehouse", 5-10 TB
Date: Mon, 12 Sep 2011 11:36:22 -0500
Message-ID: <4E6E3506.8070501@peak6.com> (raw)
In-Reply-To: <CAGTBQpbL5gvv-pk3RYBO-B1FMBfOPXcKG7GaYzHWogchJNLePA@mail.gmail.com>
References: <CAMhtkAbK7saRO_Tayb1nS3YLWN=Wns=Ci47qs-3YbX0T2+hkpA@mail.gmail.com>
<4E6CC2BB.1060704@squeakycode.net>
<CAGTBQpbL5gvv-pk3RYBO-B1FMBfOPXcKG7GaYzHWogchJNLePA@mail.gmail.com>
On 09/11/2011 09:27 AM, Claudio Freire wrote:
> I have used slony to do database migration. It is a pain to set up,
> but it saves you hours of downtime.
I've had to shoot this option down in two separate upgrade scenarios in
two different companies. Theoretically it's possible, but slony is based
on triggers. If you have an OLTP database with frequent writes, that
overhead (firing the trigger, storing the replicated data, reading the
replication log, traffic to the upgrade node) can literally kill your
application. Downtime is one thing, but maintenance windows can be
planned. Ruining application performance for an undetermined length of
time is probably worse.
Thankfully 8.4 added pg_migrator/pg_upgrade, so that kind of pain is
probably over for the most part. But even without it, 8.4 and above have
parallel restore, which can drop upgrade times down to a fraction of
their former length.
--
Shaun Thomas
OptionsHouse | 141 W. Jackson Blvd. | Suite 800 | Chicago IL, 60604
312-676-8870
sthomas@peak6.com
______________________________________________
See http://www.peak6.com/email-disclaimer/ for terms and conditions related to this email
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-performance@postgresql.org
Cc: sthomas@peak6.com, klaussfreire@gmail.com, andy@squeakycode.net, ichudov@gmail.com
Subject: Re: Postgres for a "data warehouse", 5-10 TB
In-Reply-To: <4E6E3506.8070501@peak6.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