DB2 Tuning Toolkit – DB2 Design advisor - Ddb2advis
One of the DBA objectives is to decrease the query cost. Decreasing the query cost – improves overall performance. The db2advis recommends indexes for a query.
A syntax and process example:
select SUBSTR(TBNAME,1,40), SUBSTR(TBCREATOR,1,10),substr(name,1,30), SUBSTR(CREATOR,1,8),substr(colnames,1,60), firstkeycard, fullkeycard, sequential_pages, density, iid, uniquerule, stats_time, colnames from sysibm.sysindexes a order by tbcreator, TBNAME, NAME;
Step 2 Execute the db2advis command
Comments
Post a Comment