Re: Database restoration performance issue on PostgreSQL 7.4.7

Поиск
Список
Период
Сортировка
От Leon Pu
Тема Re: Database restoration performance issue on PostgreSQL 7.4.7
Дата
Msg-id 20060404055947.19201.qmail@web15709.mail.cnb.yahoo.com
обсуждение исходный текст
Ответ на Re: Database restoration performance issue on PostgreSQL 7.4.7  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
--- Tom Lane <tgl@sss.pgh.pa.us> wrote:

> 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.

It works.

Thanks a lot.


Best regards,
Leon

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Create an index with a sort condition
Следующее
От: Matthew Peter
Дата:
Сообщение: Re: sort a referenced list