<?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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Vishal Gupta&#039;s Blog</title>
	<atom:link href="http://vishalgupta77.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://vishalgupta77.wordpress.com</link>
	<description>Oracle encounters</description>
	<lastBuildDate>Mon, 23 Jan 2012 03:35:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='vishalgupta77.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/fbe780f5105887d2e9453f6c2e1abfa2?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Vishal Gupta&#039;s Blog</title>
		<link>http://vishalgupta77.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://vishalgupta77.wordpress.com/osd.xml" title="Vishal Gupta&#039;s Blog" />
	<atom:link rel='hub' href='http://vishalgupta77.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Exadata 11.2.2.4.0 &#8211; Flash Card firmware Issue</title>
		<link>http://vishalgupta77.wordpress.com/2011/11/06/exadata-11-2-2-4-0-flash-card-firmware-issue/</link>
		<comments>http://vishalgupta77.wordpress.com/2011/11/06/exadata-11-2-2-4-0-flash-card-firmware-issue/#comments</comments>
		<pubDate>Sun, 06 Nov 2011 00:39:59 +0000</pubDate>
		<dc:creator>Vishal Gupta</dc:creator>
				<category><![CDATA[Exadata Patching]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Oracle Exadata]]></category>

		<guid isPermaLink="false">http://blog.vishalgupta.com/?p=493</guid>
		<description><![CDATA[After patching Exadata cell to 11.2.2.4.0, on running CheckHWnFwProfile or Exachk it reports the firmware version for Flash Card is not same as expected. CheckHWnFWProfile script is expecting firmware version to be 011b5c00 where it is found to be 011b5b00, so it reports the check failure. This is due to BUG 13088963. All flash card firmware versions are [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=493&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After patching Exadata cell to 11.2.2.4.0, on running CheckHWnFwProfile or Exachk it reports the firmware version for Flash Card is not same as expected.</p>
<p><pre class="brush: bash; collapse: false;">

# /opt/oracle.SupportTools/CheckHWnFWProfile
[WARNING] The hardware and firmware are not supported. See details below

[PCISlot:HBA:LSIModel:LSIhw:MPThw:LSIfw:MPTBios:DOM:OSDevice:DOMMake:DOMModel:DOMfw:CountAuraCountDOM]
Requires:
   AllSlots_AllHBAs SAS1068E B3orC0 105 011b5c00 06.26.00.00 AllDOMs_NotApplicable MARVELL SD88SA02 D20Y 4_16
Found:
   AllSlots_AllHBAs SAS1068E B3orC0 105 011b5b00 06.26.00.00 AllDOMs_NotApplicable MARVELL SD88SA02 D20Y 4_16

[WARNING] The hardware and firmware are not supported. See details above

</pre></p>
<p>CheckHWnFWProfile script is expecting firmware version to be <span style="color:#ff0000;"><strong>011b5c00</strong></span> where it is found to be <span style="color:#ff0000;"><strong>011b5b00</strong></span>, so it reports the check failure. This is due to BUG <strong><a title="13088963" href="https://support.oracle.com/CSP/main/article?cmd=show&amp;type=BUG&amp;id=13088963" target="_blank">13088963</a></strong>. All flash card firmware versions are not being upgraded due to bug in CheckHWnFwProfile  script, which is also responsible for firmware upgrade on the cells.</p>
<p>MOS Note <strong><a title="1372320.1" href="https://support.oracle.com/CSP/main/article?cmd=show&amp;type=NOT&amp;doctype=PROBLEM&amp;id=1372320.1">1372320.1</a>  - </strong>Problem : [Warning] The Hardware And Firmware Are Not Supported on 11.2.2.4</p>
<p>There is a patch <strong><a title="13088963" href="https://updates.oracle.com/Orion/PatchDetails/process_form?patch_num=13088963">13089037</a> </strong>available for this problem. This patch also fixes following bugs.</p>
<p>This update will:</p>
<ul>
<li>Update ibdiagtools to latest revision (Bug 13089037).</li>
<ul>
<li> STORAGE EXPANSION RACK SUPPORT AMISS IN IBDIAGTOOLS IN 11.2.2.4.0</li>
</ul>
<li>Correct the flash firmware update regression (Bug 13088963).</li>
<ul>
<li> CHECKHWNFWPROFILE HARDWARE/FIRMWARE NOT SUPPORTED REQUIRES LSIFW 011B5C00</li>
</ul>
<li>Correct the missing support for X4800 for special bios update package (Bug 13089050)</li>
<ul>
<li> FLASH_BIOS PACKAGE DOES NOT WORK FOR X4800* MODELS</li>
</ul>
</ul>
<br />Filed under: <a href='http://vishalgupta77.wordpress.com/category/oracle-exadata/exadata-patching/'>Exadata Patching</a>, <a href='http://vishalgupta77.wordpress.com/category/oracle/'>Oracle</a>, <a href='http://vishalgupta77.wordpress.com/category/oracle-exadata/'>Oracle Exadata</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vishalgupta77.wordpress.com/493/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vishalgupta77.wordpress.com/493/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vishalgupta77.wordpress.com/493/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vishalgupta77.wordpress.com/493/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vishalgupta77.wordpress.com/493/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vishalgupta77.wordpress.com/493/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vishalgupta77.wordpress.com/493/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vishalgupta77.wordpress.com/493/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vishalgupta77.wordpress.com/493/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vishalgupta77.wordpress.com/493/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vishalgupta77.wordpress.com/493/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vishalgupta77.wordpress.com/493/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vishalgupta77.wordpress.com/493/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vishalgupta77.wordpress.com/493/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=493&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vishalgupta77.wordpress.com/2011/11/06/exadata-11-2-2-4-0-flash-card-firmware-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/feea0c1a03e27f23072137c890836d22?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">vishalgupta77</media:title>
		</media:content>
	</item>
		<item>
		<title>Exadata 11.2.2.4.0 &#8211; Critical Bug</title>
		<link>http://vishalgupta77.wordpress.com/2011/11/05/exadata-11-2-2-4-0-critical-bug/</link>
		<comments>http://vishalgupta77.wordpress.com/2011/11/05/exadata-11-2-2-4-0-critical-bug/#comments</comments>
		<pubDate>Sat, 05 Nov 2011 22:58:55 +0000</pubDate>
		<dc:creator>Vishal Gupta</dc:creator>
				<category><![CDATA[Exadata Patching]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Oracle Exadata]]></category>

		<guid isPermaLink="false">http://blog.vishalgupta.com/?p=483</guid>
		<description><![CDATA[Following issue has been identified in Exadata Storage Server software patch 11.2.2.4.0. It only affects compute node minimal pack on X2-2 and X2-8 racks sporting a 10GigE network ports. It does not affect the V1 or V2 models as they dont have 10GigE network ports. For more information please refer to MOS Note 1348647.1 Critical Issues [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=483&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Following issue has been identified in Exadata Storage Server software patch 11.2.2.4.0. It only affects compute node minimal pack on X2-2 and X2-8 racks sporting a 10GigE network ports. It does not affect the V1 or V2 models as they dont have 10GigE network ports. For more information please refer to MOS Note <strong><a title="1348647.1" href="https://support.oracle.com/CSP/main/article?cmd=show&amp;type=NOT&amp;doctype=PATCH&amp;id=1348647.1" target="_blank">1348647.1</a></strong></p>
<blockquote>
<h4>Critical Issues Discovered Post-Release</h4>
<p>1) <a href="https://support.oracle.com/CSP/main/article?cmd=show&amp;type=BUG&amp;id=13083530">Bug 13083530</a> - 10Gb Ethernet network interfaces shut down unexpectedly.</p>
<p>For environments configured with 10GigE Ethernet for the database server hosts running Oracle Linux, do NOT apply the 11.2.2.4 minimal pack to the database server hosts. A loss of connectivity problem for 10GigE was reported and confirmed. An update on this will be available soon and will be published as an update to the patch README and the corresponding patch MOS Note. Customers who are not already running with 11.2.2.3.5 on their compute nodes are recommended to applying the 11.2.2.3.5 minimal pack (available in <a href="https://support.oracle.com/CSP/ui/flash.html#tab=PatchHomePage(page=PatchHomePage&amp;id=gj46o799()),(page=PatchSearchResultsHome&amp;id=gj46pr1y(search=%3CSearch%3E%0A%20%20%3CFilter%20name=%22patch_number%22%20op=%22IS%22%20value=%2212849110%22%20type=%22patch_number%22/%3E%0A%20%20%3CFilter%20name=%22platform%22%20op=%22IS%22%20value=%22%22%20type=%22platform%22/%3E%0A%3C/Search%3E&amp;incFamilyProds=false&amp;flag=search))" target="_blank">Patch 12849110</a>) until further updates are available.</p>
<p>Apply the 11.2.2.4 cell patch as usual. The cells do not use 10GigE. It is supported to run with the latest 11.2.2.4 version on the cells together with an earlier minimal pack release.</p></blockquote>
<p>&nbsp;</p>
<br />Filed under: <a href='http://vishalgupta77.wordpress.com/category/oracle-exadata/exadata-patching/'>Exadata Patching</a>, <a href='http://vishalgupta77.wordpress.com/category/oracle/'>Oracle</a>, <a href='http://vishalgupta77.wordpress.com/category/oracle-exadata/'>Oracle Exadata</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vishalgupta77.wordpress.com/483/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vishalgupta77.wordpress.com/483/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vishalgupta77.wordpress.com/483/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vishalgupta77.wordpress.com/483/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vishalgupta77.wordpress.com/483/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vishalgupta77.wordpress.com/483/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vishalgupta77.wordpress.com/483/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vishalgupta77.wordpress.com/483/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vishalgupta77.wordpress.com/483/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vishalgupta77.wordpress.com/483/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vishalgupta77.wordpress.com/483/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vishalgupta77.wordpress.com/483/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vishalgupta77.wordpress.com/483/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vishalgupta77.wordpress.com/483/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=483&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vishalgupta77.wordpress.com/2011/11/05/exadata-11-2-2-4-0-critical-bug/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/feea0c1a03e27f23072137c890836d22?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">vishalgupta77</media:title>
		</media:content>
	</item>
		<item>
		<title>Exadata Storage/Compute Node remote re-imaging</title>
		<link>http://vishalgupta77.wordpress.com/2011/10/23/exadata-storage-compute-node-remote-reimaging/</link>
		<comments>http://vishalgupta77.wordpress.com/2011/10/23/exadata-storage-compute-node-remote-reimaging/#comments</comments>
		<pubDate>Sun, 23 Oct 2011 18:13:51 +0000</pubDate>
		<dc:creator>Vishal Gupta</dc:creator>
				<category><![CDATA[Exadata Installation]]></category>
		<category><![CDATA[Exadata Patching]]></category>
		<category><![CDATA[Oracle Exadata]]></category>

		<guid isPermaLink="false">http://blog.vishalgupta.com/?p=455</guid>
		<description><![CDATA[When you have a Exadata machine in the lab and you are testing lot of different things or giving hand-ons training to production DBA on lab Exadata to familiarize them with Exadata patching, one has to frequently start from scratch i.e . a particular storage/compute node image. Wouldn&#8217;t it be nice if you could write [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=455&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When you have a Exadata machine in the lab and you are testing lot of different things or giving hand-ons training to production DBA on lab Exadata to familiarize them with Exadata patching, one has to frequently start from scratch i.e . a particular storage/compute node image. Wouldn&#8217;t it be nice if you could write a script to re-image the servers? But alas!!! that is not possible with Exadata. One has to do all the reimaging manually. Even with the manual process, one has to insert the external USB into each storage/compute node and then remote it before reboot to complete the process. With ILOM (Integrated Lights Out Management) it is possible to mount a remote cdrom image (*.iso) file as a virtual cdrom. One can create an storage/compute node image iso using computeImageMaker_&lt;imageversion&gt;.x86_64.tar or cellImageMaker_&lt;imageversion&gt;.x86_64.tar file.</p>
<p>For example for compute node, please note we navigate into dl380 for compute node</p>
<p><pre class="brush: plain;">
# tar -pxvf computeImageMaker_11.2.1.2.3_LINUX.X64_100305-1.x86_64.tar
# cd dl380
# makeImageMedia.sh computeNodeImage.iso
</pre></p>
<p>Or for cell node, please note we navigate into dl180 directory for cell.</p>
<p><pre class="brush: plain;">
# tar -pxvf cellImageMaker_11.2.1.2.3_LINUX.X64_100305-1.x86_64.tar
# cd dl180
# makeImageMedia.sh cellImage.iso
</pre></p>
<p>Would it not have been nice, if one could just mount this iso file via ILOM as virtual cdrom, change the boot order in BIOS by booting into bios, which can also be force either via ILOM gui or via /usr/bin/biosconfig -set_boot_override &lt;xmlfile&gt; command, and choose virtual cdrom as first boot device. But problem with this approach is cell/compute node imaging process resets the ILOM, which means that even our virtual cdrom iso image is also removed during this process and this results in imaging process not completing properly.</p>
<p>One could try leaving a external USB permanently attached on lab exadata, and then via ILOM try to reimage, so that during ILOM reset boot image device is not detached and once can simply reconnect to ILOM to continue answering the on-screen messages. But one problem with this approach is, as part of imaging one has to remove the external USB stick otherwise automated configuration scripts dont funtion properly. I tried it on the lab exadata and could get the cell to reimage properly with external USB still attached. Even after manually changing the boot order to internal USB and then harddrive, which is what cell checks for during each reboot validation, cell just sat on a blinking prompt without going forward. I left the cell overnight as well, thinking that properly some processing is going on, but with no luck. Once i removed the external USB stick, automated configuration scripts were able to properly complete the imaging process and came to automated run of ipconf script, which set the various setting on the cell at first boot after reimaging process.</p>
<p>Would it have been nice, it all this could be done remotely via ILOM once ilom has been connected to the network, as ilom network configuration is not reset during re-imaging process. But that would be wishful thinking !!!</p>
<p>I was trying this with 11.2.1.2.3 image, as that was my starting image on compute/cell nodes in prod/dr/test, so wanted to replicated the same history. I have not tried with later image versions yet to see if process has been improved in this regard, that trial would be for some time later.</p>
<p>Regards,</p>
<p>Vishal</p>
<pre></pre>
<br />Filed under: <a href='http://vishalgupta77.wordpress.com/category/oracle-exadata/exadata-installation/'>Exadata Installation</a>, <a href='http://vishalgupta77.wordpress.com/category/oracle-exadata/exadata-patching/'>Exadata Patching</a>, <a href='http://vishalgupta77.wordpress.com/category/oracle-exadata/'>Oracle Exadata</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vishalgupta77.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vishalgupta77.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vishalgupta77.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vishalgupta77.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vishalgupta77.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vishalgupta77.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vishalgupta77.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vishalgupta77.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vishalgupta77.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vishalgupta77.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vishalgupta77.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vishalgupta77.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vishalgupta77.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vishalgupta77.wordpress.com/455/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=455&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vishalgupta77.wordpress.com/2011/10/23/exadata-storage-compute-node-remote-reimaging/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/feea0c1a03e27f23072137c890836d22?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">vishalgupta77</media:title>
		</media:content>
	</item>
		<item>
		<title>Exadata Storage Server 11.2.2.4.0 Patching</title>
		<link>http://vishalgupta77.wordpress.com/2011/10/22/exadata-storage-server-11-2-2-4-0-patching/</link>
		<comments>http://vishalgupta77.wordpress.com/2011/10/22/exadata-storage-server-11-2-2-4-0-patching/#comments</comments>
		<pubDate>Sat, 22 Oct 2011 11:14:17 +0000</pubDate>
		<dc:creator>Vishal Gupta</dc:creator>
				<category><![CDATA[Exadata Patching]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Oracle Exadata]]></category>

		<guid isPermaLink="false">http://blog.vishalgupta.com/?p=448</guid>
		<description><![CDATA[Non-interactive shell issue for Database Host minimal pack  Recently i set about patching Exadata Storage Server software to from 11.2.2.x.x to 11.2.2.4.0, which is the latest patch from Oracle Corporation. I was testing and documenting the process for one of my client and wanted to automate this as much as possible, as in past people [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=448&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong><br />
</strong></p>
<p><strong>Non-interactive shell issue for Database Host minimal pack </strong></p>
<p>Recently i set about patching Exadata Storage Server software to from 11.2.2.x.x to 11.2.2.4.0, which is the latest patch from Oracle Corporation. I was testing and documenting the process for one of my client and wanted to automate this as much as possible, as in past people actually executing the commands had missed running few commands on certain nodes. As with any Exadata storage server software patch, there is cell node component of patch which is patched using patchmgr either in rolling or non-rolling fashion. And there is database host component, called database minimal pack. Release note of 11.2.2.4.0 asks the install the patch (after running some prerequisites) using <em>./install.sh -force</em> option. I was taking the approach of install patch on one cell node and if successful, then apply on rest of the cell nodes in parallel. Similarly apply the database minimal pack patch on one compute node, then if successful, apply it on rest of the compute nodes in parallel. And what could be more convenient to run command in parallel on many nodes than dcli command. So i programatically created an <em>dbs_group_withoutfirstnode</em> file with all the compute nodes apart from first compute node. Then installed the patch on first compute node, which was successful. After that using dcli i transferred the patch to other nodes, extracted its contents in parallel. Then using dcli command ran the (cd &lt;patch_directory&gt;; ./install.sh -force) command on rest of the compute nodes. But guess what, compute node patch does not like the running via dcli. DCLI simply runs the command on a remote host using &#8220;ssh command&#8221; method in simple terms. Though its slightly more complex. Effect of running command via dcli is that, all command are run in non-interactive session i.e. without tty terminal or standard output/error. It means that if your script is not redirecting all standard output and standard error messages to a file, then it will exit with a non-zero (i.e unsuccessful) exit code. <em>install.sh</em> script gives a call to <em>dopatch.sh, </em>which in turn calls a series of functions listed. As part of one of the function, it tries to set update the image version and adds it to image history. In this function, it tries to output the error messages explicitly to /dev/stderr device. As a result of this, if compute node patch is run via some automated script, it exits at this step and fails to run any further steps which include firmware update to ILOM and BIOS upgrade etc.</p>
<p>Now after this has happened, imageinfo command will show the new version, but there will be empty status and activation date. imagehistory will also not show the new image version. If you try to rollback the patch using <em>./install.sh -rollback-ib</em> command, it will complain that version is not valid, as it is not set with success status. So if you try run <em>/opt/oracle.cellos/imagestatus -set success</em> , then it will complain. But you can force it by using <em>/opt/oracle.cellos/imagestatus -set success -force db_patch</em>. After this you will be able to use the rollback. And then you can install the patch again using an interactive shell.</p>
<p><strong>grub.conf Symoblic link Issue</strong></p>
<p>I also noticed that symbolic link /etc/grub.conf which points to /boot/grub/grub.conf is missing on OEL5.5 compute/cell nodes. OEL5.5 is installed starting with 11.2.1.3.1 cell image.</p>
<p><strong>Suggestions for Oracle Exadata Development</strong></p>
<p>Exadata development team could write their upgrade/patching so that they are compatible with dcli, it allows to automated the patch and save lot of hassle.</p>
<p><strong>Summary</strong></p>
<p>- Don&#8217;t use non-interactive shell or dcli to run compute node patching commands.<br />
- Check your /etc/grub.conf symbolic link exists which needs to point to /boot/grub/grub.conf.</p>
<p>Hopefully this will save some hassle to someone out there patching production Exadata&#8217;s.</p>
<p>[Update, 05-Nov-2011]</p>
<p>One can redirect all the standard output and standard error to a file, then it will be possibile to run install.sh to install compute minimal patch via dcli.</p>
<p><pre class="brush: bash;">
cd /opt/oracle.Support/onecommand/
dcli -l root -g dbs_group &quot;mkdir -p /opt/oracle.Support/onecommand/patches/patch_11.2.2.4.0.110929&quot;

# Transfer the compute node minimal patch file
dcli -l root -g dbs_group -d /opt/oracle.Support/onecommand/patches/patch_11.2.2.4.0.110929/ -f /opt/oracle.Support/onecommand/patches/patch_11.2.2.4.0.110929/db_patch_11.2.2.4.0.110929.zip

# Unzip the compute node patch file
dcli -l root -g dbs_group  &quot;(cd /opt/oracle.Support/onecommand/patches/patch_11.2.2.4.0.110929/; unzip -o db_patch_11.2.2.4.0.110929.zip)&quot;

# Run the compute node patch
dcli -l root -g dbs_group &quot;(cd /opt/oracle.Support/onecommand/patches/patch_11.2.2.4.0.110929/db_patch_11.2.2.4.0.110929 ; ./install.sh &gt;&gt; install.sh.log 2&gt;&amp;1)&quot;

</pre></p>
<p>Cheers,<br />
Vishal Gupta</p>
<br />Filed under: <a href='http://vishalgupta77.wordpress.com/category/oracle-exadata/exadata-patching/'>Exadata Patching</a>, <a href='http://vishalgupta77.wordpress.com/category/oracle/'>Oracle</a>, <a href='http://vishalgupta77.wordpress.com/category/oracle-exadata/'>Oracle Exadata</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vishalgupta77.wordpress.com/448/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vishalgupta77.wordpress.com/448/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vishalgupta77.wordpress.com/448/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vishalgupta77.wordpress.com/448/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vishalgupta77.wordpress.com/448/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vishalgupta77.wordpress.com/448/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vishalgupta77.wordpress.com/448/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vishalgupta77.wordpress.com/448/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vishalgupta77.wordpress.com/448/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vishalgupta77.wordpress.com/448/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vishalgupta77.wordpress.com/448/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vishalgupta77.wordpress.com/448/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vishalgupta77.wordpress.com/448/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vishalgupta77.wordpress.com/448/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=448&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vishalgupta77.wordpress.com/2011/10/22/exadata-storage-server-11-2-2-4-0-patching/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/feea0c1a03e27f23072137c890836d22?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">vishalgupta77</media:title>
		</media:content>
	</item>
		<item>
		<title>Oracle Exadata Documentation</title>
		<link>http://vishalgupta77.wordpress.com/2011/10/15/oracle-exadata-documentation/</link>
		<comments>http://vishalgupta77.wordpress.com/2011/10/15/oracle-exadata-documentation/#comments</comments>
		<pubDate>Sat, 15 Oct 2011 21:20:00 +0000</pubDate>
		<dc:creator>Vishal Gupta</dc:creator>
				<category><![CDATA[Oracle Exadata]]></category>

		<guid isPermaLink="false">http://blog.vishalgupta.com/?p=435</guid>
		<description><![CDATA[As  most of you are aware, Oracle does not publish the Exadata documentation. Apparently this is protect their software from competitors. But in my opinion, Oracle could increase their Exadata sales by making their documentation freely available for everyone to read, just like their other product&#8217;s documentation.  Wouldn&#8217;t it be nice, when someone asks you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=435&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As  most of you are aware, Oracle does not publish the Exadata documentation. Apparently this is protect their software from competitors. But in my opinion, Oracle could increase their Exadata sales by making their documentation freely available for everyone to read, just like their other product&#8217;s documentation.  Wouldn&#8217;t it be nice, when someone asks you regarding a feature of Exadata, if you had the ability to direct them to a link of Exadata documentation for that feature and they could be read at their leisure in detail.</p>
<p>I feel if more and more people know about Exadata, they would be able to advocate about Exadata and try to convince their company&#8217;s decision makers into buying Exadata machines. So making Exadata documentation publicly available should help oracle rather than their competitors. Also a knowledgable dba would be able to manage Exadata better than un-knowledgable dba.</p>
<p>Many Oracle DBA managing Exadata are not aware that Exadata documentation is available on every cell under <span style="color:#000000;"><strong>/usr/share/doc/oracle/Exadata/doc</strong></span> folder. But if you dont have access to a Exadata cell, then how do you view the Exadata documentation? Well you have few options for that.</p>
<p><span style="text-decoration:underline;"><strong>Ways to obtain Exadata Documentation</strong></span></p>
<p><strong>1. </strong> Ask your friendly DBA/SystemAdmin who has access to Exadata cell to give your entire (including sub-directories) contents of <strong>/usr/share/doc/oracle/Exadata/doc</strong> folder. Then using your favourite internet browser open the index.html file to view documentation.</p>
<p><strong>2. </strong> Extract the exadata documentation from cell images. You don&#8217;t have to install the Exadata Storage server software to obtain its documentation.</p>
<ol>
<li>Create an Oracle Web Account at <a title="Oracle Technology Network aka OTN" href="http://otn.oracle.com" target="_blank">Oracle Technology Network aka OTN</a> . Account creation direct <a title="link" href="https://myprofile.oracle.com/EndUser/faces/profile/createUser.jspx">link</a>.</li>
<li>Wait for account validation email to come, click on link to verify your Oracle single sign on account.</li>
<li>Go to Oracle eDelivery site, now know as Oracle Software Delivery Cloud at <a title="http://eDelivery.oracle.com" href="http://eDelivery.oracle.com">http://eDelivery.oracle.com</a> and login using your Oracle Web account.</li>
<li>Under Media pack search, select product pack as &#8220;Oracle Database&#8221; and platform as &#8220;Linux x86-64&#8243; and hit Go.</li>
<li>It will list the Oracle Exadata Storage Server (CELL) Software Media pack links, download the storage server software. 11.2.2 media pack contains all 11.2.2.x.x cell and compute images.</li>
<li> Extract the files.</li>
<li>For older cell images (upto 11.2.2.3.3), you will find the cellImageMaker_&lt;imageversion&gt;.x86-64.tar.zip.</li>
<li>Extract the tar file from zipfile. In older cell images (upto 11.2.2.2.2), it will prompt you for a password which can be obtained from Oracle support. This password is common on all cellimage zipfiles. In newer cellimage from 11.2.2.3.2 onwards, zipfile is no longer password protected.</li>
<li>On any linux/unix machine extract the Exadata documentation from tar file using &#8220;tar -pxvf cellImageMaker_&lt;imageversion&gt;.x86-64.tar dl180/boot/cellbits/doclib.zip&#8221; command. This extracts the doclib.zip file containing Exadata documentation for that cell image version.</li>
</ol>
<div>Enjoy learning Oracle Exadata from documentation.</div>
<p><strong>Disclaimer</strong> &#8211; Please ensure that you or your company has the Exadata software license before obtaining the Exadata documentation, as it is Oracle&#8217;s copyright protected material and only meant to exadata license holders. I will not be liable for any license or copyright breaches due to you or your company not having a valid license before obtaining the Exadata documentation.</p>
<br />Filed under: <a href='http://vishalgupta77.wordpress.com/category/oracle-exadata/'>Oracle Exadata</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vishalgupta77.wordpress.com/435/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vishalgupta77.wordpress.com/435/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vishalgupta77.wordpress.com/435/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vishalgupta77.wordpress.com/435/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vishalgupta77.wordpress.com/435/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vishalgupta77.wordpress.com/435/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vishalgupta77.wordpress.com/435/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vishalgupta77.wordpress.com/435/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vishalgupta77.wordpress.com/435/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vishalgupta77.wordpress.com/435/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vishalgupta77.wordpress.com/435/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vishalgupta77.wordpress.com/435/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vishalgupta77.wordpress.com/435/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vishalgupta77.wordpress.com/435/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=435&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vishalgupta77.wordpress.com/2011/10/15/oracle-exadata-documentation/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/feea0c1a03e27f23072137c890836d22?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">vishalgupta77</media:title>
		</media:content>
	</item>
		<item>
		<title>Oracle 11gR2 on RHEL6</title>
		<link>http://vishalgupta77.wordpress.com/2011/09/19/oracle-11gr2-on-rhel6/</link>
		<comments>http://vishalgupta77.wordpress.com/2011/09/19/oracle-11gr2-on-rhel6/#comments</comments>
		<pubDate>Mon, 19 Sep 2011 22:33:11 +0000</pubDate>
		<dc:creator>Vishal Gupta</dc:creator>
				<category><![CDATA[11gR2]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://blog.vishalgupta.com/?p=432</guid>
		<description><![CDATA[&#160; Just a quick note to say that RedHat submitted certification test result of Oracle 11gR2 on RHEL6 to Oracle Corporation on 09-Aug-2011, so we should expect the formal certification around last week of Sep-2011. &#160; More news at - http://www.redhat.com/about/news/blog/Red-Hat-Submits-Oracle-11gR2-on-Red-Hat-Enterprise-Linux-6-Certification-Test-Results-to-Oracle &#160; Filed under: 11gR2, Linux, Oracle<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=432&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>Just a quick note to say that RedHat submitted certification test result of Oracle 11gR2 on RHEL6 to Oracle Corporation on 09-Aug-2011, so we should expect the formal certification around last week of Sep-2011.</p>
<p>&nbsp;</p>
<p>More news at - <a title="http://www.redhat.com/about/news/blog/Red-Hat-Submits-Oracle-11gR2-on-Red-Hat-Enterprise-Linux-6-Certification-Test-Results-to-Oracle" href="http://www.redhat.com/about/news/blog/Red-Hat-Submits-Oracle-11gR2-on-Red-Hat-Enterprise-Linux-6-Certification-Test-Results-to-Oracle">http://www.redhat.com/about/news/blog/Red-Hat-Submits-Oracle-11gR2-on-Red-Hat-Enterprise-Linux-6-Certification-Test-Results-to-Oracle</a></p>
<p>&nbsp;</p>
<br />Filed under: <a href='http://vishalgupta77.wordpress.com/category/oracle/11gr2/'>11gR2</a>, <a href='http://vishalgupta77.wordpress.com/category/linux/'>Linux</a>, <a href='http://vishalgupta77.wordpress.com/category/oracle/'>Oracle</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vishalgupta77.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vishalgupta77.wordpress.com/432/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vishalgupta77.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vishalgupta77.wordpress.com/432/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vishalgupta77.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vishalgupta77.wordpress.com/432/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vishalgupta77.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vishalgupta77.wordpress.com/432/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vishalgupta77.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vishalgupta77.wordpress.com/432/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vishalgupta77.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vishalgupta77.wordpress.com/432/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vishalgupta77.wordpress.com/432/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vishalgupta77.wordpress.com/432/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=432&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vishalgupta77.wordpress.com/2011/09/19/oracle-11gr2-on-rhel6/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/feea0c1a03e27f23072137c890836d22?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">vishalgupta77</media:title>
		</media:content>
	</item>
		<item>
		<title>Direct Path Reads &#8211; 11g Changed Behaviour</title>
		<link>http://vishalgupta77.wordpress.com/2011/08/19/direct-path-reads-11g-changed-behaviour/</link>
		<comments>http://vishalgupta77.wordpress.com/2011/08/19/direct-path-reads-11g-changed-behaviour/#comments</comments>
		<pubDate>Fri, 19 Aug 2011 15:43:46 +0000</pubDate>
		<dc:creator>Vishal Gupta</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://blog.vishalgupta.com/?p=411</guid>
		<description><![CDATA[In 10g, serial full table scans for “large” tables used to always go through cache (by default). If table was small it was placed at most recently used (MRU) end of the buffer cache. If table is large it is placed at least recently used (LRU) end of the buffer cache. In 11g, full table [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=411&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In 10g, serial full table scans for “large” tables used to <span style="text-decoration:underline;">always</span> go through cache (by default). If table was small it was placed at most recently used (MRU) end of the buffer cache. If table is large it is placed at least recently used (LRU) end of the buffer cache.</p>
<p>In 11g, full table scan <span style="text-decoration:underline;">do not</span> always go through the buffer cache. Decision to read via direct path or through cache is based on the size of the table, buffer cache and various other stats. Table is considered to be small or large based value of _<em>small_table_threshold</em> internal parameter.  Default value of this parameter is 2% of buffer cache size and is specified in blocks. This means any object (table) smaller than 2% of the buffer cache will be read via the buffer cache and not using direct path read. And tables larger than 2% of the buffer cache are read via direct path read and not via buffer cache. With AMM (Automatic Memory Management) or ASMM (Automatic Shared Memory Management), buffer cache could drop to a lower value if memory is falling short for shared pool. In such a case after restart of instance, _<em>small_table</em>_<em>threshold</em> parameter would become even lower due to decreased buffer cache.</p>
<p>By enabling event 10949 at either session or system/instance level one can disable the autotuning of direct path reads for full table scans. It means full table scan on every table whether small or large, will go via buffer cache. This could flush out the already cached cached objects. I would strongly advise against setting this for all the databases in our standard build.</p>
<p><pre class="brush: sql;">[/source]SQL&gt; alter system set events '10949 trace name context forever' scope=spfile;

$ oerr ora 10949 10949, 00000, &quot;Disable autotune direct path read for full table scan&quot;
 // *Cause:
 // *Action: Disable autotune direct path read for serial full table scan.

</pre></p>
<p>If you are doing full table scans on the same LARGE table too often, then I would suggest to tune the query or create an index on the table. You could also set the minimum value for db_cache_size, so that it does not fall below the minimum (normal workload) levels and small_table_threshold parameter value does not fall below desired threshold.</p>
<p><span style="text-decoration:underline;">Related Oracle MOS Notes</span></p>
<p>Doc ID <a title="793845.1" href="https://support.oracle.com/CSP/main/article?cmd=show&amp;type=NOT&amp;id=793845.1" target="_blank">793845.1</a> &#8211; High &#8216;direct path read&#8217; waits in 11g</p>
<p>Doc ID <a title="787373.1" href="https://support.oracle.com/CSP/main/article?cmd=show&amp;type=NOT&amp;id=787373.1" target="_blank">787373.1</a> &#8211; How does Oracle load data into the buffer cache for table scans ?</p>
<br />Filed under: <a href='http://vishalgupta77.wordpress.com/category/oracle/'>Oracle</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vishalgupta77.wordpress.com/411/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vishalgupta77.wordpress.com/411/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vishalgupta77.wordpress.com/411/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vishalgupta77.wordpress.com/411/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vishalgupta77.wordpress.com/411/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vishalgupta77.wordpress.com/411/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vishalgupta77.wordpress.com/411/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vishalgupta77.wordpress.com/411/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vishalgupta77.wordpress.com/411/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vishalgupta77.wordpress.com/411/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vishalgupta77.wordpress.com/411/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vishalgupta77.wordpress.com/411/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vishalgupta77.wordpress.com/411/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vishalgupta77.wordpress.com/411/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=411&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vishalgupta77.wordpress.com/2011/08/19/direct-path-reads-11g-changed-behaviour/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/feea0c1a03e27f23072137c890836d22?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">vishalgupta77</media:title>
		</media:content>
	</item>
		<item>
		<title>Guaranteed Restore Point and Flashback Mode &#8211; Incorrect Documentation</title>
		<link>http://vishalgupta77.wordpress.com/2011/07/18/guaranteed-restore-point-and-flashback-mode-incorrect-documentation/</link>
		<comments>http://vishalgupta77.wordpress.com/2011/07/18/guaranteed-restore-point-and-flashback-mode-incorrect-documentation/#comments</comments>
		<pubDate>Mon, 18 Jul 2011 16:38:36 +0000</pubDate>
		<dc:creator>Vishal Gupta</dc:creator>
				<category><![CDATA[11gR2]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[Flashback]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://blog.vishalgupta.com/?p=398</guid>
		<description><![CDATA[I was going to write a new post about change in behaviour of Guaranteed Restore Point and Flashback mode. But looks like someone has already written about it at given below link. Its seems behaviour has changed in 11gR2, but documentation still refers to old behaviour. http://asanga-pradeep.blogspot.com/2011/06/restore-point-prerequisites-change-in.html I have raised a Oracle Service Request to correct [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=398&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was going to write a new post about change in behaviour of Guaranteed Restore Point and Flashback mode. But looks like someone has already written about it at given below link. Its seems behaviour has changed in 11gR2, but documentation still refers to old behaviour.</p>
<p><a href="http://asanga-pradeep.blogspot.com/2011/06/restore-point-prerequisites-change-in.html">http://asanga-pradeep.blogspot.com/2011/06/restore-point-prerequisites-change-in.html</a></p>
<p>I have raised a Oracle Service Request to correct the documentation. Documentation Bug &#8211; 12763133.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<br />Filed under: <a href='http://vishalgupta77.wordpress.com/category/oracle/11gr2/'>11gR2</a>, <a href='http://vishalgupta77.wordpress.com/category/oracle/backup/'>Backup</a>, <a href='http://vishalgupta77.wordpress.com/category/oracle/flashback/'>Flashback</a>, <a href='http://vishalgupta77.wordpress.com/category/oracle/'>Oracle</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vishalgupta77.wordpress.com/398/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vishalgupta77.wordpress.com/398/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vishalgupta77.wordpress.com/398/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vishalgupta77.wordpress.com/398/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vishalgupta77.wordpress.com/398/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vishalgupta77.wordpress.com/398/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vishalgupta77.wordpress.com/398/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vishalgupta77.wordpress.com/398/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vishalgupta77.wordpress.com/398/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vishalgupta77.wordpress.com/398/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vishalgupta77.wordpress.com/398/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vishalgupta77.wordpress.com/398/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vishalgupta77.wordpress.com/398/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vishalgupta77.wordpress.com/398/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=398&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vishalgupta77.wordpress.com/2011/07/18/guaranteed-restore-point-and-flashback-mode-incorrect-documentation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/feea0c1a03e27f23072137c890836d22?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">vishalgupta77</media:title>
		</media:content>
	</item>
		<item>
		<title>Turning Flashback ON &#8211; Incorrect Documentation</title>
		<link>http://vishalgupta77.wordpress.com/2011/07/18/turning-flashback-on/</link>
		<comments>http://vishalgupta77.wordpress.com/2011/07/18/turning-flashback-on/#comments</comments>
		<pubDate>Mon, 18 Jul 2011 14:58:36 +0000</pubDate>
		<dc:creator>Vishal Gupta</dc:creator>
				<category><![CDATA[11gR2]]></category>
		<category><![CDATA[Flashback]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://blog.vishalgupta.com/?p=389</guid>
		<description><![CDATA[Oracle documentation states that you can not use the FLASHBACK database clause (i.e turn it ON or OFF) while database is OPEN. Flashback mode can be turned ON only when database is in MOUNT mode. This is true in Oracle version 10.1, 10.2, 11.1. But in 11gR2, Oracle actually allows you to turn on the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=389&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Oracle documentation states that you can not use the FLASHBACK database clause (i.e turn it ON or OFF) while database is OPEN. Flashback mode can be turned ON only when database is in MOUNT mode. This is true in Oracle version 10.1, 10.2, 11.1. But in 11gR2, Oracle actually allows you to turn on the flashback even in OPEN mode, even though documentation says otherwise. I have raised an Oracle Service Request with Oracle to get this documentation bug fixed.</p>
<blockquote><p>[Update 19-Jul-2011]</p>
<p>Following bug has been raised by Oracle Support.</p>
<p><strong>Bug 12768808: FLASHBACK DATABASE DO NOT REQUIRE TO BE IN MOUNT MODE FROM 112 ONWARDS</strong></p></blockquote>
<p>Excerpt from 11gR2 documentation, SQL Reference for &#8220;ALTER DATABASE&#8221; statement  (as of 18-Jul-2011) - <a title="Click here" href="http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/statements_1004.htm#i2155821">Click Here</a></p>
<blockquote><p><strong>flashback_mode_clause<a id="sthref2653" name="sthref2653"></a><a id="sthref2654" name="sthref2654"></a></strong></p>
<p>Use this clause to put the database in or take the database out of <code>FLASHBACK</code> mode. You can specify this clause only if the database is in <code>ARCHIVELOG</code> mode and you have already prepared a fast recovery area for the database.<span style="color:#ff0000;"><strong>You can specify this clause when the database is mounted but not open.</strong></span> This clause cannot be specified on a physical standby database if redo apply is active.</p>
<div>
<p>See Also:</p>
<p><a href="http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmconfb.htm#BRADV8183">Oracle Database Backup and Recovery User&#8217;s Guide</a> for information on preparing the fast recovery area for Flashback operations</p>
</div>
<p><strong>FLASHBACK ON</strong> Use this clause to put the database in <code>FLASHBACK</code> mode. When the database is in <code>FLASHBACK</code> mode, Oracle Database automatically creates and manages Flashback Database logs in the fast recovery area. Users with <code>SYSDBA</code> system privilege can then issue a <code>FLASHBACK</code> <code>DATABASE</code> statement.</p>
<p><strong>FLASHBACK OFF</strong> Use this clause to take the database out of <code>FLASHBACK</code> mode. Oracle Database stops logging Flashback data and deletes all existing Flashback Database logs. Any attempt to issue a <code>FLASHBACK</code> <code>DATABASE</code> will fail with an error.</p></blockquote>
<p><span style="color:#000000;"><strong>11gR2</strong></span></p>
<p><pre class="brush: sql;">
$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on Mon Jul 18 04:56:02 2011

Copyright (c) 1982, 2009, Oracle.  All rights reserved.

Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL&gt; select flashback_on, log_mode, open_mode from v$database;

FLASHBACK_ON	   LOG_MODE	OPEN_MODE
------------------ ------------ --------------------
NO		   ARCHIVELOG	READ WRITE

SQL&gt; alter database flashback on;

Database altered.

SQL&gt; select flashback_on, log_mode, open_mode from v$database;

FLASHBACK_ON	   LOG_MODE	OPEN_MODE
------------------ ------------ --------------------
YES		   ARCHIVELOG	READ WRITE

SQL&gt; alter database flashback off;

Database altered.

SQL&gt; select flashback_on, log_mode, open_mode from v$database;

FLASHBACK_ON	   LOG_MODE	OPEN_MODE
------------------ ------------ --------------------
NO		   ARCHIVELOG	READ WRITE
</pre></p>
<p><strong>11gR1</strong></p>
<p><pre class="brush: sql;">
$ sqlplus / as sysdba

SQL*Plus: Release 11.1.0.6.0 - Production on Mon Jul 18 05:15:52 2011

Copyright (c) 1982, 2007, Oracle.  All rights reserved.

Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL&gt; select flashback_on, log_mode, open_mode from v$database;

FLASHBACK_ON	   LOG_MODE	OPEN_MODE
------------------ ------------ ----------
NO		   ARCHIVELOG	READ WRITE

SQL&gt; alter database flashback on;
alter database flashback on
*
ERROR at line 1:
ORA-38759: Database must be mounted by only one instance and not open.

SQL&gt; shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL&gt; startup mount;
ORACLE instance started.

Total System Global Area  217157632 bytes
Fixed Size		    2142976 bytes
Variable Size		  159386880 bytes
Database Buffers	   50331648 bytes
Redo Buffers		    5296128 bytes
Database mounted.
SQL&gt; select flashback_on, log_mode, open_mode from v$database;

FLASHBACK_ON	   LOG_MODE	OPEN_MODE
------------------ ------------ ----------
NO		   ARCHIVELOG	MOUNTED

SQL&gt; alter database flashback on;

Database altered.

SQL&gt; select flashback_on, log_mode, open_mode from v$database;

FLASHBACK_ON	   LOG_MODE	OPEN_MODE
------------------ ------------ ----------
YES		   ARCHIVELOG	MOUNTED

SQL&gt; alter database open;

Database altered.

SQL&gt; select flashback_on, log_mode, open_mode from v$database;

FLASHBACK_ON	   LOG_MODE	OPEN_MODE
------------------ ------------ ----------
YES		   ARCHIVELOG	READ WRITE

SQL&gt; alter database flashback off;

Database altered.

SQL&gt; select flashback_on, log_mode, open_mode from v$database;

FLASHBACK_ON	   LOG_MODE	OPEN_MODE
------------------ ------------ ----------
NO		   ARCHIVELOG	READ WRITE
</pre></p>
<br />Filed under: <a href='http://vishalgupta77.wordpress.com/category/oracle/11gr2/'>11gR2</a>, <a href='http://vishalgupta77.wordpress.com/category/oracle/flashback/'>Flashback</a>, <a href='http://vishalgupta77.wordpress.com/category/oracle/'>Oracle</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vishalgupta77.wordpress.com/389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vishalgupta77.wordpress.com/389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vishalgupta77.wordpress.com/389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vishalgupta77.wordpress.com/389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vishalgupta77.wordpress.com/389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vishalgupta77.wordpress.com/389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vishalgupta77.wordpress.com/389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vishalgupta77.wordpress.com/389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vishalgupta77.wordpress.com/389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vishalgupta77.wordpress.com/389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vishalgupta77.wordpress.com/389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vishalgupta77.wordpress.com/389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vishalgupta77.wordpress.com/389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vishalgupta77.wordpress.com/389/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=389&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vishalgupta77.wordpress.com/2011/07/18/turning-flashback-on/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/feea0c1a03e27f23072137c890836d22?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">vishalgupta77</media:title>
		</media:content>
	</item>
		<item>
		<title>Oracle RMAN command prompt hang???</title>
		<link>http://vishalgupta77.wordpress.com/2011/06/22/oracle-rman-command-prompt-hang/</link>
		<comments>http://vishalgupta77.wordpress.com/2011/06/22/oracle-rman-command-prompt-hang/#comments</comments>
		<pubDate>Wed, 22 Jun 2011 19:38:15 +0000</pubDate>
		<dc:creator>Vishal Gupta</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[RMAN]]></category>

		<guid isPermaLink="false">http://blog.vishalgupta.com/?p=372</guid>
		<description><![CDATA[This afternoon on a Oracle 11.2.0.2 installation, i was trying to run the Oracle RMAN utility. Rman cli was just hanging and not going into RMAN. [oracle@linux2 ~]$ . oraenv ORACLE_SID = [oracle] ? 11202 The Oracle base has been set to /opt/oracle/product/rhel4/database/11.2.0.2 [oracle@linux2 ~]$ rman After entering above rman command, nothing happened. It just [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=372&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This afternoon on a Oracle 11.2.0.2 installation, i was trying to run the Oracle RMAN utility. Rman cli was just hanging and not going into RMAN.</p>
<pre>[oracle@linux2 ~]$ <strong>. oraenv</strong>
ORACLE_SID = [oracle] ? <strong>11202</strong>
The Oracle base has been set to /opt/oracle/product/rhel4/database/11.2.0.2
[oracle@linux2 ~]$ <strong>rman</strong>
<strong> </strong></pre>
<p>After entering above rman command, nothing happened. It just hung on the command prompt. I did not receive any error at all. Hmm&#8230; whats happening? I issued an CTRL-C to cancel it and tried again. Still same result. Okay lets trace it using Linux strace utility.</p>
<pre>oracle@linux2 ~]$ <strong>strace rman</strong>
execve("/usr/X11R6/bin/rman", ["rman"], [/* 31 vars */]) = 0
uname({sys="Linux", node="linux2.vishalgupta.com", ...}) = 0
brk(0)                                  = 0x5a3000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a95556000
access("/etc/ld.so.preload", R_OK)      = 0
open("/etc/ld.so.preload", O_RDONLY)    = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=23, ...}) = 0
mmap(NULL, 23, PROT_READ|PROT_WRITE, MAP_PRIVATE, 3, 0) = 0x2a95557000
close(3)                                = 0
readlink("/proc/self/exe", "/usr/X11R6/bin/rman", 4096) = 19
open("/stub/lib64/libcwait.so", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\3&gt;\1\20\6"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=4176, ...}) = 0
mmap(NULL, 1051008, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2a95558000
mprotect(0x2a95559000, 1046912, PROT_NONE) = 0
mmap(0x2a95658000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0) = 0x2a95658000
close(3)                                = 0
munmap(0x2a95557000, 23)                = 0
open("/opt/oracle/product/rhel4/database/11.2.0.2/home/lib/tls/x86_64/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/opt/oracle/product/rhel4/database/11.2.0.2/home/lib/tls/x86_64", 0x7fbfffec30) = -1 ENOENT (No such file or directory)
open("/opt/oracle/product/rhel4/database/11.2.0.2/home/lib/tls/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/opt/oracle/product/rhel4/database/11.2.0.2/home/lib/tls", 0x7fbfffec30) = -1 ENOENT (No such file or directory)
open("/opt/oracle/product/rhel4/database/11.2.0.2/home/lib/x86_64/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/opt/oracle/product/rhel4/database/11.2.0.2/home/lib/x86_64", 0x7fbfffec30) = -1 ENOENT (No such file or directory)
open("/opt/oracle/product/rhel4/database/11.2.0.2/home/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/opt/oracle/product/rhel4/database/11.2.0.2/home/lib", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=146311, ...}) = 0
mmap(NULL, 146311, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2a95659000
close(3)                                = 0
open("/lib64/tls/libc.so.6", O_RDONLY)  = 3
read(3, "\177ELF\2\1\1\3&gt;\1p\305\1"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1636072, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a9567d000
mmap(NULL, 2330696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2a9567e000
mprotect(0x2a957ae000, 1085512, PROT_NONE) = 0
mmap(0x2a958ad000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12f000) = 0x2a958ad000
mmap(0x2a958b3000, 16456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2a958b3000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a958b8000
mprotect(0x2a958ad000, 16384, PROT_READ) = 0
mprotect(0x3e48a14000, 4096, PROT_READ) = 0
arch_prctl(ARCH_SET_FS, 0x2a958b86e0)   = 0
munmap(0x2a95659000, 146311)            = 0
brk(0)                                  = 0x5a3000
brk(0x5c4000)                           = 0x5c4000
fstat(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a95659000
read(0,  &lt;unfinished ...&gt;
[oracle@linux2 ~]$</pre>
<p>Had to again issue a CTRL-c to come out of trace, as it was just hanging again. I tried connecting to database using sqlplus, that worked fine.</p>
<pre>oracle@linux2 ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.2.0 Production on Mon Jun 20 06:08:58 2011
Copyright (c) 1982, 2010, Oracle.  All rights reserved.

Connected to:

Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL&gt;</pre>
<p>Hmm&#8230; Lets recompile the Oracle binaries, it case something funny was going on with libraries. And then we will re-run our RMAN cli.</p>
<pre>[oracle@linux2 tns_admin]$ relink
writing relink log to: /opt/oracle/product/rhel4/database/11.2.0.2/home/install/relink.log
[oracle@linux2 tns_admin]$ <strong>rman</strong></pre>
<p>Hmm&#8230; still the same.</p>
<p>It turns out the there is Linux RMAN command as well, which is installed by <strong>xorg-x11-devel</strong> rpm package.</p>
<pre>[oracle@linux2 ~]$ <strong>which rman</strong>
/usr/X11R6/bin/rman
[oracle@linux2 bin]$ <strong>man rman</strong>
PolyglotMan(1)                                                                                                                                                    PolyglotMan(1)

NAME
       PolyglotMan, rman - reverse compile man pages from formatted form to a number of source formats
</pre>
<p>So lets run the actual Oracle RMAN command.</p>
<pre>[oracle@linux2 bin]$ $ORACLE_HOME/bin/rman

Recovery Manager: Release 11.2.0.2.0 - Production on Mon Jun 20 07:14:58 2011

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

RMAN&gt;</pre>
<p>So, moral of the story is set your PATH correctly. I hope someone will find it useful, in case their rman command is hung.</p>
<p>&nbsp;</p>
<br />Filed under: <a href='http://vishalgupta77.wordpress.com/category/linux/'>Linux</a>, <a href='http://vishalgupta77.wordpress.com/category/oracle/'>Oracle</a>, <a href='http://vishalgupta77.wordpress.com/category/oracle/backup/rman/'>RMAN</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vishalgupta77.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vishalgupta77.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vishalgupta77.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vishalgupta77.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vishalgupta77.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vishalgupta77.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vishalgupta77.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vishalgupta77.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vishalgupta77.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vishalgupta77.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vishalgupta77.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vishalgupta77.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vishalgupta77.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vishalgupta77.wordpress.com/372/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=372&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vishalgupta77.wordpress.com/2011/06/22/oracle-rman-command-prompt-hang/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/feea0c1a03e27f23072137c890836d22?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">vishalgupta77</media:title>
		</media:content>
	</item>
		<item>
		<title>Exadata Model Comparison</title>
		<link>http://vishalgupta77.wordpress.com/2011/06/19/exadata-model-comparison/</link>
		<comments>http://vishalgupta77.wordpress.com/2011/06/19/exadata-model-comparison/#comments</comments>
		<pubDate>Sun, 19 Jun 2011 20:06:13 +0000</pubDate>
		<dc:creator>Vishal Gupta</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Oracle Exadata]]></category>

		<guid isPermaLink="false">http://blog.vishalgupta.com/?p=340</guid>
		<description><![CDATA[Many times i find myself comparing various Oracle Exadata models. It becomes tedious to compare various data sheets for various Exadata models. So i have put together this spreadsheet (Exadata Model Comparison) for comparing various models in one glance. It gives following details and more. At Exadata level, number/model of compute nodes and cell nodes. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=340&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Many times i find myself comparing various Oracle Exadata models. It becomes tedious to compare various data sheets for various Exadata models. So i have put together this spreadsheet (<a title="Exadata Model Comparison" href="http://vishalgupta77.files.wordpress.com/2011/06/exadatamodelcomparison3.xls">Exadata Model Comparison</a>) for comparing various models in one glance.</p>
<p>It gives following details and more.</p>
<ul>
<li>At Exadata level,</li>
<ul>
<li>number/model of compute nodes and cell nodes.</li>
<li>number of Infiniband switches and their port count.</li>
<li>Key capabilities ( as per data sheets)</li>
</ul>
<li>For each database compute node and cell node.</li>
<ul>
<li>Server Model</li>
<li>CPU Type, CPU Speed, CPU Cores, CPU Threads</li>
<li>RAM</li>
<li>Network ports &#8211; type and count</li>
<li>Flash RAM (Smart Cache)</li>
<li>Disk types</li>
</ul>
</ul>
<p>I hope someone will find it useful.</p>
<p>Exadata Model Comparison Spreadsheet &#8211; <a href="http://vishalgupta77.files.wordpress.com/2011/06/exadatamodelcomparison3.xls">link</a></p>
<br />Filed under: <a href='http://vishalgupta77.wordpress.com/category/oracle/'>Oracle</a>, <a href='http://vishalgupta77.wordpress.com/category/oracle-exadata/'>Oracle Exadata</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vishalgupta77.wordpress.com/340/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vishalgupta77.wordpress.com/340/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vishalgupta77.wordpress.com/340/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vishalgupta77.wordpress.com/340/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vishalgupta77.wordpress.com/340/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vishalgupta77.wordpress.com/340/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vishalgupta77.wordpress.com/340/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vishalgupta77.wordpress.com/340/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vishalgupta77.wordpress.com/340/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vishalgupta77.wordpress.com/340/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vishalgupta77.wordpress.com/340/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vishalgupta77.wordpress.com/340/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vishalgupta77.wordpress.com/340/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vishalgupta77.wordpress.com/340/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=340&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vishalgupta77.wordpress.com/2011/06/19/exadata-model-comparison/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/feea0c1a03e27f23072137c890836d22?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">vishalgupta77</media:title>
		</media:content>
	</item>
		<item>
		<title>Predefined Oracle System Schemas</title>
		<link>http://vishalgupta77.wordpress.com/2011/06/19/predefined-oracle-system-schemas/</link>
		<comments>http://vishalgupta77.wordpress.com/2011/06/19/predefined-oracle-system-schemas/#comments</comments>
		<pubDate>Sun, 19 Jun 2011 19:21:33 +0000</pubDate>
		<dc:creator>Vishal Gupta</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://blog.vishalgupta.com/?p=333</guid>
		<description><![CDATA[If you have ever wondered what are the various predefined internal Oracle system schemas, you can find the list of such accounts and their use in Oracle® Database 2 Day + Security Guide 11g Release 2 (11.2) at this link. This list comes in handy, when you want to do some analysis on database objects, but want [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=333&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you have ever wondered what are the various predefined internal Oracle system schemas, you can find the list of such accounts and their use in <strong>Oracle® Database 2 Day + Security Guide<br />
11<em>g</em> Release 2 (11.2)</strong> at this <a href="http://download.oracle.com/docs/cd/E11882_01/server.112/e10575/tdpsg_user_accounts.htm#BABGEGFI">link</a>. This list comes in handy, when you want to do some analysis on database objects, but want to exclude all internal Oracle provided system accounts and want to focus only on application level accounts.</p>
<p>Here is the list of schemas:-</p>
<pre>ANONYMOUS
APEX_PUBLIC_USER
CTXSYS
DBSNMP
DIP
EXFSYS
FLOWS_%
FLOWS_FILES
LBACSYS
MDDATA
MDSYS
MGMT_VIEW
OLAPSYS
ORACLE_OCM
ORDDATA
ORDPLUGINS
ORDSYS
OUTLN
OWBSYS
SI_INFORMTN_SCHEMA
SPATIAL_CSW_ADMIN_USR
SPATIAL_WFS_ADMIN_USR
SYS
SYSMAN
SYSTEM
WKPROXY
WKSYS
WK_TEST
WMSYS
XDB
XS$NULL</pre>
<br />Filed under: <a href='http://vishalgupta77.wordpress.com/category/oracle/'>Oracle</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vishalgupta77.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vishalgupta77.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vishalgupta77.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vishalgupta77.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vishalgupta77.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vishalgupta77.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vishalgupta77.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vishalgupta77.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vishalgupta77.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vishalgupta77.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vishalgupta77.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vishalgupta77.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vishalgupta77.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vishalgupta77.wordpress.com/333/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=333&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vishalgupta77.wordpress.com/2011/06/19/predefined-oracle-system-schemas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/feea0c1a03e27f23072137c890836d22?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">vishalgupta77</media:title>
		</media:content>
	</item>
		<item>
		<title>Resizing disks on Linux</title>
		<link>http://vishalgupta77.wordpress.com/2011/03/12/resizing-disks-on-linux/</link>
		<comments>http://vishalgupta77.wordpress.com/2011/03/12/resizing-disks-on-linux/#comments</comments>
		<pubDate>Sat, 12 Mar 2011 19:42:41 +0000</pubDate>
		<dc:creator>Vishal Gupta</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.vishalgupta.com/blog/?p=264</guid>
		<description><![CDATA[RHEL 5.3 x64 disks On a RHEL OS using LVM volume manager, you can extend the underlying disk and its associated filesytem (non-root) can be extended while its mounted. Extend the underlying virtual/SAN disks. Check the size of disk #   fdisk -l Force the re-scan of disk, so that OS kernel can see the new [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=264&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>RHEL 5.3 x64 disks</strong></p>
<p>On a RHEL OS using LVM volume manager, you can extend the underlying disk and its associated filesytem (non-root) can be extended while its mounted.</p>
<ul>
<li>Extend the underlying virtual/SAN disks.</li>
</ul>
<ul>
<li>Check the size of disk</li>
</ul>
<p style="padding-left:60px;">#   fdisk -l</p>
<ul>
<li>Force the re-scan of disk, so that OS kernel can see the new size</li>
</ul>
<p style="padding-left:60px;"># echo 1 &gt; /sys/block/<strong>sdb</strong>/device/rescan</p>
<p style="padding-left:90px;">where disk extended was /dev/sdb</p>
<ul>
<li>Extend LVM physical volume size.</li>
</ul>
<p style="padding-left:60px;"># pvs</p>
<p style="padding-left:60px;"># pvresize /dev/sdb</p>
<p style="padding-left:60px;"># pvs</p>
<ul>
<li>Extend LVM logical volume</li>
</ul>
<p style="padding-left:60px;"># lvdisplay</p>
<p style="padding-left:60px;"># lvextend /dev/ora_vg/ora /dev/sdb</p>
<p style="padding-left:60px;"># lvdisplay</p>
<ul>
<li>Extend filesystem (online)</li>
</ul>
<p style="padding-left:60px;"># df –h</p>
<p style="padding-left:60px;"># resize2fs /dev/ora_vg/ora</p>
<p style="padding-left:60px;"># df –h</p>
<p>Filesystem is extended.</p>
<br />Filed under: <a href='http://vishalgupta77.wordpress.com/category/linux/'>Linux</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vishalgupta77.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vishalgupta77.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vishalgupta77.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vishalgupta77.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vishalgupta77.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vishalgupta77.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vishalgupta77.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vishalgupta77.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vishalgupta77.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vishalgupta77.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vishalgupta77.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vishalgupta77.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vishalgupta77.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vishalgupta77.wordpress.com/264/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=264&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vishalgupta77.wordpress.com/2011/03/12/resizing-disks-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/feea0c1a03e27f23072137c890836d22?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">vishalgupta77</media:title>
		</media:content>
	</item>
		<item>
		<title>Moving spfile between ASM and filesystem</title>
		<link>http://vishalgupta77.wordpress.com/2011/03/11/moving-spfile-between-asm-and-filesystem/</link>
		<comments>http://vishalgupta77.wordpress.com/2011/03/11/moving-spfile-between-asm-and-filesystem/#comments</comments>
		<pubDate>Fri, 11 Mar 2011 16:30:25 +0000</pubDate>
		<dc:creator>Vishal Gupta</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.vishalgupta.com/blog/?p=259</guid>
		<description><![CDATA[Normally in RAC, database instance spfile file is stored on ASM so that parameters remain consistent across the instance and all instance use the same spfile. For this sometimes init.ora has following parameter # cat $ORACLE_HOME/dbs/init&#60;ORACLE_SID&#62;.ora SPFILE='+DATA/ORACLESID/spfileORACLESID.ora'   Now if you want to move spfile between ASM and filesystem, here how you can do it. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=259&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-size:small;"><span style="font-family:Times New Roman;">Normally in RAC, database instance spfile file is stored on ASM so that parameters remain consistent across the instance and all instance use the same spfile.</span></span></p>
<p><span style="font-size:small;"><span style="font-family:Times New Roman;">For this sometimes init.ora has following parameter</span></span></p>
<pre># cat $ORACLE_HOME/dbs/init&lt;ORACLE_SID&gt;.ora
SPFILE='+DATA/ORACLESID/spfileORACLESID.ora'
 </pre>
<p><span style="font-family:Times New Roman;font-size:small;">Now if you want to move spfile between ASM and filesystem, here how you can do it.</span></p>
<p><span style="font-family:Times New Roman;font-size:small;"> </span></p>
<p><span style="font-family:Times New Roman;font-size:small;">From ASM -&gt; Filesystem</span></p>
<p><pre class="brush: plain;">&lt;/span&gt;
&lt;pre&gt;SQL&gt; CREATE pfile='/tmp/initORACLESID.ora' from spfile='+DATA/ORACLESID/spfileORACLESID.ora';
SQL&gt; CREATE SPFILE='/tmp/spfileORACLESID.ora' from pfile='/tmp/initORACLESID.ora';&lt;/pre&gt;
&lt;span style=&quot;font-family: Times New Roman; font-size: small;&quot;&gt; </pre></p>
<p><span style="font-family:Times New Roman;font-size:small;">From Filesystem -&gt; ASM </span></p>
<p><pre class="brush: plain;">&lt;/span&gt;
&lt;pre&gt;SQL&gt; CREATE pfile='/tmp/initORACLESID.ora' from spfile='$ORACLE_HOME/dbs/spfileORACLESID.ora';
SQL&gt; CREATE SPFILE='+DATA/ORACLESID/spfileORACLESID.ora' from pfile='/tmp/initORACLESID.ora';&lt;/pre&gt;
</pre></p>
<br />Filed under: <a href='http://vishalgupta77.wordpress.com/category/oracle/'>Oracle</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vishalgupta77.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vishalgupta77.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vishalgupta77.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vishalgupta77.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vishalgupta77.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vishalgupta77.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vishalgupta77.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vishalgupta77.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vishalgupta77.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vishalgupta77.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vishalgupta77.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vishalgupta77.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vishalgupta77.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vishalgupta77.wordpress.com/259/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=259&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vishalgupta77.wordpress.com/2011/03/11/moving-spfile-between-asm-and-filesystem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/feea0c1a03e27f23072137c890836d22?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">vishalgupta77</media:title>
		</media:content>
	</item>
		<item>
		<title>Linux auto start/stop scripts</title>
		<link>http://vishalgupta77.wordpress.com/2010/05/17/linux-auto-start-stop-scripts/</link>
		<comments>http://vishalgupta77.wordpress.com/2010/05/17/linux-auto-start-stop-scripts/#comments</comments>
		<pubDate>Mon, 17 May 2010 21:43:18 +0000</pubDate>
		<dc:creator>Vishal Gupta</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.vishalgupta.com/blog/?p=203</guid>
		<description><![CDATA[Normally DBAs and SAs have a tendency to create the auto start/stop scripts like following. # cat /etc/init.d/oracle case $1 in start) /opt/oracle/product/11.1.0/bin/dbstart; ;; stop) /opt/oracle/product/11.1.0/bin/dbshut; ;; esac # ln -s /etc/init.d/Oracle /etc/rc.d/rc0.d/K01oracle # ln -s /etc/init.d/Oracle /etc/rc.d/rc3.d/S99oracle # ln -s /etc/init.d/Oracle /etc/rc.d/rc4.d/S99oracle # ln -s /etc/init.d/Oracle /etc/rc.d/rc5.d/S99oracle # ln -s /etc/init.d/Oracle /etc/rc.d/rc6.d/K01oracle This works [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=203&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Normally DBAs and SAs have a tendency to create the  auto start/stop scripts like following.</p>
<pre># cat /etc/init.d/oracle
case $1 in
start)
 /opt/oracle/product/11.1.0/bin/dbstart;
 ;;
stop)
 /opt/oracle/product/11.1.0/bin/dbshut;
 ;;
esac

# ln -s /etc/init.d/Oracle /etc/rc.d/rc0.d/K01oracle
# ln -s /etc/init.d/Oracle /etc/rc.d/rc3.d/S99oracle
# ln -s /etc/init.d/Oracle /etc/rc.d/rc4.d/S99oracle
# ln -s /etc/init.d/Oracle /etc/rc.d/rc5.d/S99oracle
# ln -s /etc/init.d/Oracle /etc/rc.d/rc6.d/K01oracle
</pre>
<p>This works fine on non-Linux operating systems. But on Linux operating system, there is an requirement to for start/stop script to create/remove a /var/lock/subsys/ file, where  is name of the file in /etc/init.d. This ensures that, when <strong>init</strong> is changing runlevel as part of server start and stop routine, a service which is already started does not start again. And a service which is already stopped does not stop again. If /var/lock/subsys/ is not created then inspite of K(ill) symbolic links being present in rc*.d folder for runlevel zero (halt) and 6 (reboot), stop script is not called. This means process are <strong>killed </strong>instead of being shutdown cleanly by your stop script.</p>
<p>On Linux Operating system, start/stop functions for a service init.d script should look like below. Important part is highlighted in <span style="color:#ff0000;"><em><strong>red</strong></em></span> below</p>
<p># chkconfig: 2345 99 01</p>
<pre># description: This script start/stop Oracle

case $1 in
start)
   /opt/oracle/product/11.1.0/bin/dbstart;
    <span style="color:#ff0000;"><strong>touch /var/lock/subsys/Oracle;</strong></span>
    # where  is same as name of file in /etc/init.d
    ;;
stop)
    /opt/oracle/product/11.1.0/bin/dbshut;
    <strong><span style="color:#ff0000;">rm –f /var/lock/subsys/Oracle; </span></strong>
    ;;
esac

# ln -s /etc/init.d/Oracle /etc/rc.d/rc0.d/K01oracle
# ln -s /etc/init.d/Oracle /etc/rc.d/rc3.d/S99oracle
# ln -s /etc/init.d/Oracle /etc/rc.d/rc4.d/S99oracle
# ln -s /etc/init.d/Oracle /etc/rc.d/rc5.d/S99oracle
# ln -s /etc/init.d/Oracle /etc/rc.d/rc6.d/K01oracle
</pre>
<p>This applies to not only oracle but <strong>all</strong> start/stop created for init.d on Linux.</p>
<p>This requirement to create subsystem lock file in /var/lock/subsys can  be verified by looking at /etc/rc script, which is called everytime  there  is runlevel change. See below the portion of /etc/rc script which is checking for presense of /var/lock/subsys/ file before calling Kill/stop scripts.</p>
<pre># First, run the KILL scripts.
for i in /etc/rc$runlevel.d/K* ; do
   check_runlevel "$i" || continue

   # Check if the subsystem is already up.
   subsys=${i#/etc/rc$runlevel.d/K??}
   [ -f /var/lock/subsys/$subsys -o -f /var/lock/subsys/$subsys.init ] \
    || continue

   # Bring the subsystem down.
   if LC_ALL=C egrep -q "^..*init.d/functions" $i ; then
      $i stop
   else
      action $"Stopping $subsys: " $i stop
   fi
done
</pre>
<br />Filed under: <a href='http://vishalgupta77.wordpress.com/category/linux/'>Linux</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vishalgupta77.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vishalgupta77.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vishalgupta77.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vishalgupta77.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vishalgupta77.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vishalgupta77.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vishalgupta77.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vishalgupta77.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vishalgupta77.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vishalgupta77.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vishalgupta77.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vishalgupta77.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vishalgupta77.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vishalgupta77.wordpress.com/203/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=203&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vishalgupta77.wordpress.com/2010/05/17/linux-auto-start-stop-scripts/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<georss:point>51.590194 -0.341381</georss:point>
		<geo:lat>51.590194</geo:lat>
		<geo:long>-0.341381</geo:long>
		<media:content url="http://1.gravatar.com/avatar/feea0c1a03e27f23072137c890836d22?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">vishalgupta77</media:title>
		</media:content>
	</item>
		<item>
		<title>V$SQL_HINT</title>
		<link>http://vishalgupta77.wordpress.com/2009/05/02/vsql_hint/</link>
		<comments>http://vishalgupta77.wordpress.com/2009/05/02/vsql_hint/#comments</comments>
		<pubDate>Sat, 02 May 2009 20:17:26 +0000</pubDate>
		<dc:creator>Vishal Gupta</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.vishalgupta.com/blog/?p=134</guid>
		<description><![CDATA[In case you wanted to know which Oracle version a particular SQL hint is applicable in or was introduced in. You can query V$SQL_HINT introduced in 11g for that. It holds even historical information. Column “version” gives oracle version in which a particular hint was introduced and version_outline probably gives upto which version upto which [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=134&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In case you wanted to know which Oracle version a particular SQL hint is applicable in or was introduced in. You can query V$SQL_HINT introduced in 11g for that. It holds even historical information. Column “version” gives oracle version in which a particular hint was introduced and version_outline probably gives upto which version upto which it is applicable.</p>
<p class="MsoNormal">[<strong>Update</strong>:2009-05-03 : Jonathan Lewis mentioned in a email to me that version_outline gives version in which a particular hint can be used in an outline. ]</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">This even has a column to give you inverse of an hint.</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">This view is a undocumented view.</p>
<p class="MsoNormal">&nbsp;</p>
<pre>SQL&gt; desc v$sql_hint
Name                                      Null?    Type
----------------------------------------- -------- ----------------------------
NAME                                               VARCHAR2(64)
SQL_FEATURE                                        VARCHAR2(64)
CLASS                                              VARCHAR2(64)
INVERSE                                            VARCHAR2(64)
TARGET_LEVEL                                       NUMBER
PROPERTY                                           NUMBER
VERSION                                            VARCHAR2(25)
VERSION_OUTLINE                                    VARCHAR2(25)
</pre>
<br />Posted in Oracle  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vishalgupta77.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vishalgupta77.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vishalgupta77.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vishalgupta77.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vishalgupta77.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vishalgupta77.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vishalgupta77.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vishalgupta77.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vishalgupta77.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vishalgupta77.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vishalgupta77.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vishalgupta77.wordpress.com/134/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vishalgupta77.wordpress.com/134/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vishalgupta77.wordpress.com/134/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=134&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vishalgupta77.wordpress.com/2009/05/02/vsql_hint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/feea0c1a03e27f23072137c890836d22?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">vishalgupta77</media:title>
		</media:content>
	</item>
		<item>
		<title>Log File Write And Waits</title>
		<link>http://vishalgupta77.wordpress.com/2008/12/02/log-file-write-and-waits/</link>
		<comments>http://vishalgupta77.wordpress.com/2008/12/02/log-file-write-and-waits/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 21:12:12 +0000</pubDate>
		<dc:creator>Vishal Gupta</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Performance]]></category>

		<guid isPermaLink="false">http://www.vishalgupta.com/blog/?p=120</guid>
		<description><![CDATA[Here are some interesting articles regarding log file writing and associated I/O waits. Jonanthan Lewis &#8211; Log File Write Riyaj Shamsudeen &#8211; Log file sync tuning Christian Bilien &#8211; Log file sync wait Posted in Oracle, Performance<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=120&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here are some interesting articles regarding log file writing and associated I/O waits.</p>
<p>Jonanthan Lewis &#8211; <a title="Log File Write" href="http://jonathanlewis.wordpress.com/2008/11/28/log-file-write/" target="_self">Log File Write</a></p>
<p>Riyaj Shamsudeen &#8211; <a title="Log File Synch Tuning" href="http://orainternals.wordpress.com/2008/11/24/log-file-synch-tuning-2/">Log file sync tuning</a></p>
<p>Christian Bilien &#8211; <a href="http://christianbilien.wordpress.com/2008/02/12/the-%e2%80%9clog-file-sync%e2%80%9d-wait-event-is-not-always-spent-waiting-for-an-io/">Log file sync wait</a></p>
<br />Posted in Oracle, Performance  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vishalgupta77.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vishalgupta77.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vishalgupta77.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vishalgupta77.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vishalgupta77.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vishalgupta77.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vishalgupta77.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vishalgupta77.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vishalgupta77.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vishalgupta77.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vishalgupta77.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vishalgupta77.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vishalgupta77.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vishalgupta77.wordpress.com/120/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=120&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vishalgupta77.wordpress.com/2008/12/02/log-file-write-and-waits/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/feea0c1a03e27f23072137c890836d22?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">vishalgupta77</media:title>
		</media:content>
	</item>
		<item>
		<title>Slow Statspack Snapshots</title>
		<link>http://vishalgupta77.wordpress.com/2008/10/10/slow-statspack-snapshots/</link>
		<comments>http://vishalgupta77.wordpress.com/2008/10/10/slow-statspack-snapshots/#comments</comments>
		<pubDate>Fri, 10 Oct 2008 15:24:29 +0000</pubDate>
		<dc:creator>Vishal Gupta</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[Statspack]]></category>

		<guid isPermaLink="false">http://www.vishalgupta.com/blog/?p=112</guid>
		<description><![CDATA[  For quite some time we had been experiencing slow statspack snapshots, taking about 300sec. In a worst case scenario it took 7 hours. My colleague was investigating it, it turned out that on this particular database &#8220;_optimizer_ignore_hints&#8221; was set to true. So it was ignoring all the optimization put in by Oracle in statspack [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=112&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"><span style="font-family:Times New Roman;"><span style="font-size:12pt;color:#000000;"> </span></span></p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"><span style="font-size:10pt;color:#000000;font-family:&quot;">For quite some time we had been experiencing slow statspack snapshots, taking about 300sec. In a worst case scenario it took 7 hours. My colleague was investigating it, it turned out that on this particular database &#8220;_optimizer_ignore_hints&#8221; was set to true. So it was ignoring all the optimization put in by Oracle in statspack snapshot code.</span></p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"><span style="font-size:10pt;color:#000000;font-family:&quot;"> </span></p>
<div></div>
<p><span style="font-size:10pt;color:#000000;font-family:&quot;"></p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"><span style="text-decoration:underline;"><span style="font-size:10pt;color:#000000;font-family:&quot;">Environment</span></span></p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"><span style="font-size:10pt;color:#000000;font-family:&quot;">OS – Linux</span></p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"><span style="font-size:10pt;color:#000000;font-family:&quot;">Database – 10.2.0.3 </span></p>
<div></div>
<p><span style="font-size:10pt;color:#000000;font-family:&quot;"></p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"> </p>
<p> </p>
<p></span></span></p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"> </p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"> </p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"><strong><span style="text-decoration:underline;"><span style="font-size:10pt;color:#000000;font-family:&quot;">Disable Optimizer Hints </span></span></strong></p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"><span style="font-size:10pt;color:#000000;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"><span style="font-size:10pt;color:#000000;font-family:&quot;">SQL&gt; set timing on</span></p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"><span style="font-size:10pt;color:#000000;font-family:&quot;">SQL&gt; alter session set &#8220;_optimizer_ignore_hints&#8221; = true;</span></p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"><span style="font-size:10pt;color:#000000;font-family:&quot;">Session altered.</span></p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"><span style="font-size:10pt;color:#000000;font-family:&quot;">Elapsed: 00:00:00.03</span></p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"><span style="font-size:10pt;color:#000000;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"><span style="font-size:10pt;color:#000000;font-family:&quot;">SQL&gt; exec statspack.snap</span></p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"><span style="font-size:10pt;color:#000000;font-family:&quot;">PL/SQL procedure successfully completed.</span></p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"><span style="font-size:10pt;color:#000000;font-family:&quot;">Elapsed: 00:00:<span style="background:yellow;">20.73</span></span></p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"><span style="font-size:10pt;color:#000000;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"><span style="font-size:10pt;color:#000000;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"><strong><span style="text-decoration:underline;"><span style="font-size:10pt;color:#000000;font-family:&quot;">Enable Optimizer Hints</span></span></strong></p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"><span style="font-size:10pt;color:#000000;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"><span style="font-size:10pt;color:#000000;font-family:&quot;">SQL&gt; alter session set &#8220;_optimizer_ignore_hints&#8221; = false;</span></p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"><span style="font-size:10pt;color:#000000;font-family:&quot;">Session altered.</span></p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"><span style="font-size:10pt;color:#000000;font-family:&quot;">Elapsed: 00:00:00.01</span></p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"><span style="font-size:10pt;color:#000000;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"><span style="font-size:10pt;color:#000000;font-family:&quot;">SQL&gt; exec statspack.snap</span></p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"><span style="font-size:10pt;color:#000000;font-family:&quot;">PL/SQL procedure successfully completed.</span></p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"><span style="font-size:10pt;color:#000000;font-family:&quot;">Elapsed: 00:00:<span style="background:yellow;">01.75</span></span></p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"><span style="font-size:10pt;color:#000000;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"><span style="font-size:10pt;color:#000000;font-family:&quot;">SQL&gt; exec statspack.snap</span></p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"><span style="font-size:10pt;color:#000000;font-family:&quot;">PL/SQL procedure successfully completed.</span></p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"><span style="font-size:10pt;color:#000000;font-family:&quot;">Elapsed: 00:00:<span style="background:yellow;">01.32</span></span></p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"> </p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"> </p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"> </p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"><span style="font-size:10pt;color:#000000;font-family:&quot;"><span style="background:yellow;"><span style="background-color:#ffffff;">Nobody knows why this parameter was set at instance level. DBA who was handling these databases has left. We will follow up with the vendor, if there is no specific reason to disable optimizer hints then <span style="font-size:10pt;color:#000000;font-family:&quot;">_optimizer_ignore_hints </span>hidden parameter will removed from init.ora. For the time being statspack snapshot dbms job has been altered to include following statements.</span></span></span></p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"> </p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"><span style="font-size:10pt;color:#000000;font-family:&quot;"><span style="background:yellow;"><span style="background-color:#ffffff;">alter session set &#8220;_optimizer_ignore_hints&#8221; = false;</span></span></span></p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"><span style="font-size:10pt;color:#000000;font-family:&quot;"><span style="background:yellow;"><span style="background-color:#ffffff;">statspack.snap;</span></span></span></p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"> </p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"> </p>
<p class="MsoNormal" style="background:white;line-height:normal;margin:0;"> </p>
<br />Posted in Oracle, Performance, Statspack  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vishalgupta77.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vishalgupta77.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vishalgupta77.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vishalgupta77.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vishalgupta77.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vishalgupta77.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vishalgupta77.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vishalgupta77.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vishalgupta77.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vishalgupta77.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vishalgupta77.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vishalgupta77.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vishalgupta77.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vishalgupta77.wordpress.com/112/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=112&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vishalgupta77.wordpress.com/2008/10/10/slow-statspack-snapshots/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/feea0c1a03e27f23072137c890836d22?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">vishalgupta77</media:title>
		</media:content>
	</item>
		<item>
		<title>Loading File into a Blob</title>
		<link>http://vishalgupta77.wordpress.com/2008/09/23/loading-file-into-a-blob/</link>
		<comments>http://vishalgupta77.wordpress.com/2008/09/23/loading-file-into-a-blob/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 10:07:36 +0000</pubDate>
		<dc:creator>Vishal Gupta</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.vishalgupta.com/?p=105</guid>
		<description><![CDATA[&#160; Yesterday I received a request from a developer to load file into a BLOB. To be honest I have never loaded a file into a BLOB in past. I had some idea that I would have to use DBMS_LOB pl/sql package to achieve this. Here are the steps to do this. 1. Create an [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=105&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="margin:0;">&nbsp;</p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:12pt;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:&quot;">Yesterday I received a request from a developer to load file into a BLOB. To be honest I have never loaded a file into a BLOB in past. I had some idea that I would have to use DBMS_LOB pl/sql package to achieve this. </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;font-family:&quot;">Here are the steps to do this.</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:9pt;font-family:&quot;"> </span></p>
<p class="MsoListParagraphCxSpFirst" style="text-indent:-18pt;margin:0 0 0 18pt;"><span style="font-size:9pt;font-family:&quot;"><span>1.<span style="font-family:&quot;"> </span></span></span><span style="font-size:10pt;font-family:&quot;">Create an oracle directory object.</span></p>
<p class="MsoListParagraphCxSpFirst" style="text-indent:-18pt;margin:0 0 0 18pt;"><span style="font-size:10pt;font-family:&quot;"><br />
</span></p>
<p class="MsoListParagraphCxSpLast" style="margin:0 0 0 18pt;"><span><span style="font-size:small;font-family:Times New Roman;"> </span></span></p>
<table class="MsoTableGrid" style="background:#e5e5e5;border-collapse:collapse;margin:auto auto auto 18pt;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="background-color:transparent;width:464.4pt;border:black 1pt solid;padding:0 5.4pt;" width="619" valign="top">
<p class="MsoNormal" style="margin:0;"><span style="font-size:9pt;"><span style="font-family:Times New Roman;"> </span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:9pt;font-family:&quot;">create directory tmp as &#8216;/tmp&#8217;;</span></p>
<p class="MsoNormal" style="margin:0;"><span><span style="font-size:small;font-family:Times New Roman;"> </span></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoListParagraphCxSpFirst" style="margin:0 0 0 18pt;"><span><span style="font-size:small;font-family:Times New Roman;"> </span></span></p>
<p class="MsoListParagraphCxSpMiddle" style="text-indent:-18pt;margin:0 0 0 18pt;">&nbsp;</p>
<p class="MsoListParagraphCxSpMiddle" style="text-indent:-18pt;margin:0 0 0 18pt;"><span style="font-size:10pt;font-family:&quot;"><span>2.<span style="font-family:&quot;"> </span></span></span><span style="font-size:10pt;font-family:&quot;">Load the file into BLOB</span></p>
<p class="MsoListParagraphCxSpMiddle" style="text-indent:-18pt;margin:0 0 0 18pt;"><span style="font-size:10pt;font-family:&quot;"><br />
</span></p>
<p class="MsoListParagraphCxSpLast" style="margin:0 0 0 18pt;"><span><span style="font-size:small;font-family:Times New Roman;"> </span></span></p>
<p class="MsoListParagraphCxSpLast" style="margin:0 0 0 18pt;"><span> </span></p>
<table class="MsoTableGrid" style="background:#e5e5e5;border-collapse:collapse;margin:auto auto auto 18pt;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="background-color:transparent;width:464.4pt;border:black 1pt solid;padding:0 5.4pt;" width="619" valign="top">
<p class="MsoNormal" style="margin:0;"><span><span style="font-size:small;font-family:Times New Roman;"> </span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:9pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:9pt;font-family:&quot;">DECLARE</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:9pt;font-family:&quot;"><span> </span>l_blob<span> </span>BLOB;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:9pt;font-family:&quot;"><span> </span>l_bfile BFILE;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:9pt;font-family:&quot;"><span> </span>l_offset_dest INTEGER :=1;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:9pt;font-family:&quot;"><span> </span>l_offset_src INTEGER :=1;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:9pt;font-family:&quot;">BEGIN</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:9pt;font-family:&quot;"><span> </span>/* Get a BFILE pointer to OS file. */</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:9pt;font-family:&quot;"><span> </span><span> </span>SELECT bfilename (&#8216;TMP&#8217;,'CLIENT_CUST_BLEUPRINT.xml&#8217;) </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:9pt;font-family:&quot;"><span> </span><span> </span><span> </span><span> </span>INTO l_bfile </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:9pt;font-family:&quot;"><span> </span><span> </span><span> </span><span> </span>FROM dual;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:9pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:9pt;font-family:&quot;"><span> </span>/* Open the BFILE */ <span> </span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:9pt;font-family:&quot;"><span> </span><span> </span><span> </span><span> </span>DBMS_LOB.FILEOPEN(l_bfile);</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:9pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:9pt;font-family:&quot;"><span> </span>/* Initialize the BLOB */ <span> </span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:9pt;font-family:&quot;"><span> </span><span> </span><span> </span>DBMS_LOB.CREATETEMPORARY(l_blob,TRUE);</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:9pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:9pt;font-family:&quot;"><span> </span>DBMS_LOB.LOADBLOBFROMFILE(dest_lob =&gt; l_blob</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:9pt;font-family:&quot;"><span> </span><span> </span><span> </span>,src_bfile =&gt; l_bfile</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:9pt;font-family:&quot;"><span> </span><span> </span><span> </span><span> </span><span> </span>,amount =&gt; DBMS_LOB.LOBMAXSIZE </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:9pt;font-family:&quot;"><span> </span><span> </span><span> </span><span> </span><span> </span>,dest_offset =&gt; l_offset_dest</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:9pt;font-family:&quot;"><span> </span><span> </span><span> </span>,src_offset =&gt; l_offset_src</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:9pt;font-family:&quot;"><span> </span><span> </span><span> </span>);</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:9pt;font-family:&quot;"><span> </span>update table1</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:9pt;font-family:&quot;"><span> </span><span> </span>set col1 = l_blob;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:9pt;font-family:&quot;"><span> </span>commit;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:9pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:9pt;font-family:&quot;"><span> </span>/* Close the BFILE */ <span> </span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:9pt;font-family:&quot;"><span> </span><span> </span>dbms_lob.FILECLOSE(l_bfile);</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:9pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:9pt;font-family:&quot;">end;</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:9pt;font-family:&quot;">/</span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoListParagraph" style="margin:0 0 0 18pt;">&nbsp;</p>
<br />Posted in Oracle  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vishalgupta77.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vishalgupta77.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vishalgupta77.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vishalgupta77.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vishalgupta77.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vishalgupta77.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vishalgupta77.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vishalgupta77.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vishalgupta77.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vishalgupta77.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vishalgupta77.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vishalgupta77.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vishalgupta77.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vishalgupta77.wordpress.com/105/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=105&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vishalgupta77.wordpress.com/2008/09/23/loading-file-into-a-blob/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/feea0c1a03e27f23072137c890836d22?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">vishalgupta77</media:title>
		</media:content>
	</item>
		<item>
		<title>Slow drop user</title>
		<link>http://vishalgupta77.wordpress.com/2008/08/24/slow-drop-user/</link>
		<comments>http://vishalgupta77.wordpress.com/2008/08/24/slow-drop-user/#comments</comments>
		<pubDate>Sun, 24 Aug 2008 02:04:08 +0000</pubDate>
		<dc:creator>Vishal Gupta</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Performance]]></category>

		<guid isPermaLink="false">http://vishalgupta.com/blog/?p=15</guid>
		<description><![CDATA[For past 3 weeks i was covering for a project dedicated DBA who had gone on leave for 3 weeks (some people are just lucky). Its an Oracle Peoplesoft General Ledger application on Oracle 10.2.0.3 database. Lot of copies of application are hosted in same database as multiple copies for different stages of software lifecyle. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=15&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For past 3 weeks i was covering for a project dedicated DBA who had gone on leave for 3 weeks (some people are just lucky). Its an Oracle Peoplesoft General Ledger application on Oracle 10.2.0.3 database. Lot of copies of application are hosted in same database as multiple copies for different stages of software lifecyle.</p>
<p>I was asked by application team to refresh 6 schemas from 2 other schemas over the weekend. How hard could it be I thought? Seemed like a simple request. Just take a datapump export of source schema, drop the destination schema and import using datapump with remapped schema and tablespace names.</p>
<p>So i set out exporting source schemas, it was taking more than usual. But i did not pay too much attention as i was very busy and it eventually finished in couple of hours. So onto next job of dropping existing users. Now this is where real problem started. Simple &#8220;drop user cascade;&#8221; had been running for more than 1 hour. I looked at database session was doing &#8220;db sequential read&#8221;. Session wait sequence was changing every now and then, which suggests that it was doing sequential read again and again for different data. So I started an 10046 trace of session.</p>
<p>It turns out that peoplesoft had about 100,000 objects for each copy. And this database had 10 copies of it. So there were over 1 million objects (tables, indexes, views etc) in the database !!! Thats a huge number of objects for a database. On top that there were some old master datapump import tables in SYSTEM tables, which were over 1GB each. So SYSTEM tablespace was also 23GB in size. That got me even more suspicious. For each import job of each copy, datapump was creating over 1GB size master table. And it was not cleaning up the master tables somehow. I tried to attach to dp jobs, but could not attach to them as they were not running. So only way to get rid of them was to drop the datapump master table for all old jobs. That reduced the size of SYSTEM tablespace. But it still did not speed up the drop user command. It was still running for over 24 hours. Trace of drop user session showed that session was doing fetch on obj$ table after dropping each object to get next get object details. And this was slowing things down.</p>
<p>Ultimately i generated the a script to drop all (100,000) objects individually and ran it. After that i dropped user with no objects. It reduced the 24 hours to 45 minutes to get rid of the user.</p>
<p>This definitely looks like the inefficient code of &#8220;DROP USER CASCADE;&#8221; command. I would be raising an TAR with oracle to see what they have to say about it.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/vishalgupta77.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/vishalgupta77.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vishalgupta77.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vishalgupta77.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vishalgupta77.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vishalgupta77.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vishalgupta77.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vishalgupta77.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vishalgupta77.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vishalgupta77.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vishalgupta77.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vishalgupta77.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vishalgupta77.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vishalgupta77.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vishalgupta77.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vishalgupta77.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=15&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vishalgupta77.wordpress.com/2008/08/24/slow-drop-user/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/feea0c1a03e27f23072137c890836d22?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">vishalgupta77</media:title>
		</media:content>
	</item>
		<item>
		<title>My first post</title>
		<link>http://vishalgupta77.wordpress.com/2008/08/23/my-first-post/</link>
		<comments>http://vishalgupta77.wordpress.com/2008/08/23/my-first-post/#comments</comments>
		<pubDate>Sat, 23 Aug 2008 17:53:30 +0000</pubDate>
		<dc:creator>Vishal Gupta</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://vishalgupta.com/wordpress/?p=3</guid>
		<description><![CDATA[Finally i managed to start my own blog. I had been thinking about starting my own blog on my website for some time. But somehow it never took off. I am pleased that its up and running&#8230;. Watch this space for some interesting oracle reading.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=3&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Finally i managed to start my own blog. I had been thinking about starting my own blog on my website for some time. But somehow it never took off. I am pleased that its up and running&#8230;.</p>
<p>Watch this space for some interesting oracle reading.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/vishalgupta77.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/vishalgupta77.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vishalgupta77.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vishalgupta77.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vishalgupta77.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vishalgupta77.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vishalgupta77.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vishalgupta77.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vishalgupta77.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vishalgupta77.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vishalgupta77.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vishalgupta77.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vishalgupta77.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vishalgupta77.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vishalgupta77.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vishalgupta77.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vishalgupta77.wordpress.com&amp;blog=15316139&amp;post=3&amp;subd=vishalgupta77&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vishalgupta77.wordpress.com/2008/08/23/my-first-post/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/feea0c1a03e27f23072137c890836d22?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif&#38;r=G" medium="image">
			<media:title type="html">vishalgupta77</media:title>
		</media:content>
	</item>
	</channel>
</rss>
