Re: Adding foreign key constraints without integrity check?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Adding foreign key constraints without integrity check?
Дата
Msg-id 9524.1150688915@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Adding foreign key constraints without integrity check?  (Wes <wespvp@syntegra.com>)
Ответы Re: Adding foreign key constraints without integrity  (Wes <wespvp@syntegra.com>)
Re: Adding foreign key constraints without integrity  (Wes <wespvp@syntegra.com>)
Список pgsql-general
Wes <wespvp@syntegra.com> writes:
> My database reload is currently taking about 6 hours to load the data, 42
> hours to reindex, and about another 40 hours or so to check the foreign key
> constraints (about 1.2 billion rows).

What PG version is this, and what have you got maintenance_work_mem set to?
Undersized m_w_m would hurt both index build and FK checking ...

            regards, tom lane

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

Предыдущее
От: "Qingqing Zhou"
Дата:
Сообщение: Re: How to optimize PostgreSQL database size
Следующее
От: Wes
Дата:
Сообщение: Re: Adding foreign key constraints without integrity