host_summary_by_statement_type and x$host_summary_by_statement_type Sys Schema Views
These views aggregate executed statements by type (e.g., SELECT, INSERT) and host, providing statistics on frequency and latency.
Description
Column
Description
Example
SELECT * FROM sys.host_summary_by_statement_type\G
*************************** 1. row ***************************
host: localhost
statement: create_table
total: 18
total_latency: 366.93 ms
max_latency: 48.02 ms
lock_latency: 3.16 ms
rows_sent: 0
rows_examined: 0
rows_affected: 0
full_scans: 0
*************************** 2. row ***************************
host: localhost
statement: select
total: 27
total_latency: 339.16 ms
max_latency: 64.51 ms
lock_latency: 205.61 ms
rows_sent: 750599937895926
rows_examined: 13925
rows_affected: 0
full_scans: 21
...
SELECT * FROM sys.x$host_summary_by_statement_type\G
*************************** 1. row ***************************
host: localhost
statement: create_table
total: 18
total_latency: 366927804000
max_latency: 48023563000
lock_latency: 3156000000
rows_sent: 0
rows_examined: 0
rows_affected: 0
full_scans: 0
*************************** 2. row ***************************
host: localhost
statement: select
total: 28
total_latency: 343873182000
max_latency: 64507216000
lock_latency: 205984000000
rows_sent: 750678474440767
rows_examined: 14370
rows_affected: 0
full_scans: 22Previoushost_summary_by_stages and x$host_summary_by_stages Sys Schema ViewsNexthost_summary_by_statement_latency and x$host_summary_by_statement_latency Sys Schema Views
Last updated
Was this helpful?

