What is performance tuning in db2?

Showing Answers 1 - 15 of 15 Answers

vanni

  • Jan 2nd, 2007
 

The performance of an application can be monitored and enhanced in the application, as well as at the database level.
?In application side the SQL?s can be tuned to make them more efficient, and avoid redundancy.
?It is better to structure the SQLs so that they perform only the necessary operations.
?On the database side, the major enhancements can be done to the definitions of tables, indexes & the distribution of tablespace and indexspace.
?The application run statistics are obtained from EXPLAIN or DB2PM (DB2 Performance Monitor) report.

  Was this answer useful?  Yes

sagar reddy

  • Apr 1st, 2015
 

Verifying weather a query is performing well or not

  Was this answer useful?  Yes

aravindhan

  • Oct 8th, 2015
 

Code
  1. SELECT * FROM TABLE1 WHERE CO_ID=CP AND EMP_ID>1000 -> This query running 10 minutes.

  2. SELECT * FROM TABLE1 WHERE CO_ID=CP AND EMP_ID>1000 AND EMP_ID<2000


This query running 5 minutes.
This is called performance tuning.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions