Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Cardinality of indexed columns... how to discover? What is the ma
simply using cardinality is not a good idea for
deciding on bitmap indexes.
eg1: you've got 3 distinct values in colX and you want to get 'select colY where colX = 1'
Sounds perfect for bitmap??? NOPE !!! Because you want 'colY', you read the bitmap but you STILL have to read bucketloads of the table...A full table scan would be far better.
eg2: you're doing dml on the table...Not a good idea for bitmaps there..
Bitmaps (or several) are great if their use reduces the result set dramaticall, otherwise they can really hurt your system
hth
connor
"GIVE a man a fish and he will eat for a day. But TEACH him how to fish, and...he will sit in a boat and drink beer all day"
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: =?iso-8859-1?q?Connor=20McDonald?= INET: hamcdc_at_yahoo.co.uk Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Fri Dec 20 2002 - 15:29:35 CST
![]() |
![]() |