<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Optimizing SQL statements with xplan</title>
	<atom:link href="http://www.adellera.it/blog/2009/06/07/optimizing-sql-statements-with-xplan/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.adellera.it/blog/2009/06/07/optimizing-sql-statements-with-xplan/</link>
	<description>A blog about Oracle - Un blog riguardo Oracle</description>
	<lastBuildDate>Mon, 14 Nov 2011 11:12:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: optimizing oracle performance</title>
		<link>http://www.adellera.it/blog/2009/06/07/optimizing-sql-statements-with-xplan/comment-page-1/#comment-342</link>
		<dc:creator>optimizing oracle performance</dc:creator>
		<pubDate>Fri, 19 Mar 2010 23:51:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.adellera.it/blog/?p=259#comment-342</guid>
		<description>[...] example, similar performance and energy cost savings can be obtained by tuning Oracle databases) ...Alberto Dell&#039;Era&#039;s Oracle blog Optimizing SQL statements ...Xplan is a utility to simplify and automate the first part of every SQL statement tuning effort, [...]</description>
		<content:encoded><![CDATA[<p>[...] example, similar performance and energy cost savings can be obtained by tuning Oracle databases) &#8230;Alberto Dell&#8217;Era&#8217;s Oracle blog Optimizing SQL statements &#8230;Xplan is a utility to simplify and automate the first part of every SQL statement tuning effort, [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alberto Dell&#8217;Era&#8217;s Oracle blog &#187; Xplan 2.0</title>
		<link>http://www.adellera.it/blog/2009/06/07/optimizing-sql-statements-with-xplan/comment-page-1/#comment-95</link>
		<dc:creator>Alberto Dell&#8217;Era&#8217;s Oracle blog &#187; Xplan 2.0</dc:creator>
		<pubDate>Fri, 07 Aug 2009 08:11:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.adellera.it/blog/?p=259#comment-95</guid>
		<description>[...] script I use to investigate about SQL statements performance (I spoke about version 1.0 in this post). Here&#039;s a brief [...]</description>
		<content:encoded><![CDATA[<p>[...] script I use to investigate about SQL statements performance (I spoke about version 1.0 in this post). Here&#8217;s a brief [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Blogroll Report 06/06/09 &#8211; 12/06/09 &#171; Coskan&#8217;s Approach to Oracle</title>
		<link>http://www.adellera.it/blog/2009/06/07/optimizing-sql-statements-with-xplan/comment-page-1/#comment-41</link>
		<dc:creator>Blogroll Report 06/06/09 &#8211; 12/06/09 &#171; Coskan&#8217;s Approach to Oracle</dc:creator>
		<pubDate>Fri, 12 Jun 2009 19:33:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.adellera.it/blog/?p=259#comment-41</guid>
		<description>[...] Alberto Dell&#8217;era &#8211; Optimizing SQL statements with xplan [...]</description>
		<content:encoded><![CDATA[<p>[...] Alberto Dell&#8217;era &#8211; Optimizing SQL statements with xplan [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alberto Dell'Era</title>
		<link>http://www.adellera.it/blog/2009/06/07/optimizing-sql-statements-with-xplan/comment-page-1/#comment-37</link>
		<dc:creator>Alberto Dell'Era</dc:creator>
		<pubDate>Wed, 10 Jun 2009 14:43:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.adellera.it/blog/?p=259#comment-37</guid>
		<description>@sandro

You should read the report row-wise, for example the first row details the first column of the table:

1) the column id (&quot;Id&quot;) is 1
2) the column internal id (&quot;IId&quot;) is 1
3) the column name (&quot;ColName&quot;) is TEDO_TIPO 
4) the column type (&quot;Type&quot;) is VARCHAR2 (2 byte)
5) the column nullability (&quot;Null&quot;) is NOT NULL
6) indexes 0,1,2,3 do not reference this column
7) index 4 has this column as the first column 
...  etcetera.

If you look down on your report, you&#039;ll find the definition of the indexes, for example you&#039;ll find
### index #4
that you&#039;ll see is defined on (TEDO_TIPO, TEDO_PROG)

