Monitoring backup and restore performance with db2pd -barstats
Starting in Db2® Version 11.1.4.4, the db2pd command can be used with the -barstats parameter to retrieve monitoring information about the performance of backup and restore operations.
About this task
This task is broken into two general steps:
- Finding the Agent Engine Dispatchable Unit (EDU) ID of a running backup or restore operation.
- Running the db2pd command with the -barstats option to retrieve the performance monitoring information.
Procedure
Results
While the result sets differ depending on the type of operation (backup or restore), they display
similar information:
- The EDU or thread identifiers
- Table spaces impacted by the operation
- Performance statistics
See Example output for backup performance monitoring and Example output for restore performance monitoring for a detailed breakdown of the fields and values that are displayed in the monitoring information for each operation.