Re: slow delete

Поиск
Список
Период
Сортировка
От PFC
Тема Re: slow delete
Дата
Msg-id op.udrik3eocigqcu@apollo13.peufeu.com
обсуждение исходный текст
Ответ на slow delete  (Jessica Richard <rjessil@yahoo.com>)
Список pgsql-performance
> by the way, there is a foreign key on another table that references the
> primary key col0 on table test.

    Is there an index on the referencing field in the other table ? Postgres
must find the rows referencing the deleted rows, so if you forget to index
the referencing column, this can take forever.

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

Предыдущее
От: Russell Smith
Дата:
Сообщение: Re: Define all IP's in the world in pg_hba.conf
Следующее
От: Jessica Richard
Дата:
Сообщение: Re: slow delete