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

what is the maximum possible number of index on a table


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
roopannamdhari
Warnings : 1

New User


Joined: 14 Sep 2006
Posts: 71
Location: Bangalore

PostPosted: Wed Dec 19, 2007 10:45 am
Reply with quote

Hi,

How many index we can create on a particular Table. Suppose I am having 1 table with 7 columns than what is the max Number of Index possible on that table.

Thanks & Regards,
Roopa
Back to top
View user's profile Send private message
ksk

Active User


Joined: 08 Jun 2006
Posts: 355
Location: New York

PostPosted: Wed Dec 19, 2007 11:07 am
Reply with quote

Hi Roopa,

Maximum number of indexes in a table is 15 .

I found this information from IBM site.

publib.boulder.ibm.com/infocenter/db2e/v9r1f1/index.jsp?topic=/com.ibm.db2e.doc/adg/db2elimits.htm

Please correct me if I am wrong.

Regards,
KSK
Back to top
View user's profile Send private message
kgumraj2

New User


Joined: 01 Aug 2007
Posts: 42
Location: Hyderabad

PostPosted: Wed Dec 19, 2007 11:30 am
Reply with quote

Hi,
Any combination will work. But more the index more the Time to excecute.
Back to top
View user's profile Send private message
roopannamdhari
Warnings : 1

New User


Joined: 14 Sep 2006
Posts: 71
Location: Bangalore

PostPosted: Wed Dec 19, 2007 12:11 pm
Reply with quote

Thanks....
Back to top
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 691
Location: Earth

PostPosted: Wed Dec 19, 2007 12:43 pm
Reply with quote

This link points to DB2 V9 on Z/oS limits. Last link posted is for Db2 Everyplace edition, I guess it is not applicable for other versions of Db2.
IBM does not say there is any limit on number of indexes in Db2 V9 for Z o/s.
Back to top
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Wed Dec 19, 2007 6:58 pm
Reply with quote

I would think the more indexes, then the longer to INSERT or UPDATE, but not necessarily SELECT. I'd expect most SELECT's to be possibly faster.

If you INSERT/UPDATE rarely, but SELECT frequently - then go for it.
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 Load new table with Old unload - DB2 DB2 6
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Substring number between 2 characters... DFSORT/ICETOOL 2
No new posts Generate random number from range of ... COBOL Programming 3
No new posts Multiple table unload using INZUTILB DB2 2
Search our Forums:

Back to Top