Restore db

Поиск
Список
Период
Сортировка
От Alexander Burbello
Тема Restore db
Дата
Msg-id CAJcRiCWXaCnE34navMgDyT3pYVp=3XbAsp4fWjcvxFo78pFbWA@mail.gmail.com
обсуждение исходный текст
Ответы Re: Restore db  (Ondrej Ivanič <ondrej.ivanic@gmail.com>)
Re: Restore db  (Andy Colson <andy@squeakycode.net>)
Список 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

В списке pgsql-general по дате отправления:

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: Error with Application Stack Builder 3.0.0
Следующее
От: Ondrej Ivanič
Дата:
Сообщение: Re: Restore db