Re: Restore time differences between full database dumps and separate schema/data dumps

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Restore time differences between full database dumps and separate schema/data dumps
Дата
Msg-id 1306.1260488552@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Restore time differences between full database dumps and separate schema/data dumps  (Glen Barber <glen.j.barber@gmail.com>)
Ответы Re: Restore time differences between full database dumps and separate schema/data dumps  (Glen Barber <glen.j.barber@gmail.com>)
Список pgsql-general
Glen Barber <glen.j.barber@gmail.com> writes:
> When schema/data are separated, is the restore treated as INSERTs?

No, but you'll still get killed on performance by other factors,
particularly incremental index building and retail foreign key checks.
I recommend a close read of
http://www.postgresql.org/docs/8.4/static/populate.html

What you'll want to do is separate the load into three phases
corresponding to the order that a combined schema+data dump
does it.

            regards, tom lane

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

Предыдущее
От: "Eric B. Ridge"
Дата:
Сообщение: Re: Postgres "locked up"
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Postgres "locked up"