<?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/"
	>

<channel>
	<title>Personal Weblog of John Wood &#187; Oracle</title>
	<atom:link href="http://www.webofwood.com/category/oracle/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webofwood.com</link>
	<description>Wordpress weblog of John Wood, a Database Administrator</description>
	<lastBuildDate>Thu, 29 Jul 2010 14:00:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Easy Oracle Backup Deployment with Grid Control</title>
		<link>http://www.webofwood.com/2010/03/03/oracle-backup-deployment/</link>
		<comments>http://www.webofwood.com/2010/03/03/oracle-backup-deployment/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 20:52:53 +0000</pubDate>
		<dc:creator>John Wood</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.webofwood.com/?p=88</guid>
		<description><![CDATA[I recently installed GRID Control and while “playing around” with it, I discovered the fantastic capability to build a job once and deploy over many targets. I thought this is very cool after experiencing so many problems with Dbconsole. I found you can create a Job with minimal effort and deploy it to various targets with minimal [...]]]></description>
			<content:encoded><![CDATA[<p>I recently installed GRID Control and while “playing around” with it, I discovered the fantastic capability to build a job once and deploy over many targets. I thought this is very cool after experiencing so many problems with Dbconsole.</p>
<p>I found you can create a Job with minimal effort and deploy it to various targets with minimal effort. Database backups fit this mold exceptionally well. In my shop, all of our backups are rather routine and all share common properties: complete backup, daily at 6PM. All of our databases are small enough for complete backups rather than incremental.</p>
<p><span id="more-88"></span>If you want to quickly and easily build the backups for a dozen or more databases, you can try this process. I’m sure you will find it simple and effective. The basic steps involved are:</p>
<ol>
<li>Build a Job “template” and save it in the Job Library</li>
<li>Choose between submitting the Job for scheduling against multiple targets or submitting the Job for each target. <strong>This process</strong> submits the Job for each target. I chose this method because I believe it gives me more flexibility to accommodate future changes for individual target requirements. You can try both methods to see which best suits your needs.</li>
</ol>
<p>To start, bring up Oracle Grid Control and then choose the Jobs tab at the top. My screen is shown below. <strong>Now click on Job Library tab</strong> of that screen.</p>
<p style="text-align: center;"><a href="http://www.webofwood.com/wp-content/uploads/2010/03/jobs000.jpg" target="_blank"><img class="aligncenter" style="display: inline; border-width: 0px;" title="jobs-000" src="http://www.webofwood.com/wp-content/uploads/2010/03/jobs000_thumb.jpg" border="0" alt="jobs-000" width="240" height="167" /></a></p>
<p>You should now be in the Job Library. Follow the numbered sequences on the next image below to <strong>create a new Library Job</strong></p>
<p style="text-align: center;"><a href="http://www.webofwood.com/wp-content/uploads/2010/03/jobs001.jpg" target="_blank"><img class="aligncenter" style="display: inline; border-width: 0px;" title="jobs-001" src="http://www.webofwood.com/wp-content/uploads/2010/03/jobs001_thumb.jpg" border="0" alt="jobs-001" width="240" height="99" /></a></p>
<p>Fill in <strong>General</strong> information about the Job</p>
<p style="text-align: center;"><a href="http://www.webofwood.com/wp-content/uploads/2010/03/jobs002.jpg"><img class="aligncenter" style="display: inline; border: 0px;" title="jobs-002" src="http://www.webofwood.com/wp-content/uploads/2010/03/jobs002_thumb.jpg" border="0" alt="jobs-002" width="244" height="108" /></a></p>
<p>Key or paste in your RMAN script into the <strong>Parameters</strong> screen. I use a very generic script which uses all of the defaults I had previously established in Backup Settings for the target. A copy of my RMAN script is available here for cut &amp; paste.</p>
<pre class="brush: sql">run {
backup device type disk database;
backup device type disk archivelog all not backed up delete all input;
delete noprompt obsolete device type disk;
}</pre>
<p>After entering the script you’ll go on to specifying the Schedule. We won’t worry about the <em>Credentials</em> tab until we deploy to a target.</p>
<p style="text-align: center;"><a href="http://www.webofwood.com/wp-content/uploads/2010/03/jobs004.jpg"><img class="aligncenter" style="display: inline; border: 0px;" title="jobs-004" src="http://www.webofwood.com/wp-content/uploads/2010/03/jobs004_thumb.jpg" border="0" alt="jobs-004" width="244" height="92" /></a></p>
<p>Set up your <strong>Schedule</strong>. Because we are deploying to individual targets, you will be able to change this later per target. In my case, all the targets have the same schedule so I can set it here and not worry about it when I deploy.</p>
<p style="text-align: center;"><a href="http://www.webofwood.com/wp-content/uploads/2010/03/jobs007.jpg"><img class="aligncenter" style="display: inline; border: 0px;" title="jobs-007" src="http://www.webofwood.com/wp-content/uploads/2010/03/jobs007_thumb.jpg" border="0" alt="jobs-007" width="244" height="136" /></a></p>
<p><strong>Deploy</strong> your new Job by selecting it from the list and then clicking the <em>Submit</em> button.</p>
<p style="text-align: center;"><a href="http://www.webofwood.com/wp-content/uploads/2010/03/jobs008.jpg"><img class="aligncenter" style="display: inline; border: 0px;" title="jobs-008" src="http://www.webofwood.com/wp-content/uploads/2010/03/jobs008_thumb.jpg" border="0" alt="jobs-008" width="244" height="142" /></a></p>
<p>Now you will see another Job creation screen with the General settings. However, this one is now in the Jobs category and not the Job Library. You may notice, the Job name has been filled in with the name from your Job Library along with a suffix (most likely .1).  This is the time to add a Target or Targets.</p>
<p style="text-align: center;"><a href="http://www.webofwood.com/wp-content/uploads/2010/03/jobs010.jpg"><img class="aligncenter" style="display: inline; border: 0px;" title="jobs-010" src="http://www.webofwood.com/wp-content/uploads/2010/03/jobs010_thumb.jpg" border="0" alt="jobs-010" width="244" height="181" /></a></p>
<p>Select one or more from the <strong>Targets List.</strong> I chose to use one target for each deployment. However, you can deploy one Job to multiple targets at the same time. My preference is to run the deployment for each target thereby creating a Job for each.</p>
<p style="text-align: center;"><a href="http://www.webofwood.com/wp-content/uploads/2010/03/jobs012.jpg"><img class="aligncenter" style="display: inline; border: 0px;" title="jobs-012" src="http://www.webofwood.com/wp-content/uploads/2010/03/jobs012_thumb.jpg" border="0" alt="jobs-012" width="244" height="185" /></a></p>
<p>We’re back to the <strong>General</strong> information screen of the Job creation. At this time I also change the suffix for the Job name to match the Instance name of my target.</p>
<p style="text-align: center;"><a href="http://www.webofwood.com/wp-content/uploads/2010/03/jobs013.jpg"><img class="aligncenter" style="display: inline; border: 0px;" title="jobs-013" src="http://www.webofwood.com/wp-content/uploads/2010/03/jobs013_thumb.jpg" border="0" alt="jobs-013" width="244" height="112" /></a></p>
<p>The <strong>Credentials</strong> screen gives you the opportunity to choose which credentials you want to use. In my case I am using the preferred credentials which I had already set up for each target.</p>
<p style="text-align: center;"><a href="http://www.webofwood.com/wp-content/uploads/2010/03/jobs014.jpg"><img class="aligncenter" style="display: inline; border: 0px;" title="jobs-014" src="http://www.webofwood.com/wp-content/uploads/2010/03/jobs014_thumb.jpg" border="0" alt="jobs-014" width="244" height="122" /></a></p>
<p><strong>The final Job</strong> scheduled to run every day at 6PM according to the time of the target ( you could have targets in differing time-zones).</p>
<p style="text-align: center;"><a href="http://www.webofwood.com/wp-content/uploads/2010/03/jobs015.jpg"><img class="aligncenter" style="display: inline; border: 0px;" title="jobs-015" src="http://www.webofwood.com/wp-content/uploads/2010/03/jobs015_thumb.jpg" border="0" alt="jobs-015" width="244" height="125" /></a> </p>
<p style="text-align: left;">If you chose, as I did, to deploy to individual targets, you would now return to the Job Library, select your job, and click submit. This would be repeated for each target.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webofwood.com/2010/03/03/oracle-backup-deployment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use RMAN to Fix a &quot;604&quot; Error on Database Start</title>
		<link>http://www.webofwood.com/2008/09/09/use-rman-to-fix-a-604-error-on-database-start/</link>
		<comments>http://www.webofwood.com/2008/09/09/use-rman-to-fix-a-604-error-on-database-start/#comments</comments>
		<pubDate>Tue, 09 Sep 2008 19:02:46 +0000</pubDate>
		<dc:creator>John Wood</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.webofwood.com/2008/09/09/use-rman-to-fix-a-604-error-on-database-start/</guid>
		<description><![CDATA[Error 604 happened during db open, shutting down database USER: terminating instance due to error 604 I recently ran into this problem and because I could not find much relevant information to resolve it, I decide to write up my resolution process. I am not sure of all the reasons one can encounter a &#8220;604&#8243; [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>Error 604 happened during db open, shutting down database<br />
USER: terminating instance due to error 604</p></blockquote>
<p>I recently ran into this problem and because I could not find much relevant information to resolve it, I decide to write up my resolution process. I am not sure of all the reasons one can encounter a &#8220;604&#8243; error and this process addresses a problem with corrupted blocks.</p>
<p>My Alert log contained an entry, just prior to the &#8220;604&#8243;, which indicated I had corrupt data blocks in my SYSTEM01.DBF data file.</p>
<blockquote><p>Corrupt block relative dba: 0&#215;00400037 (file 1, block 55) Fractured block found during buffer read Data in bad block: type: 0 format: 0 rdba: 0&#215;00000000 last change scn: 0&#215;0000.00000000 seq: 0&#215;0 flg: 0&#215;00 spare1: 0&#215;0 spare2: 0&#215;0 spare3: 0&#215;0 consistency value in tail: 0&#215;00001501 check value in block header: 0&#215;0 block checksum disabled Reread of rdba: 0&#215;00400037 (file 1, block 55) found same corrupted data Tue Sep 09 13:27:59 2008 Errors in file d:\oracle\product\10.2.0\admin\fmax\udump\fmax_ora_668.trc: ORA-00604: error occurred at recursive SQL level 2 ORA-01578: ORACLE data block corrupted (file # 1, block # 55) ORA-01110: data file 1: &#8216;E:\ORADATA\FMAX\ORADATA\FMAX\SYSTEM01.DBF&#8217;</p></blockquote>
<p>At first I &#8216;googled&#8221; a search for the 604 error text and found meaningful information but no clear way of resolving it. Several suggestions referred to using the &#8216;START MOUNT&#8217; followed with a &#8216;RECOVER DATABASE&#8217;. I tried that and the database did go through recovery but still would not start. After thinking about it a few minutes, I recalled using RMAN to recover corrupted blocks on an already running database. So, I said to myself: &#8216;Self, why not use RMAN again&#8217;? I knew the database would not open bu RMAN should be able to run against a &#8216;mounted&#8217; database. I then issued the START MOUNT command in SQLPLUS, brought up another command window (this is a Windoze environment) and ran through the RMAN recover corrupt blocks process</p>
<blockquote><p>RMAN&gt; connect target connected to target database: FMAX (DBID=1458847106) RMAN&gt; backup check logical validate database; Starting backup at 08-AUG-08 using target database control file instead of recovery catalog allocated channel: ORA_DISK_1 channel ORA_DISK_1: sid=245 devtype=DISK channel ORA_DISK_1: starting compressed full datafile backupset channel ORA_DISK_1: specifying datafile(s) in backupset input datafile fno=00005 name=E:\ORADATA\FMAX\ORADATA\FMAX\FMAX_DATA.DBF input datafile fno=00001 name=E:\ORADATA\FMAX\ORADATA\FMAX\SYSTEM01.DBF input datafile fno=00003 name=E:\ORADATA\FMAX\ORADATA\FMAX\SYSAUX01.DBF input datafile fno=00006 name=E:\ORADATA\FMAX\ORADATA\FMAX\TOOLS01.DBF input datafile fno=00002 name=E:\ORADATA\FMAX\ORADATA\FMAX\UNDOTBS01.DBF input datafile fno=00004 name=E:\ORADATA\FMAX\ORADATA\FMAX\USERS01.DBF channel ORA_DISK_1: backup set complete, elapsed time: 00:00:25 Finished backup at 08-AUG-08 RMAN&gt; BLOCKRECOVER CORRUPTION LIST; Starting blockrecover at 08-AUG-08 using channel ORA_DISK_1 starting media recovery media recovery complete, elapsed time: 00:00:00 Finished blockrecover at 08-AUG-08 RMAN&gt;</p></blockquote>
<p>After completing the RMAN recovery, I then issued an ALTER DATABASE OPEN and the database opened just fine. I just hope this little bit of information may help any one else who encounters a similar problem.</p>
<div id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:d5e0e708-e319-4aea-8068-3df23e27fe0a" class="wlWriterSmartContent" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px"><font style="position: absolute;overflow: hidden;height: 0;width: 0"><a href="http://sikongroup.com/rentacar/index.htm">rent a car bulgaria</a></font>del.icio.us Tags: <a rel="tag" href="http://del.icio.us/popular/oracle">oracle</a>,<a rel="tag" href="http://del.icio.us/popular/error%20604">error 604</a>,<a rel="tag" href="http://del.icio.us/popular/10g">10g</a><font style="position: absolute;overflow: hidden;height: 0;width: 0"><a href="http://groups.google.com/group/mebeli/web/furniture">&#1084;&#1077;&#1073;&#1077;&#1083;&#1080;</a></font>,<a rel="tag" href="http://del.icio.us/popular/corrupt">corrupt</a>,<a rel="tag" href="http://del.icio.us/popular/recovery">recovery</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.webofwood.com/2008/09/09/use-rman-to-fix-a-604-error-on-database-start/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>eHarmony spurns Microsoft, finds match with Oracle 10g</title>
		<link>http://www.webofwood.com/2007/08/28/eharmony-spurns-microsoft-finds-match-with-oracle-10g/</link>
		<comments>http://www.webofwood.com/2007/08/28/eharmony-spurns-microsoft-finds-match-with-oracle-10g/#comments</comments>
		<pubDate>Tue, 28 Aug 2007 18:15:01 +0000</pubDate>
		<dc:creator>Woody</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Tech of Interest]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.webofwood.com/2007/08/28/eharmony-spurns-microsoft-finds-match-with-oracle-10g/</guid>
		<description><![CDATA[eHarmony&#8217;s Vice President of Technology, Mark Douglas, cites SQL Server&#8217;s row locking mechanics as the biggest detractor. It appears this was a major roadblock to scaling their application enough to accommodate their fast growth. Find out more from the entire article here&#8230; eHarmony spurns Microsoft, finds match with Oracle 10g]]></description>
			<content:encoded><![CDATA[<p>eHarmony&#8217;s Vice President of Technology, Mark Douglas, cites SQL Server&#8217;s row locking mechanics as the biggest detractor. It appears this was a major roadblock to scaling their application enough to accommodate their fast growth. Find out more from the entire article here&#8230;</p>
<p><a href="http://searchoracle.techtarget.com/originalContent/0,289142,sid41_gci1269811,00.html?track=NL-333&amp;ad=600149&amp;asrc=EM_NLN_2073559&amp;uid=655725">eHarmony spurns Microsoft, finds match with Oracle 10g</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webofwood.com/2007/08/28/eharmony-spurns-microsoft-finds-match-with-oracle-10g/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle Doc is Now Google-Friendly</title>
		<link>http://www.webofwood.com/2007/02/14/oracle-doc-is-now-google-friendly/</link>
		<comments>http://www.webofwood.com/2007/02/14/oracle-doc-is-now-google-friendly/#comments</comments>
		<pubDate>Wed, 14 Feb 2007 21:12:54 +0000</pubDate>
		<dc:creator>John Wood</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.webofwood.com/2007/02/14/oracle-doc-is-now-google-friendly/</guid>
		<description><![CDATA[As announced some time ago, official Oracle Documentation is being indexed by Google as we speak. This will be a great help to Oracle newbies who otherwise would not have been exposed to the doc unless they thought to become OTN members.]]></description>
			<content:encoded><![CDATA[<p>As announced some time ago, official Oracle Documentation is being indexed by Google as we speak.</p>
<p>This<br />
will be a great help to Oracle newbies who otherwise would not have<br />
been exposed to the doc unless they thought to become OTN members.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webofwood.com/2007/02/14/oracle-doc-is-now-google-friendly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle on Windows Server 2003 x64 Edition</title>
		<link>http://www.webofwood.com/2006/11/27/oracle-on-windows-server-2003-x64-edition/</link>
		<comments>http://www.webofwood.com/2006/11/27/oracle-on-windows-server-2003-x64-edition/#comments</comments>
		<pubDate>Mon, 27 Nov 2006 19:27:31 +0000</pubDate>
		<dc:creator>John Wood</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.webofwood.com/2006/11/27/oracle-on-windows-server-2003-x64-edition/</guid>
		<description><![CDATA[For a very long time Oracle&#8217;s threaded architecture had proven to be a major liability when running on Windows. However, with the recent introduction of Windows 64-bit computing, the liability has now become a definite asset.I recently discovered a blog site dedicated to Oracle on Windows and the blogger, Edward Whalen,&#160; has posted a number [...]]]></description>
			<content:encoded><![CDATA[<p>For a very long time Oracle&#8217;s threaded architecture had proven to be a major liability when running on Windows. However, with the recent introduction of Windows 64-bit computing, the liability has now become a definite asset.<br />I recently discovered a blog site dedicated to <a href="http://ewhalen.blogspot.com/">Oracle on Windows</a> and the blogger, Edward Whalen,&nbsp; has posted a number of very good articles. Begin by reading his initial article which explains <a href="http://ewhalen.blogspot.com/2006/05/oracle-on-windows-server-2003-x64.html">why the threaded architecture is now an asset</a> on Windows 64-bit. <br />I hope Ed keeps up with his articles. I&#8217;ve found them very informative for my own project which is to migrate several 8.1.7.4 DB&#8217;s on Windows 2000 to 10.2g on Windows 2003.</p>
<p>
<p class="poweredbyperformancing">powered by <a href="http://performancing.com/firefox">performancing firefox</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webofwood.com/2006/11/27/oracle-on-windows-server-2003-x64-edition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
