<?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: Xplan 2.0</title>
	<atom:link href="http://www.adellera.it/blog/2009/08/07/xplan-20/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.adellera.it/blog/2009/08/07/xplan-20/</link>
	<description>A blog about Oracle - Un blog riguardo Oracle</description>
	<lastBuildDate>Wed, 11 Aug 2010 14:30:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Rich</title>
		<link>http://www.adellera.it/blog/2009/08/07/xplan-20/comment-page-1/#comment-460</link>
		<dc:creator>Rich</dc:creator>
		<pubDate>Wed, 11 Aug 2010 14:30:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.adellera.it/blog/?p=285#comment-460</guid>
		<description>hello Sir,
sorry for delayed reply, I am using 10202 sqlplus version ..
I will try with 11.2 version ..

thanks for writing a such a beautiful script, I can&#039;t say. how useful it was for me ..

Rich ..</description>
		<content:encoded><![CDATA[<p>hello Sir,<br />
sorry for delayed reply, I am using 10202 sqlplus version ..<br />
I will try with 11.2 version ..</p>
<p>thanks for writing a such a beautiful script, I can&#8217;t say. how useful it was for me ..</p>
<p>Rich ..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alberto Dell'Era</title>
		<link>http://www.adellera.it/blog/2009/08/07/xplan-20/comment-page-1/#comment-459</link>
		<dc:creator>Alberto Dell'Era</dc:creator>
		<pubDate>Fri, 06 Aug 2010 09:32:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.adellera.it/blog/?p=285#comment-459</guid>
		<description>Hi Rich,

can you tell me :

- the version of the database you are connecting to
- the version of sqlplus you are using

The most recent the version of sqlplus, the better; I usually use 11.2 to connect even to older databases.</description>
		<content:encoded><![CDATA[<p>Hi Rich,</p>
<p>can you tell me :</p>
<p>- the version of the database you are connecting to<br />
- the version of sqlplus you are using</p>
<p>The most recent the version of sqlplus, the better; I usually use 11.2 to connect even to older databases.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich</title>
		<link>http://www.adellera.it/blog/2009/08/07/xplan-20/comment-page-1/#comment-458</link>
		<dc:creator>Rich</dc:creator>
		<pubDate>Fri, 06 Aug 2010 07:41:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.adellera.it/blog/?p=285#comment-458</guid>
		<description>hi Sir,
I am getting following error, while running the xplan.
I tried
SET SERVEROUTPUT ON size UNL

but no luck ..any suggestions ..

@xplan “” “sql_id=akwwmt0txutp3″

ERROR at line 1:
ORA-20000: ORU-10027: buffer overflow, limit of 1000000 bytes
ORA-06512: at “SYS.DBMS_OUTPUT”, line 32
ORA-06512: at “SYS.DBMS_OUTPUT”, line 97
ORA-06512: at “SYS.DBMS_OUTPUT”, line 112
ORA-06512: at line 174
ORA-06512: at line 238
ORA-06512: at line 252
ORA-06512: at line 1694
ORA-06512: at line 2702
ORA-06512: at line 2856</description>
		<content:encoded><![CDATA[<p>hi Sir,<br />
I am getting following error, while running the xplan.<br />
I tried<br />
SET SERVEROUTPUT ON size UNL</p>
<p>but no luck ..any suggestions ..</p>
<p>@xplan “” “sql_id=akwwmt0txutp3″</p>
<p>ERROR at line 1:<br />
ORA-20000: ORU-10027: buffer overflow, limit of 1000000 bytes<br />
ORA-06512: at “SYS.DBMS_OUTPUT”, line 32<br />
ORA-06512: at “SYS.DBMS_OUTPUT”, line 97<br />
ORA-06512: at “SYS.DBMS_OUTPUT”, line 112<br />
ORA-06512: at line 174<br />
ORA-06512: at line 238<br />
ORA-06512: at line 252<br />
ORA-06512: at line 1694<br />
ORA-06512: at line 2702<br />
ORA-06512: at line 2856</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich</title>
		<link>http://www.adellera.it/blog/2009/08/07/xplan-20/comment-page-1/#comment-457</link>
		<dc:creator>Rich</dc:creator>
		<pubDate>Fri, 06 Aug 2010 07:13:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.adellera.it/blog/?p=285#comment-457</guid>
		<description>thanks Sir,
sorry for late reply, my problem got solved ..

Rich ..</description>
		<content:encoded><![CDATA[<p>thanks Sir,<br />
sorry for late reply, my problem got solved ..</p>
<p>Rich ..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alberto Dell'Era</title>
		<link>http://www.adellera.it/blog/2009/08/07/xplan-20/comment-page-1/#comment-454</link>
		<dc:creator>Alberto Dell'Era</dc:creator>
		<pubDate>Fri, 18 Jun 2010 09:49:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.adellera.it/blog/?p=285#comment-454</guid>
		<description>@rich

a) are you using a recent version of sqlplus (e.g. 10g, 11g) ?

b) have you extracted all the files contained in xplan.zip in the current directory ?

regards
Alberto</description>
		<content:encoded><![CDATA[<p>@rich</p>
<p>a) are you using a recent version of sqlplus (e.g. 10g, 11g) ?</p>
<p>b) have you extracted all the files contained in xplan.zip in the current directory ?</p>
<p>regards<br />
Alberto</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rich</title>
		<link>http://www.adellera.it/blog/2009/08/07/xplan-20/comment-page-1/#comment-453</link>
		<dc:creator>rich</dc:creator>
		<pubDate>Fri, 18 Jun 2010 08:07:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.adellera.it/blog/?p=285#comment-453</guid>
		<description>Hello Sir,
this would be silly question but I am not able to get the output from your script, please help me to solve this.
I want to use this great script for my day to day issues of PT.

used all option but no luck ..

@xplan.sql &quot;%select jp.cp_job_id%&quot; &quot;&quot;

@xplan.sql &quot;&quot; &quot;sql_id=ab4rjccnt8dvx&quot;

@xplan.sql &quot;&quot; &quot;sql_id=ab4rjccnt8dvx,hash=697579389&quot;

getting following errors 

Usage: VAR[IABLE] [  [ NUMBER &#124; CHAR &#124; CHAR (n) &#124; VARCHAR2 (n) &#124;
                               NCHAR &#124; NCHAR (n) &#124; NVARCHAR2 (n) &#124;
                               CLOB &#124; NCLOB &#124; REFCURSOR ] ]
Usage: VAR[IABLE] [  [ NUMBER &#124; CHAR &#124; CHAR (n) &#124; VARCHAR2 (n) &#124;
                               NCHAR &#124; NCHAR (n) &#124; NVARCHAR2 (n) &#124;
                               CLOB &#124; NCLOB &#124; REFCURSOR ] ]
SP2-0552: Bind variable &quot;CURRENT_ERROR&quot; not declared.
Usage: VAR[IABLE] [  [ NUMBER &#124; CHAR &#124; CHAR (n) &#124; VARCHAR2 (n) &#124;
                               NCHAR &#124; NCHAR (n) &#124; NVARCHAR2 (n) &#124;
                               CLOB &#124; NCLOB &#124; REFCURSOR ] ]
Usage: VAR[IABLE] [  [ NUMBER &#124; CHAR &#124; CHAR (n) &#124; VARCHAR2 (n) &#124;
                               NCHAR &#124; NCHAR (n) &#124; NVARCHAR2 (n) &#124;
                               CLOB &#124; NCLOB &#124; REFCURSOR ] ]
Usage: VAR[IABLE] [  [ NUMBER &#124; CHAR &#124; CHAR (n) &#124; VARCHAR2 (n) &#124;
                               NCHAR &#124; NCHAR (n) &#124; NVARCHAR2 (n) &#124;
                               CLOB &#124; NCLOB &#124; REFCURSOR ] ]
Usage: VAR[IABLE] [  [ NUMBER &#124; CHAR &#124; CHAR (n) &#124; VARCHAR2 (n) &#124;
                               NCHAR &#124; NCHAR (n) &#124; NVARCHAR2 (n) &#124;
                               CLOB &#124; NCLOB &#124; REFCURSOR ] ]
SP2-0552: Bind variable &quot;INSTANCE_NAME&quot; not 
...
..
SP2-0552: Bind variable &quot;OPT_PLAN_STATS&quot; not declared.
SP2-0552: Bind variable &quot;OPT_PLAN_STATS&quot; not declared.
SP2-0552: Bind variable &quot;OPT_PLAN_STATS&quot; not declared.
...
..
Input truncated to 46 characters
Input truncated to 2 characters
Input truncated to 2 characters
Input truncated to 15 characters</description>
		<content:encoded><![CDATA[<p>Hello Sir,<br />
this would be silly question but I am not able to get the output from your script, please help me to solve this.<br />
I want to use this great script for my day to day issues of PT.</p>
<p>used all option but no luck ..</p>
<p>@xplan.sql &#8220;%select jp.cp_job_id%&#8221; &#8220;&#8221;</p>
<p>@xplan.sql &#8220;&#8221; &#8220;sql_id=ab4rjccnt8dvx&#8221;</p>
<p>@xplan.sql &#8220;&#8221; &#8220;sql_id=ab4rjccnt8dvx,hash=697579389&#8243;</p>
<p>getting following errors </p>
<p>Usage: VAR[IABLE] [  [ NUMBER | CHAR | CHAR (n) | VARCHAR2 (n) |<br />
                               NCHAR | NCHAR (n) | NVARCHAR2 (n) |<br />
                               CLOB | NCLOB | REFCURSOR ] ]<br />
Usage: VAR[IABLE] [  [ NUMBER | CHAR | CHAR (n) | VARCHAR2 (n) |<br />
                               NCHAR | NCHAR (n) | NVARCHAR2 (n) |<br />
                               CLOB | NCLOB | REFCURSOR ] ]<br />
SP2-0552: Bind variable &#8220;CURRENT_ERROR&#8221; not declared.<br />
Usage: VAR[IABLE] [  [ NUMBER | CHAR | CHAR (n) | VARCHAR2 (n) |<br />
                               NCHAR | NCHAR (n) | NVARCHAR2 (n) |<br />
                               CLOB | NCLOB | REFCURSOR ] ]<br />
Usage: VAR[IABLE] [  [ NUMBER | CHAR | CHAR (n) | VARCHAR2 (n) |<br />
                               NCHAR | NCHAR (n) | NVARCHAR2 (n) |<br />
                               CLOB | NCLOB | REFCURSOR ] ]<br />
Usage: VAR[IABLE] [  [ NUMBER | CHAR | CHAR (n) | VARCHAR2 (n) |<br />
                               NCHAR | NCHAR (n) | NVARCHAR2 (n) |<br />
                               CLOB | NCLOB | REFCURSOR ] ]<br />
Usage: VAR[IABLE] [  [ NUMBER | CHAR | CHAR (n) | VARCHAR2 (n) |<br />
                               NCHAR | NCHAR (n) | NVARCHAR2 (n) |<br />
                               CLOB | NCLOB | REFCURSOR ] ]<br />
SP2-0552: Bind variable &#8220;INSTANCE_NAME&#8221; not<br />
&#8230;<br />
..<br />
SP2-0552: Bind variable &#8220;OPT_PLAN_STATS&#8221; not declared.<br />
SP2-0552: Bind variable &#8220;OPT_PLAN_STATS&#8221; not declared.<br />
SP2-0552: Bind variable &#8220;OPT_PLAN_STATS&#8221; not declared.<br />
&#8230;<br />
..<br />
Input truncated to 46 characters<br />
Input truncated to 2 characters<br />
Input truncated to 2 characters<br />
Input truncated to 15 characters</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Berger</title>
		<link>http://www.adellera.it/blog/2009/08/07/xplan-20/comment-page-1/#comment-110</link>
		<dc:creator>Martin Berger</dc:creator>
		<pubDate>Sun, 09 Aug 2009 17:52:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.adellera.it/blog/?p=285#comment-110</guid>
		<description>Alberto,
you are just great!
( I will have to read your scripts in detail, I&#039;m sure there are tons of gems hidden for simply minds like me ).
please keep improving the oracle-world with your knowledge!
 Martin</description>
		<content:encoded><![CDATA[<p>Alberto,<br />
you are just great!<br />
( I will have to read your scripts in detail, I&#8217;m sure there are tons of gems hidden for simply minds like me ).<br />
please keep improving the oracle-world with your knowledge!<br />
 Martin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alberto Dell'Era</title>
		<link>http://www.adellera.it/blog/2009/08/07/xplan-20/comment-page-1/#comment-109</link>
		<dc:creator>Alberto Dell'Era</dc:creator>
		<pubDate>Sun, 09 Aug 2009 17:46:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.adellera.it/blog/?p=285#comment-109</guid>
		<description>@Martin

I have added the associated statistics to the report output:
[text]
############################################# function DELLERA.PLSQL_FUNC ###
ASSOCIATED STATISTICS:  default selectivity (.001) default cost (cpu=100 io=10 net=1)
function plsql_func (p varchar2)
return varchar2
is
begin
  return p;
end plsql_func;
[/text]
I&#039;ve not implemented anything for domain index and indextypes.
Hence now, the three types of associated statistics (selectivity/cost/stat type), associated to three types of objects (functions/packages/types) are reported by xplan.
I&#039;ve also improved the report here and there (especially improved the way dependent materialized views are reported - now there&#039;s the defining statement and the CBO stats of the container table in a simpler output).</description>
		<content:encoded><![CDATA[<p>@Martin</p>
<p>I have added the associated statistics to the report output:</p>
<pre class="brush: plain;">
############################################# function DELLERA.PLSQL_FUNC ###
ASSOCIATED STATISTICS:  default selectivity (.001) default cost (cpu=100 io=10 net=1)
function plsql_func (p varchar2)
return varchar2
is
begin
  return p;
end plsql_func;
</pre>
<p>I&#8217;ve not implemented anything for domain index and indextypes.<br />
Hence now, the three types of associated statistics (selectivity/cost/stat type), associated to three types of objects (functions/packages/types) are reported by xplan.<br />
I&#8217;ve also improved the report here and there (especially improved the way dependent materialized views are reported &#8211; now there&#8217;s the defining statement and the CBO stats of the container table in a simpler output).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Berger</title>
		<link>http://www.adellera.it/blog/2009/08/07/xplan-20/comment-page-1/#comment-106</link>
		<dc:creator>Martin Berger</dc:creator>
		<pubDate>Sat, 08 Aug 2009 18:12:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.adellera.it/blog/?p=285#comment-106</guid>
		<description>Alberto, 
yes, I mean the statiscits added with ASSOCIATE STATISTICS. To be honest, Adrian Billington brought me to them resently: http://www.oracle-developer.net/display.php?id=426#</description>
		<content:encoded><![CDATA[<p>Alberto,<br />
yes, I mean the statiscits added with ASSOCIATE STATISTICS. To be honest, Adrian Billington brought me to them resently: <a href="http://www.oracle-developer.net/display.php?id=426#" rel="nofollow">http://www.oracle-developer.net/display.php?id=426#</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alberto Dell'Era</title>
		<link>http://www.adellera.it/blog/2009/08/07/xplan-20/comment-page-1/#comment-105</link>
		<dc:creator>Alberto Dell'Era</dc:creator>
		<pubDate>Sat, 08 Aug 2009 18:03:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.adellera.it/blog/?p=285#comment-105</guid>
		<description>@Martin

thanks, and I will add your request to my to-do list, absolutely.
Just to be sure - you mean the statistics added with the command ASSOCIATE STATISTICS, do you ?</description>
		<content:encoded><![CDATA[<p>@Martin</p>
<p>thanks, and I will add your request to my to-do list, absolutely.<br />
Just to be sure &#8211; you mean the statistics added with the command ASSOCIATE STATISTICS, do you ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
