Re: Reducing memory usage of insert into select operations? [Solved]

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Reducing memory usage of insert into select operations? [Solved]
Дата
Msg-id 20080719210330.GB5754@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Reducing memory usage of insert into select operations? [Solved]  (Francisco Reyes <lists@stringsutils.com>)
Список pgsql-general
Francisco Reyes wrote:

> I had the foreign key in the master table instead of the children.
> Deleted RI from master table and put into the inherited partitions.
> My whole 230 million rows merged in about an hour!

Heh -- but are the FKs now checked?  Try inserting something that
violates the constraints and see if they are rejected.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: "Pavel Stehule"
Дата:
Сообщение: Re: Returns cursor?
Следующее
От: Francisco Reyes
Дата:
Сообщение: Re: Reducing memory usage of insert into select operations? [Solved]