Can a bitmap index be used for index-only access?

  • From: "Tolkin, Steve" <Steve.Tolkin@xxxxxxx>
  • To: <oracle-l@xxxxxxxxxxxxx>
  • Date: Sat, 8 Nov 2008 18:48:37 -0500

Can a bitmap index be used for index-only access? 

Suppose there is a single bitmap index defined on two columns A and B in
table T.  
Can that bitmap index alone be used for certain queries, without needing
to read any blocks from the base table?
For example these two queries: 
Select B from T where A ='a1'
Select A from T where B ='b2'

(An ordinary B-tree index on columns A and B, in that order, supports
index only access on the first query above, but not the second.) 

Where, if anywhere, is this described in the Oracle documentation?

Thanks,
Steve
--
Steve Tolkin 
Vice President
PWI Strategy and Architecture 
Fidelity Investments
400 Puritan Way M3B
Marlborough MA 01752

Notice:  All e-mail sent to or from Fidelity Investments is subject to
retention, monitoring and/or review by Fidelity personnel.
Please note that Fidelity is unable to accept orders left over voicemail
or email regarding any account.

The information in this e-mail and in any attachments is intended solely
for the attention and use of the named addressee(s) and may contain
information that is considered privileged, proprietary, confidential,
and/or exempt from disclosure under applicable law.  If you are not the
intended recipient of this email or if you have otherwise received this
email in error, please immediately notify me by replying to this message
or by telephone (you may call me collect).   Any use, dissemination,
distribution or copying of this e-mail is strictly prohibited without
authorization from Fidelity Investments.

Clearing, custody or other brokerage services may be provided by
Fidelity Brokerage Services LLC or National Financial Services LLC,
members NYSE, SIPC.
--
//www.freelists.org/webpage/oracle-l


Other related posts: