Re: Converting 7.x to 8.x - Mailing list pgsql-general

From Jim Nasby
Subject Re: Converting 7.x to 8.x
Date
Msg-id 5C0DEEB9-3C70-49D3-A3EC-3627E830043B@decibel.org
Whole thread Raw
In response to Re: Converting 7.x to 8.x  (Benjamin Smith <lists@benjamindsmith.com>)
Responses Re: Converting 7.x to 8.x  ("Anton Melser" <melser.anton@gmail.com>)
List pgsql-general
On Jan 25, 2007, at 12:47 PM, Benjamin Smith wrote:
> On Tuesday 23 January 2007 13:55, Carlos wrote:
>> What would be the faster way to convert a 7.4.x database into an 8.x
>> database?  A dump of the database takes over 20 hours so we want
>> to convert
>> the database without having to do a dump and resptore.
>
> You've probably already accounted for this, but make sure you've
> tried your
> options for loading the database. Using long ("insert") form vs
> copy can make
> a *huge* performance difference.

In case no one's mentioned it already, you can also perform this
migration using Slony, by making the 7.4 database the master, and
replicating to an 8.x database.
--
Jim Nasby                                            jim@nasby.net
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)



pgsql-general by date:

Previous
From: brian stone
Date:
Subject: Re: bytea performance issue
Next
From: Tom Lane
Date:
Subject: Re: too many trigger records found for relation "item" -