<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>SQL Monitoring on Oracle Scripts</title><link>https://www.oraclescripts.com/tags/sql-monitoring/</link><description>Recent content in SQL Monitoring on Oracle Scripts</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>OracleScripts.com</copyright><lastBuildDate>Mon, 21 Sep 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://www.oraclescripts.com/tags/sql-monitoring/index.xml" rel="self" type="application/rss+xml"/><item><title>Watch Long-Running SQL in Real Time with V$SQL_MONITOR</title><link>https://www.oraclescripts.com/post/watch-long-running-sql-real-time-v-sql-monitor/</link><pubDate>Mon, 21 Sep 2026 00:00:00 +0000</pubDate><guid>https://www.oraclescripts.com/post/watch-long-running-sql-real-time-v-sql-monitor/</guid><description>
&lt;h2 id="watch-long-running-sql-in-real-time-with-vsql_monitor"&gt;Watch Long-Running SQL in Real Time with V$SQL_MONITOR&lt;/h2&gt;
&lt;h2 id="purpose"&gt;Purpose&lt;/h2&gt;
&lt;p&gt;An AWR report describes what happened over the last hour. A SQL trace file describes what happened after the statement has already finished writing it. &lt;strong&gt;&lt;a href="https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/V-SQL_MONITOR.html"&gt;V$SQL_MONITOR&lt;/a&gt;&lt;/strong&gt; answers a different question: what is running right now, and how far along is it. Statistics in the view are refreshed roughly once a second while the statement executes, which makes it the tool for the moment a DBA is staring at a session that has been running for ten minutes and needs to know whether it is almost done or stuck.&lt;/p&gt;</description></item></channel></rss>