Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: indexing a column with only 2 or 3 values

Re: indexing a column with only 2 or 3 values

From: Helma <bad_elefant_at_hotmail.com>
Date: Fri, 03 Aug 2007 01:21:49 -0700
Message-ID: <1186129309.937133.142260@g4g2000hsf.googlegroups.com>

> > >>> Does indexing a very big table (about 5Mio records) on the columnA
> > >>> which can hold only values Y,N,<NULL> make sense?
> > >> Yes, that's what bitmap indexes were made for.

FYI , you can also index only the N ( or Y) value's in the column. This is done if e.g. the boolean is an indicator whether a row has gone through a processing run or not, and the application just need to find the N values.
Bitmap indexes are not ok if the table is updated intensively.

Helma Received on Fri Aug 03 2007 - 03:21:49 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US