Re: slow delete

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: slow delete
Дата
Msg-id 1174734.1692131859@sss.pgh.pa.us
обсуждение исходный текст
Ответ на slow delete  (Les <nagylzs@gmail.com>)
Ответы Re: slow delete  (Les <nagylzs@gmail.com>)
Список pgsql-performance
Les <nagylzs@gmail.com> writes:
> It seems that two foreign key constraints use 10.395 seconds out of the
> total 11.24 seconds. But I don't see why it takes that much?

Probably because you don't have an index on the referencing column.
You can get away with that, if you don't care about the speed of
deletes from the PK table ...

            regards, tom lane



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

Предыдущее
От: Les
Дата:
Сообщение: slow delete
Следующее
От: Les
Дата:
Сообщение: Re: slow delete