Further details on the main page of xplan - look at the commented example there :)</description>
		<content:encoded><![CDATA[<p>@sandro</p>
<p>You should read the report row-wise, for example the first row details the first column of the table:</p>
<p>1) the column id (&#8220;Id&#8221;) is 1<br />
2) the column internal id (&#8220;IId&#8221;) is 1<br />
3) the column name (&#8220;ColName&#8221;) is TEDO_TIPO<br />
4) the column type (&#8220;Type&#8221;) is VARCHAR2 (2 byte)<br />
5) the column nullability (&#8220;Null&#8221;) is NOT NULL<br />
6) indexes 0,1,2,3 do not reference this column<br />
7) index 4 has this column as the first column<br />
&#8230;  etcetera.</p>
<p>If you look down on your report, you&#8217;ll find the definition of the indexes, for example you&#8217;ll find<br />
### index #4<br />
that you&#8217;ll see is defined on (TEDO_TIPO, TEDO_PROG)</p>
<p>Further details on the main page of xplan &#8211; look at the commented example there :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sandro</title>
		<link>http://www.adellera.it/blog/2009/06/07/optimizing-sql-statements-with-xplan/comment-page-1/#comment-36</link>
		<dc:creator>sandro</dc:creator>
		<pubDate>Wed, 10 Jun 2009 14:08:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.adellera.it/blog/?p=259#comment-36</guid>
		<description>Sorry for my misunderstanding!
This is extract from my report.

-------------------------------------------------------------------------------------------
&#124;Id&#124;IId&#124;ColName       &#124;Type              &#124;Null    &#124;0&#124;1&#124;2&#124;3&#124;4&#124;P &#124;R0&#124;R1&#124;R2&#124;R3&#124;R4&#124;R5&#124;R6&#124;R7&#124;R8&#124;
-----------------------------------------------------------U-------------------------------
&#124; 1&#124;  1&#124;TEDO_TIPO     &#124;VARCHAR2 (2 byte) &#124;NOT NULL&#124; &#124; &#124; &#124; &#124;1&#124;R1&#124;  &#124;  &#124;  &#124;  &#124;  &#124;  &#124;  &#124;  &#124;  &#124;
&#124; 2&#124;  2&#124;TEDO_PROG     &#124;VARCHAR2 (10 byte)&#124;NOT NULL&#124; &#124; &#124; &#124; &#124;2&#124;R2&#124;  &#124;  &#124;  &#124;  &#124;  &#124;  &#124;  &#124;  &#124;  &#124;
&#124; 3&#124;  3&#124;TEDO_SERV_CODI&#124;VARCHAR2 (8 byte) &#124;NOT NULL&#124; &#124; &#124; &#124;1&#124; 

