Resetting database performance values
You should reset the database performance values if you are testing your database environment or performing maintenance. Resetting performance values allows you to collect specific data from controlled database loads.
About this task
- Reset performance values.
- Run a test.
- Reset the values again.
- Re-run the test.
db2perfc
db2perfc
db2perfc dbalias1 dbalias2 ... dbaliasn
db2perfc -d
db2perfc -d dbalias1 dbalias2 ... dbaliasn
The first example resets performance values for all active databases. The second example resets values for specific databases. The third example resets performance values for all active DCS databases. The last example resets values for specific DCS databases.
The db2perfc program resets the values for ALL programs currently accessing database performance information for the relevant database server instance (that is, the one held in DB2INSTANCE in the session in which you run db2perfc.
Invoking db2perfc also resets the values seen by anyone remotely accessing database performance information when the db2perfc command is executed.