<?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</title>
	<atom:link href="http://www.bestremotedba.com/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>replace comma with new line in editor</title>
		<link>http://www.bestremotedba.com/replace-comma-with-new-line-in-editor/</link>
		<comments>http://www.bestremotedba.com/replace-comma-with-new-line-in-editor/#comments</comments>
		<pubDate>Mon, 28 Nov 2011 03:24:35 +0000</pubDate>
		<dc:creator>mudhalvan</dc:creator>
				<category><![CDATA[Database Administration]]></category>
		<category><![CDATA[How to replace a bulk comma with new line in an Editor?]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=1197</guid>
		<description><![CDATA[How to replace a bulk comma with new line in an Editor?
]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>How to replace a bulk comman with new line in an Editor?</p>
<p>   We can easily do it in Winword. Use the replace tool to search for &#8220;,&#8221; and replace with &#8220;^l&#8221;</p>
<p>&nbsp;</p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/replace-comma-with-new-line-in-editor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>rman backup at different directory</title>
		<link>http://www.bestremotedba.com/rman-backup-at-different-directory/</link>
		<comments>http://www.bestremotedba.com/rman-backup-at-different-directory/#comments</comments>
		<pubDate>Wed, 09 Nov 2011 03:23:52 +0000</pubDate>
		<dc:creator>anilkr25</dc:creator>
				<category><![CDATA[Database Administration]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=1038</guid>
		<description><![CDATA[rman backup at different directory structure .then how can recover and restore datafile and logfile]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>rman backup at different directory structure .then how can recover and restore datafile and logfile</p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/rman-backup-at-different-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>please reply me .</title>
		<link>http://www.bestremotedba.com/please-reply-me/</link>
		<comments>http://www.bestremotedba.com/please-reply-me/#comments</comments>
		<pubDate>Wed, 09 Nov 2011 03:21:11 +0000</pubDate>
		<dc:creator>sushiltewatia</dc:creator>
				<category><![CDATA[Database Administration]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=919</guid>
		<description><![CDATA[1. which dbms package we can use in mount mode.. 2. how to exculde table during stats gather with dbms package]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>1. which dbms package we can use in mount mode..<br />
2. how to exculde table during stats gather with dbms package</p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/please-reply-me/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Informatica Interview Questions and Answers</title>
		<link>http://www.bestremotedba.com/informatica-interview-questions-and-answers/</link>
		<comments>http://www.bestremotedba.com/informatica-interview-questions-and-answers/#comments</comments>
		<pubDate>Wed, 09 Nov 2011 03:17:35 +0000</pubDate>
		<dc:creator>mudhalvan</dc:creator>
				<category><![CDATA[Informatica]]></category>
		<category><![CDATA[Oracle DBA Interview Questions]]></category>
		<category><![CDATA[Informatica Interview Questions]]></category>
		<category><![CDATA[Informatica Interview Questions and Answers]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=1070</guid>
		<description><![CDATA[Informatica Interview Questions and Answers]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>Q. What type of repositories can be created using Informatica Repository Manager?</p>
<p>A. Informatica PowerCenter includeds following type of repositories :</p>
<p>•Standalone Repository : A repository that functions individually and this is unrelated to any other repositories.<br />
•Global Repository : This is a centralized repository in a domain. This repository can contain shared objects across the repositories in a domain. The objects are shared through global shortcuts.<br />
•Local Repository : Local repository is within a domain and it’s not a global repository. Local repository can connect to a global repository using global shortcuts and can use objects in it’s shared folders.<br />
•Versioned Repository : This can either be local or global repository but it allows version control for the repository. A versioned repository can store multiple copies, or versions of an object. This features allows to efficiently develop, test and deploy metadata in the production environment.<br />
Q. What is a code page?</p>
<p>A. A code page contains encoding to specify characters in a set of one or more languages. The code page is selected based on source of the data. For example if source contains Japanese text then the code page should be selected to support Japanese text.</p>
<p>When a code page is chosen, the program or application for which the code page is set, refers to a specific set of data that describes the characters the application recognizes. This influences the way that application stores, receives, and sends character data.</p>
<p>Q. Which all databases PowerCenter Server on Windows can connect to?</p>
<p>A. PowerCenter Server on Windows can connect to following databases:</p>
<p>•IBM DB2<br />
•Informix<br />
•Microsoft Access<br />
•Microsoft Excel<br />
•Microsoft SQL Server<br />
•Oracle<br />
•Sybase<br />
•Teradata<br />
Q. Which all databases PowerCenter Server on UNIX can connect to?</p>
<p>A. PowerCenter Server on UNIX can connect to following databases:</p>
<p>•IBM DB2<br />
•Informix<br />
•Oracle<br />
•Sybase<br />
•Teradata</p>
<p>Informatica Mapping Designer<br />
Q. How to execute PL/SQL script from Informatica mapping?</p>
<p>A. Stored Procedure (SP) transformation can be used to execute PL/SQL Scripts. In SP Transformation PL/SQL procedure name can be specified. Whenever the session is executed, the session will call the pl/sql procedure.</p>
<p>Q. How can you define a transformation? What are different types of transformations available in Informatica?</p>
<p>A. A transformation is a repository object that generates, modifies, or passes data. The Designer provides a set of transformations that perform specific functions. For example, an Aggregator transformation performs calculations on groups of data. Below are the various transformations available in Informatica:<br />
•Aggregator<br />
•Application Source Qualifier<br />
•Custom<br />
•Expression<br />
•External Procedure<br />
•Filter<br />
•Input<br />
•Joiner<br />
•Lookup<br />
•Normalizer<br />
•Output<br />
•Rank<br />
•Router<br />
•Sequence Generator<br />
•Sorter<br />
•Source Qualifier<br />
•Stored Procedure<br />
•Transaction Control<br />
•Union<br />
•Update Strategy<br />
•XML Generator<br />
•XML Parser<br />
•XML Source Qualifier</p>
<p>Q. What is a source qualifier? What is meant by Query Override?</p>
<p>A. Source Qualifier represents the rows that the PowerCenter Server reads from a relational or flat file source when it runs a session. When a relational or a flat file source definition is added to a mapping, it is connected to a Source Qualifier transformation.</p>
<p>PowerCenter Server generates a query for each Source Qualifier Transformation whenever it runs the session. The default query is SELET statement containing all the source columns. Source Qualifier has capability to override this default query by changing the default settings of the transformation properties. The list of selected ports or the order they appear in the default query should not be changed in overridden query.</p>
<p>Q. What is aggregator transformation?</p>
<p>A. The Aggregator transformation allows performing aggregate calculations, such as averages and sums. Unlike Expression Transformation, the Aggregator transformation can only be used to perform calculations on groups. The Expression transformation permits calculations on a row-by-row basis only.</p>
<p>Aggregator Transformation contains group by ports that indicate how to group the data. While grouping the data, the aggregator transformation outputs the last row of each group unless otherwise specified in the transformation properties.</p>
<p>Various group by functions available in Informatica are : AVG, COUNT, FIRST, LAST, MAX, MEDIAN, MIN, PERCENTILE, STDDEV, SUM, VARIANCE.</p>
<p>Q. What is Incremental Aggregation?</p>
<p>A. Whenever a session is created for a mapping Aggregate Transformation, the session option for Incremental Aggregation can be enabled. When PowerCenter performs incremental aggregation, it passes new source data through the mapping and uses historical cache data to perform new aggregation calculations incrementally.</p>
<p>Q. How Union Transformation is used?</p>
<p>A. The union transformation is a multiple input group transformation that can be used to merge data from various sources (or pipelines). This transformation works just like UNION ALL statement in SQL, that is used to combine result set of two SELECT statements.</p>
<p>Q. Can two flat files be joined with Joiner Transformation?</p>
<p>A. Yes, joiner transformation can be used to join data from two flat file sources.</p>
<p>Q. What is a look up transformation?</p>
<p>A. This transformation is used to lookup data in a flat file or a relational table, view or synonym. It compares lookup transformation ports (input ports) to the source column values based on the lookup condition. Later returned values can be passed to other transformations.</p>
<p>Q. Can a lookup be done on Flat Files?</p>
<p>A. Yes.</p>
<p>Q. What is the difference between a connected look up and unconnected look up?</p>
<p>A. Connected lookup takes input values directly from other transformations in the pipleline.</p>
<p>Unconnected lookup doesn’t take inputs directly from any other transformation, but it can be used in any transformation (like expression) and can be invoked as a function using :LKP expression. So, an unconnected lookup can be called multiple times in a mapping.</p>
<p>Q. What is a mapplet?</p>
<p>A. A mapplet is a reusable object that is created using mapplet designer. The mapplet contains set of transformations and it allows us to reuse that transformation logic in multiple mappings.</p>
<p>Q. What does reusable transformation mean?</p>
<p>A. Reusable transformations can be used multiple times in a mapping. The reusable transformation is stored as a metadata separate from any other mapping that uses the transformation. Whenever any changes to a reusable transformation are made, all the mappings where the transformation is used will be invalidated.</p>
<p>Q. What is update strategy and what are the options for update strategy?</p>
<p>A. Informatica processes the source data row-by-row. By default every row is marked to be inserted in the target table. If the row has to be updated/inserted based on some logic Update Strategy transformation is used. The condition can be specified in Update Strategy to mark the processed row for update or insert.</p>
<p>Following options are available for update strategy :<br />
•DD_INSERT : If this is used the Update Strategy flags the row for insertion. Equivalent numeric value of DD_INSERT is 0.<br />
•DD_UPDATE : If this is used the Update Strategy flags the row for update. Equivalent numeric value of DD_UPDATE is 1.<br />
•DD_DELETE : If this is used the Update Strategy flags the row for deletion. Equivalent numeric value of DD_DELETE is 2.<br />
•DD_REJECT : If this is used the Update Strategy flags the row for rejection. Equivalent numeric value of DD_REJECT is 3.</p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/informatica-interview-questions-and-answers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>sample tnsnames.ora</title>
		<link>http://www.bestremotedba.com/sample-tnsnames-ora/</link>
		<comments>http://www.bestremotedba.com/sample-tnsnames-ora/#comments</comments>
		<pubDate>Sat, 29 Oct 2011 02:51:58 +0000</pubDate>
		<dc:creator>mudhalvan</dc:creator>
				<category><![CDATA[Database Administration]]></category>
		<category><![CDATA[example of tnsnames.ora]]></category>
		<category><![CDATA[sample of tnsnames.ora]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=1030</guid>
		<description><![CDATA[sample tnsnames.ora]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>Simple example/sample tnsnames.ora</p>
<p>TEST = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = UNIX01)(PORT = 1521)) ) (CONNECT_DATA = (SID = TEST)) )</p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/sample-tnsnames-ora/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dos batch to send email with Attachment</title>
		<link>http://www.bestremotedba.com/dos-batch-to-send-email-with-attachment/</link>
		<comments>http://www.bestremotedba.com/dos-batch-to-send-email-with-attachment/#comments</comments>
		<pubDate>Tue, 25 Oct 2011 03:13:53 +0000</pubDate>
		<dc:creator>mudhalvan</dc:creator>
				<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=1018</guid>
		<description><![CDATA[Dos batch to send email with Attachment ]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p><strong>Command syntax:</strong></p>
<div>
<ul>
<li><code>febootimail -ATTACH image.jpg</code></li>
<li><code>febootimail -ATTACH *.doc -ATTACH 20??-file.gif</code></li>
<li><code>febootimail -FILE document.doc -ATTACH "C:\my music\music.mp3"</code></li>
<li><code>febootimail -FILE "image.jpg | C:\my music\music.mp3 | data.txt"</code></li>
</ul>
</div>
<p><strong>-ATTACH</strong> or <strong>-FILE</strong> switch specifies which files will be added to message when sending email from command line. If attachment file path is not specified, attachments are taken from the folder in which Febootimail is executed.</p>
<p>Since Febooti Command line email version 3.0 it is possible to use file masks (e.g. &#8220;*.*&#8221; or &#8220;files*.jp?&#8221;) with -ATTACH (or -FILE) parameter thus cancelling the need for batch files.</p>
<p>Pay attention that if spaces are used either in file name or folder name, expression has to be put in quotes. If many files are sent, -ATTACH switch must be repeated before each file or separate filenames by using | (<em>pipe</em>).</p>
<div>
<div>
<div>
<div>
<div> </div>
<div id="o11"><code id="o31">C:\&gt;febootimail -SERVER smtp.server.com -FROM jack@sender.com -TO john@recipients.com -ATTACH "c:\My Presentations\presentation.ppt | c:\terms\terms.txt" -TEXT DOS mailing out presentation and term files as attachments </code></div>
</div>
</div>
</div>
</div>
<p>Text files can be sent out either as plain message or as attachment. In the latter case text file formatting will not be interpreted arbitrary by email clients, so that it is useful to send text files as attachments if every byte has to be preserved as is.</p>
<div>
<div>
<div>
<div>
<div> </div>
<div id="o12"><code id="o32">C:\&gt;febootimail *other mail parameters* -ATTACH plaintextfile.txt -TEXT "send e-mail from DOS with text file attachment" </code></div>
</div>
</div>
</div>
</div>
<p id="batch">If many files are to be sent as attachments with command line mail utility, it is most convenient to create batch file.</p>
<div>
<div>
<div>
<div>
<div> </div>
<div id="o13"><code id="o33">@echo off<br />
rem send all files as attachments. one attach per email...</p>
<p>for %%i in (*.*) do Febootimail *other params* -ATTACH %%i </code></div>
</div>
</div>
</div>
</div>
<p>Note that (*.*) stands for file mask where (*.*) means that all files will be sent as attachments. If (*.doc) is used, all files with extension .doc will be sent. If (??-dec*.d?c) is specified, only files that have &#8220;-dec&#8221; in their names as 3rd to 6th characted and extension that starts with &#8220;d&#8221; and ends with &#8220;c&#8221; (with 2nd character being any) are to be sent.</p>
<p id="all">Also, note that in example above every file is sent as separate email. If all files have to be attached to single email message, use the batch files from example given below.</p>
<div>
<div>
<div>
<div>
<div> </div>
<div id="o14"><code id="o34">@echo off<br />
rem this is batch file - <strong>do.bat</strong><br />
rem will call batch file - <strong>send.bat</strong></p>
<p>cmd /v /c send.bat</p>
<p>rem /v - delayed environment variable expansion<br />
rem /c carries out the command specified by string<br />
rem Call this file from Windows 2000 / XP / 2003 / Vista </code></div>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<div> </div>
<div><code id="o35">@echo off<br />
rem batch file - <strong>send.bat</strong> must be called from file <strong>do.bat</strong></p>
<p>rem Gathering all files in current folder with mask specified...<br />
dir *.doc /A-D /B &gt; tmp</p>
<p>rem Expand environment variable attach as long as needed...<br />
for /F "tokens=*" %%i in (tmp) do set attach=!attach! -ATTACH %%i</p>
<p>rem Send all files / attachments in single email...<br />
febootimail &lt;standard params excluding -ATTACH&gt; %ATTACH%</p>
<p>rem Cleaning temporary file...<br />
del tmp </code></div>
<div><code></code> </div>
<div><code>Download febootimail from following Link.</code></div>
</div>
</div>
</div>
</div>
<p><a href="http://www.febooti.com/products/command-line-email/online-help/commands/dos-e-mail-automate-attachment-sending.html">http://www.febooti.com/products/command-line-email/online-help/commands/dos-e-mail-automate-attachment-sending.html</a></p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/dos-batch-to-send-email-with-attachment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OUI-10150:Error: A runtime exception occurred while setting s_dlgCfgNamingLabelSIDnull in component Oracle Database 11g 11.2.0.1.0</title>
		<link>http://www.bestremotedba.com/oui-10150error-a-runtime-exception-occurred-while-setting-s_dlgcfgnaminglabelsidnull-in-component-oracle-database-11g-11-2-0-1-0/</link>
		<comments>http://www.bestremotedba.com/oui-10150error-a-runtime-exception-occurred-while-setting-s_dlgcfgnaminglabelsidnull-in-component-oracle-database-11g-11-2-0-1-0/#comments</comments>
		<pubDate>Tue, 25 Oct 2011 00:51:09 +0000</pubDate>
		<dc:creator>mudhalvan</dc:creator>
				<category><![CDATA[Database Administration]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[OUI-10150:Error: A runtime exception occurred while setting s_dlgCfgNamingLabelSIDnull in component Oracle Database 11g 11.2.0.1.0]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=1016</guid>
		<description><![CDATA[OUI-10150:Error: A runtime exception occurred while setting s_dlgCfgNamingLabelSIDnull in component Oracle Database 11g 11.2.0.1.0]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><pre></pre>
<pre>Problem : Add a Component to an Oracle 11g rel2 Home get the following error
INFO: *** Error Dialog: OUI-10150:Error: A runtime exception occurred while setting s_dlgCfgNamingLabelSIDnull in component Oracle Database 11g 11.2.0.1.0 

Solution:
With 11gR2, you are no longer allowed to run OUI from $ORACLE_HOME/oui/bin. If you do, you will receive this error:
INFO: *** Error Dialog: OUI-10150:Error: A runtime exception occurred while setting s_dlgCfgNamingLabelSIDnull in component Oracle Database 11g 11.2.0.1.0 .
Clearly, the error message is not descriptive at all. Oracle has created unpublished Bug 8330280 to give a warning message instead of this error. 

To avoid this error, always run OUI from the installation media and not from $ORACLE_HOME/oui/bin.</pre>
<pre></pre>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/oui-10150error-a-runtime-exception-occurred-while-setting-s_dlgcfgnaminglabelsidnull-in-component-oracle-database-11g-11-2-0-1-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>AWR Report Missing Statistic Data &#8211; WARNING: Since the DB Time is less than one second</title>
		<link>http://www.bestremotedba.com/awr-report-missing-statistic-data-warning-since-the-db-time-is-less-than-one-second/</link>
		<comments>http://www.bestremotedba.com/awr-report-missing-statistic-data-warning-since-the-db-time-is-less-than-one-second/#comments</comments>
		<pubDate>Tue, 30 Aug 2011 01:17:08 +0000</pubDate>
		<dc:creator>mudhalvan</dc:creator>
				<category><![CDATA[Performance]]></category>
		<category><![CDATA[AWR report missing Data]]></category>
		<category><![CDATA[there was minimal foreground activity in the snapshot period. Some of the percentage values will be invalid.]]></category>
		<category><![CDATA[WARNING: Since the DB Time is less than one second]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=948</guid>
		<description><![CDATA[WARNING: Since the DB Time is less than one second, there was minimal foreground activity in the snapshot period. Some of the percentage values will be invalid.]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p><span class="Apple-style-span" style="font-family: Consolas, Monaco, monospace; font-size: 12px; line-height: 18px; white-space: pre;"><strong>Problem description:</strong></span></p>
<pre>     In AWR report in 11g have found the following warning message in the Top and All Statistics Informations are missing
"WARNING: Since the DB Time is less than one second, there was minimal foreground activity in the snapshot period. Some of the percentage values will be invalid."
<strong>Root Cause:</strong>
	Historical Data and Statistics are not colleted and available in Statistical Tables.
<strong>Proposed Solution:</strong>
[oracle@ORA01 ~]$ echo $ORACLE_HOME
/u01/app/oracle/product/11.2.0/db_1
[oracle@ORA01 ~]$ echo $ORACLE_SID
ORCL
[oracle@ORA01 ~]$ cd $ORACLE_HOME
[oracle@ORA01 db_1]$ cd rdbms
[oracle@ORA01 rdbms]$ cd admin
[oracle@ORA01 admin]$ pwd
/u01/app/oracle/product/11.2.0/db_1/rdbms/admin
[oracle@ORA01 admin]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Mon Aug 29 20:51:52 2011
Copyright (c) 1982, 2010, Oracle.  All rights reserved.
Connected to:
Oracle Database 11g Release 11.2.0.1.0 - Production

SQL&gt; show parameter control_management_pack_access

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
control_management_pack_access       string      NONE

SQL&gt; alter system set control_management_pack_access="DIAGNOSTIC+TUNING" scope=both;

System altered.

SQL&gt; show parameter control_management_pack_access

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
control_management_pack_access       string      DIAGNOSTIC+TUNING
SQL&gt;
      Once the above propsed solution is applied wait for an hour because default time to generate next Data Collection is after 1 hour. If you have any specific data collection interval please check after next data collection. It will be fine.

<strong>Proposed Another Solution:</strong>
	I think this is a known problem, several mentions on metalink. You could try to drop your AWR with the catnoawr.sql script, then re-create it with catawr.sql but of course you would lose all the histotical data. Or possibly, following the hints in the metalink articles
</pre>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/awr-report-missing-statistic-data-warning-since-the-db-time-is-less-than-one-second/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to run multiple SQL files from a Dos batch</title>
		<link>http://www.bestremotedba.com/how-to-run-multiple-sql-files-from-a-dos-batch/</link>
		<comments>http://www.bestremotedba.com/how-to-run-multiple-sql-files-from-a-dos-batch/#comments</comments>
		<pubDate>Wed, 20 Jul 2011 03:08:15 +0000</pubDate>
		<dc:creator>mudhalvan</dc:creator>
				<category><![CDATA[Database Administration]]></category>
		<category><![CDATA[Call a SQL file from a DOS batch]]></category>
		<category><![CDATA[How to run multiple SQL files from a Dos batch]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=938</guid>
		<description><![CDATA[How to run multiple SQL files from a Dos batch ]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>To run multiple SQLPlus queries as part of a DOS batch file place all the queries in a separate SQL file.</p>
<p>For Example</p>
<p>@C:\Queries\Query_1.sql</p>
<p>@C:\Queries\Query_2.sql</p>
<p>@C:\Queries\Query_3.sql</p>
<p>@C:\Queries\Query_4.sql</p>
<p>Save the file as runall.sql.</p>
<p>Then use this file in your batch file</p>
<p>@Echo Off</p>
<p>sqlplus [login details] @C:\queries\runall.sql</p>
<p>EXIT</p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/how-to-run-multiple-sql-files-from-a-dos-batch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

