dataiotech Labs
Home/Glossary/SQL Monitoring
SQL MonitoringDiagnostics & Telemetry

SQL Monitoring

Real-Time SQL Monitoring automatically tracks parallel SQL statements and queries consuming more than 5 seconds of CPU or I/O time (or carrying the /*+ MONITOR */ hint) in real time via V$SQL_MONITOR, V$SQL_PLAN_MONITOR, and DBMS_SQLTUNE.REPORT_SQL_MONITOR. It exposes live row-source progress, I/O, and temp usage before query completion. It requires Oracle Tuning Pack (plus prerequisite Diagnostics Pack); the license-free alternative is DBMS_XPLAN.DISPLAY_CURSOR (ALLSTATS LAST) with /*+ GATHER_PLAN_STATISTICS */.

Internal Architecture Breakdown

Real-Time SQL Monitoring automatically tracks parallel SQL statements and queries consuming more than 5 seconds of CPU or I/O time (or carrying the /*+ MONITOR */ hint) in real time via V$SQL_MONITOR, V$SQL_PLAN_MONITOR, and DBMS_SQLTUNE.REPORT_SQL_MONITOR. It exposes live row-source progress, I/O, and temp usage before query completion. It requires Oracle Tuning Pack (plus prerequisite Diagnostics Pack); the license-free alternative is DBMS_XPLAN.DISPLAY_CURSOR (ALLSTATS LAST) with /*+ GATHER_PLAN_STATISTICS */.

Applicable Versions: Oracle 19c, 26ai (EE + Tuning Pack + Diagnostics Pack) Related Terms: ASH, Execution Plan, Elapsed Time, SQL_ID Canonical Glossary ID: ORA-GLOS-25

Production Inspection Queries

Oracle
-- Canonical TRIAD-2026-W49 reference: see /oracle/cheatsheets/oracle-sql-troubleshooting