Quote:
Originally Posted by ratheeshknair
We have clustered index on primary key columns.
|
Smart move... but I still think that buying much more expensive hardware would have been much better...
Quote:
|
I hope indexing the columns will help improve performance but on wat basis i will index?
|
You build indexes based on your workload.
Without a solid knowledge about the effect of certain tuning efforts, you can stab in the dark and will usually miss. So start with reading the manual to learn how DB2 works and what you can do to improve performance. Also, if you need to improve performance, it would be really good to set some performance targets that you want to reach. Otherwise, you could improve a single query extremely well - and slow down the main workload.
In case you don't have enough time, you can use the tools that come with DB2, e.g. configuration advisor and design advisor are good starting points.