Re: MVCC and index-only read - Mailing list pgsql-general

From Jonah H. Harris
Subject Re: MVCC and index-only read
Date
Msg-id 36e682920811181115pb3d3560y18f175d9e3e408db@mail.gmail.com
Whole thread Raw
In response to Re: MVCC and index-only read  (Scara Maccai <m_lists@yahoo.it>)
Responses Re: MVCC and index-only read
List pgsql-general
On Tue, Nov 18, 2008 at 2:02 PM, Scara Maccai <m_lists@yahoo.it> wrote:
> SELECT A FROM myTAB where A <10000
>
> only uses the index (if there's an index defined for A) in Oracle.

Well, not exactly.  That's called a "covered" index because the query
could be satisfied directly from the index (the attribute is covered
by the index).  Oracle sometimes satisfies it with an index fast full
scan, but not always; it depends on the cost of other access methods
and/or what Oracle believes is currently in cache.

--
Jonah H. Harris, Senior DBA
myYearbook.com

pgsql-general by date:

Previous
From: "Michael P. Soulier"
Date:
Subject: apparent deadlock
Next
From: "Scott Marlowe"
Date:
Subject: Re: apparent deadlock