I use system views in Oracle to find worst queries that apps run and tune the DB by adding indexes and that help when developing an app in case you get stuck on performance problems; now I’d like to do the same thing in DB2 9.1 LUW but really I can find nothing, even after reading a DB2 manuals on Safari Books, am I missign something? big?
Share
Although there are numerous performance monitoring tools available from both from IBM and 3rd parties, you use the DB2 snapshot facility to see what’s going on in the database.
You can either use the
GET SNAPSHOTcommand or, conveniently, IBM has exposed these snapshots through views, like Oracle.The manuals describe all of the views available in DB2 9.1: Supported Routines and Views
See, specifically, the section entiled “Snapshot Routines and Views”