pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Installation Steps to migrate to Postgres 8.3.1
5+ messages / 4 participants
[nested] [flat]

* Installation Steps to migrate to Postgres 8.3.1
@ 2008-05-13 05:40 Gauri Kanekar <meetgaurikanekar@gmail.com>
  2008-05-13 06:42 ` Re: Installation Steps to migrate to Postgres 8.3.1 Claus Guttesen <kometen@gmail.com>
  2008-05-13 08:25 ` Re: Installation Steps to migrate to Postgres 8.3.1 Scott Marlowe <scott.marlowe@gmail.com>
  0 siblings, 2 replies; 5+ messages in thread

From: Gauri Kanekar @ 2008-05-13 05:40 UTC (permalink / raw)
  To: pgsql-performance

Hi,

We want to migrate from postgres 8.1.3 to postgres 8.3.1.
Can anybody list out the installation steps to be followed for migration.
Do we require to take care of something specially.

Thanks in advance
~ Gauri

^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Installation Steps to migrate to Postgres 8.3.1
  2008-05-13 05:40 Installation Steps to migrate to Postgres 8.3.1 Gauri Kanekar <meetgaurikanekar@gmail.com>
@ 2008-05-13 06:42 ` Claus Guttesen <kometen@gmail.com>
  1 sibling, 0 replies; 5+ messages in thread

From: Claus Guttesen @ 2008-05-13 06:42 UTC (permalink / raw)
  To: Gauri Kanekar <meetgaurikanekar@gmail.com>; +Cc: pgsql-performance

> We want to migrate from postgres 8.1.3 to postgres 8.3.1.
> Can anybody list out the installation steps to be followed for migration.
> Do we require to take care of something specially.

Perform a pg_dump, do a restore and validate your sql-queries on a test-server.

-- 
regards
Claus

When lenity and cruelty play for a kingdom,
the gentlest gamester is the soonest winner.

Shakespeare



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Installation Steps to migrate to Postgres 8.3.1
  2008-05-13 05:40 Installation Steps to migrate to Postgres 8.3.1 Gauri Kanekar <meetgaurikanekar@gmail.com>
@ 2008-05-13 08:25 ` Scott Marlowe <scott.marlowe@gmail.com>
  2008-05-13 12:00   ` Re: Installation Steps to migrate to Postgres 8.3.1 Knight, Doug <dknight@wsi.com>
  1 sibling, 1 reply; 5+ messages in thread

From: Scott Marlowe @ 2008-05-13 08:25 UTC (permalink / raw)
  To: Gauri Kanekar <meetgaurikanekar@gmail.com>; +Cc: pgsql-performance

On Mon, May 12, 2008 at 11:40 PM, Gauri Kanekar
<meetgaurikanekar@gmail.com> wrote:
> Hi,
>
> We want to migrate from postgres 8.1.3 to postgres 8.3.1.
> Can anybody list out the installation steps to be followed for migration.
> Do we require to take care of something specially.

First, I'd recommend updating your 8.1.x install to 8.1.11 or whatever
the latest is right now.

There are some ugly bugs hiding in 8.1.3 if I remember correctly (Tom
just mentioned one that could do things like leaving orphaned objects
in the db in another thread.)  It's always a good idea to keep up to
date on the updates of pgsql.  Some updates aren't critical, but most
early ones in the 7.x through 8.1 tended to have a lot of bugs fixed
in them in the first few updates.

Then, your migration to 8.3.x can be done a bit more leisurely and
well planned and tested, without putting your current data in danger.



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Installation Steps to migrate to Postgres 8.3.1
  2008-05-13 05:40 Installation Steps to migrate to Postgres 8.3.1 Gauri Kanekar <meetgaurikanekar@gmail.com>
  2008-05-13 08:25 ` Re: Installation Steps to migrate to Postgres 8.3.1 Scott Marlowe <scott.marlowe@gmail.com>
