Re: Speeding up DELETEs on table with FKs ...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Speeding up DELETEs on table with FKs ...
Дата
Msg-id 4011.1097502510@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Speeding up DELETEs on table with FKs ...  ("Marc G. Fournier" <scrappy@postgresql.org>)
Список pgsql-hackers
"Marc G. Fournier" <scrappy@postgresql.org> writes:
> On Mon, 11 Oct 2004, Tom Lane wrote:
>> "numeric", hm?  Is the referenced column also of type numeric?

> Correct, and a join of the two tables appears to use both indices, altho 
> one is of numeric(9,0) and the other numeric(12,0) ... could that 
> difference post a problem from a FK perspective that a SELECT/JOIN 
> wouldn't show?

No.  I wonder though how big a speed boost you'd get from converting
these columns (and all the ones linked to them) to BIGINT ...
        regards, tom lane


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

Предыдущее
От: "Neil Conway"
Дата:
Сообщение: Re: Unit testing
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Unit testing