Time-spent monitor element hierarchy
The information in many time-spent monitor elements is rolled up in more general monitor elements.
For example, individual wait time elements, such as that for the time spent waiting to receive the information in the next buffer from a table queue (fcm_tq_recv_wait_time) and time spent waiting for an FCM reply message (fcm_message_recv_wait_time) are both included in overall fcm_recv_wait_time element. The hierarchical organization of time-spent monitor element makes it possible to choose the element with the most appropriate level of specificity for your needs.
Dimensions and perspectives for viewing time-spent monitor elements
There are different ways that you can look at the hierarchies of time-spent monitor elements. One way is to look at them from the viewpoint of the system as a whole; you can also look at them in the context of specific activities within the system.
The system-level view or system dimension includes elements that you can use to see what the system is doing as a whole. You can also use elements in the system dimension to view time-spent information for specific workloads.
The activity-level view or activity dimension includes elements that you can use to see which specific activities the system is spending time on, such as the execution of SQL statements. All monitor elements in the activity dimension are included in the higher-level system dimension.
- Component processing times as compared to wait times
- Component elapsed times as compared to component processing times
In the second perspective, component elapsed times are a superset of component processing times. For example, for a logical component of the database such as that component that performs commits, the total amount of commit processing time, as reported by the total_commit_proc_time monitor element, is included in the overall elapsed time for the commit, as reported by the total_commit_time monitor element. The difference between the total elapsed time and the total processing time is made up of miscellaneous wait or processing times that are not individually tracked by the component elapsed time monitor element.
Viewing component elapsed times relative to wait times is not meaningful, because component elapsed times already include wait times that are incurred as part of the elapsed time in that part of the system. If you created a pie chart consisting of both component elapsed times and wait times, it would not be an accurate representation of the time that is spent in your system because you would be double-counting the various types of wait times.
The sections that follow describe the various dimensions (system and activity) and perspectives (component processing, wait times and component elapsed, and component processing times) from which you can view the information in time-spent monitor elements.
System dimension: Wait and component processing time-spent monitor elements
The following list shows an overall view of how the monitor elements for wait time and component processing time relate to one another, as viewed from the system dimension.
The values for indented monitor elements are included in the element that precedes those elements in the next-highest level of the hierarchy.
- client_idle_wait_time - Client idle wait time monitor element
- total_rqst_time - Total request time monitor element
- total_wait_time - Total wait time monitor element
- agent_wait_time - Agent wait time monitor element
- wlm_queue_time_total - Workload manager total queue time monitor element
- lob_prefetch_wait_time - Wait time for prefetcher for LOB read or write monitor element
- fed_wait_time - Time spent by a federation server monitor element
- lock_wait_time - Time waited on locks monitor element
- log_buffer_wait_time - Log buffer wait time monitor element
- log_disk_wait_time - Log disk wait time monitor element
- tcpip_recv_wait_time - TCP/IP received wait time monitor element
- tcpip_send_wait_time - TCP/IP send wait time monitor element
- ipc_recv_wait_time - Interprocess communication received wait time monitor element
- ipc_send_wait_time - Interprocess communication send wait time monitor element
- fcm_recv_wait_time - FCM received wait time monitor element1
- fcm_send_wait_time - FCM send wait time monitor element1
- audit_subsystem_wait_time - Audit subsystem wait time monitor element
- audit_file_write_wait_time - Audit file write wait time monitor element
- diaglog_write_wait_time - Diagnostic log file write wait time monitor element
- pool_read_time - Total buffer pool physical read time monitor element2
- pool_write_time - Total buffer pool physical write time monitor element2
- direct_read_time - Direct read time monitor element
- direct_write_time - Direct write time monitor element
- evmon_wait_time - Event monitor wait time monitor element
- total_extended_latch_wait_time - Total extended latch wait time monitor element
- prefetch_wait_time - Time waited for prefetch monitor element
- comm_exit_wait_time - Communication exit wait time monitor element
- ida_send_wait_time - Time spent waiting to send data monitor element
- ida_recv_wait_time - Time spent waiting to receive data monitor element
- cf_wait_time - cluster caching facility wait time monitor element
- reclaim_wait_time - Reclaim wait time monitor element
- spacemappage_reclaim_wait_time - Space map page reclaim wait time monitor element
- ext_table_recv_wait_time - Total agent wait time for external table readers monitor element
- ext_table_send_wait_time - Total agent wait time for external table writers monitor element
- total_compile_proc_time - Total compile processing time monitor element
- total_implicit_compile_proc_time - Total implicit compile processing time monitor element
- total_routine_user_code_proc_time - Total routine user code processing time monitor element
- total_section_proc_time - Total section processing time monitor element
- total_commit_proc_time - Total commits processing time monitor element
- total_rollback_proc_time - Total rollback processing time monitor element
- total_runstats_proc_time - Total runtime statistics processing time monitor element
- total_reorg_proc_time - Total reorganization processing time monitor element
- total_load_proc_time - Total load processing time monitor element
- total_backup_proc_time - Total non-wait time for online backups monitor element
- total_index_build_proc_time - Total non-wait time spent building indexes due to index creation or re-creation monitor element
- total_connect_request_proc_time - Total connection or switch user request processing time monitor element
- Other monitor elements4
- total_wait_time - Total wait time monitor element
1These FCM-related wait times do not yield meaningful information
when aggregated across members. For more information, see Wait times for FCM communications for
more information
.
2When reported by the MON_GET_DATABASE interface or the MON_GET_DATABASE_DETAILS interface, pool_read_time includes asynchronous read time and pool_write_time includes asynchronous write time.
3These processing time elements include miscellaneous processing and wait times that are not specifically related to this component. For example, the time that the total_section_proc_time element reports includes the time that the total_section_proc_sort_time element reports. The total_section_sort_proc_time element reports the time that is spent performing activities such as table and index scans or joins.
4 These monitor elements include a small number of miscellaneous types of time spent (processing and wait times) that are not currently monitored.
System dimension: Component time-spent monitor elements
- One that reports the total amount of processing time in a component or stage of processing
- One that reports the overall elapsed time that is spent in the component. This overall time includes the processing time for the component and any other processing or wait times that might be involved.
The values for indented monitor elements are included in the element that precedes those elements in the next-highest level of the hierarchy.
- total_rqst_time - Total request time monitor element
- total_backup_time - Total elapsed time for doing online backups monitor element
- total_compile_time - Total compile time monitor element
- total_implicit_compile_time - Total implicit compile time monitor element
- total_implicit_compile_proc_time - Total implicit compile processing time monitor element
- Other monitor elements1
- total_index_build_time - Total time spent building indexes due to index creation or re-creation monitor element
- total_routine_user_code_time - Total routine user code time monitor element
- total_section_time - Total section time monitor element
- total_commit_time - Total commit time monitor element
- total_commit_proc_time - Total commits processing time monitor element
- Other monitor elements1
- total_rollback_time - Total rollback time monitor element
- total_rollback_proc_time - Total rollback processing time monitor element
- Other monitor elements1
- total_runstats_time - Total runtime statistics time monitor element
- total_runstats_proc_time - Total runtime statistics processing time monitor element
- Other monitor elements1
- total_reorg_time - Total reorganization time monitor element
- total_reorg_proc_time - Total reorganization processing time monitor element
- Other monitor elements1
- total_load_time - Total load time monitor element
- total_load_proc_time - Total load processing time monitor element
- Other monitor elements1
- total_connect_request_time - Total connection or switch user request time monitor element
- total_connect_authentication_time - Total connection or switch user authentication request time monitor element
- Other monitor elements2
1These monitor elements include one or more different types of wait times.
2These monitor elements include a small number of miscellaneous types of time spent (processing and wait times) that are not currently monitored.
Activity dimension: Wait and component processing time-spent monitor elements
The following list shows the monitor elements that you can view for activities from the perspective of wait times as compared to component processing times.
The values for indented monitor elements are included in the element that precedes those elements in the next-highest level of the hierarchy.
- wlm_queue_time_total - Workload manager total queue time monitor element
- stmt_exec_time - Statement execution time monitor element
- total_act_wait_time - Total activity wait time monitor element
1
- lock_wait_time - Time waited on locks monitor element
- lob_prefetch_wait_time - Wait time for prefetcher for LOB read or write monitor element
- log_buffer_wait_time - Log buffer wait time monitor element
- log_disk_wait_time - Log disk wait time monitor element
- fed_wait_time - Time spent by a federation server monitor element
- fcm_recv_wait_time - FCM received wait time monitor element2
- fcm_send_wait_time - FCM send wait time monitor element2
- audit_subsystem_wait_time - Audit subsystem wait time monitor element
- evmon_wait_time - Event monitor wait time monitor element
- audit_file_write_wait_time - Audit file write wait time monitor element
- diaglog_write_wait_time - Diagnostic log file write wait time monitor element
- pool_read_time - Total buffer pool physical read time monitor element
- pool_write_time - Total buffer pool physical write time monitor element
- direct_read_time - Direct read time monitor element
- direct_write_time - Direct write time monitor element
- total_extended_latch_wait_time - Total extended latch wait time monitor element
- prefetch_wait_time - Time waited for prefetch monitor element
- ida_send_wait_time - Time spent waiting to send data monitor element
- ida_recv_wait_time - Time spent waiting to receive data monitor element
- cf_wait_time - cluster caching facility wait time monitor element
- reclaim_wait_time - Reclaim wait time monitor element
- spacemappage_reclaim_wait_time - Space map page reclaim wait time monitor element
- ext_table_recv_wait_time - Total agent wait time for external table readers monitor element
- ext_table_send_wait_time - Total agent wait time for external table writers monitor element
- total_routine_non_sect_proc_time - Non-section processing time monitor element
- total_routine_user_code_proc_time - Total routine user code processing time monitor element
- Other monitor elements3
- total_section_proc_time - Total section processing time monitor element
- total_index_build_proc_time - Total non-wait time spent building indexes due to index creation or re-creation monitor element
- Other monitor elements4
- total_act_wait_time - Total activity wait time monitor element
1
1This monitor element does not include any wait time that is incurred by nested (child) activities that the statement executes.
2These FCM-related wait times do not yield meaningful information
when aggregated across members. For more information, see Wait times for FCM
communications
.
3Includes miscellaneous processing times that are not specifically related to this component.
4Includes a small number of miscellaneous types of time spent (processing and wait times) that are not currently monitored. In addition, this time includes any processing and wait times that child activities incur.
Activity dimension: Component elapsed and component processing times
The following list shows the monitor elements that you can view for activities from the perspective of component elapsed times, which include component processing times.
The values for indented monitor elements are included in the element that precedes those elements in the next-highest level of the hierarchy.
- stmt_exec_time - Statement execution time monitor element
- total_section_time - Total section time monitor element
- total_section_sort_time - Total section sort time monitor element
- total_col_time - Total column-organized time monitor element
- Other2
- total_routine_time - Total routine time monitor element
- total_index_build_time - Total time spent building indexes due to index creation or re-creation monitor element
- total_section_time - Total section time monitor element
1These monitor elements include one or more different types of wait times.
2These processing time elements include miscellaneous processing and wait times that are not specifically related to this component.