<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Oracle Database on Amit Agarwal Linux Blog</title>
    <link>/tags/oracle-database/</link>
    <description>Recent content in Oracle Database on Amit Agarwal Linux Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Mon, 27 Feb 2012 06:04:19 +0000</lastBuildDate>
    
	<atom:link href="/tags/oracle-database/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Oracle Select the top 5 queries</title>
      <link>/2012/02/27/oracle-select-top-5-queries/</link>
      <pubDate>Mon, 27 Feb 2012 06:04:19 +0000</pubDate>
      
      <guid>/2012/02/27/oracle-select-top-5-queries/</guid>
      <description>&lt;p&gt;Here are one sql script that I found some time back. This will be listing the top 5 &lt;a class=&#34;zem_slink&#34; title=&#34;SQL&#34; href=&#34;http://www.iso.org/iso/catalogue_detail.htm?csnumber=45498&#34; rel=&#34;homepage&#34;&gt;SQL queries&lt;/a&gt; in &lt;a class=&#34;zem_slink&#34; title=&#34;Oracle Database&#34; href=&#34;http://www.oracle.com/&#34; rel=&#34;homepage&#34;&gt;Oracle&lt;/a&gt;.&lt;/p&gt;
&lt;pre class=&#34;brush: sql; gutter: true; first-line: 1&#34;&gt;SET linesize 300
SET PAGESIZE 200
select *
from
(select sql_text,
        sql_id,
        elapsed_time,
        cpu_time,
        user_io_wait_time
from    sys.v_$sqlarea
order by 5 desc)
where rownum &amp;lt; 6;
quit;&lt;/pre&gt;
&lt;h6 class=&#34;zemanta-related-title&#34; style=&#34;font-size: 1em;&#34;&gt;
  Related articles
&lt;/h6&gt;
&lt;ul class=&#34;zemanta-article-ul&#34;&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://thinkvitamin.com/asides/sql-fiddle/&#34;&gt;SQL Fiddle&lt;/a&gt; (thinkvitamin.com)
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://arnoldit.com/wordpress/2012/02/03/new-oracle-e-book/&#34;&gt;New Oracle E-Book&lt;/a&gt; (arnoldit.com)
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://tkyte.blogspot.com/2012/02/all-about-security-sql-injection.html&#34;&gt;All about Security &amp;#8211; SQL Injection&lt;/a&gt; (tkyte.blogspot.com)
  &lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&#34;zemanta-pixie&#34; style=&#34;margin-top: 10px; height: 15px;&#34;&gt;
  &lt;a class=&#34;zemanta-pixie-a&#34; title=&#34;Enhanced by Zemanta&#34; href=&#34;http://www.zemanta.com/&#34;&gt;&lt;img class=&#34;zemanta-pixie-img&#34; style=&#34;float: right;&#34; src=&#34;https://i1.wp.com/img.zemanta.com/zemified_e.png?w=688&#34; alt=&#34;Enhanced by Zemanta&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;
&lt;/div&gt;</description>
    </item>
    
  </channel>
</rss>
