Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Bitmap vs btree - how to tell? how to test?
low cardinality -- good candidate for bitmap. little or no updates to
the column being indexed -- good candidate for bitmap
"low" cardinality is relative -- 10,000 distinct values in a 300m row table is low, 100 distinct values in a 10K row table might be high
but the main criteria I have found is whether or not the column is updated because when you update the values in a bitmap index, it's not just the one row in the index that is updated but the entire segment of the bitmap. And THAT can lock the index on you.
Rachel
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Rachel Carmichael INET: wisernet100_at_yahoo.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- 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 Sat May 25 2002 - 16:38:18 CDT
![]() |
![]() |