Re: Delete performance again

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Delete performance again
Дата
Msg-id 23315.1222949660@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Delete performance again  ("Віталій Тимчишин" <tivv00@gmail.com>)
Ответы Re: Delete performance again  ("Віталій Тимчишин" <tivv00@gmail.com>)
Список pgsql-performance
"=?ISO-8859-5?B?svbi0Nv22SDC2Nzn2OjY3Q==?=" <tivv00@gmail.com> writes:
> delete from company where id not in (select company_id from company_descr);
> I've tried to analyze command, but unlike to other RDBM I've used it did not
> include cascade deletes/checks into query plan. That is first problem.
> It was SLOW.

Usually the reason for that is having forgotten to make an index on the
referencing column(s) ?

            regards, tom lane

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

Предыдущее
От: "Віталій Тимчишин"
Дата:
Сообщение: Delete performance again
Следующее
От:
Дата:
Сообщение: Re: dedicated server & postgresql 8.1 conf tunning