Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Suitable Index

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
mailsaurabh.tripathi

New User


Joined: 22 May 2008
Posts: 56
Location: hyderabad

PostPosted: Mon Aug 23, 2010 5:29 pm    Post subject: Suitable Index
Reply with quote

Hi

If an index is having a low first key cardf, relatively small as compared to the full cardf, then how good is that index?
Back to top
View user's profile Send private message

mailsaurabh.tripathi

New User


Joined: 22 May 2008
Posts: 56
Location: hyderabad

PostPosted: Mon Aug 23, 2010 5:33 pm    Post subject: column details for last question
Reply with quote

Col Name Null Type Colcard
1 PROMO Y INTEGER 11063
2 DETAIL_ID N INTEGER 22528
3 DETL_TYP N SMALLINT 5
4 IM_ID N DECIMAL(14,0) 36864
5 LOCATION N SMALLINT 1
6 ZONE N INTEGER 759
7 AREA N CHAR(3) 51
Back to top
View user's profile Send private message
GuyC

Senior Member


Joined: 11 Aug 2009
Posts: 1278
Location: Belgium

PostPosted: Mon Aug 23, 2010 5:48 pm    Post subject:
Reply with quote

It depends :
How many matching Cols is that index (mostly) used
Is the index used in Sort Avoidance
Is the index used for R.I. checking

A low firstkeycardf says very little about the "quality" of an index.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Order BY AND Index Nileshkul DB2 2 Sat Dec 31, 2016 6:33 pm
No new posts Several errors during building altern... Andi1982 JCL & VSAM 11 Wed Jul 06, 2016 7:39 pm
No new posts Drop building Alternate Index for a p... bhavin.mehta JCL & VSAM 6 Mon Jul 04, 2016 3:47 pm
No new posts VSAM Alternate Index in CICS jacobdng CICS 2 Fri May 06, 2016 1:41 pm
No new posts Rebuilding IMS secondary index withou... Hooman24 IMS DB/DC 6 Tue Mar 29, 2016 12:22 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us