Restore db

From: Alexander Burbello <contato(at)alexanderburbello(dot)com(dot)br>
To: pgsql-admin(at)postgresql(dot)org
Subject: Restore db
Date: 2011-11-14 00:10:03
Message-ID: CAJcRiCVyeq3UOagNf2CcJiQ+nq83zNh1bSmyzMC4QBJfWMuQZw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

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

In response to

  • Restore db at 2011-11-14 00:09:25 from Alexander Burbello

Responses

  • Restore db at 2011-11-14 00:35:46 from Alexander Burbello

Browse pgsql-admin by date

  From Date Subject
Next Message Alexander Burbello 2011-11-14 00:35:46 Restore db
Previous Message Alexander Burbello 2011-11-14 00:09:25 Restore db

Browse pgsql-general by date

  From Date Subject
Next Message Alexander Burbello 2011-11-14 00:35:46 Restore db
Previous Message Alexander Burbello 2011-11-14 00:09:25 Restore db