My question is:
why I have 0,1,2,3,ecc...and it strats from &quot;0&quot;?</description>
		<content:encoded><![CDATA[<p>Sorry for my misunderstanding!<br />
This is extract from my report.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
|Id|IId|ColName       |Type              |Null    |0|1|2|3|4|P |R0|R1|R2|R3|R4|R5|R6|R7|R8|<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;U&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
| 1|  1|TEDO_TIPO     |VARCHAR2 (2 byte) |NOT NULL| | | | |1|R1|  |  |  |  |  |  |  |  |  |<br />
| 2|  2|TEDO_PROG     |VARCHAR2 (10 byte)|NOT NULL| | | | |2|R2|  |  |  |  |  |  |  |  |  |<br />
| 3|  3|TEDO_SERV_CODI|VARCHAR2 (8 byte) |NOT NULL| | | |1| </p>
<p>My question is:<br />
why I have 0,1,2,3,ecc&#8230;and it strats from &#8220;0&#8243;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alberto Dell'Era</title>
		<link>http://www.adellera.it/blog/2009/06/07/optimizing-sql-statements-with-xplan/comment-page-1/#comment-35</link>
		<dc:creator>Alberto Dell'Era</dc:creator>
		<pubDate>Wed, 10 Jun 2009 13:53:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.adellera.it/blog/?p=259#comment-35</guid>
		<description>@sandro

Might you please elaborate on your question ? ColName contains the column name as it is found in the data dictionary, if the column name starts with a number, it will be reproduced as is ... even if creating a table with a leading number requires to enclose the name in double-quotes, and it is very rarely done.</description>
		<content:encoded><![CDATA[<p>@sandro</p>
<p>Might you please elaborate on your question ? ColName contains the column name as it is found in the data dictionary, if the column name starts with a number, it will be reproduced as is &#8230; even if creating a table with a leading number requires to enclose the name in double-quotes, and it is very rarely done.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sandro</title>
		<link>http://www.adellera.it/blog/2009/06/07/optimizing-sql-statements-with-xplan/comment-page-1/#comment-34</link>
		<dc:creator>sandro</dc:creator>
		<pubDate>Wed, 10 Jun 2009 13:10:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.adellera.it/blog/?p=259#comment-34</guid>
		<description>Hi Alberto,
can you explain me why I have ColName that start from 0?

Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Hi Alberto,<br />
can you explain me why I have ColName that start from 0?</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Statistique</title>
		<link>http://www.adellera.it/blog/2009/06/07/optimizing-sql-statements-with-xplan/comment-page-1/#comment-31</link>
		<dc:creator>Statistique</dc:creator>
		<pubDate>Mon, 08 Jun 2009 14:03:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.adellera.it/blog/?p=259#comment-31</guid>
		<description>Great bunch of scripts well tied up together. I&#039;m going to use this everyday. I was just too lazy to wrap all my scripts together !

Many Thanks.</description>
		<content:encoded><![CDATA[<p>Great bunch of scripts well tied up together. I&#8217;m going to use this everyday. I was just too lazy to wrap all my scripts together !</p>
<p>Many Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alberto Dell'Era</title>
		<link>http://www.adellera.it/blog/2009/06/07/optimizing-sql-statements-with-xplan/comment-page-1/#comment-30</link>
		<dc:creator>Alberto Dell'Era</dc:creator>
		<pubDate>Mon, 08 Jun 2009 07:46:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.adellera.it/blog/?p=259#comment-30</guid>
		<description>@coskan

There&#039;s already something very similar to what you are asking for:

SQL&gt;@xplan &quot;select%dual%&quot; &quot;tabinfos=N,plan_details=N&quot;

that suppresses the table infos (usually the longest part of the report) and the plan details.

There&#039;s also an option, &quot;dbms_xplan=Y&quot;, that adds the output of dbms_xplan.display_cursor() to the report (10g+ only of course).

If you use Tanel&#039;s scripts you will find the xplan interface similar - in fact, as credited in the xplan.sql header, I borrowed some ideas from one of the first scripts of Tanel&#039;s ...

Thanks for your kind comments :)</description>
		<content:encoded><![CDATA[<p>@coskan</p>
<p>There&#8217;s already something very similar to what you are asking for:</p>
<p>SQL&gt;@xplan &#8220;select%dual%&#8221; &#8220;tabinfos=N,plan_details=N&#8221;</p>
<p>that suppresses the table infos (usually the longest part of the report) and the plan details.</p>
<p>There&#8217;s also an option, &#8220;dbms_xplan=Y&#8221;, that adds the output of dbms_xplan.display_cursor() to the report (10g+ only of course).</p>
<p>If you use Tanel&#8217;s scripts you will find the xplan interface similar &#8211; in fact, as credited in the xplan.sql header, I borrowed some ideas from one of the first scripts of Tanel&#8217;s &#8230;</p>
<p>Thanks for your kind comments :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: coskan</title>
		<link>http://www.adellera.it/blog/2009/06/07/optimizing-sql-statements-with-xplan/comment-page-1/#comment-29</link>
		<dc:creator>coskan</dc:creator>
		<pubDate>Mon, 08 Jun 2009 00:32:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.adellera.it/blog/?p=259#comment-29</guid>
		<description>Hi Alberto,

First of all thank you very much for sharing this tool with community. I am currently using Tanel Poders scripts + dbms_xplan utility for seeing the execution plans but I think this tool also rocks and lets us get rid of too many steps. 

IMHO The only addition can be added to choose what not to see in case if I need only the execution plan plus filters. you might add an option s/f/a (simple full advanced )</description>
		<content:encoded><![CDATA[<p>Hi Alberto,</p>
<p>First of all thank you very much for sharing this tool with community. I am currently using Tanel Poders scripts + dbms_xplan utility for seeing the execution plans but I think this tool also rocks and lets us get rid of too many steps. </p>
<p>IMHO The only addition can be added to choose what not to see in case if I need only the execution plan plus filters. you might add an option s/f/a (simple full advanced )</p>
]]></content:encoded>
	</item>
</channel>
</rss>

