<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Fuad's Oracle Blog</title>
	<atom:link href="http://fuadarshad.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://fuadarshad.wordpress.com</link>
	<description>The World of Oracle Databases</description>
	<lastBuildDate>Mon, 30 Mar 2009 17:39:00 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='fuadarshad.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/07af97dad74546abcff409f7ae82cda3?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Fuad's Oracle Blog</title>
		<link>http://fuadarshad.wordpress.com</link>
	</image>
			<item>
		<title>Applying Datafile resize in logical standby</title>
		<link>http://fuadarshad.wordpress.com/2009/03/30/applying-datafile-resize-in-logical-standby/</link>
		<comments>http://fuadarshad.wordpress.com/2009/03/30/applying-datafile-resize-in-logical-standby/#comments</comments>
		<pubDate>Mon, 30 Mar 2009 17:39:00 +0000</pubDate>
		<dc:creator>fuadar</dc:creator>
				<category><![CDATA[dataguard]]></category>

		<guid isPermaLink="false">http://fuadarshad.wordpress.com/2009/03/30/applying-datafile-resize-in-logical-standby/</guid>
		<description><![CDATA[Well,with the record_unsupported_operations-true . I was  able to capture the commands that oracle skipped. using that info i was able to write  a simple piece of code to use that information to getAlter database datafile commands executed on my logical standby database which in this case has exactly the same structure as  [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fuadarshad.wordpress.com&blog=4443906&post=278&subd=fuadarshad&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Well,<br />with the record_unsupported_operations-true . I was  able to capture the commands that oracle skipped. using that info i was able to write  a simple piece of code to use that information to get<br />Alter database datafile commands executed on my logical standby database which in this case has exactly the same structure as  my primary.</p>
<p>/*  Program Name : Datafile Alter command capture<br />    Author   : Fuad Arshad<br />    Purpose : To capture alter database datafile commands from dba_logstdby_events<br />              and  execute on logical standby<br />    Prerequisites : dbms_logstdby.apply_set(&#8216;RECORD_UNSUPPORTED_OPERATIONS&#8217;,'TRUE&#8217;);<br />            dbms_LOGSTDBY.apply_set(&#8216;MAX_EVENTS&#8217;,'a value of your choosing based on events &#8216;);<br />    Licensed :   Creative Commons.<br />*/</p>
<p>set serveroutput on<br />declare<br />    p_errbuf             varchar2(500);<br />    p_retcode             number(1);<br />cursor dba_events is<br />   SELECT to_char(event) event1 FROM dba_logstdby_events WHERE status_code=&#8217;16226&#8242;and event_timestamp&gt;<span class="blsp-spelling-error">systimestamp</span>-1<br />   and event like &#8216;ALTER DATABASE <span class="blsp-spelling-error">DATAFILE</span>%&#8217;;<br /> begin<br />     for<br />    <span class="blsp-spelling-error">dbevent</span> in <span class="blsp-spelling-error">dba</span>_events LOOP<br />    DBMS_OUTPUT.PUT_LINE(&#8216;Statement : &#8216; || <span class="blsp-spelling-error">dbevent</span>.event1    ); <br />    execute immediate  <span class="blsp-spelling-error">dbevent</span>.event1;<br />   end LOOP;<br /> EXCEPTION<br />    when no_data_found then<br />     null;<br />     when others then<br />        p_<span class="blsp-spelling-error">errbuf</span> := <span class="blsp-spelling-error">sqlerrm</span>;<br />        p_<span class="blsp-spelling-error">retcode</span> := 1;<br />     DBMS_OUTPUT.PUT_LINE(&#8216;Error : &#8216; || p_<span class="blsp-spelling-error">errbuf</span>|| &#8216;Error Code&#8217; ||          p_<span class="blsp-spelling-error">retcode</span>   ); <br />end;</p>
<p>This is a very simple way of  making sure all the <span class="blsp-spelling-error">datafiles</span> on the standby look exactly the same as the Primary. I&#8217;m sure there are many other ways to do this and if there are please share how u would have taken care of the alter database <span class="blsp-spelling-error">datafile</span> issue. Comments and improvements as well as ideas are always welcome.</p>
Posted in dataguard  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fuadarshad.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fuadarshad.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fuadarshad.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fuadarshad.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fuadarshad.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fuadarshad.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fuadarshad.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fuadarshad.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fuadarshad.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fuadarshad.wordpress.com/278/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fuadarshad.wordpress.com&blog=4443906&post=278&subd=fuadarshad&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://fuadarshad.wordpress.com/2009/03/30/applying-datafile-resize-in-logical-standby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bfd47f4d74168721db095495e33ce3ed?s=96&#38;d=identicon" medium="image">
			<media:title type="html">fuadar</media:title>
		</media:content>
	</item>
		<item>
		<title>DBMS_LOGSTDBY and recording unsupported operations</title>
		<link>http://fuadarshad.wordpress.com/2009/03/24/dbms_logstdby-and-recording-unsupported-operations/</link>
		<comments>http://fuadarshad.wordpress.com/2009/03/24/dbms_logstdby-and-recording-unsupported-operations/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 02:40:00 +0000</pubDate>
		<dc:creator>fuadar</dc:creator>
				<category><![CDATA[data guard]]></category>

		<guid isPermaLink="false">http://fuadarshad.wordpress.com/2009/03/24/dbms_logstdby-and-recording-unsupported-operations/</guid>
		<description><![CDATA[DBMS_LOGSTDBY is the heart and soul of the logical standby management infrastructure . While trying to figure out how to get my alter database datafile  operations . i bumped in a record unsupported operations in $logstdby_stats . There seems to be no mention in the documentation and no reference to this parameter being set [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fuadarshad.wordpress.com&blog=4443906&post=277&subd=fuadarshad&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>DBMS_LOGSTDBY is the heart and soul of the logical standby management infrastructure . While trying to figure out how to get my alter database datafile  operations . i bumped in a record unsupported operations in $logstdby_stats . There seems to be no mention in the documentation and no reference to this parameter being set anywhere . If you to set it though</p>
<p>&gt;exec dbms_logstdby.apply_set(&#8216;RECORD_UNSUPPORTED_OPERATIONS&#8217;,'TRUE&#8217;);</p>
<p>This will help capture the unsupported operations as the ORA-16226 operations. I am planning on then reading the clob and re executing the statements onto the logical standy. I still have to figure that part out but stay tuned &#8230;.</p>
Posted in data guard  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fuadarshad.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fuadarshad.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fuadarshad.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fuadarshad.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fuadarshad.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fuadarshad.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fuadarshad.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fuadarshad.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fuadarshad.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fuadarshad.wordpress.com/277/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fuadarshad.wordpress.com&blog=4443906&post=277&subd=fuadarshad&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://fuadarshad.wordpress.com/2009/03/24/dbms_logstdby-and-recording-unsupported-operations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bfd47f4d74168721db095495e33ce3ed?s=96&#38;d=identicon" medium="image">
			<media:title type="html">fuadar</media:title>
		</media:content>
	</item>
		<item>
		<title>Beware of Recycle bin objects and drop table triggers</title>
		<link>http://fuadarshad.wordpress.com/2009/02/20/beware-of-recycle-bin-objects-and-drop-table-triggers/</link>
		<comments>http://fuadarshad.wordpress.com/2009/02/20/beware-of-recycle-bin-objects-and-drop-table-triggers/#comments</comments>
		<pubDate>Fri, 20 Feb 2009 14:51:00 +0000</pubDate>
		<dc:creator>fuadar</dc:creator>
				<category><![CDATA[oracle]]></category>

		<guid isPermaLink="false">http://fuadarshad.wordpress.com/2009/02/20/beware-of-recycle-bin-objects-and-drop-table-triggers/</guid>
		<description><![CDATA[Just this morning i was asked to investigate why a simple insert was failing . The error the users were getting was
INSERT INTO &#8220;ABC&#8221; ( &#8220;ABC1&#8243;, &#8220;ABC2&#8243;, &#8220;ABC3&#8243;, &#8220;ABC4&#8243; ) VALUES( &#8216;ABC1&#8242;, 1234, &#8216;N&#8217;, &#8216;NN&#8217; )
ORA-20009: Cannot drop table Drop Not AuthorizedORA-06512: at line 14)
While we knew this was a error generated by our custom [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fuadarshad.wordpress.com&blog=4443906&post=276&subd=fuadarshad&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><div>Just this morning i was asked to investigate why a simple insert was failing . The error the users were getting was</p>
<p>INSERT INTO &#8220;ABC&#8221; ( &#8220;ABC1&#8243;, &#8220;ABC2&#8243;, &#8220;ABC3&#8243;, &#8220;ABC4&#8243; ) VALUES<br />( &#8216;ABC1&#8242;, 1234, &#8216;N&#8217;, &#8216;NN&#8217; )</p>
<p>ORA-20009: Cannot drop table Drop Not Authorized<br />ORA-06512: at line 14)</p>
<p>While we knew this was a error generated by our custom trigger that we have implemented for securing  our databases from malicious application table drops. We were a little puzzled as to why a simple insert would invoke our table drop prevention trigger.</p>
<p>After a little dose of 10046 this became apparent to us</p>
<p>PARSING IN CURSOR #3 len=62 dep=1 uid=0 oct=12 lid=0  This was going on<br />tim=48271684044651 hv=0 ad=&#8217;1045a248&#8242;<br />drop table &#8220;APP_NAME&#8221;.&#8221;BIN$YQPns5G0IL7gQzwEPI0gvg==$0&#8243; purge<br />END OF STMT<br />PARSE #3:c=0,e=450,p=0,cr=0,cu=0,mis=1,r=0,dep=1,og=4,tim=48271684044648</p>
<p>The row insert required the table to extend to  a segment that was previously owned by a dropped object . To clear space Oracle actually issues a drop table purge  when it needs to extend an existing object.</p>
<p>We are now modifying our security trigger to exclude BIN$ objects .</p>
<p>Edait: after a question in the comments i have now validated that an implicit commit will happen  if an insert and  purge recycle bin are executed . i am going to test creating an outof space and reuse situation to see if that would cause an implicit commit too. Thanks to Chen Shapiro to point ing out the implicit commits in DDL statements.</p>
<p>Update: Oracle manages the space management operation outside of a transaction and a commit will not happen to the operations that have happened in the outlying transaction. it seems purge dba_recyclebin and  an internal drop table purge  for space management  by oracle are handled differently </p>
<p>
<div class="zemanta-pixie"><img src="http://img.zemanta.com/pixy.gif?x-id=d6829127-969e-437d-a10f-3b191886bfe4" class="zemanta-pixie-img" /></div>
<p class="technorati-tags"><a rel="tag" href="http://technorati.com/tag/oracle%20issues">oracle issues</a></p>
</div>
Posted in oracle  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fuadarshad.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fuadarshad.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fuadarshad.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fuadarshad.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fuadarshad.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fuadarshad.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fuadarshad.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fuadarshad.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fuadarshad.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fuadarshad.wordpress.com/276/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fuadarshad.wordpress.com&blog=4443906&post=276&subd=fuadarshad&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://fuadarshad.wordpress.com/2009/02/20/beware-of-recycle-bin-objects-and-drop-table-triggers/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bfd47f4d74168721db095495e33ce3ed?s=96&#38;d=identicon" medium="image">
			<media:title type="html">fuadar</media:title>
		</media:content>

		<media:content url="http://img.zemanta.com/pixy.gif?x-id=d6829127-969e-437d-a10f-3b191886bfe4" medium="image" />
	</item>
		<item>
		<title>Oracle Dataguard Broker and CFC</title>
		<link>http://fuadarshad.wordpress.com/2009/01/15/oracle-dataguard-broker-and-cfc/</link>
		<comments>http://fuadarshad.wordpress.com/2009/01/15/oracle-dataguard-broker-and-cfc/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 14:56:00 +0000</pubDate>
		<dc:creator>fuadar</dc:creator>
				<category><![CDATA[data guard]]></category>

		<guid isPermaLink="false">http://fuadarshad.wordpress.com/2009/01/15/oracle-dataguard-broker-and-cfc/</guid>
		<description><![CDATA[During a recent implementation of Dataguard on  a Active/Passive Cluster. I started receiving weird errors using the installation/configuration phase. The Grid control add standby wizard which is something i like to use for smaller databases started out the the process  but would never complete it leaving the primary and the standby in a weird state.Errors [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fuadarshad.wordpress.com&blog=4443906&post=275&subd=fuadarshad&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><div>During a recent implementation of Dataguard on  a Active/Passive Cluster. I started receiving weird errors using the installation/configuration phase. The Grid control add standby wizard which is something i like to use for smaller databases started out the the process  but would never complete it leaving the primary and the standby in a weird state.<br />Errors like </p>
<p><b>DMON: cannot open configuration file &#8220;/usr/local/oracle/product/10.2/dbs/dr2test.dat&#8221;<br />  ORA-27037: unable to obtain file status</p>
<p> error = ORA-16572<br />DG 2009-01-15-08:26:48        0 2 0 NSV0: Failed to connect to remote database p<br />rkmdb1. Error is ORA-12541<br />DG 2009-01-15-08:26:48        0 2 0 NSV0: Failed to send message to site prkmdb1<br />. Error code is ORA-12541.<br /> DMON: test unable to contact primary for DRC version check<br />  DMON: status ORA-12541:<br />~</p>
<p></b>The problem is that the dataguard broker cannot traverse through a  virtual  node name which is used in a Active/Passive or CFC  configuration,<br />According to Metalink Note # 413696.1 which is very appropriately named <b>&#8220;Data Guard Broker does not support Cold Failover Clusters&#8221;  </b><br />&#8220;The Data Guard Broker does not support Cold Failover Clusters (also called  Active/Passive clusters) in any version up to and including Oracle Database 10g  Release 2. You cannot use the Broker nor Enterprise Manager, you have to create  and manage your standby configuration using SQLPlus&#8221;</p>
<p>The support for  CFC&#8217;s come in a limited fashion in Oracle 11gR1 only if Oracle clusterware is used.</p>
<p>This means that a dataguard standby has to be manually created and configured and all instances have to be monitored individually.</p>
<p class='technorati-tags'><a rel='tag' href='http://technorati.com/tag/dataguard'>dataguard</a>, <a rel='tag' href='http://technorati.com/tag/oracle'>oracle</a></p>
</div>
Posted in data guard  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fuadarshad.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fuadarshad.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fuadarshad.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fuadarshad.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fuadarshad.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fuadarshad.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fuadarshad.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fuadarshad.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fuadarshad.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fuadarshad.wordpress.com/275/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fuadarshad.wordpress.com&blog=4443906&post=275&subd=fuadarshad&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://fuadarshad.wordpress.com/2009/01/15/oracle-dataguard-broker-and-cfc/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bfd47f4d74168721db095495e33ce3ed?s=96&#38;d=identicon" medium="image">
			<media:title type="html">fuadar</media:title>
		</media:content>
	</item>
		<item>
		<title>Happy new year 2009</title>
		<link>http://fuadarshad.wordpress.com/2009/01/02/happy-new-year-2009/</link>
		<comments>http://fuadarshad.wordpress.com/2009/01/02/happy-new-year-2009/#comments</comments>
		<pubDate>Fri, 02 Jan 2009 19:59:00 +0000</pubDate>
		<dc:creator>fuadar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://fuadarshad.wordpress.com/2009/01/02/happy-new-year-2009/</guid>
		<description><![CDATA[Happy New Year 2009 to everyone.  Hopefully this new year gives me more time to write about the things i do and the things i like to do.
Posted in Uncategorized       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fuadarshad.wordpress.com&blog=4443906&post=274&subd=fuadarshad&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Happy New Year 2009 to everyone.  Hopefully this new year gives me more time to write about the things i do and the things i like to do.</p>
Posted in Uncategorized  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fuadarshad.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fuadarshad.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fuadarshad.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fuadarshad.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fuadarshad.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fuadarshad.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fuadarshad.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fuadarshad.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fuadarshad.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fuadarshad.wordpress.com/274/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fuadarshad.wordpress.com&blog=4443906&post=274&subd=fuadarshad&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://fuadarshad.wordpress.com/2009/01/02/happy-new-year-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bfd47f4d74168721db095495e33ce3ed?s=96&#38;d=identicon" medium="image">
			<media:title type="html">fuadar</media:title>
		</media:content>
	</item>
		<item>
		<title>DataGuard Setup (Physical)</title>
		<link>http://fuadarshad.wordpress.com/2008/11/13/dataguard-setup-physical/</link>
		<comments>http://fuadarshad.wordpress.com/2008/11/13/dataguard-setup-physical/#comments</comments>
		<pubDate>Thu, 13 Nov 2008 13:46:00 +0000</pubDate>
		<dc:creator>fuadar</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[oracle]]></category>

		<guid isPermaLink="false">http://fuadarshad.wordpress.com/2008/11/13/dataguard-setup-physical/</guid>
		<description><![CDATA[Recently i have had the opportunity to finally plunge into the world of Dataguard and i was pleasantly surprised by the ease of setup and use for Dataguard. The steps below were used to  create a physical standby database. The setup was Oracle 10.2.0.4 on AIX .These steps do not account for a FAL [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fuadarshad.wordpress.com&blog=4443906&post=273&subd=fuadarshad&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Recently i have had the <span class="blsp-spelling-corrected">opportunity</span> to finally plunge into the world of <span class="blsp-spelling-error">Dataguard</span> and i was pleasantly surprised by the ease of setup and use for <span class="blsp-spelling-error">Dataguard</span>. The steps below were used to  create a physical standby database. The setup was Oracle 10.2.0.4 on <span class="blsp-spelling-error">AIX</span> .<br />These steps do not account for a <span class="blsp-spelling-error">FAL</span> server at this point.<br /><span class="blsp-spelling-error">Prereqs</span><br />1.  Primary database has to be in <span class="blsp-spelling-error">archivelog</span> mode<br />2.  Standby redo log files are beneficial and even though not required for  physical standby should be created.<br />3. log_archive_<span class="blsp-spelling-error">dest</span>_2 needs to be configured  which log_archive_<span class="blsp-spelling-error">dest</span>_state_2 set to defer till the standby is up.</p>
<p>Steps.</p>
<p>1. create a backup  of the primary database either on disk or tape.</p>
<p>run {<br />backup database plus <span class="blsp-spelling-error">archivelog</span>;<br />backup current <span class="blsp-spelling-error">controlfile</span> for standby ; &#8212;&#8211; important step<br />}</p>
<p>2. create  an <span class="blsp-spelling-error">init</span>.<span class="blsp-spelling-error">ora</span> file and move it to the standby host.<br />3. modify the <span class="blsp-spelling-error">init</span>.<span class="blsp-spelling-error">ora</span> to include a db_unique_name different from primary<br />4. add   db_<span class="blsp-spelling-error">dile</span>_name_convert and log_file_name_convert if the <span class="blsp-spelling-error">filesystem</span> structure is not going to be identical to the primary.<br />5. restore the database on the standby host<br /><span style="font-weight:bold;">On the Standby Host.</span></p>
<p><span class="blsp-spelling-error">rman</span> target abc/abc@def<br /><span class="blsp-spelling-error">conn</span> auxiliary /<br />run {<br /><span class="blsp-spelling-error">startup</span> <span class="blsp-spelling-error">nomount</span>;<br />duplicate target database for standby <span class="blsp-spelling-error">dorecover</span>;<br />}</p>
<p>6. Ensure <span class="blsp-spelling-error">tnsnames</span>.<span class="blsp-spelling-error">ora</span> is current and tested <span class="blsp-spelling-error">ont</span> he primary and standby hosts.<br />7. Start shipping redo by  changing  log_archive_<span class="blsp-spelling-error">dest</span>_state_2=enable on the primary.</p>
<p>You have a physical standby up and running. I&#8217;ll post some tests and monitoring scripts as well as conversion to  a logical standby in future posts</p>
Posted in howto, oracle  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fuadarshad.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fuadarshad.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fuadarshad.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fuadarshad.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fuadarshad.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fuadarshad.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fuadarshad.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fuadarshad.wordpress.com/273/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fuadarshad.wordpress.com/273/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fuadarshad.wordpress.com/273/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fuadarshad.wordpress.com&blog=4443906&post=273&subd=fuadarshad&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://fuadarshad.wordpress.com/2008/11/13/dataguard-setup-physical/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bfd47f4d74168721db095495e33ce3ed?s=96&#38;d=identicon" medium="image">
			<media:title type="html">fuadar</media:title>
		</media:content>
	</item>
		<item>
		<title>Books of Interest (Rman)</title>
		<link>http://fuadarshad.wordpress.com/2008/10/31/books-of-interest-rman/</link>
		<comments>http://fuadarshad.wordpress.com/2008/10/31/books-of-interest-rman/#comments</comments>
		<pubDate>Fri, 31 Oct 2008 02:33:00 +0000</pubDate>
		<dc:creator>fuadar</dc:creator>
				<category><![CDATA[books]]></category>
		<category><![CDATA[oracle]]></category>

		<guid isPermaLink="false">http://fuadarshad.wordpress.com/2008/10/31/books-of-interest-rman/</guid>
		<description><![CDATA[I thought i should make a quick blog post of some books that have helped me alot as quick reference and as an alternative to the manuals as a fast grab and look books
I&#8217;ll start with Books on Rman in this first post on books .Oracle RMAN Pocket Reference is a very good handy guide [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fuadarshad.wordpress.com&blog=4443906&post=272&subd=fuadarshad&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I thought i should make a quick blog post of some books that have helped me <span class="blsp-spelling-error">alot</span> as quick reference and as an alternative to the manuals as a fast grab and look books</p>
<p>I&#8217;ll start with Books on <span class="blsp-spelling-error">Rman</span> in this first post on books .<br /><a href="http://www.amazon.com/gp/product/0596002335?ie=UTF8&amp;tag=fuadarshadswe-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0596002335">Oracle <span class="blsp-spelling-error">RMAN</span> Pocket Reference</a><img style="border-right:medium none;border-top:medium none;border-left:medium none;border-bottom:medium none;margin:0;" height="1" alt="" src="http://www.assoc-amazon.com/e/ir?t=fuadarshadswe-20&amp;l=as2&amp;o=1&amp;a=0596002335" width="1" border="0" /> is a very good handy guide to <span class="blsp-spelling-error">rman</span> syntax and commands though it seems it has not seen an update in a while.</p>
<p>Robert Freeman has a wonderful set of books for <span class="blsp-spelling-error">Rman</span> in both the 9 and 10 flavors. I keep both at hand for help supporting my 9 and 10 Databases. They have helped me tremendously in supporting backups and restores for my databases<br /><a href="http://www.amazon.com/gp/product/0072226625?ie=UTF8&amp;tag=fuadarshadswe-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0072226625">9i <span class="blsp-spelling-error">Rman</span> Backup And Recovery</a><img style="border-right:medium none;border-top:medium none;border-left:medium none;border-bottom:medium none;margin:0;" height="1" alt="" src="http://www.assoc-amazon.com/e/ir?t=fuadarshadswe-20&amp;l=as2&amp;o=1&amp;a=0072226625" width="1" border="0" /><br /><a href="http://www.amazon.com/gp/product/0072263172?ie=UTF8&amp;tag=fuadarshadswe-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0072263172">10g <span class="blsp-spelling-error">RMAN</span> Backup &amp; Recovery</a><img style="border-right:medium none;border-top:medium none;border-left:medium none;border-bottom:medium none;margin:0;" height="1" alt="" src="http://www.assoc-amazon.com/e/ir?t=fuadarshadswe-20&amp;l=as2&amp;o=1&amp;a=0072263172" width="1" border="0" /></p>
<p>I would definitely recommend these as must on hand books for any recoveries or backup help.</p>
Posted in books, oracle  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fuadarshad.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fuadarshad.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fuadarshad.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fuadarshad.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fuadarshad.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fuadarshad.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fuadarshad.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fuadarshad.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fuadarshad.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fuadarshad.wordpress.com/272/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fuadarshad.wordpress.com&blog=4443906&post=272&subd=fuadarshad&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://fuadarshad.wordpress.com/2008/10/31/books-of-interest-rman/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bfd47f4d74168721db095495e33ce3ed?s=96&#38;d=identicon" medium="image">
			<media:title type="html">fuadar</media:title>
		</media:content>

		<media:content url="http://www.assoc-amazon.com/e/ir?t=fuadarshadswe-20&#38;l=as2&#38;o=1&#38;a=0596002335" medium="image" />

		<media:content url="http://www.assoc-amazon.com/e/ir?t=fuadarshadswe-20&#38;l=as2&#38;o=1&#38;a=0072226625" medium="image" />

		<media:content url="http://www.assoc-amazon.com/e/ir?t=fuadarshadswe-20&#38;l=as2&#38;o=1&#38;a=0072263172" medium="image" />
	</item>
		<item>
		<title>RIP @carlback</title>
		<link>http://fuadarshad.wordpress.com/2008/10/28/rip-carlback/</link>
		<comments>http://fuadarshad.wordpress.com/2008/10/28/rip-carlback/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 16:27:00 +0000</pubDate>
		<dc:creator>fuadar</dc:creator>
				<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://fuadarshad.wordpress.com/2008/10/28/rip-carlback/</guid>
		<description><![CDATA[The tweets have been pouring in about Carl Backstrom a prominent Apex evangalist and Product manager at Oracle that died in a car crash yesterday. Jow Kallman has some detail about the contact with the family and about getting a trust opened for Carl&#8217;s Daughter here .I had the oppuruntunity to meet Carl at Open [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fuadarshad.wordpress.com&blog=4443906&post=271&subd=fuadarshad&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The tweets have been pouring in about Carl Backstrom a prominent Apex evangalist and Product manager at Oracle that died in a car crash yesterday. Jow Kallman has some detail about the contact with the family and about getting a trust opened for Carl&#8217;s Daughter <a href="http://joelkallman.blogspot.com/2008/10/carl-backstrom.html">here </a>.<br />I had the oppuruntunity to meet Carl at Open world this year and had been following and learning about APex thru Carl for a while a great loss indeed.<br />RIP @carlback</p>
<p>Soem info about carl backstrom can be found at this blog http://carlback.blogspot.com</p>
Posted in misc  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fuadarshad.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fuadarshad.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fuadarshad.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fuadarshad.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fuadarshad.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fuadarshad.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fuadarshad.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fuadarshad.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fuadarshad.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fuadarshad.wordpress.com/271/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fuadarshad.wordpress.com&blog=4443906&post=271&subd=fuadarshad&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://fuadarshad.wordpress.com/2008/10/28/rip-carlback/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bfd47f4d74168721db095495e33ce3ed?s=96&#38;d=identicon" medium="image">
			<media:title type="html">fuadar</media:title>
		</media:content>
	</item>
		<item>
		<title>OOW 2008 Final thoughts</title>
		<link>http://fuadarshad.wordpress.com/2008/10/20/oow-2008-final-thoughts/</link>
		<comments>http://fuadarshad.wordpress.com/2008/10/20/oow-2008-final-thoughts/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 16:59:00 +0000</pubDate>
		<dc:creator>fuadar</dc:creator>
				<category><![CDATA[conference]]></category>
		<category><![CDATA[oow08]]></category>
		<category><![CDATA[oracle]]></category>

		<guid isPermaLink="false">http://fuadarshad.wordpress.com/2008/10/20/oow-2008-final-thoughts/</guid>
		<description><![CDATA[I had the opportunity to attend Oracle Openworld this year and i was blown away by all the  people and the content presented at OOW this year.Barring a few technical mishaps like Schedule Builder being down for a about a day it seemed that the event was very well planned and The teams behind [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fuadarshad.wordpress.com&blog=4443906&post=270&subd=fuadarshad&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I had the opportunity to attend Oracle <span class="blsp-spelling-error">Openworld</span> this year and i was blown away by all the  people and the content presented at <span class="blsp-spelling-error">OOW</span> this year.<br />Barring a few technical mishaps like Schedule Builder being down for a about a day it seemed that the event was very well planned and The teams behind the event should get a big kudos for managing and arranging such a huge event as well as they did.<br />There was a lot of knowledge shared during the event at the presentations as well as the lounges. I truly believe for me the lounges were the highlight of the event. Meeting  a lot of fellow Tweeters, <span class="blsp-spelling-error">Bloggers</span> and Oracle Ace&#8217;s was simply fabulous. There was  a lot of knowledge transfer and knowledge building during this event.<br />The <span class="blsp-spelling-error">unconference</span> events were a nice way to sit back , relax and understand some nice technical content.<br />The Oracle Fusion <span class="blsp-spelling-error">Middleware</span> lounge were doing some nice video post cards Which can be seen <a href="http://www.youtube.com/user/OracleWebVideo">here . </a><br />Some pictures of the event can be found <a href="http://ebizocp.blogspot.com/2008/09/openworld-2008-pictorial-walkthrough.html">here  </a>and  at <span class="blsp-spelling-error">flickr</span> <a href="http://www.flickr.com/search/?q=openworld08&amp;w=all">here</a>.</p>
<p>Some of the important announcement included <span class="blsp-spelling-error">Exadata</span> <span class="blsp-spelling-corrected">appliance</span> and the Oracle Database machine which marked Oracle&#8217;s move into the hardware arena in partnership with HP. Oracle Beehive a successor to Oracle Collaboration suite was also announced at the event.</p>
Posted in conference, oow08, oracle  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/fuadarshad.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/fuadarshad.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/fuadarshad.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/fuadarshad.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/fuadarshad.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/fuadarshad.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/fuadarshad.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/fuadarshad.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/fuadarshad.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/fuadarshad.wordpress.com/270/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fuadarshad.wordpress.com&blog=4443906&post=270&subd=fuadarshad&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://fuadarshad.wordpress.com/2008/10/20/oow-2008-final-thoughts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bfd47f4d74168721db095495e33ce3ed?s=96&#38;d=identicon" medium="image">
			<media:title type="html">fuadar</media:title>
		</media:content>
	</item>
		<item>
		<title>Oracle OpenWorld Live Post for Sep 24</title>
		<link>http://fuadarshad.wordpress.com/2008/09/24/oracle-openworld-live-post-for-sep-24/</link>
		<comments>http://fuadarshad.wordpress.com/2008/09/24/oracle-openworld-live-post-for-sep-24/#comments</comments>
		<pubDate>Wed, 24 Sep 2008 14:58:00 +0000</pubDate>
		<dc:creator>fuadar</dc:creator>
				<category><![CDATA[oracle]]></category>

		<guid isPermaLink="false">http://fuadarshad.wordpress.com/2008/09/24/oracle-openworld-live-post-for-sep-24/</guid>
		<description><![CDATA[Posted in oracle       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fuadarshad.wordpress.com&blog=4443906&post=269&subd=fuadarshad&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[Posted in oracle       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=fuadarshad.wordpress.com&blog=4443906&post=269&subd=fuadarshad&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://fuadarshad.wordpress.com/2008/09/24/oracle-openworld-live-post-for-sep-24/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bfd47f4d74168721db095495e33ce3ed?s=96&#38;d=identicon" medium="image">
			<media:title type="html">fuadar</media:title>
		</media:content>
	</item>
	</channel>
</rss>