From: | George Essig <george(dot)essig(at)gmail(dot)com> |
---|---|
To: | josue <josue(at)lamundial(dot)hn> |
Cc: | PgSQL General List <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Upgrade data |
Date: | 2005-04-01 02:42:07 |
Message-ID: | 6744b38505033118422c8ad4bf@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Tue, 29 Mar 2005 15:39:28 -0600, josue <josue(at)lamundial(dot)hn> 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.
Drop '-d' from the pg_dump command. '-d' creates a dump file with
insert statements instead of copy statements. From the pg_dump man
page:
-d
--inserts
Dump data as INSERT commands (rather than COPY). This will make
restoration very slow, but it makes the archives more portable
to other SQL database packages.
George Essig
From | Date | Subject | |
---|---|---|---|
Next Message | Glen Eustace | 2005-04-01 02:51:52 | Inconsistent values for 'now' |
Previous Message | Bruce Momjian | 2005-04-01 02:33:32 | Re: Help with converting hexadecimal to decimal |