why restoring a dump file is sooo slow

Поиск
Список
Период
Сортировка
От Reynard Hilman
Тема why restoring a dump file is sooo slow
Дата
Msg-id 32945.4.34.129.12.1051348841.squirrel@lightsky.com
обсуждение исходный текст
Ответы Re: why restoring a dump file is sooo slow  (Mike Mascari <mascarm@mascari.com>)
Re: why restoring a dump file is sooo slow  ("scott.marlowe" <scott.marlowe@ihs.com>)
Список pgsql-general
Hi,

I'm trying to restore a dump file that I created using:
pg_dump -CD dbname > dump.sql

the dump file size is about 87 Mb.

so I did this to restore:
psql -f dump.sql -U user template1

It takes almost an hour and a half to restore the database.

I'm just wondering if that is normal for such a small database (87Mb), or
is something wrong with how I did the restore or with my db configuration?
btw, it's on dual pIII server running redhat 7.3. with about 2G of memory.

thanks,
reynard


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

Предыдущее
От: Jerome Alet
Дата:
Сообщение: SQL schema to LDAP schema ?
Следующее
От: Mike Mascari
Дата:
Сообщение: Re: why restoring a dump file is sooo slow