@ 2008-05-13 12:00   ` Knight, Doug <dknight@wsi.com>
  2008-05-13 14:37     ` Re: Installation Steps to migrate to Postgres 8.3.1 Scott Marlowe <scott.marlowe@gmail.com>
  0 siblings, 1 reply; 5+ messages in thread

From: Knight, Doug @ 2008-05-13 12:00 UTC (permalink / raw)
  To: Scott Marlowe <scott.marlowe@gmail.com>; Gauri Kanekar <meetgaurikanekar@gmail.com>; +Cc: pgsql-performance

Hi,
Along these lines, the usual upgrade path is a pg_dump/pg_restore set.
However, what if your database is large (> 50GB), and you have to
minimize your downtime (say less than an hour or two). Any suggestions
on how to handle that kind of situation? It sure would be nice to have
some kind of tool to update in-place a database, though I know that's
not a likely path.

Doug

-----Original Message-----
From: pgsql-performance-owner@postgresql.org
[mailto:pgsql-performance-owner@postgresql.org] On Behalf Of Scott
Marlowe
Sent: Tuesday, May 13, 2008 4:26 AM
To: Gauri Kanekar
Cc: pgsql-performance@postgresql.org
Subject: Re: [PERFORM] Installation Steps to migrate to Postgres 8.3.1

On Mon, May 12, 2008 at 11:40 PM, Gauri Kanekar
<meetgaurikanekar@gmail.com> wrote:
> Hi,
>
> We want to migrate from postgres 8.1.3 to postgres 8.3.1.
> Can anybody list out the installation steps to be followed for
migration.
> Do we require to take care of something specially.

First, I'd recommend updating your 8.1.x install to 8.1.11 or whatever
the latest is right now.

There are some ugly bugs hiding in 8.1.3 if I remember correctly (Tom
just mentioned one that could do things like leaving orphaned objects
in the db in another thread.)  It's always a good idea to keep up to
date on the updates of pgsql.  Some updates aren't critical, but most
early ones in the 7.x through 8.1 tended to have a lot of bugs fixed
in them in the first few updates.

Then, your migration to 8.3.x can be done a bit more leisurely and
well planned and tested, without putting your current data in danger.

-- 
Sent via pgsql-performance mailing list
(pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance




^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Installation Steps to migrate to Postgres 8.3.1
  2008-05-13 05:40 Installation Steps to migrate to Postgres 8.3.1 Gauri Kanekar <meetgaurikanekar@gmail.com>
  2008-05-13 08:25 ` Re: Installation Steps to migrate to Postgres 8.3.1 Scott Marlowe <scott.marlowe@gmail.com>
  2008-05-13 12:00   ` Re: Installation Steps to migrate to Postgres 8.3.1 Knight, Doug <dknight@wsi.com>
@ 2008-05-13 14:37     ` Scott Marlowe <scott.marlowe@gmail.com>
  0 siblings, 0 replies; 5+ messages in thread

From: Scott Marlowe @ 2008-05-13 14:37 UTC (permalink / raw)
  To: Knight, Doug <dknight@wsi.com>; +Cc: Gauri Kanekar <meetgaurikanekar@gmail.com>; pgsql-performance

On Tue, May 13, 2008 at 6:00 AM, Knight, Doug <dknight@wsi.com> wrote:
> Hi,
> Along these lines, the usual upgrade path is a pg_dump/pg_restore set.
> However, what if your database is large (> 50GB), and you have to
> minimize your downtime (say less than an hour or two). Any suggestions
> on how to handle that kind of situation? It sure would be nice to have
> some kind of tool to update in-place a database, though I know that's
> not a likely path.

look up Slony



^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2008-05-13 14:37 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-05-13 05:40 Installation Steps to migrate to Postgres 8.3.1 Gauri Kanekar <meetgaurikanekar@gmail.com>
2008-05-13 06:42 ` Claus Guttesen <kometen@gmail.com>
2008-05-13 08:25 ` Scott Marlowe <scott.marlowe@gmail.com>
2008-05-13 12:00   ` Knight, Doug <dknight@wsi.com>
2008-05-13 14:37     ` Scott Marlowe <scott.marlowe@gmail.com>

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