DB6_DB02_TIMESPT - DB6: Time Spent Analysis
Data Description
The DB6_DB02_TIMESPT event provides aggregated, timeline-based data that reflects the current or historical performance of an IBM Db2 (DB6) database within an SAP environment. It enables real-time analysis of specific workload situations by offering a detailed view of how the database engine spends its time.
The key advantage of time-spent monitoring is that SAP Basis administrators are not limited to standard DB6 performance indicators (such as the buffer pool hit ratio). Instead, they gain deeper insight into how much time is actually spent on various types of database operations, such as CPU processing, I/O, lock waits, and log writing—allowing for more precise performance troubleshooting and optimization.
Potential Use Cases
This event could be used in the following scenarios:
To know how changes in system performance relate to changes in the total time spent in various Db2 components or wait situations.
To know where is most of the time spent in Db2 so that these areas can be tuned.
To find the most active service classes and members on the database system, and are there any outliers.
Detect performance bottlenecks at the database layer
Help in workload balancing and capacity planning
SAP Navigation
Log into the managed SAP system and execute the transaction DBACOCKPIT & click on the Performance->Time Spent Analysis as shown below

