If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > INDEX FULLKEYCARD and number of leafpages

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-20-08, 14:07
nivasreddy007 nivasreddy007 is offline
Registered User
 
Join Date: Jun 2007
Posts: 66
INDEX FULLKEYCARD and number of leafpages

Hi friends,

For any index is it true that indexfullkey cardinality would be approximately equivalent to number of indexrows that will be scanned for a nonmatching column scan.??

And what does a filter factor of 0.0 mean??If there is a index on ID,LNAME and only LNAME is used in WHERE clause,i believe the filter factor would be 0.0 in this case and the index slice would be all the index rows..Please correct me if i am wrong


Thanks
__________________
www.db2commands.net
Reply With Quote
  #2 (permalink)  
Old 04-20-08, 17:34
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
Index fullkeycard is the number of unique values in the complete index (all columns of the index). If a non-matching full index scan is necessary (the b-tree is not used) then all the leaf pages (and all the index entries) need to be accessed to resolve the query (assuming that is the access path chosen by DB2).
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On