<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>oracle cpu IO &#8211; Bugra Parlayan | Oracle Database &amp; Exadata Blog</title>
	<atom:link href="https://www.bugraparlayan.com.tr/tag/oracle-cpu-io/feed" rel="self" type="application/rss+xml" />
	<link>https://www.bugraparlayan.com.tr</link>
	<description>A technical blog</description>
	<lastBuildDate>Tue, 25 Aug 2020 15:26:50 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>

<image>
	<url>https://www.bugraparlayan.com.tr/wp-content/uploads/2020/06/cropped-plsql-32x32.jpg</url>
	<title>oracle cpu IO &#8211; Bugra Parlayan | Oracle Database &amp; Exadata Blog</title>
	<link>https://www.bugraparlayan.com.tr</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Most used or executed SQL Queries ( Last 20 )</title>
		<link>https://www.bugraparlayan.com.tr/most-used-or-executed-sql-queries.html</link>
					<comments>https://www.bugraparlayan.com.tr/most-used-or-executed-sql-queries.html?noamp=mobile#respond</comments>
		
		<dc:creator><![CDATA[Bugra Parlayan]]></dc:creator>
		<pubDate>Sat, 24 Aug 2019 16:32:15 +0000</pubDate>
				<category><![CDATA[Oracle Scripts]]></category>
		<category><![CDATA[Most used or executed SQL]]></category>
		<category><![CDATA[oracle cpu IO]]></category>
		<category><![CDATA[oracle Queries in the last 24 hours]]></category>
		<category><![CDATA[Queries in the last 24 hours]]></category>
		<guid isPermaLink="false">https://www.bugraparlayan.com.tr/?p=1149</guid>

					<description><![CDATA[<p>Q: How can i see most used or executed SQL Queries ? SELECT * FROM ( SELECT ss.sql_text, a.SQL_ID, SUM (CPU_TIME_DELTA), SUM (DISK_READS_DELTA), COUNT (*) FROM DBA_HIST_SQLSTAT a, dba_hist_snapshot s, v$sql ss WHERE s.snap_id = a.snap_id AND a.sql_id = ss.sql_id AND s.begin_interval_time > SYSDATE - 1 GROUP BY ss.sql_text, a.SQL_ID ORDER BY SUM (CPU_TIME_DELTA) DESC) &#8230;</p>
<p>The post <a rel="nofollow" href="https://www.bugraparlayan.com.tr/most-used-or-executed-sql-queries.html">Most used or executed SQL Queries ( Last 20 )</a> appeared first on <a rel="nofollow" href="https://www.bugraparlayan.com.tr">Bugra Parlayan | Oracle Database &amp; Exadata Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Q: How can i see most used or executed SQL Queries ?</p>



<pre class="wp-block-code"><code lang="sql" class="language-sql">SELECT *
  FROM (  SELECT ss.sql_text,
                 a.SQL_ID,
                 SUM (CPU_TIME_DELTA),
                 SUM (DISK_READS_DELTA),
                 COUNT (*)
            FROM DBA_HIST_SQLSTAT a, dba_hist_snapshot s, v$sql ss
           WHERE     s.snap_id = a.snap_id
                 AND a.sql_id = ss.sql_id
                 AND s.begin_interval_time > SYSDATE - 1
        GROUP BY ss.sql_text, a.SQL_ID
        ORDER BY SUM (CPU_TIME_DELTA) DESC)
 WHERE ROWNUM &lt;= 20;</code></pre>
<p>The post <a rel="nofollow" href="https://www.bugraparlayan.com.tr/most-used-or-executed-sql-queries.html">Most used or executed SQL Queries ( Last 20 )</a> appeared first on <a rel="nofollow" href="https://www.bugraparlayan.com.tr">Bugra Parlayan | Oracle Database &amp; Exadata Blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.bugraparlayan.com.tr/most-used-or-executed-sql-queries.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
