Re: Database restoration performance issue on PostgreSQL 7.4.7

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Database restoration performance issue on PostgreSQL 7.4.7
Дата
Msg-id 12820.1144126203@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Database restoration performance issue on PostgreSQL 7.4.7  (Leon Pu <leon_xf_pu@yahoo.com.cn>)
Ответы Re: Database restoration performance issue on PostgreSQL 7.4.7  (Leon Pu <leon_xf_pu@yahoo.com.cn>)
Список pgsql-general
Leon Pu <leon_xf_pu@yahoo.com.cn> writes:
> the database restoration on my PosgreSQL 7.4.7 Linux installation is
> terribly poor. It takes more than one and half hour to restore a 61M
> restored database.

> Here are my commands to backup and restore.

> - backup: pg_dump -d $DB_NAME > db.bak
> - restore: psql -d $DB_NAME < db.bak

Try dropping the -d switch to pg_dump.

            regards, tom lane

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

Предыдущее
От: "deepak pal"
Дата:
Сообщение: what datatype is for autonumbering.in postgress
Следующее
От: Chris
Дата:
Сообщение: Re: what datatype is for autonumbering.in postgress