RE: dba_tables.num_rows is less than dba_indexes.num_rows

  • From: "Lex de Haan" <lex.de.haan@xxxxxxxxxxxxxx>
  • To: <Leng.Kaing@xxxxxxxxxxx>, "'Wolfgang Breitling'" <breitliw@xxxxxxxxxxxxx>
  • Date: Tue, 9 Aug 2005 09:14:32 +0200

indexes are typically used for single entry searches, or range scans -- in which
case the total number of entries is irrelevant for the CBO. and even with an
index full scan, the index *size* is more important than the number of
entries...

kind regards,

Lex.
 
------------------------------------------------------------------
Steve Adams Seminar http://www.naturaljoin.nl/events/seminars.html
------------------------------------------------------------------

-----Original Message-----

So does it matter that the indexes' num_rows are bigger than that of the table?
I'm concerned that some indexes will never be used as the CBO will think it's
bigger than the table or some of the other indexes.
BEGIN:VCARD
VERSION:2.1
N:de Haan;Lex
FN:Lex de Haan
ORG:Natural Join B.V.
TEL;WORK;VOICE:+31.30.2515022
TEL;HOME;VOICE:+31.30.2518795
TEL;CELL;VOICE:+31.62.2955714
TEL;WORK;FAX:+31.30.2523366
ADR;WORK:;;Pieter Breughelstraat 10;Utrecht;;3583 SK;Netherlands
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Pieter Breughelstraat 10=0D=0AUtrecht 3583 
SK=0D=0ANetherlands
URL;WORK:http://www.naturaljoin.nl
EMAIL;PREF;INTERNET:lex.de.haan@xxxxxxxxxxxxxx
REV:20040224T160439Z
END:VCARD

Other related posts: