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: 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: 965
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 Update table without cursor Ron Klop DB2 3 Wed Oct 11, 2017 1:06 pm
No new posts Table(Unicode(Graphic) table) loading... muralikrishnan_new DB2 0 Thu Oct 05, 2017 5:10 pm
No new posts Insert a Row_number into table useit DB2 2 Tue Sep 19, 2017 1:07 pm
No new posts how to see when the last read access ... Mike 1304 DB2 1 Tue Sep 12, 2017 7:52 pm
No new posts PC (UTF-8) -> z/OS (EBCDIC) -> ... prino All Other Mainframe Topics 4 Fri Sep 01, 2017 1:47 am

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