Re: How to speed up delete

Поиск
Список
Период
Сортировка
От Bendik Rognlien Johansen
Тема Re: How to speed up delete
Дата
Msg-id F6FA99FB-A195-4BB8-A868-D4B249572EF4@gmail.com
обсуждение исходный текст
Ответ на Re: How to speed up delete  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
Thanks!
That took care of it.
On Jul 7, 2005, at 4:02 PM, Tom Lane wrote:

> Bendik Rognlien Johansen <bendik.johansen@gmail.com> writes:
>
>> I am running few of these deletes (could become many more) inside a
>> transaction and each one takes allmost a second to complete.
>> Is it because of the foreign key constraint, or is it something else?
>>
>
> You need an index on "original" to support that FK efficiently.  Check
> for references from other tables to this one, too.
>
>             regards, tom lane
>


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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Surprizing performances for Postgres on Centrino
Следующее
От: PFC
Дата:
Сообщение: Re: Need suggestion high-level suggestion on how to solve a performance problem