Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
what is the maximum possible number of index on a table

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: what is the maximum possible number of index on a table
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    Post subject:
Reply with quote

Hi Roopa,

Maximum number of indexes in a table is 15 .

I found this information from IBM site.

http://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    Post subject:
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    Post subject: Reply to: what is the maximum possible number of index on a
Reply with quote

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

Active Member


Joined: 27 Feb 2007
Posts: 686
Location: Earth

PostPosted: Wed Dec 19, 2007 12:43 pm    Post subject:
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

Active Member


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

PostPosted: Wed Dec 19, 2007 6:58 pm    Post subject:
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    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 IDCAMS RENAMING VSAM FILE ALONG WITH ... upendrasri JCL & VSAM 11 Tue Apr 17, 2018 10:42 pm
No new posts Searching a table for the field name? socker_dad COBOL Programming 8 Sat Mar 31, 2018 2:57 am
No new posts Repeat Sequence Number Until change i... rahulabvp DFSORT/ICETOOL 6 Thu Mar 29, 2018 12:51 pm
No new posts Need inputs on DB2 tablespace/table r... ashek15 DB2 3 Sat Mar 24, 2018 11:49 pm
No new posts COBOL declaration for table Poha Eater DB2 3 Mon Feb 26, 2018 6:58 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us