Re: How are foreign key constraints built?

From: Greg Stark <gsstark(at)mit(dot)edu>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: How are foreign key constraints built?
Date: 2005-01-24 14:24:49
Message-ID: 873bwq7vm6.fsf@stark.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Jim C. Nasby" <decibel(at)decibel(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Greg Stark 2005-01-24 14:30:02 Re: on update / on delete performance of foreign keys
Previous Message Richard Huxton 2005-01-24 13:50:12 Re: on update / on delete performance of foreign keys