If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Index Usage

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-17-08, 00:33
DB2USER99 DB2USER99 is offline
Registered User
 
Join Date: Sep 2007
Posts: 10
Index Usage

Hi All,

Can someone please help me figure out the Index Usage in DB2 UDB.I have 50different queries which select data from 15 tables.To improve the performance of the query we have been trying to use db2advisor to come up with Indexes which advises creating new Indexes on fields a1,a2,a3 which already has an index created on the same columns but in a different order a3,a2,a1.Similarly the db2advis has come up with index recommendations with the same set of columns but different orders. Finally I end up with 6 Indexes with same set of columns but different order for the 50 queries I have. Can someone please suggest would it still be a good idea to keep these six indexes or just keep 1 index with any order of the columns to improve load and delete performance. Will it degrade the query performance with a single index ????

Thanks In Advance...
Reply With Quote
  #2 (permalink)  
Old 02-17-08, 02:08
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
You would have to provide the queries and the table DDL.

The index advisor only optimizes a single query, and does not balance the competing needs of multiple queries.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On