| From: | Gavin Sherry <swm(at)linuxworld(dot)com(dot)au> |
|---|---|
| To: | Barry Lind <barry(at)xythos(dot)com> |
| Cc: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: Suggestion for optimization |
| Date: | 2002-04-07 12:27:08 |
| Message-ID: | Pine.LNX.4.21.0204072221460.4673-100000@linuxworld.com.au |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Fri, 5 Apr 2002, Barry Lind wrote:
> Af far as I know Oracle doesn't have any short cut (along the lines of
> what is being discussed in this thread) for this operation. However
> Oracle is more efficient in providing the answer than postgres currently
> is. While postgres needs to perform a full scan on the table, Oracle
> will only need to perform a full index scan on the primary key if one
> exists. Since the index will likely have much less data than the full
Under Postgres, a full index scan is generally more expensive than a full
table scan since indices, particularly btree, carry a large amount of meta
data and theefore consume more pages.
Gavin
| From | Date | Subject | |
|---|---|---|---|
| Next Message | mlw | 2002-04-07 12:50:41 | Re: Suggestion for optimization |
| Previous Message | Kjartan Бsюуrsson | 2002-04-07 11:49:08 | Re: Indexing and regular expressions |