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
 

 

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: 356
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: 962
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 SMTP the current generation number of... Jyothi Kulunde JCL & VSAM 4 Thu May 04, 2017 4:08 pm
No new posts unload data from table with lob columns farhad_evan DB2 0 Sat Apr 22, 2017 1:32 pm
No new posts Edit large number of datasets (QSAM) zh_lad TSO/ISPF 3 Tue Apr 04, 2017 6:08 pm
No new posts how to mask the phone number kumarinfy DB2 4 Mon Apr 03, 2017 5:23 pm
No new posts Data replication from multiple Db2 ta... kishpra DB2 9 Mon Mar 27, 2017 9:58 pm


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