Re: How are foreign key constraints built? - Mailing list pgsql-general

From Greg Stark
Subject Re: How are foreign key constraints built?
Date
Msg-id 873bwq7vm6.fsf@stark.xeocode.com
Whole thread Raw
In response to Re: How are foreign key constraints built?  ("Jim C. Nasby" <decibel@decibel.org>)
Responses Re: How are foreign key constraints built?
List pgsql-general
"Jim C. Nasby" <decibel@decibel.org> writes:

> Well, every other database I've used can do index covering, which means
> index scans *are* faster.

Still not necessarily true. In a case like this it would still be random
access which would be slower than sequential access.

Though Oracle is capable of taking the best of both worlds and doing a hash
join but taking the data from sequentially reading the index instead of the
table.

--
greg

pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: on update / on delete performance of foreign keys
Next
From: Greg Stark
Date:
Subject: Re: on update / on delete performance of foreign keys