Restore db - Mailing list pgsql-admin

From Alexander Burbello
Subject Restore db
Date
Msg-id CAJcRiCUqPa=4Goc4xx5DFfWF=k9Mv7nJy0aZ6oL35sCHWMLN8A@mail.gmail.com
Whole thread Raw
List pgsql-admin
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 speed up this restore??

My current db parameters are:
shared_buffers = 256MB
maintenance_work_mem = 32MB

Any suggestion is very welcome.
Thank you.
Alex


pgsql-admin by date:

Previous
From: Jean-Armel Luce
Date:
Subject: Re: rsync and streaming replication
Next
From: Manoj K P
Date:
Subject: Database corruption