Exp/Imp data with blobs

Поиск
Список
Период
Сортировка
От Alexander Burbello
Тема Exp/Imp data with blobs
Дата
Msg-id CAJcRiCUR7hwy=np6LvT=m=3a_0uMMb=yYa7FGA=WR09cfD2kiA@mail.gmail.com
обсуждение исходный текст
Список pgsql-admin
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 means acceptable.
However, when I import this data to another db (even on the same
machine) it takes around 4 hours to perform the pg_restore. I see
during the process that spend most of the time importing the blob
records.
So I stopped to think if I need to adjust this db with different
parameters, or if this behavior is already expected when working with
blobs.
Does anyone have suggestions how can I tune this process??

Here is the basic info about my env.
Windows 32;
Postgres 9.1;
shared_buffers = 256M
maintenance_work_mem = 32M

Any other question or doubt, please let me know.

Thank you in advance.
Alex

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

Предыдущее
От: "Ruslan A. Bondar"
Дата:
Сообщение: How to deal with corrupted database?
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: How to deal with corrupted database?