On 2/22/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hello,

I have a fairly large DB to dump and restore as fast as possible.  I'm moving 
from 8.0.3 to 8.2.3! :)

I normally dump with these options:

  -d MyDB --clean --inserts --column-inserts --format=P

But the last time I tried that, the restore took foreeeeeeeeeeeeeever.  So I'm 
looking for the fastest way to import data from the old DB to the new one.  Judging 
from pg_dump man page the following should be the fastest dump & restore:

  -d MyDB --format=c --ignore-version

Is there anything else I can do to make the restore as fast as possible?

Thanks,
Otis


I'm not sure it is advisable, or it is even faster in current
implementation. In older ones, if you configure postgresql not to sync
after each write, you could end in a faster restore. Since this is a
restore, after all, if lights goes out, you can always throw all away
and start from scratch...

Regards
Marco


--
Marco Bizzarri
http://iliveinpisa.blogspot.com/

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

              http://archives.postgresql.org

Reply via email to