Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Help me read my 10053 trace file
I am trying to understand why my bitmap index was rejected.
Here is the trace file from 10053 event
Column: METRO_ID Col#: 5 Table: LIFE Alias: L NDV: 15 NULLS: 0 DENS: 6.6667e-02 LO: 1 HI: 48 Column: STATUS_DES Col#: 16 Table: LIFE Alias: L NDV: 1 NULLS: 0 DENS: 1.0000e+00 Column: RAMP Col#: 6 Table: LIFE Alias: L NDV: 2 NULLS: 0 DENS: 5.0000e-01 TABLE: LIFE ORIG CDN: 5485935 CMPTD CDN: 182865Access path: tsc Resc: 1190 Resp: 1190 Access path: index (equal)
INDEX#: 3906609 TABLE: LIFE CST: 134 IXSEL: 5.0000e-01 TBSEL: 5.0000e-01******** Bitmap access path rejected ******** Cost: 5223 Selectivity: 0
why the bitmap index cost is so high?
my understanding is, in addition of the index scan, which is 134, we need to
access some table blocks individually. And the table access should be
(CMPTD CDN/ORIG CDN)*table blocks
which is (182865/5485935)*7839 = 261.
So the total cost for bitmap index should be 134+261=395.
Could somebody tell me how oracle managed to get an outrageous cost of 5223?
Thanks Received on Fri Nov 15 2002 - 22:30:32 CST