Re: Upgrade data

From: josue <josue(at)lamundial(dot)hn>
To: Scott Marlowe <smarlowe(at)g2switchworks(dot)com>
Cc: Richard Huxton <dev(at)archonet(dot)com>, PgSQL General List <pgsql-general(at)postgresql(dot)org>
Subject: Re: Upgrade data
Date: 2005-03-30 15:14:33
Message-ID: 424AC259.2060805@lamundial.hn
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Scott Marlowe wrote:
> On Wed, 2005-03-30 at 01:33, Richard Huxton wrote:
>
>>josue wrote:
>>
>>>Hello list,
>>>
>>>I need to upgrade my dbs from 743 to 801, current data size is around
>>>5GB, I've tried this way:
>>>
>>> ./pg_dump -d dbtest -p 9980 | ./psql -d template1 -p 9981
>>>
>>>but is too slow, any idea or suggestion to properly upgrade my dbs, I
>>>also have blobs stored there.
>>
>>Try pg_dump followed by pg_restore - both using version 8.0.1. If that's
>>still too slow, the only other option is to dump/restore and then setup
>>replication between the old and new databases to bring your new system
>>up to date. Slony can be used for this.
>
>
> Actually, if you're gonna use slony, the only thing you need to dump and
> restore to the target database is the schema, slony will move all the
> data for you.

Thanks for the anwser, currently I'm using pg_dump to create a tar file
and I'll restore it with pg_restore

--
Sinceramente,
Josué Maldonado.

... "Cuando era joven leía casi siempre para aprender; hoy, a veces, leo
para olvidar."

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Larry White 2005-03-30 16:14:46 Is the FTP server down?
Previous Message Richard Huxton 2005-03-30 15:12:31 Re: Zombie processes