IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Suitable Index


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
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
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
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: 1281
Location: Belgium

PostPosted: Mon Aug 23, 2010 5:48 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Cobol file using index COBOL Programming 2
No new posts DL/I status code AK for GU call using... IMS DB/DC 1
No new posts Add column to existing records using ... JCL & VSAM 2
No new posts choice of clustering index DB2 3
No new posts Secondary index error while loading d... IMS DB/DC 2
Search our Forums:

Back to Top