<?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 for Oracle DBA - Tips and Techniques</title>
	<atom:link href="http://gavinsoorma.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://gavinsoorma.com</link>
	<description>Knowledge Is Power - Share IT ....</description>
	<lastBuildDate>Thu, 01 Dec 2011 00:35:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>Comment on Oracle Wait Events causes and resolutions by Gavin Soorma</title>
		<link>http://gavinsoorma.com/2009/07/resolving-common-oracle-wait-events-using-the-wait-interface/comment-page-1/#comment-4246</link>
		<dc:creator>Gavin Soorma</dc:creator>
		<pubDate>Thu, 01 Dec 2011 00:35:35 +0000</pubDate>
		<guid isPermaLink="false">http://gavinsoorma.wordpress.com/?p=765#comment-4246</guid>
		<description>Hi - could you please try and access the document and let me know if you are still having issues - thanks</description>
		<content:encoded><![CDATA[<p>Hi &#8211; could you please try and access the document and let me know if you are still having issues &#8211; thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Oracle Wait Events causes and resolutions by Gavin Soorma</title>
		<link>http://gavinsoorma.com/2009/07/resolving-common-oracle-wait-events-using-the-wait-interface/comment-page-1/#comment-4245</link>
		<dc:creator>Gavin Soorma</dc:creator>
		<pubDate>Thu, 01 Dec 2011 00:33:37 +0000</pubDate>
		<guid isPermaLink="false">http://gavinsoorma.wordpress.com/?p=765#comment-4245</guid>
		<description>Hi Manish - could you please try again and let me know if you are still facing any difficulties. Thanks</description>
		<content:encoded><![CDATA[<p>Hi Manish &#8211; could you please try again and let me know if you are still facing any difficulties. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Oracle Wait Events causes and resolutions by manish</title>
		<link>http://gavinsoorma.com/2009/07/resolving-common-oracle-wait-events-using-the-wait-interface/comment-page-1/#comment-4221</link>
		<dc:creator>manish</dc:creator>
		<pubDate>Tue, 29 Nov 2011 04:22:07 +0000</pubDate>
		<guid isPermaLink="false">http://gavinsoorma.wordpress.com/?p=765#comment-4221</guid>
		<description>Hi 
I am not able to download the file.
Could you please send the document to my mail id &quot;kmrmanish23@gmail.com&quot;

thanks,
Manish</description>
		<content:encoded><![CDATA[<p>Hi<br />
I am not able to download the file.<br />
Could you please send the document to my mail id &#8220;kmrmanish23@gmail.com&#8221;</p>
<p>thanks,<br />
Manish</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Oracle Wait Events causes and resolutions by Sreekanth</title>
		<link>http://gavinsoorma.com/2009/07/resolving-common-oracle-wait-events-using-the-wait-interface/comment-page-1/#comment-4081</link>
		<dc:creator>Sreekanth</dc:creator>
		<pubDate>Thu, 17 Nov 2011 21:14:57 +0000</pubDate>
		<guid isPermaLink="false">http://gavinsoorma.wordpress.com/?p=765#comment-4081</guid>
		<description>Hi, i too not able to download the current document and still the document word 2003 is not uploaded. could you please send the document to the sree_k4u@yahoo.co.in if you couldn&#039;t upload the document.</description>
		<content:encoded><![CDATA[<p>Hi, i too not able to download the current document and still the document word 2003 is not uploaded. could you please send the document to the <a href="mailto:sree_k4u@yahoo.co.in">sree_k4u@yahoo.co.in</a> if you couldn&#8217;t upload the document.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Oracle Wait Events causes and resolutions by Gavin Soorma</title>
		<link>http://gavinsoorma.com/2009/07/resolving-common-oracle-wait-events-using-the-wait-interface/comment-page-1/#comment-4059</link>
		<dc:creator>Gavin Soorma</dc:creator>
		<pubDate>Wed, 16 Nov 2011 03:22:59 +0000</pubDate>
		<guid isPermaLink="false">http://gavinsoorma.wordpress.com/?p=765#comment-4059</guid>
		<description>Hi - I think it is a docx type Word document - I will upload a Word 2003 document today - thanks for pointing it out</description>
		<content:encoded><![CDATA[<p>Hi &#8211; I think it is a docx type Word document &#8211; I will upload a Word 2003 document today &#8211; thanks for pointing it out</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 11g Grid Control Installation &#8211; tips and solutions by daniel</title>
		<link>http://gavinsoorma.com/2010/10/11g-grid-control-installation-tips-and-solutions/comment-page-1/#comment-3344</link>
		<dc:creator>daniel</dc:creator>
		<pubDate>Fri, 26 Aug 2011 23:01:54 +0000</pubDate>
		<guid isPermaLink="false">http://gavinsoorma.com/?p=2772#comment-3344</guid>
		<description>no need to hack emctl script for 10.2.0.4 listener issues with the 11g agent, there is a patch for it; i&#039;ve applied it and it works as expected.

Patch 9828187: GC 11G: DATABASE  10.2.0.4 LISTENER SHOWS DOWN WHEN IT IS UP

Oracle Management Agent 11g Release 1 (11.1.0.1.0)
Patch for Bug# 9828187
Released: Apr 13, 2011

regards,
daniel</description>
		<content:encoded><![CDATA[<p>no need to hack emctl script for 10.2.0.4 listener issues with the 11g agent, there is a patch for it; i&#8217;ve applied it and it works as expected.</p>
<p>Patch 9828187: GC 11G: DATABASE  10.2.0.4 LISTENER SHOWS DOWN WHEN IT IS UP</p>
<p>Oracle Management Agent 11g Release 1 (11.1.0.1.0)<br />
Patch for Bug# 9828187<br />
Released: Apr 13, 2011</p>
<p>regards,<br />
daniel</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Useful GoldenGate commands &#8211; SHELL, OBEY, HELP, HISTORY,VERSIONS by Gavin Soorma</title>
		<link>http://gavinsoorma.com/2010/07/useful-goldengate-commands-shell-obey-help-historyversions/comment-page-1/#comment-3317</link>
		<dc:creator>Gavin Soorma</dc:creator>
		<pubDate>Fri, 26 Aug 2011 03:27:40 +0000</pubDate>
		<guid isPermaLink="false">http://gavinsoorma.com/?p=2710#comment-3317</guid>
		<description>Try this - have created a simple shell script - you can build on this 

/export/home/oracle/gg/ggsci &lt; output.txt
info all
EOF</description>
		<content:encoded><![CDATA[<p>Try this &#8211; have created a simple shell script &#8211; you can build on this </p>
<p>/export/home/oracle/gg/ggsci &lt; output.txt<br />
info all<br />
EOF</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Useful GoldenGate commands &#8211; SHELL, OBEY, HELP, HISTORY,VERSIONS by BC</title>
		<link>http://gavinsoorma.com/2010/07/useful-goldengate-commands-shell-obey-help-historyversions/comment-page-1/#comment-3274</link>
		<dc:creator>BC</dc:creator>
		<pubDate>Tue, 23 Aug 2011 13:28:42 +0000</pubDate>
		<guid isPermaLink="false">http://gavinsoorma.com/?p=2710#comment-3274</guid>
		<description>But how you output &quot;INFO ALL&quot; to a .txt file?</description>
		<content:encoded><![CDATA[<p>But how you output &#8220;INFO ALL&#8221; to a .txt file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Oracle GoldenGate &#8211; how to connect to a particular database if there are multiple databases on the source or target server by E.Hatt-Swank</title>
		<link>http://gavinsoorma.com/2010/08/oracle-goldengate-how-to-connect-to-a-particular-database-if-there-are-multiple-databases-on-the-source-or-target-server/comment-page-1/#comment-3128</link>
		<dc:creator>E.Hatt-Swank</dc:creator>
		<pubDate>Wed, 10 Aug 2011 12:50:53 +0000</pubDate>
		<guid isPermaLink="false">http://gavinsoorma.com/?p=2723#comment-3128</guid>
		<description>I just wanted to say thank you so much for your GoldenGate tutorials. I&#039;m working on setting up a GoldenGate environment for the first time, and while the official documentation has lots of detailed information, I have found it to be poorly organized and inconsistent. I&#039;ve been relying heavily on your tutorials for clear step-by-step instructions. And just now, I needed an answer to this very question of multiple databases replicating on the same system: your site was the first place I looked. Thank you!</description>
		<content:encoded><![CDATA[<p>I just wanted to say thank you so much for your GoldenGate tutorials. I&#8217;m working on setting up a GoldenGate environment for the first time, and while the official documentation has lots of detailed information, I have found it to be poorly organized and inconsistent. I&#8217;ve been relying heavily on your tutorials for clear step-by-step instructions. And just now, I needed an answer to this very question of multiple databases replicating on the same system: your site was the first place I looked. Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using DBMS_ADVANCED_REWRITE with an HINT to change the execution plan by Vishal Desai</title>
		<link>http://gavinsoorma.com/2011/06/using-dbms_advanced_rewrite-with-an-hint-to-change-the-execution-plan/comment-page-1/#comment-2779</link>
		<dc:creator>Vishal Desai</dc:creator>
		<pubDate>Wed, 29 Jun 2011 14:34:15 +0000</pubDate>
		<guid isPermaLink="false">http://gavinsoorma.com/?p=3196#comment-2779</guid>
		<description>Excellent stuff.

When using bind variable it throws error:
ORA-30353: expression not supported for query rewrite

Workaround and limitation:

VDESAI@db &gt; create view myobjects1 as select * from myobjects;

View created.

VDESAI@db &gt;
VDESAI@db &gt; begin
  2  sys.dbms_advanced_rewrite.declare_rewrite_equivalence(
  3  name =&gt; &#039;Use_Myobjects_Index&#039;,
  4  source_stmt =&gt;&#039;select object_name,object_type from myobjects&#039;,
  5  destination_stmt =&gt; &#039;select /*+ INDEX (myobjects1 myobjects_ind) */ object_name ,object_type from myobjects1&#039; ,
  6  validate =&gt; false,
  7  rewrite_mode =&gt; &#039;GENERAL&#039;);
  8  end;
  9  /

PL/SQL procedure successfully completed.

VDESAI@db &gt; var b varchar2(100);
VDESAI@db &gt; exec :b:=&#039;GAVIN&#039;;

PL/SQL procedure successfully completed.

VDESAI@db &gt; explain plan for select object_name,object_type from myobjects where owner=:b;

Explained.

VDESAI@db &gt; select * from table (dbms_xplan.display);

PLAN_TABLE_OUTPUT
---------------------------------------------------------------------------------------------------------------------------------

Plan hash value: 2745750972

---------------------------------------------------------------------------------------------
&#124; Id  &#124; Operation                   &#124; Name          &#124; Rows  &#124; Bytes &#124; Cost (%CPU)&#124; Time     &#124;
---------------------------------------------------------------------------------------------
&#124;   0 &#124; SELECT STATEMENT            &#124;               &#124;   694 &#124; 65236 &#124;    42   (0)&#124; 00:00:01 &#124;
&#124;   1 &#124;  TABLE ACCESS BY INDEX ROWID&#124; MYOBJECTS     &#124;   694 &#124; 65236 &#124;    42   (0)&#124; 00:00:01 &#124;
&#124;*  2 &#124;   INDEX RANGE SCAN          &#124; MYOBJECTS_IND &#124;   278 &#124;       &#124;    40   (0)&#124; 00:00:01 &#124;
---------------------------------------------------------------------------------------------

Predicate Information (identified by operation id):

PLAN_TABLE_OUTPUT
---------------------------------------------------------------------------------------------------------------------------------

---------------------------------------------------

   2 - access(&quot;OWNER&quot;=:B)

Note
-----
   - dynamic sampling used for this statement (level=2)

18 rows selected.


Now it does not recognize that data is skewed and uses same INDEX RANGE SCAN operation for all bind values.</description>
		<content:encoded><![CDATA[<p>Excellent stuff.</p>
<p>When using bind variable it throws error:<br />
ORA-30353: expression not supported for query rewrite</p>
<p>Workaround and limitation:</p>
<p>VDESAI@db &gt; create view myobjects1 as select * from myobjects;</p>
<p>View created.</p>
<p>VDESAI@db &gt;<br />
VDESAI@db &gt; begin<br />
  2  sys.dbms_advanced_rewrite.declare_rewrite_equivalence(<br />
  3  name =&gt; &#8216;Use_Myobjects_Index&#8217;,<br />
  4  source_stmt =&gt;&#8217;select object_name,object_type from myobjects&#8217;,<br />
  5  destination_stmt =&gt; &#8216;select /*+ INDEX (myobjects1 myobjects_ind) */ object_name ,object_type from myobjects1&#8242; ,<br />
  6  validate =&gt; false,<br />
  7  rewrite_mode =&gt; &#8216;GENERAL&#8217;);<br />
  8  end;<br />
  9  /</p>
<p>PL/SQL procedure successfully completed.</p>
<p>VDESAI@db &gt; var b varchar2(100);<br />
VDESAI@db &gt; exec :b:=&#8217;GAVIN&#8217;;</p>
<p>PL/SQL procedure successfully completed.</p>
<p>VDESAI@db &gt; explain plan for select object_name,object_type from myobjects where owner=:b;</p>
<p>Explained.</p>
<p>VDESAI@db &gt; select * from table (dbms_xplan.display);</p>
<p>PLAN_TABLE_OUTPUT<br />
&#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;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>Plan hash value: 2745750972</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;&#8212;<br />
| Id  | Operation                   | Name          | Rows  | Bytes | Cost (%CPU)| Time     |<br />
&#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;&#8212;<br />
|   0 | SELECT STATEMENT            |               |   694 | 65236 |    42   (0)| 00:00:01 |<br />
|   1 |  TABLE ACCESS BY INDEX ROWID| MYOBJECTS     |   694 | 65236 |    42   (0)| 00:00:01 |<br />
|*  2 |   INDEX RANGE SCAN          | MYOBJECTS_IND |   278 |       |    40   (0)| 00:00:01 |<br />
&#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;&#8212;</p>
<p>Predicate Information (identified by operation id):</p>
<p>PLAN_TABLE_OUTPUT<br />
&#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;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>   2 &#8211; access(&#8220;OWNER&#8221;=:B)</p>
<p>Note<br />
&#8212;&#8211;<br />
   &#8211; dynamic sampling used for this statement (level=2)</p>
<p>18 rows selected.</p>
<p>Now it does not recognize that data is skewed and uses same INDEX RANGE SCAN operation for all bind values.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

