Re: [Fwd: Re: RHDB just sits and does nothing?]

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: [Fwd: Re: RHDB just sits and does nothing?]
Дата
Msg-id
20391.1086788801@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
[Fwd: Re: RHDB just sits and does nothing?] "Mauri Sahlberg" <Mauri.Sahlberg@claymountain.com>
Re: [Fwd: Re: RHDB just sits and does nothing?] "Scott Marlowe" <smarlowe@qwest.net>
Re: [Fwd: Re: RHDB just sits and does nothing?] Tom Lane <tgl@sss.pgh.pa.us>
"Scott Marlowe"  writes:
> On Wed, 2004-06-09 at 02:16, Mauri Sahlberg wrote:
>> It just took about three quarters of a hour to delete 6500 rows!

> Do you have any foreign key references that are of mismatched types
> involved?

Specifically, what other tables reference this one?  Are their
referencing columns of identical types, and *do they have indexes*?

I'm betting on lack of index myself; that's the only FK mistake that
hurts you only at primary-key-delete time.

			regards, tom lane
В списке pgsql-admin по дате отправления
От: Scott Marlowe
Дата:
От: Tom Lane
Дата:
FAQ