[GENERAL] Restore db

2011-11-13 Thread Alexander Burbello
Hi folks, My server has a daily routine to import a dump file, however its taking long time to finish it. The original db has around 200 MB and takes 3~4 minutes to export (there are many blob fields), however it takes 4 hours to import using pg_restore. What can I do to tune this database to spe

[GENERAL] Exp/Imp data with blobs

2011-11-10 Thread Alexander Burbello
Hi, In one db that I have, there are a few columns that are blob datatype. This db has around 200MB of data today and as it a development db yet, so I am replicating data to another db for testing purposes using pg_dump and pg_restore. To export the data it is pretty fast, about 3~4 minutes, that