Re: Slow table update
| От | Tom Lane |
|---|---|
| Тема | Re: Slow table update |
| Дата | |
| Msg-id | 7032.1229952622@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Slow table update (Laszlo Nagy <gandalf@shopzeus.com>) |
| Ответы |
Re: Slow table update
Re: Slow table update |
| Список | pgsql-performance |
Laszlo Nagy <gandalf@shopzeus.com> writes:
>> If the table has some sort of FK relations it might be being slowed by
>> the need to check a row meant to be deleted has any children.
>>
> If you look at my SQL, there is only one column to be updated. That
> column has no foreign key constraint.
That was not the question that was asked.
> My other idea was that there are so many indexes on this table, maybe
> the update is slow because of the indexes?
Updating indexes is certainly very far from being free. How many is
"many"?
regards, tom lane
В списке pgsql-performance по дате отправления: