<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2511956539743992936</id><updated>2012-01-28T18:01:07.496+05:30</updated><category term='Flashback Query'/><category term='SQL*Loader'/><category term='NID Utility (DBNEWID Utility)'/><category term='Oracle Solaris 11'/><category term='* What&apos;ll happen on Dec 21 2012?'/><category term='RMAN (Recovery Manager)'/><category term='Materialized Views'/><category term='Recycle bin'/><category term='Statistics'/><category term='Background Processes'/><category term='What&apos;s New in 11g Release 1'/><category term='Oracle 10g DBA OCA/OCP Dumps'/><category term='* Databases in the world *'/><category term='* Database of Life *'/><category term='Auditing in Oracle'/><category term='Transportable Tablespaces (TTS)'/><category term='Temporary Tablespace Group'/><category term='Oracle 12c'/><category term='Datapump Export Import'/><category term='asmcmd'/><category term='What&apos;s New in 10g Release 1/2'/><category term='lsnrctl commands'/><category term='ADRCI Commands'/><category term='emctl commands'/><category term='Temporary Tablespace'/><category term='What&apos;s New in 11g Release 2'/><category term='Statspack'/><category term='* Top 10 Largest Databases *'/><category term='RMAN Commands'/><category term='Password file (orapwd)'/><category term='dgmgrl utility'/><category term='Rollback Segments'/><category term='Undo Tablespace/Management'/><category term='Flash Recovery Area (FRA)'/><category term='oracleasm'/><category term='Partitioning'/><category term='Setting SQL prompt'/><category term='Flashback'/><category term='* First day in Job (at IDRBT) *'/><category term='Datapump'/><category term='Oracle Certifications (for DBAs)'/><category term='ASM'/><category term='Profiles'/><category term='DataDictionary views Vs V$ views'/><category term='Export and Import'/><category term='Startup/Shutdown Options'/><category term='What&apos;s New in 9i Release 1/2'/><category term='Data Dictionary Views'/><category term='Remote Diagnostic Agent (RDA)'/><category term='* Differences between Managers and Leaders'/><title type='text'>Sachin's DBA Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://satya-dba.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2511956539743992936/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://satya-dba.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Satya</name><uri>http://www.blogger.com/profile/14440084623088726822</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/-bU8J97DlZuQ/TsbYZjhEmbI/AAAAAAAALZE/3bwU2WtUYFo/s220/002.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>50</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2511956539743992936.post-5361958552778443588</id><published>2011-12-22T05:49:00.002+05:30</published><updated>2011-12-27T18:19:37.329+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Solaris 11'/><title type='text'>Oracle Solaris 11</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;Oracle Corporation has announced Oracle Solaris 11, the first cloud OS.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Below is the summary of key features/benefits of Oracle (cloud) Operating System.&lt;/span&gt;&lt;br /&gt;&lt;div class="p1"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br class="Apple-interchange-newline" /&gt;&lt;span style="font-size: large;"&gt;&lt;b&gt;User&lt;span class="s1"&gt;&amp;nbsp;&lt;/span&gt;Environment&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="p3"&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;&lt;span class="s2" style="font-family: 'Courier New', Courier, monospace;"&gt;Popular&lt;/span&gt;&lt;span class="s3" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="s2" style="font-family: 'Courier New', Courier, monospace;"&gt;Open&lt;/span&gt;&lt;span class="s3" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="s2" style="font-family: 'Courier New', Courier, monospace;"&gt;Source&lt;/span&gt;&lt;span class="s3" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="s2" style="font-family: 'Courier New', Courier, monospace;"&gt;Software&lt;/span&gt;&lt;span class="s3" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="s2" style="font-family: 'Courier New', Courier, monospace;"&gt;Packages&lt;/span&gt;&lt;span class="s3" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="s2" style="font-family: 'Courier New', Courier, monospace;"&gt;-&lt;/span&gt;&lt;span class="s3" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Java&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;SE&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;6&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;and&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;7,&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;GCC&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;4.5.2,&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Python&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;2.7,&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Perl&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;5.12,&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Ruby&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;1.8.7,&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;PHP&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;5.2.17&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;and&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;complete&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;web&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;stack&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Enhanced&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Desktop&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Environment&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Default&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;$PATH&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;and&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;User&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Familiarity&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Default&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Shell - bash shell for users&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Removable&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Media&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;New&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Sound&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;System&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Search&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;for&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Content&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;in&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Manual&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Pages&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Virtual&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Console&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Terminals&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Time&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Slider&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Snapshot&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Management&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="s2" style="font-family: 'Courier New', Courier, monospace;"&gt;CUPS&lt;/span&gt;&lt;span class="s3" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;(&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Common&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;UNIX&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Printing&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;System&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;)&amp;nbsp;&lt;/span&gt;&lt;span class="s2" style="font-family: 'Courier New', Courier, monospace;"&gt;Printing&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;libc&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Familiarity&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;paths&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;.&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;h&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Path&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Name&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Definitions&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Locales&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;and&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Languages&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;TrueType&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Fonts&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="p4"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="p1"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&lt;b&gt;Installation&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="p3"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Installation of Solaris 11 or upgradation/migration to Solaris 11 made easier.&lt;/span&gt;&lt;/div&gt;&lt;div class="p3"&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Automated&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Installer&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Jumpstart&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Migration&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Utility&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Interactive&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Text&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Installations&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Live&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Media&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Installation&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Distribution&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Constructor&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="p4"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="p1"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&lt;b&gt;Packaging&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="p2"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;No more patching! when installing &amp;amp; updating software, IPS manages dependencies and image instances to keep installations running smoothly.&lt;/span&gt;&lt;/div&gt;&lt;div class="p2"&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Image&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Packaging&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;System&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;(&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;IPS&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;SVR&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;4&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Package&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Compatibility&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="p5"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="p1"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&lt;b&gt;Virtualization&lt;span class="s1"&gt;/&lt;/span&gt;Zones&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="p3"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Oracle Solaris 11 virtualization enables the deployment of less hardware to perform the work that used to be distributed among many hardware systems.&lt;/span&gt;&lt;/div&gt;&lt;div class="p3"&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Oracle&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Solaris&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;10&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Zones&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Zone&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Physical-to-Virtual&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;(&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;p&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;2&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;v&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;)&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;and&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Virtual-to-Virtual&amp;nbsp;&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;(&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;v&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;2&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;v&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;)&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Pre-flight&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Checker&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;NFS&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Server&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;in&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;a&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Zone&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Exclusive-IP&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Zones&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;by&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Default&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="s2" style="font-family: 'Courier New', Courier, monospace;"&gt;Automatic&lt;/span&gt;&lt;span class="s3" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="s2" style="font-family: 'Courier New', Courier, monospace;"&gt;VNIC&lt;/span&gt;&lt;span class="s3" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;(&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;virtual&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;network&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;interface&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;controller&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;)&amp;nbsp;&lt;/span&gt;&lt;span class="s2" style="font-family: 'Courier New', Courier, monospace;"&gt;Creation&lt;/span&gt;&lt;span class="s3" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="s2" style="font-family: 'Courier New', Courier, monospace;"&gt;for&lt;/span&gt;&lt;span class="s3" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="s2" style="font-family: 'Courier New', Courier, monospace;"&gt;Zones&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Administer&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Network&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Flows&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;within&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Non-Global&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Zones&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Delegated&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Administration&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Zone&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Boot&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Environments&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="s4" style="font-family: 'Courier New', Courier, monospace;"&gt;(&lt;/span&gt;&lt;span class="s5" style="font-family: 'Courier New', Courier, monospace;"&gt;ZBE&lt;/span&gt;&lt;span class="s4" style="font-family: 'Courier New', Courier, monospace;"&gt;)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Improved&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Zones&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Dataset&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Layout&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Immutable&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Zones&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Shutdown&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Zones&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Cleanly&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;with&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;zoneadm&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Monitoring&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;a&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Zone&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;with&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;zonestat&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Zones&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Statistics&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Library&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;libzonestat&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&lt;script type="text/javascript"&gt;&lt;!--google_ad_client = "ca-pub-1598199736774055";/* LinkUnit_Vertical_200X90 */google_ad_slot = "1873853547";google_ad_width = 200;google_ad_height = 90;//--&gt;&lt;/script&gt;&lt;script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"&gt;&lt;/script&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="p6"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="p1"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&lt;b&gt;Storage&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="p3"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Oracle Solaris 11, with it's File system, DTrace and predictive self-healing features, ensures that the cloud's services are always available.&lt;/span&gt;&lt;/div&gt;&lt;div class="p3"&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;ZFS&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;(&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Zone&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;File&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;System&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;)&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Dataset&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Encryption&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Save&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Space&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;with&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;ZFS&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;ZFS&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Shadow&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Migration&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="s2" style="font-family: 'Courier New', Courier, monospace;"&gt;ZFS&lt;/span&gt;&lt;span class="s3" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="s2" style="font-family: 'Courier New', Courier, monospace;"&gt;Backup&lt;/span&gt;&lt;span class="s3" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="s2" style="font-family: 'Courier New', Courier, monospace;"&gt;with&lt;/span&gt;&lt;span class="s3" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="s2" style="font-family: 'Courier New', Courier, monospace;"&gt;NDMP&lt;/span&gt;&lt;span class="s3" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;(&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Network&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Data&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Management&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Protocol&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Temporary&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;ZFS&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Mounts&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;ZFS&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Snapshot&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Alias&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Recursive&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;ZFS&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Send&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;ZFS&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Diffs&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;NFSv&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;4&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Client&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;and&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Server&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Migration&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Support&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Built-in&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;CIFS&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;(&lt;/span&gt;&lt;span class="s5" style="font-family: 'Courier New', Courier, monospace;"&gt;Common&lt;/span&gt;&lt;span class="s4" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="s5" style="font-family: 'Courier New', Courier, monospace;"&gt;Internet&lt;/span&gt;&lt;span class="s4" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="s5" style="font-family: 'Courier New', Courier, monospace;"&gt;File&lt;/span&gt;&lt;span class="s4" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="s5" style="font-family: 'Courier New', Courier, monospace;"&gt;System&lt;/span&gt;&lt;span class="s4" style="font-family: 'Courier New', Courier, monospace;"&gt;)&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;for&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Microsoft&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Interoperability&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;DTrace&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Storage&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Providers&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="s2" style="font-family: 'Courier New', Courier, monospace;"&gt;COMSTAR&lt;/span&gt;&lt;span class="s3" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;(&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Common&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Multiprotocol&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;SCSI&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Target&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;)&amp;nbsp;&lt;/span&gt;&lt;span class="s2" style="font-family: 'Courier New', Courier, monospace;"&gt;SCSI&lt;/span&gt;&lt;span class="s3" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="s2" style="font-family: 'Courier New', Courier, monospace;"&gt;Target&lt;/span&gt;&lt;span class="s3" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="s2" style="font-family: 'Courier New', Courier, monospace;"&gt;Framework&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="p5"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="p1"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&lt;b&gt;Security&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="p3"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Oracle Solaris 11 provides unmatched security for cloud.&lt;/span&gt;&lt;/div&gt;&lt;div class="p3"&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Role&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Authentication&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Trusted&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Platform&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Module&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;(&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;TPM&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Labeled&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;IPsec&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;IPsec&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Supports&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;AES&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;GMAC&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;(&lt;/span&gt;&lt;span class="s5" style="font-family: 'Courier New', Courier, monospace;"&gt;AES&lt;/span&gt;&lt;span class="s4" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="s5" style="font-family: 'Courier New', Courier, monospace;"&gt;Galois&lt;/span&gt;&lt;span class="s4" style="font-family: 'Courier New', Courier, monospace;"&gt;/&lt;/span&gt;&lt;span class="s5" style="font-family: 'Courier New', Courier, monospace;"&gt;Counter&lt;/span&gt;&lt;span class="s4" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="s5" style="font-family: 'Courier New', Courier, monospace;"&gt;Mode&lt;/span&gt;&lt;span class="s4" style="font-family: 'Courier New', Courier, monospace;"&gt;)&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Cryptographic&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Algorithm&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;New&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Kerberos&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;DTrace&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Providers&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Trusted&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Extensions&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Enhancements&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Support&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;for&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;ssh&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;X&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;.509&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Certificate&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Extension&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Oracle&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Solaris&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Cryptographic&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Framework&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;In-Kernel&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;pfexec&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Forced&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;and&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Basic&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Privileges&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="p5"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="p1"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&lt;b&gt;Networking&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="p3"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Oracle Solaris 11 keeps the cloud eco-friendly with zones &amp;amp; network virtualization.&lt;/span&gt;&lt;/div&gt;&lt;div class="p3"&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Network&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Virtualization&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;and&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Resource&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Management&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Manual&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;and&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Automatic&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Networking&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Default&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Names&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;for&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Datalinks&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Changing&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;MAC&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Address&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;with&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;dladm&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;InfiniBand&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Enabled&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;and&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Optimized&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Registration&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;of&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Virtual&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;LANs&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Link&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Layer&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Discovery&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Protocol&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="s4" style="font-family: 'Courier New', Courier, monospace;"&gt;(&lt;/span&gt;&lt;span class="s5" style="font-family: 'Courier New', Courier, monospace;"&gt;LLDP&lt;/span&gt;&lt;span class="s4" style="font-family: 'Courier New', Courier, monospace;"&gt;)&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Support&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;New&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Sockets&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Architecture&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Load&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Balancing&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Link&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Protection&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Bridging&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;and&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Tunneling&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;IP&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Observability&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;IP&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Multipathing&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;(&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;IPMP&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;IPMP&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Administration&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;through&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;ipadm&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;IPMP&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Transitive&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Probing&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;for&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Less&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Restrictive&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Availability&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Improved&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Availability&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;for&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;in&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;.&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;mpathd&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;I&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;/&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;O&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Enhancements&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;to&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;netcat&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;New&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;FTP&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Server&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Implementation&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;DTrace&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Networking&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Providers&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="p5"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="p1"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&lt;b&gt;System&lt;span class="s1"&gt;&amp;nbsp;&lt;/span&gt;Configuration&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="p3"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;With Oracle Solaris 11, the first cloud operating system, users sees only what they actually use, and use only what they actually need.&lt;/span&gt;&lt;/div&gt;&lt;div class="p2"&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;&lt;span class="s2" style="font-family: 'Courier New', Courier, monospace;"&gt;Layering&lt;/span&gt;&lt;span class="s3" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="s2" style="font-family: 'Courier New', Courier, monospace;"&gt;of&lt;/span&gt;&lt;span class="s3" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="s2" style="font-family: 'Courier New', Courier, monospace;"&gt;the&lt;/span&gt;&lt;span class="s3" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Service&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Management&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Facility&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;(&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;SMF&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;)&lt;/span&gt;&lt;span class="s3" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="s2" style="font-family: 'Courier New', Courier, monospace;"&gt;Repository&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;System&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Configuration&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;in&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;the&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;SMF&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;repository&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Resetting&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;System&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Configuration&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;SMF&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;and&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;FMA&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Notifications&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="p5"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="p1"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&lt;b&gt;Kernel&lt;span class="s1"&gt;/&lt;/span&gt;Platform&lt;span class="s1"&gt;&amp;nbsp;&lt;/span&gt;Support&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="p3"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Solaris 11, from Oracle Corporation, has been optimized for Oracle Database.&lt;/span&gt;&lt;/div&gt;&lt;div class="p3"&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;SPARC&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;T&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;4&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Support&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Critical&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Threads&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Single-root&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;I&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;/&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;O&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Virtualization&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="s2" style="font-family: 'Courier New', Courier, monospace;"&gt;NUMA&lt;/span&gt;&lt;span class="s3" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;(&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Non-Uniform&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Memory&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Access&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;)&amp;nbsp;&lt;/span&gt;&lt;span class="s2" style="font-family: 'Courier New', Courier, monospace;"&gt;I&lt;/span&gt;&lt;span class="s3" style="font-family: 'Courier New', Courier, monospace;"&gt;/&lt;/span&gt;&lt;span class="s2" style="font-family: 'Courier New', Courier, monospace;"&gt;O&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Intel&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Advanced&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Vector&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Extensions&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="s4" style="font-family: 'Courier New', Courier, monospace;"&gt;(&lt;/span&gt;&lt;span class="s5" style="font-family: 'Courier New', Courier, monospace;"&gt;AVX&lt;/span&gt;&lt;span class="s4" style="font-family: 'Courier New', Courier, monospace;"&gt;)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Dynamic&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Intimate&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Shared&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Memory&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="s4" style="font-family: 'Courier New', Courier, monospace;"&gt;(&lt;/span&gt;&lt;span class="s5" style="font-family: 'Courier New', Courier, monospace;"&gt;DISM&lt;/span&gt;&lt;span class="s4" style="font-family: 'Courier New', Courier, monospace;"&gt;)&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Performance&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Improvements&amp;nbsp; - useful for Dynamic SGA in Oracle Database&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Suspend&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;and&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Resume&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;to&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;RAM&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Improved&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Hardware&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Support&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Measuring&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;System&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Latency&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;DTrace&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;cpc&lt;/span&gt;&lt;span class="s1" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Provider&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="p5"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Related Articles:&amp;nbsp;&lt;a href="http://satya-dba.blogspot.com/2011/07/oracle12c.html"&gt;Oracle 12C&lt;/a&gt;&amp;nbsp;&lt;a href="http://satya-dba.blogspot.com/2008/12/oracle-certification_24.html"&gt;Oracle Certifications (for DBAs)&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;script type="text/javascript"&gt;&lt;!--google_ad_client = "ca-pub-1598199736774055";/* LinkUnit_Horizontal_728X15 */google_ad_slot = "5410026186";google_ad_width = 728;google_ad_height = 15;//--&gt;&lt;/script&gt;&lt;script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"&gt;&lt;/script&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2511956539743992936-5361958552778443588?l=satya-dba.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://satya-dba.blogspot.com/feeds/5361958552778443588/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://satya-dba.blogspot.com/2011/12/oracle-solaris-11-cloud-os.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2511956539743992936/posts/default/5361958552778443588'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2511956539743992936/posts/default/5361958552778443588'/><link rel='alternate' type='text/html' href='http://satya-dba.blogspot.com/2011/12/oracle-solaris-11-cloud-os.html' title='Oracle Solaris 11'/><author><name>Satya</name><uri>http://www.blogger.com/profile/14440084623088726822</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/-bU8J97DlZuQ/TsbYZjhEmbI/AAAAAAAALZE/3bwU2WtUYFo/s220/002.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2511956539743992936.post-7550003963561485374</id><published>2011-11-19T03:03:00.020+05:30</published><updated>2011-12-21T06:39:42.560+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='oracleasm'/><title type='text'>oracleasm utility</title><content type='html'>&lt;div class="p1"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&lt;b&gt;Oracle ASM library (ASMLib) driver&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="p1"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="p1"&gt;&lt;span class="Apple-style-span" style="color: #0b5394; font-family: 'Courier New', Courier, monospace;"&gt;#/etc/init.d/oracleasm start&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #0b5394; font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="p1"&gt;&lt;span class="Apple-style-span" style="color: #0b5394; font-family: 'Courier New', Courier, monospace;"&gt;#/etc/init.d/oracleasm stop&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #0b5394; font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="p1"&gt;&lt;span class="Apple-style-span" style="color: #0b5394; font-family: 'Courier New', Courier, monospace;"&gt;#/etc/init.d/oracleasm restart&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #0b5394; font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #0b5394; font-family: 'Courier New', Courier, monospace;"&gt;#/etc/init.d/oracleasm status&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #0b5394; font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="p1"&gt;&lt;span class="Apple-style-span" style="color: #0b5394; font-family: 'Courier New', Courier, monospace;"&gt;#/etc/init.d/oracleasm enable&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #0b5394; font-family: 'Courier New', Courier, monospace;"&gt;#/etc/init.d/oracleasm disable&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #0b5394; font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="p2"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="s1" style="color: #0b5394;"&gt;#/etc/init.d/oracleasm configure&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="s1" style="color: #0b5394;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="p1"&gt;&lt;span class="Apple-style-span" style="color: #0b5394; font-family: 'Courier New', Courier, monospace;"&gt;#/etc/init.d/oracleasm createdisk DISK_NAME PARTITION_NAME&lt;/span&gt;&lt;/div&gt;&lt;div class="p2"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;#/etc/init.d/oracleasm createdisk VOL3 /dev/sdd1&lt;/span&gt;&lt;/div&gt;&lt;div class="p2"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;#/etc/init.d/oracleasm createdisk ASM_DATA /dev/cciss/c0d1p1&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="p1"&gt;&lt;span class="Apple-style-span" style="color: #0b5394; font-family: 'Courier New', Courier, monospace;"&gt;#/etc/init.d/oracleasm scandisks&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #0b5394; font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="p1"&gt;&lt;span class="Apple-style-span" style="color: #0b5394; font-family: 'Courier New', Courier, monospace;"&gt;#/etc/init.d/oracleasm listdisks&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #0b5394; font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="p1"&gt;&lt;span class="Apple-style-span" style="color: #0b5394; font-family: 'Courier New', Courier, monospace;"&gt;#/etc/init.d/oracleasm querydisk&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #0b5394; font-family: 'Courier New', Courier, monospace;"&gt;DISK_NAME&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #0b5394; font-family: 'Courier New', Courier, monospace;"&gt;#/etc/init.d/oracleasm querydisk&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #0b5394; font-family: 'Courier New', Courier, monospace;"&gt;-d LABEL&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;#/etc/init.d/oracleasm querydisk /dev/sdc6&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;#/etc/init.d/oracleasm querydisk&amp;nbsp;-d VOL6&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;#/etc/init.d/oracleasm querydisk&amp;nbsp;-p VOL1&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="p1"&gt;&lt;span class="Apple-style-span" style="color: #0b5394; font-family: 'Courier New', Courier, monospace;"&gt;#/etc/init.d/oracleasm renamedisk&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #0b5394; font-family: 'Courier New', Courier, monospace;"&gt;PARTITION_NAME&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #0b5394; font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;DISK_NAME&lt;/span&gt;&lt;/div&gt;&lt;div class="p2"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;#/etc/init.d/oracleasm renamedisk /dev/sdc1 VOL2&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="p1"&gt;&lt;span class="Apple-style-span" style="color: #0b5394; font-family: 'Courier New', Courier, monospace;"&gt;#/etc/init.d/oracleasm deletedisk DISK_NAME&lt;/span&gt;&lt;/div&gt;&lt;div class="p1"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;#/etc/init.d/oracleasm deletedisk /dev/sdc9&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/etc/sysconfig/oracleasm &amp;nbsp;-- Oracle ASMLib configuration file&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;script type="text/javascript"&gt;&lt;!--google_ad_client = "ca-pub-1598199736774055";/* LinkUnit_Horizontal_728X15 */google_ad_slot = "5410026186";google_ad_width = 728;google_ad_height = 15;//--&gt;&lt;/script&gt;&lt;script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"&gt;&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2511956539743992936-7550003963561485374?l=satya-dba.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://satya-dba.blogspot.com/feeds/7550003963561485374/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://satya-dba.blogspot.com/2011/11/oracleasm-oracle-asm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2511956539743992936/posts/default/7550003963561485374'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2511956539743992936/posts/default/7550003963561485374'/><link rel='alternate' type='text/html' href='http://satya-dba.blogspot.com/2011/11/oracleasm-oracle-asm.html' title='oracleasm utility'/><author><name>Satya</name><uri>http://www.blogger.com/profile/14440084623088726822</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/-bU8J97DlZuQ/TsbYZjhEmbI/AAAAAAAALZE/3bwU2WtUYFo/s220/002.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2511956539743992936.post-2275018875575920447</id><published>2011-07-22T22:29:00.009+05:30</published><updated>2011-12-21T06:38:40.147+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle 12c'/><title type='text'>Oracle 12C</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Oracle8i&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;..&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Oracle9i&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;...&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;Oracle 10g&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;....&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;Oracle 11g&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;.....&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-large;"&gt;Oracle 12c (c for Cloud)&lt;/span&gt;&lt;/div&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;Oracle Enterprise Manager 12c was launched by Oracle Corporation.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;b&gt;&lt;u&gt;Related Articles:&lt;/u&gt;&lt;/b&gt; &lt;a href="http://satya-dba.blogspot.com/2009/01/whats-new-in-11g.html" target="_blank"&gt;Oracle 11g Release1&lt;/a&gt; &lt;a href="http://satya-dba.blogspot.com/2009/09/whats-new-in-11g-release-2.html" target="_blank"&gt;Oracle 11g Release2&lt;/a&gt; &lt;a href="http://satya-dba.blogspot.com/2009/01/whats-new-in-10g.html" target="_blank"&gt;Oracle 10g&lt;/a&gt;&lt;/span&gt;&lt;script type="text/javascript"&gt;&lt;!--google_ad_client = "ca-pub-1598199736774055";/* LinkUnit_Horizontal_728X15 */google_ad_slot = "5410026186";google_ad_width = 728;google_ad_height = 15;//--&gt;&lt;/script&gt;&lt;script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"&gt;&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2511956539743992936-2275018875575920447?l=satya-dba.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://satya-dba.blogspot.com/feeds/2275018875575920447/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://satya-dba.blogspot.com/2011/07/oracle12c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2511956539743992936/posts/default/2275018875575920447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2511956539743992936/posts/default/2275018875575920447'/><link rel='alternate' type='text/html' href='http://satya-dba.blogspot.com/2011/07/oracle12c.html' title='Oracle 12C'/><author><name>Satya</name><uri>http://www.blogger.com/profile/14440084623088726822</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/-bU8J97DlZuQ/TsbYZjhEmbI/AAAAAAAALZE/3bwU2WtUYFo/s220/002.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2511956539743992936.post-1610600120956361253</id><published>2010-10-10T23:23:00.036+05:30</published><updated>2011-12-20T05:10:29.781+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ADRCI Commands'/><title type='text'>ADRCI Commands</title><content type='html'>&lt;span style="font-family: 'courier new'; font-size: 130%;"&gt;&lt;span style="font-weight: bold;"&gt;ADRCI Commands&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new'; font-size: 130%;"&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Automatic Diagnostic Repository (ADR) Command Interpreter, &lt;a href="http://satya-dba.blogspot.com/2009/01/whats-new-in-11g.html"&gt;from 11g&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;&lt;span style="color: black;"&gt;$ &lt;/span&gt;adrci [-HELP] [SCRIPT=script_filename] [EXEC="command [;command;...]"]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;$ adrci -help&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;$ adrci script=adrci_script.adi&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;$ adrci script=env.adrci&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;$ adrci exec="show alert"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;$ adrci exec="show home; show incident"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;$ adrci exec="show base; show editor; show tracefile"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;$ adrci&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;HELP [COMMAND]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; help&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; help set browser&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;CREATE REPORT report_type report_id&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; create report hm_run hm_run_6&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;HM - Health Monitor&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;ECHO quoted_string&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; echo "Hello world"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;EXIT&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; exit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;QUIT&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; quit&lt;/span&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt;&lt;!--google_ad_client = "ca-pub-1598199736774055";/* LinkUnit_Horizontal_728X15 */google_ad_slot = "5410026186";google_ad_width = 728;google_ad_height = 15;//--&gt;&lt;/script&gt;&lt;script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"&gt;&lt;/script&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;HOST ["host_command_string"]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; host&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; host "ls -l *.sh"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; host "vi tailalert.adrci"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-weight: bold;"&gt;Incident Packaging Service (IPS)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;IPS ADD {INCIDENT inc_id | PROBLEM prob_id | PROBLEMKEY pr_key | SECONDS secs | TIME start_time TO end_time} PACKAGE pkg_id&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; ips add incident 22 package 33&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; ips add problem 3 package 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; ips add seconds 60 package 9&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; ips add time '2010-10-01 10:00:00.00 -07:00' to '2010-10-01 23:00:00.00 -07:00' &lt;/span&gt;package 7&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;IPS ADD NEW INCIDENTS PACKAGE package_id&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; ips add new incidents package 321&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;IPS ADD FILE filespec PACKAGE package_id&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; ips add file /u01/app/oracle/diag/rdbms/orcl/orcl/trace/alert_orcl.log package 99&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;IPS COPY IN FILE filename [TO new_name][OVERWRITE] PACKAGE pkgid [INCIDENT incid]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; ips copy in file /home/sona/trace/orcl_ora_63175.trc to ADR_HOME/trace/orcl_ora_63175.trc package 11 incident 6&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;IPS COPY OUT FILE source TO target [OVERWRITE]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; ips copy out file ADR_HOME/trace/orcl_ora_63175.trc to /home/sona/trace/orcl_ora_63175.trc&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;IPS CREATE PACKAGE {INCIDENT inc_id | PROBLEM prob_id | PROBLEMKEY prob_key | SECONDS secs | TIME start_time TO end_time} [CORRELATE BASIC|&lt;u&gt;TYPICAL&lt;/u&gt;|ALL]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; ips create package      &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; ips create package incident 111&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; ips create package incident 222 correlate basic&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; ips create package problem 6&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; ips create package problemkey '?'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; ips create package problemkey "?"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; ips create package seconds 333&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; ips create package seconds 444 correlate all&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; ips create package time '2010-10-01 00:00:00 -08:00' to '2010-10-02 23.59.59 -08:00'&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;IPS DELETE PACKAGE pkg_id&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; ips delete package 22&lt;/span&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt;&lt;!--google_ad_client = "ca-pub-1598199736774055";/* AdUnit_Leaderboard_Text */google_ad_slot = "9972129004";google_ad_width = 728;google_ad_height = 90;//--&gt;&lt;/script&gt;&lt;script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"&gt;&lt;/script&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;IPS FINALIZE PACKAGE pkg_id&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; ips finalize package 33&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;IPS GENERATE PACKAGE pkg_id [IN location] [&lt;u&gt;COMPLETE&lt;/u&gt;|INCREMENTAL]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; ips generate package 4 in /tmp&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; ips generate package 14 incremental&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;IPS GET MANIFEST FROM FILE filename&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; ips get manifest from file /home/satya/ORA603_20101006235311_INC_1.zip&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;IPS GET METADATA {FROM FILE filename | FROM ADR}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; ips get metadata from file /home/satya/ORA600_20101006135346_COM_1.zip&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; ips get metadata from adr&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;IPS PACK [INCIDENT inc_id | PROBLEM prob_id | PROBLEMKEY prob_key | SECONDS secs | TIME start_time TO end_time] [CORRELATE {BASIC|&lt;u&gt;TYPICAL&lt;/u&gt;|ALL}] [IN path]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; ips pack&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; ips pack incident 41&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family: 'courier new'; font-size: 130%;"&gt;&lt;span style="font-family: 'courier new';"&gt;&lt;/span&gt;adrci&amp;gt; ips pack problem 5 in /tmp&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: 'courier new'; font-size: 130%;"&gt;adrci&amp;gt; ips pack problemkey ORA 4031&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; ips pack seconds 60 correlate all&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;IPS REMOVE {INCIDENT inc_id | PROBLEM prob_id | PROBLEMKEY prob_key} PACKAGE pkg_id&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; ips remove incident 2 package 7&lt;/span&gt;&lt;br /&gt;adrci&amp;gt; ips remove problem 4 package 8&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: 'courier new'; font-size: 130%;"&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;IPS REMOVE FILE file_name PACKAGE pkg_id&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; ips remove file ADR_HOME/trace/orcl_ora_3579.trc package 4&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;IPS SET CONFIGURATION parameter_id value&lt;/span&gt; (parameter_id = 1 to 23)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; ips set configuration 4 8&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;IPS SHOW CONFIGURATION [parameter_id]&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: 'courier new'; font-size: 130%;"&gt;&lt;span style="font-family: 'courier new';"&gt;&lt;span style="color: #000099;"&gt;&lt;/span&gt; (parameter_id = 1 to 23)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; ips show configuration&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; ips show configuration 21&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;IPS SHOW FILES PACKAGE pkg_id&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; ips show files package 9&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;IPS SHOW INCIDENTS PACKAGE package_id&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; ips show incidents package 333&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;IPS UNPACK FILE file_name [INTO path]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; ips unpack file /home/oracle/ORA4030_20101008145306_COM_1.zip into /tmp/newadr&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;PURGE [[-i {id1 | start_id end_id}] [-age mins] [-type {ALERT|INCIDENT|TRACE|CDUMP|HM}]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; purge&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; purge -i 123 456&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; purge -age 60 -type incident&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; purge –age 720 –type alert&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;RUN script_name&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;@script_name&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;@@script_name&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; run adrscr9&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; run adrscr.adi&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; @adr.scr&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;SET BASE base_string&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; set base /u01/app/oracle/product&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;SET BROWSER browser_program&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; set browser firefox&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; set browser mozilla&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;SET CONTROL (SHORTP_POLICY = [&lt;u&gt;720&lt;/u&gt;|value] | LONGP_POLICY = [&lt;u&gt;8760&lt;/u&gt;|value])&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; set control (SHORTP_POLICY = 360)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; set control (LONGP_POLICY = 4380)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;SET ECHO ON|OFF&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; set echo on&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; set echo off&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;SET EDITOR editor_program&lt;/span&gt;  (default editor is vi)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; set editor vi&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; set editor xemacs&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;SET HOME home_location&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; set home diag\rdbms\orabase\orabase&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;SET HOMES home_location1, home_location2 [, ...]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; set homes diag\rdbms\orabase\orabase, diag\tnslsnr\testdb\listener&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;SET HOMEPATH homepath_str1 [homepath_str2] [...]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; set homepath diag\dbms\orabase\orabase&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; set homepath diag/rdbms/orcl/orcl4&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; set homepath diag/rdbms/dwh3/dwh31  diag/rdbms/dwh3/dwh32&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;SET TERMOUT ON|OFF&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; set termout on&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; set termout off&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;SHOW ALERT [-p predicate_string] [-tail [num] [-f]] [-term] [-file alert_file_name]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show alert         &lt;span style="color: #660000;"&gt;-- it will open alert in vi editor&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show alert -tail   &lt;span style="color: #660000;"&gt;-- like Unix command tail&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;&lt;span style="color: #660000;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show alert -tail 200 &lt;span style="color: #660000;"&gt;-- &lt;/span&gt;&lt;/span&gt;&lt;span style="color: #660000; font-family: 'courier new';"&gt;like Unix command tail -200&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show alert -tail -f&lt;span style="color: #660000;"&gt;  -- like Unix command tail –f&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show alert -tail 20 -f&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show alert -term&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show alert -P "MESSAGE_TEXT LIKE '%ORA-%'"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #660000; font-family: 'courier new';"&gt;-- To list all the "ORA-" errors&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;SHOW BASE [-product product_name]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show base&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show base -product client&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show base -product adrci&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;SHOW CONTROL&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show control&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;SHOW HM_RUN [-p predicate_string]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show hm_run&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show hm_run -p "run_id=123"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;SHOW HOME&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show home&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;SHOW HOMES&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show homes&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;SHOW HOMEPATH&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show homepath&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;SHOW INCDIR [id | id_low id_high]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show incdir&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show incdir 317&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show incdir 3801 3804&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;SHOW INCIDENT -p predicate_string [-mode {&lt;u&gt;BASIC&lt;/u&gt;|BRIEF|DETAIL}] [-orderby field1, field2, ...] [&lt;u&gt;ASC&lt;/u&gt;|DSC]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show incident&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show incident -mode brief&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show incident -mode brief -p "incident_id=905"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show incident -mode detail&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show incident -mode detail -p "incident_id=33"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show incident -p "CREATE_TIME &amp;gt; '2010-09-18 21:35:25.012579 +00:00'"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;SHOW PROBLEM [-p predicate_string] [-last &lt;u&gt;50&lt;/u&gt;|num|-all] [-orderby field1, field2, ...] [&lt;u&gt;ASC&lt;/u&gt;|DSC]]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show problem&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show problem -all&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show problem -p "problem_id=44"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;SHOW REPORT report_type run_name&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show report hm_run hm_run_9&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;SHOW TRACEFILE [file1 file2 ...] [-rt | -t] [-i inc1 inc2 ...] [-path path1 path2 ...]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt;&lt;!--google_ad_client = "ca-pub-1598199736774055";/* LinkUnit_Horizontal_728X15 */google_ad_slot = "5410026186";google_ad_width = 728;google_ad_height = 15;//--&gt;&lt;/script&gt;&lt;script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"&gt;&lt;/script&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show tracefile&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show tracefile -t&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show tracefile -rt&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show tracefile %pmon%&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show tracefile alert%log&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show tracefile %mmon% -rt&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show tracefile %smon% -path /home/satya/temp&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show tracefile -i 916&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show tracefile -i 1 4 -path diag/rdbms/orabase/orabase&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;SPOOL full_file_name [APPEND|OFF]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; spool c:\dwh\alrt.txt&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; spool /home/satya/myalert.log&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; spool myfile.ado append&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; spool off&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;hr /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%;"&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;HELP EXTENDED&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; help extended&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;HELP [topic]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Available Topics:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;BEGIN BACKUP&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;CD&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;DDE&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;DEFINE&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;DESCRIBE&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;END BACKUP&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;LIST DEFINE&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;MERGE ALERT&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;MERGE FILE&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;QUERY&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;SET COLUMN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;SHOW CATALOG&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;SHOW DUMP&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;SHOW SECTION&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;SHOW TRACE&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;SHOW TRACEMAP&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;SWEEP&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;UNDEFINE&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;VIEW&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; define alertLog 'alert_prod.log'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; list define&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; merge alert&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show trace alert_dwh.log&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; show trace ~alertLog&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; undefine alertLog&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;hr /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%;"&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;HELP HIDDEN&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; help hidden&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;HELP [topic]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Available Topics:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;CREATE HOME&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;CREATE INCIDENT&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;REGISTER INCIDENT FILE&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;CREATE HOME keyname=key_value [keyname=key_value ...]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; create home base=/tmp product_type=rdbms product_id=prod1 instance_id=inst1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;CREATE INCIDENT keyname=key_value [keyname=key_value ...]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; create incident problem_key="ORA-00600: [Memory corruption]" error_facility=ORA error_number=600&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;REGISTER INCIDENT FILE keyname=key_value [keyname=key_value ...]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; register incident file filename=ora_pmon_12345.trc incident_id=1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;hr /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%;"&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;EXPORT relation_name [-p predicate_string] [-file filename] [-overwrite] [-dir]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; export incident&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; export incident -p “incident_id&amp;gt;100″&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; &lt;span style="color: #000099;"&gt;IMPORT file_name [-dir dir_name]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;adrci&amp;gt; import incident_99.imp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Source: Internet&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2511956539743992936-1610600120956361253?l=satya-dba.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://satya-dba.blogspot.com/feeds/1610600120956361253/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://satya-dba.blogspot.com/2010/10/adrci-commands-tool-utility.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2511956539743992936/posts/default/1610600120956361253'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2511956539743992936/posts/default/1610600120956361253'/><link rel='alternate' type='text/html' href='http://satya-dba.blogspot.com/2010/10/adrci-commands-tool-utility.html' title='ADRCI Commands'/><author><name>Satya</name><uri>http://www.blogger.com/profile/14440084623088726822</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/-bU8J97DlZuQ/TsbYZjhEmbI/AAAAAAAALZE/3bwU2WtUYFo/s220/002.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2511956539743992936.post-6497052863798766992</id><published>2010-09-01T19:11:00.076+05:30</published><updated>2011-12-20T05:07:09.577+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='dgmgrl utility'/><title type='text'>dgmgrl utility</title><content type='html'>&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;dgmgrl - Data Guard Manager Utility&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;$dgmgrl sys/pwd&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;$dgmgrl sys/pwd@oltp&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;$dgmgrl -logfile observer.log / "stop observer"&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;$dgmgrl&amp;nbsp;sys/test@dgprimary "show database 'prod'"&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: #000099;"&gt;&lt;b&gt;ADD&lt;/b&gt;&lt;/span&gt; - Adds a standby database to the broker configuration.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; &lt;span class="Apple-style-span" style="color: #000099;"&gt;ADD DATABASE db_name [AS CONNECT IDENTIFIER IS conn_identifier] [MAINTAINED AS {PHYSICAL|LOGICAL}];&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt;&amp;nbsp;ADD DATABASE 'testdb' AS CONNECT IDENTIFIER IS testdb MAINTAINED AS PHYSICAL;&lt;br /&gt;DGMGRL&amp;gt;&amp;nbsp;ADD DATABASE 'logdb' AS CONNECT IDENTIFIER IS logdb MAINTAINED AS LOGICAL;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt;&amp;nbsp;ADD DATABASE 'devdb' AS CONNECT IDENTIFIER IS devdb.foo.com;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="color: #000099;"&gt;&lt;b&gt;CONNECT&lt;/b&gt;&lt;/span&gt; - Connects to an Oracle database instance.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; &lt;span class="Apple-style-span" style="color: #000099;"&gt;CONNECT username/password[@connect_identifier]&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;DGMGRL&amp;gt; CONNECT sys/pwd;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; CONNECT sys/pwd@dwh;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; CONNECT /&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; CONNECT /@dgsetup&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #000099;"&gt;CONVERT&lt;/span&gt;&lt;/b&gt; - Converts a database from one type to another (&lt;a href="http://satya-dba.blogspot.com/2009/01/whats-new-in-11g.html"&gt;from 11g&lt;/a&gt;).&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; &lt;span class="Apple-style-span" style="color: #000099;"&gt;CONVERT DATABASE database_name TO {SNAPSHOT STANDBY|PHYSICAL STANDBY};&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; CONVERT DATABASE 'devdb' to SNAPSHOT STANDBY;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; CONVERT DATABASE 'devdb' to PHYSICAL STANDBY;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;script type="text/javascript"&gt;&lt;!--google_ad_client = "ca-pub-1598199736774055";/* AdUnit_Leaderboard_Text */google_ad_slot = "9972129004";google_ad_width = 728;google_ad_height = 90;//--&gt;&lt;/script&gt;&lt;script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"&gt;&lt;/script&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #000099;"&gt;CREATE&lt;/span&gt;&lt;/b&gt; - Creates a broker configuration.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; &lt;span class="Apple-style-span" style="color: #000099;"&gt;CREATE CONFIGURATION config_name AS PRIMARY DATABASE IS db_name CONNECT IDENTIFIER IS conn_ident;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; CREATE CONFIGURATION 'dg' AS PRIMARY DATABASE IS 'prod' CONNECT IDENTIFIER IS prod.foo.com;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; CREATE CONFIGURATION 'dg_test' AS PRIMARY DATABASE IS 'test' CONNECT IDENTIFIER IS test;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #000099;"&gt;DISABLE&lt;/span&gt;&lt;/b&gt; - Disables a configuration, a database, or fast-start failover (FSFO).&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; &lt;span class="Apple-style-span" style="color: #000099;"&gt;DISABLE CONFIGURATION;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; DISABLE CONFIGURATION;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; &lt;span class="Apple-style-span" style="color: #000099;"&gt;DISABLE DATABASE database_name;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;DGMGRL&amp;gt; DISABLE DATABASE 'devdb';&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; &lt;span class="Apple-style-span" style="color: #000099;"&gt;DISABLE FAST_START FAILOVER [FORCE | CONDITION condition];&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;DGMGRL&amp;gt; DISABLE FAST_START FAILOVER;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; DISABLE FAST_START FAILOVER FORCE;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #000099;"&gt;EDIT&lt;/span&gt;&lt;/b&gt; - Edits a configuration, database, or instance.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; &lt;span class="Apple-style-span" style="color: #000099;"&gt;EDIT CONFIGURATION SET PROTECTION MODE AS {MaxProtection|MaxAvailability|MaxPerformance};&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; EDIT CONFIGURATION SET PROTECTION MODE AS MAXPROTECTION;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; EDIT CONFIGURATION SET PROTECTION MODE AS MAXAVAILABILITY;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; EDIT CONFIGURATION SET PROTECTION MODE AS MAXPERFORMANCE;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;DGMGRL&amp;gt; &lt;span class="Apple-style-span" style="color: #000099;"&gt;EDIT CONFIGURATION SET PROPERTY property_name = value;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;DGMGRL&amp;gt; EDIT CONFIGURATION SET PROPERTY FastStartFailoverThreshold = 45;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="color: #000099;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; &lt;span class="Apple-style-span" style="color: #000099;"&gt;EDIT DATABASE database_name SET PROPERTY property_name = value;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; EDIT DATABASE devdb SET PROPERTY 'LogArchiveFormat'='log_%t_%s_%r_%d.arc';&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;DGMGRL&amp;gt; EDIT DATABASE prodb SET PROPERTY LogXptMode=SYNC;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; EDIT DATABASE prodb SET PROPERTY LogXptMode=ASYNC;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; EDIT DATABASE prodb SET PROPERTY LogXptMode=ARCH;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;DGMGRL&amp;gt; EDIT DATABASE devdb SET PROPERTY LogShipping=OFF;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;DGMGRL&amp;gt; EDIT DATABASE prodb SET PROPERTY LogArchiveTrace=8;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; EDIT DATABASE prodb SET PROPERTY NetTimeout=60;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; EDIT DATABASE devdb SET PROPERTY 'ReopenSecs'=300;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;DGMGRL&amp;gt; EDIT DATABASE prodb SET PROPERTY ArchiveLagTarget=1200;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; EDIT DATABASE prodb SET PROPERTY FastStartFailoverTarget='standby';&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; EDIT DATABASE devdb SET PROPERTY 'StandbyArchiveLocation'='/oradata/archive/';&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; &lt;span class="Apple-style-span" style="color: #000099;"&gt;EDIT DATABASE database_name RENAME TO new database_name;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; EDIT DATABASE 'devdbb' RENAME TO 'devdb'; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="color: #000099;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; &lt;span class="Apple-style-span" style="color: #000099;"&gt;EDIT DATABASE database_name SET STATE = state [WITH APPLY INSTANCE = instance_name];&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; EDIT DATABASE devdb SET STATE='READ-ONLY';&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; EDIT DATABASE devdb SET STATE='OFFLINE';&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span"&gt;DGMGRL&amp;gt; EDIT DATABASE devdb SET STATE='APPLY-OFF';&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;DGMGRL&amp;gt; EDIT DATABASE devdb SET STATE='APPLY-ON';&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span"&gt;DGMGRL&amp;gt; EDIT DATABASE devdb SET STATE='TRANSPORT-OFF';&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; EDIT DATABASE devdb SET STATE='TRANSPORT-ON';&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; EDIT DATABASE prodb SET STATE='LOG-TRANSPORT-OFF';&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; EDIT DATABASE devdb SET STATE='ONLINE' WITH APPLY INSTANCE=devdb2;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;DGMGRL&amp;gt; &lt;span class="Apple-style-span" style="color: #000099;"&gt;EDIT INSTANCE instance_name [ON DATABASE database_name] SET AUTO PFILE [={init_file_path|OFF}];&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; EDIT INSTANCE 'devdb1' ON DATABASE 'devdb' SET AUTO PFILE='initdevdb1.ora';&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;DGMGRL&amp;gt; &lt;span class="Apple-style-span" style="color: #000099;"&gt;EDIT INSTANCE instance_name [ON DATABASE database_name] SET PROPERTY property_name = value;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="color: #000099;"&gt;EDIT INSTANCE * ON DATABASE database_name SET PROPERTY property_name = value;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; EDIT INSTANCE 'proddb' ON DATABASE 'proddb' SET PROPERTY 'StandbyArchiveLocation'='/oradata/arch/'; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;script type="text/javascript"&gt;&lt;!--google_ad_client = "ca-pub-1598199736774055";/* LinkUnit_Horizontal_728X15 */google_ad_slot = "5410026186";google_ad_width = 728;google_ad_height = 15;//--&gt;&lt;/script&gt;&lt;script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"&gt;&lt;/script&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #000099;"&gt;ENABLE&lt;/span&gt;&lt;/b&gt; - Enables a configuration, a database, or fast-start failover (FSFO).&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; &lt;span class="Apple-style-span" style="color: #000099;"&gt;ENABLE CONFIGURATION;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; ENABLE CONFIGURATION;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; &lt;span class="Apple-style-span" style="color: #000099;"&gt;ENABLE DATABASE database_name;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;DGMGRL&amp;gt; ENABLE DATABASE 'devdb';&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; &lt;span class="Apple-style-span" style="color: #000099;"&gt;ENABLE FAST_START FAILOVER [CONDITION condition];&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;DGMGRL&amp;gt; ENABLE FAST_START FAILOVER;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #000099;"&gt;EXIT&lt;/span&gt;&lt;/b&gt; - Exits the program.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; &lt;span class="Apple-style-span" style="color: #000099;"&gt;EXIT;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="color: #000099;"&gt;&lt;b&gt;FAILOVER&lt;/b&gt;&lt;/span&gt; - Changes a standby database to be the primary database.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; &lt;span class="Apple-style-span" style="color: #000099;"&gt;FAILOVER TO standby_database_name [IMMEDIATE]&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; FAILOVER TO "testdb";&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; FAILOVER TO "snapdb" IMMEDIATE;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #000099;"&gt;HELP&lt;/span&gt;&lt;/b&gt; - Displays description and syntax for a command.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; &lt;span class="Apple-style-span" style="color: #000099;"&gt;HELP [command];&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; HELP REINSTATE&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; HELP EDIT&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #000099;"&gt;QUIT&lt;/span&gt;&lt;/b&gt; - Exits the program.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; &lt;span class="Apple-style-span" style="color: #000099;"&gt;QUIT;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #000099;"&gt;REINSTATE&lt;/span&gt;&lt;/b&gt; - Changes a database marked for reinstatement into a viable standby.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; &lt;span class="Apple-style-span" style="color: #000099;"&gt;REINSTATE DATABASE database_name;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; REINSTATE DATABASE prim1;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="color: #000099;"&gt;&lt;b&gt;REM&lt;/b&gt;&lt;/span&gt; - Comment to be ignored by DGMGRL.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; &lt;span class="Apple-style-span" style="color: #000099;"&gt;REM [comment];&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #000099;"&gt;REMOVE&lt;/span&gt;&lt;/b&gt; - Removes a configuration, database, or instance.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; &lt;span class="Apple-style-span" style="color: #000099;"&gt;REMOVE CONFIGURATION [PRESERVE DESTINATIONS];&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; REMOVE CONFIGURATION;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt;&amp;nbsp;REMOVE CONFIGURATION PRESERVE DESTINATIONS;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;DGMGRL&amp;gt; &lt;span class="Apple-style-span" style="color: #000099;"&gt;REMOVE DATABASE database_name [PRESERVE DESTINATIONS];&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;DGMGRL&amp;gt; REMOVE DATABASE devdb;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;DGMGRL&amp;gt;&amp;nbsp;REMOVE DATABASE standby PRESERVE DESTINATIONS; &lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: #000099;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;DGMGRL&amp;gt; &lt;span class="Apple-style-span" style="color: #000099;"&gt;REMOVE INSTANCE instance_name [ON DATABASE database_name];&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;DGMGRL&amp;gt; REMOVE INSTANCE inst1 ON DATABASE racdb;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #000099;"&gt;SHOW&lt;/span&gt;&lt;/b&gt; - Displays information about a configuration, database, instance or FSFO.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; &lt;span class="Apple-style-span" style="color: #000099;"&gt;SHOW CONFIGURATION [VERBOSE];&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; SHOW CONFIGURATION;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; SHOW CONFIGURATION VERBOSE;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; &lt;span class="Apple-style-span" style="color: #000099;"&gt;SHOW DATABASE [VERBOSE] db_name [property_name];&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; SHOW DATABASE 'devdb';&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; SHOW DATABASE VERBOSE 'test';&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;DGMGRL&amp;gt; SHOW DATABASE 'proddb' 'LogXptStatus';&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; SHOW DATABASE 'proddb' 'InconsistentProperties';&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;DGMGRL&amp;gt; SHOW DATABASE 'proddb' 'InconsistentLogXptProps';&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; SHOW DATABASE 'testdb' 'ArchiveLagTarget';&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; SHOW DATABASE 'testdb' 'LogShipping';&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; SHOW DATABASE 'testdb' 'PreferredApplyInstance';&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; SHOW DATABASE 'proddb' 'StatusReport';&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;DGMGRL&amp;gt; SHOW DATABASE 'testdb' 'RecvQEntries';&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; SHOW DATABASE 'proddb' 'SendQEntries';&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;DGMGRL&amp;gt; &lt;span class="Apple-style-span" style="color: #000099;"&gt;SHOW INSTANCE [VERBOSE] instance_name [property_name] [ON DATABASE db_name];&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; SHOW INSTANCE inst1;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; SHOW INSTANCE VERBOSE inst3;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; SHOW INSTANCE testdb 'TopWaitEvents';&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="color: #000099;"&gt;SHOW FAST_START FAILOVER;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;DGMGRL&amp;gt; SHOW FAST_START FAILOVER;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #000099;"&gt;SHUTDOWN&lt;/span&gt;&lt;/b&gt; - &lt;a href="http://satya-dba.blogspot.com/2009/01/startupshutdown-options.html"&gt;Shuts down&lt;/a&gt; a currently running Oracle instance.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; &lt;span class="Apple-style-span" style="color: #000099;"&gt;SHUTDOWN [&lt;u&gt;NORMAL&lt;/u&gt; | IMMEDIATE | ABORT];&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; SHUTDOWN;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; SHUT IMMEDIATE;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #000099;"&gt;START&lt;/span&gt;&lt;/b&gt; - Starts the fast-start failover(FSFO)&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;observer.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; &lt;span class="Apple-style-span" style="color: #000099;"&gt;START OBSERVER [FILE=observer_configuration_file];&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; START OBSERVER;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #000099;"&gt;STARTUP&lt;/span&gt;&lt;/b&gt; - &lt;a href="http://satya-dba.blogspot.com/2009/01/startupshutdown-options.html"&gt;Starts&lt;/a&gt; an Oracle database instance.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; &lt;span class="Apple-style-span" style="color: #000099;"&gt;STARTUP [RESTRICT] [FORCE] [PFILE=filespec]&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="color: #000099;"&gt;[NOMOUNT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp; | &amp;nbsp;&lt;span class="Apple-style-span" style="color: #000099; font-family: 'courier new'; font-size: medium;"&gt;MOUNT | &lt;u&gt;OPEN&lt;/u&gt; [READ ONLY|&lt;u&gt;READ WRITE&lt;/u&gt;]];&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; STARTUP;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; STARTUP NOMOUNT;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; STARTUP MOUNT;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;DGMGRL&amp;gt; STARTUP OPEN;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; STARTUP FORCE RESTRICT NOMOUNT;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; STARTUP PFILE=initdwh.ora NOMOUNT;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #000099;"&gt;STOP&lt;/span&gt;&lt;/b&gt; - Stops the fast-start failover(FSFO) observer.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; &lt;span class="Apple-style-span" style="color: #000099;"&gt;STOP OBSERVER;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #000099;"&gt;SWITCHOVER&lt;/span&gt;&lt;/b&gt; - Switches roles between a primary and standby database.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; &lt;span class="Apple-style-span" style="color: #000099;"&gt;SWITCHOVER TO standby_database_name;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;DGMGRL&amp;gt; SWITCHOVER TO "standby";&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt;&lt;!--google_ad_client = "ca-pub-1598199736774055";/* LinkUnit_Horizontal_728X15 */google_ad_slot = "5410026186";google_ad_width = 728;google_ad_height = 15;//--&gt;&lt;/script&gt;&lt;script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"&gt;&lt;/script&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;$ORACLE_HOME/rdbms/log/drc*.log&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;alter system set dg_broker_start=false;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;alter system set dg_broker_start=false sid='*';&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;alter system set dg_broker_start=FALSE SCOPE=spfile SID='*';&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;alter system set dg_broker_start=true;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;alter system set dg_broker_start=true sid='*';&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;alter system set dg_broker_start=TRUE SCOPE=spfile SID='*';&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new'; font-size: medium;"&gt;alter system set dg_broker_config_file1='/u01/dg_broker_config_files/dr1TESTPRI.dat' sid='*';&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;alter system set dg_broker_config_file2='/u01/dg_broker_config_files/dr2TESTPRI.dat' sid='*';&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;Source: Internet&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2511956539743992936-6497052863798766992?l=satya-dba.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://satya-dba.blogspot.com/feeds/6497052863798766992/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://satya-dba.blogspot.com/2010/09/dgmgrl-utility-tool-executable.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2511956539743992936/posts/default/6497052863798766992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2511956539743992936/posts/default/6497052863798766992'/><link rel='alternate' type='text/html' href='http://satya-dba.blogspot.com/2010/09/dgmgrl-utility-tool-executable.html' title='dgmgrl utility'/><author><name>Satya</name><uri>http://www.blogger.com/profile/14440084623088726822</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/-bU8J97DlZuQ/TsbYZjhEmbI/AAAAAAAALZE/3bwU2WtUYFo/s220/002.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2511956539743992936.post-1215268628572652424</id><published>2010-08-09T17:13:00.023+05:30</published><updated>2011-12-20T05:05:15.891+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Setting SQL prompt'/><title type='text'>Setting SQL prompt</title><content type='html'>&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;The default prompt in SQL*Plus is SQL&amp;gt;, does not provide any information like who the user is and what the user is connected as. Prior to Oracle9i, we have to do elaborate coding to get the information as the SQL prompt, from 9.2.0 we can use SET SQLPROMPT along with SQL*Plus predefined variables.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Whenever SQL*PLUS starts up, it looks for a file named glogin.sql under the directory $ORACLE_HOME/sqlplus/admin. If the file is found, it is read and the containing statements executed. This allows to store settings across SQL*PLUS sessions. From 10g, after reading glogin.sql, SQL*PLUS also looks for a file named login.sql, in the directory from where SQL*PLUS was and in the directory that the environment variable SQLPATH points to, and reads it and executes it. Settings from the login.sql take precedence over settings from glogin.sql.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;In Oracle9i, whenever a user connects through SQL*PLUS, Oracle will execute only glogin.sql, from 10g Oracle will execute login.sql as well. From Oracle 10g, the login.sql file is not only executed at SQL*Plus startup time, but also at connect time as well. So SQL prompt will be changed after connect command.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;To set SQL prompt permanently, update $ORACLE_HOME/sqlplus/admin/glogin.sql or login.sql&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: 130%;"&gt;SQLP[ROMPT] {&lt;u&gt;SQL&amp;gt;&lt;/u&gt;|text}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;TEXT can be predefined substitution variables which are prefixed with an underscore.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;table border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;_connect_identifier&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;will display connection identifier.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;_date&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;will display date.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;_editor&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;will display editor name used by the EDIT command.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;_o_version&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;will display Oracle version.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;_o_release&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;will display Oracle release.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;_privilege&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;will display privilege such as SYSDBA, SYSOPER, SYSASM&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;_sqlplus_release&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;will display SQL*PLUS release.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;_user&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;will display current user name.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;script type="text/javascript"&gt;&lt;!--google_ad_client = "ca-pub-1598199736774055";/* LinkUnit_Horizontal_728X15 */google_ad_slot = "5410026186";google_ad_width = 728;google_ad_height = 15;//--&gt;&lt;/script&gt;&lt;script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"&gt;&lt;/script&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;The variable _CONNECT_IDENTIFIER was introduced in SQL*Plus 9.2 and _DATE, _PRIVILEGE and _USER were introduced in SQL*Plus 10.1.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: 130%; font-weight: bold;"&gt;_USER&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;The variable _USER  contains the current user name given by SHOW USER. If SQL*Plus is not  connected, the variable is defined as an empty string.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;SQL&amp;gt; set sqlprompt "_user&amp;gt;"&lt;br /&gt;&lt;br /&gt;The SQL*Plus prompt will shows&lt;br /&gt;SYSTEM&amp;gt;&lt;br /&gt;SATYA&amp;gt;&lt;br /&gt;&lt;span style="font-size: 130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size: 130%; font-weight: bold;"&gt;_PRIVILEGE&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;When SQL*Plus is connected as a privileged user the variable _PRIVILEGE contains the connection privilege "AS SYSBDA" or "AS SYSOPER" or "AS SYSASM". If SQL*Plus is connected as a normal user the variable is defined as an empty string.&lt;br /&gt;SQL&amp;gt; set sqlprompt "_user _privilege&amp;gt;"&lt;br /&gt;&lt;br /&gt;The SQL*Plus prompt will shows&lt;br /&gt;SYS AS SYSDBA&amp;gt;&lt;br /&gt;SATYA AS SYSOPER&amp;gt;&lt;br /&gt;ASMADM AS SYSASM&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;span style="font-size: 130%; font-weight: bold;"&gt;_CONNECT_IDENTIFIER&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;The variable  _CONNECT_IDENTIFIER contains the connection identifier used to start  SQL*Plus. For example, if the SQL*Plus connection string is  "hr/my_password@MYSID" then the variable contains MYSID. If you use a  complete Oracle Net connection string like  "hr/my_password@(DESCRIPTION=(ADDRESS_LIST=...(SERVICE_NAME=MYSID.MYDOMAIN)))"  then _CONNECT_IDENTIFIER will be set to MYSID. If the connect  identifier is not explicitly specified then _CONNECT_IDENTIFIER contains  the default connect identifier Oracle uses for connection. For example,  on UNIX it will contain the value in the environment variable ORACLE_SID  or TWO_TASK. If SQL*Plus is not connected then the variable is defined  as an empty string.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;SQL&amp;gt; set sqlprompt "&amp;amp;_user@&amp;amp;_connect_identifier&amp;gt;"&lt;br /&gt;or&lt;br /&gt;SQL&amp;gt; set sqlprompt "_user'@'_connect_identifier&amp;gt;"&lt;br /&gt;The SQL*Plus prompt will shows&lt;br /&gt;SYS@PROD&amp;gt;&lt;br /&gt;SYSTEM@DWH&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: 130%; font-weight: bold;"&gt;_DATE&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;The variable _DATE can  be either dynamic, showing the current date or it can be set to a fixed  string. The date is formatted using the value of NLS_DATE_FORMAT and will show time information. By default a DEFINE or dereference using  &amp;amp;_DATE will give the date at the time of use. _DATE can be  UNDEFINED, or set to a fixed string with an explicit DEFINE command.  Dynamic date behavior is re-enabled by defining _DATE to an empty  string.If we want to display current date:&lt;br /&gt;SQL&amp;gt; set sqlprompt "_user _privilege 'on' _date&amp;gt;"&lt;br /&gt;SYS AS SYSDBA on 9-AUG-10&amp;gt;&lt;br /&gt;&lt;br /&gt;If we want to display the current date &amp;amp; time:&lt;br /&gt;SATYA on 9-AUG-10 at DEVDB&amp;gt; alter session set nls_date_format = 'mm/dd/yyyy hh24:mi:ss';&lt;br /&gt;SATYA on 08/09/2010 13:03:51 at DEVDB&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: 130%; font-weight: bold;"&gt;_EDITOR&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;The variable _EDITOR contains the external text editor executable name.&lt;br /&gt;set sqlprompt _editor&amp;gt;&lt;br /&gt;&lt;br /&gt;The SQL*Plus prompt will shows&lt;br /&gt;vi&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: 130%; font-weight: bold;"&gt;_O_VERSION&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;The variable _O_VERSION contains a text string showing the database version and available options.&lt;br /&gt;set sqlprompt _o_version&amp;gt;&lt;br /&gt;&lt;br /&gt;The SQL*Plus prompt will shows&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-style: italic;"&gt;Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production &lt;/span&gt;&lt;span style="font-style: italic;"&gt;With the Partitioning, Data Mining and Real Application Testing options&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: 130%; font-weight: bold;"&gt;_O_RELEASE&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;The variable  _O_RELEASE contains a string representation of the Oracle database  version number. If Oracle database version is 11.1.0.7.0 then the  variable contains "1101000700". The Oracle version may be different from  the SQL*Plus version if you use Oracle Net to connect to a remote  database.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;set sqlprompt _o_release&amp;gt;&lt;br /&gt;&lt;br /&gt;The SQL*Plus prompt will shows (for 10.2.0.4.0)&lt;br /&gt;1002000400&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;span style="font-size: 130%; font-weight: bold;"&gt;_SQLPLUS_RELEASE&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;The variable _SQLPLUS_RELEASE contains the SQL*Plus version number in a similar format to _O_RELEASE.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;set sqlprompt _sqlplus_release&amp;gt;&lt;br /&gt;&lt;br /&gt;The SQL*Plus prompt will shows  (for 10.2.0.4.0)&lt;br /&gt;1002000400&amp;gt;&lt;br /&gt;&lt;br /&gt;SQL&amp;gt; set sqlprompt "_user'@'_connect_identifier:SQL&amp;gt; "&lt;br /&gt;SCOTT@DEVDB:SQL&amp;gt; connect system/manager&lt;br /&gt;SYSTEM@DEVDB:SQL&amp;gt; disconnect&lt;br /&gt;@:SQL&amp;gt; connect OEM/OEM@oemdb&lt;br /&gt;OEM@OEMDB:SQL&amp;gt;&lt;br /&gt;&lt;br /&gt;To reset to the default SQL prompt,&lt;br /&gt;SQL&amp;gt; set sqlprompt 'SQL&amp;gt;'&lt;br /&gt;&lt;br /&gt;Source: Internet&lt;/span&gt;&lt;script type="text/javascript"&gt;&lt;!--google_ad_client = "ca-pub-1598199736774055";/* LinkUnit_Horizontal_728X15 */google_ad_slot = "5410026186";google_ad_width = 728;google_ad_height = 15;//--&gt;&lt;/script&gt;&lt;script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"&gt;&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2511956539743992936-1215268628572652424?l=satya-dba.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://satya-dba.blogspot.com/feeds/1215268628572652424/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://satya-dba.blogspot.com/2010/08/setting-sql-prompt-in-oracle.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2511956539743992936/posts/default/1215268628572652424'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2511956539743992936/posts/default/1215268628572652424'/><link rel='alternate' type='text/html' href='http://satya-dba.blogspot.com/2010/08/setting-sql-prompt-in-oracle.html' title='Setting SQL prompt'/><author><name>Satya</name><uri>http://www.blogger.com/profile/14440084623088726822</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/-bU8J97DlZuQ/TsbYZjhEmbI/AAAAAAAALZE/3bwU2WtUYFo/s220/002.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2511956539743992936.post-2874610216718950862</id><published>2010-07-19T13:03:00.008+05:30</published><updated>2011-12-20T05:01:58.448+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='* Differences between Managers and Leaders'/><title type='text'>Differences between Managers and Leaders</title><content type='html'>&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;A manager and a leader are two different kinds of individuals.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Leaders as inspiring visionaries, concerned about substance; while managers are viewed as planners who have concerns with process.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Managers administer, leaders innovate.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Managers ask how and when, leaders ask what and why.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Managers focus on systems, leaders focus on people.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Managers do things right, leaders do the right things.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Managers maintain, leaders develop.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;script type="text/javascript"&gt;&lt;!--google_ad_client = "ca-pub-1598199736774055";/* LinkUnit_Horizontal_728X15 */google_ad_slot = "5410026186";google_ad_width = 728;google_ad_height = 15;//--&gt;&lt;/script&gt;&lt;script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"&gt;&lt;/script&gt;&lt;br /&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Managers rely on control, leaders inspire trust.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Managers have a short-term perspective, leaders have a longer-term perspective.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Managers accept the status-quo; leaders challenge the status-quo.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Managers have an eye on the bottom line, leaders have an eye on the horizon&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Managers imitate, leaders originate.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Managers emulate the classic good soldier, leaders are their own person.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Manager's copy, leaders show originality.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Managers take care of the day to day efficiency focused set of activities and bring in the operational excellence that helps the organization prepare itself for the leader who then builds the long term, strategic and transformational initiatives.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;In an organization we need both types of individuals.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;Source: SMU MBA HRM Book &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2511956539743992936-2874610216718950862?l=satya-dba.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://satya-dba.blogspot.com/feeds/2874610216718950862/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://satya-dba.blogspot.com/2010/07/differences-between-managers-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2511956539743992936/posts/default/2874610216718950862'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2511956539743992936/posts/default/2874610216718950862'/><link rel='alternate' type='text/html' href='http://satya-dba.blogspot.com/2010/07/differences-between-managers-and.html' title='Differences between Managers and Leaders'/><author><name>Satya</name><uri>http://www.blogger.com/profile/14440084623088726822</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/-bU8J97DlZuQ/TsbYZjhEmbI/AAAAAAAALZE/3bwU2WtUYFo/s220/002.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2511956539743992936.post-1282589448848753240</id><published>2010-06-03T11:14:00.042+05:30</published><updated>2011-12-20T04:59:57.883+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Statistics'/><title type='text'>Oracle Statistics</title><content type='html'>&lt;span style="font-family: 'courier new';"&gt;Whenever a valid SQL statement is processed Oracle has to decide how to retrieve the necessary data. This decision can be made using one of two methods: &lt;/span&gt;&lt;br /&gt;&lt;ul style="font-family: courier new;"&gt;&lt;li&gt;Rule Based Optimizer (RBO) - This method is used if the server has no internal statistics relating to the objects referenced by the statement. This method is no longer favoured by Oracle and was desupported from &lt;a href="http://satya-dba.blogspot.com/2009/01/whats-new-in-10g.html"&gt;10g&lt;/a&gt;. &lt;/li&gt;&lt;li&gt;Cost Based Optimizer (CBO) - This method is used if internal statistics are present. The CBO checks several possible execution plans and selects the one with the lowest cost, where cost relates to system resources. Since Oracle 8i the Cost Based Optimizer (CBO) is the preferred optimizer for Oracle.&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: 'courier new';"&gt;Oracle statistics tell us the size of the tables, the distribution of values within columns, and other important information so that SQL statements will always generate the best execution plans. If new objects are created, or the amount of data in the database changes the statistics will no longer represent the real state of the database so the CBO decision process may be seriously impaired.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Oracle can do things in several different ways, e.g. select might be done by table scan or by using indexes. It uses statistics, a variety of counts and averages and other numbers, to figure out the best way to do things. It does the figuring automatically, using the Cost Based Optimizer. DBA job is to make sure the numbers are good enough for that optimizer to work properly.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Oracle statistics may refer to historical performance statistics that are kept in &lt;a href="http://satya-dba.blogspot.com/2009/08/statspack-in-oracle.html"&gt;STATSPACK&lt;/a&gt; or AWR, but more common use of the term Oracle statistics is about Oracle optimizer Metadata statistics in order to provide the cost-based SQL optimizer with the information about the nature of the tables. The statistics mentioned here are optimizer statistics, which are created for the purposes of query optimization and are stored in the data dictionary. These statistics should not be confused with performance statistics visible through V$ views.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;The optimizer is influenced by the following factors:&lt;/span&gt;&lt;br /&gt;&lt;ul style="font-family: courier new;"&gt;&lt;li&gt;OPTIMIZER_MODE in the initialization file&lt;/li&gt;&lt;li&gt;Statistics in the data dictionary&lt;/li&gt;&lt;li&gt;Hints&lt;/li&gt;&lt;script type="text/javascript"&gt;&lt;!--google_ad_client = "ca-pub-1598199736774055";/* LinkUnit_Horizontal_728X15 */google_ad_slot = "5410026186";google_ad_width = 728;google_ad_height = 15;//--&gt;&lt;/script&gt;&lt;script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"&gt;&lt;/script&gt;&lt;br /&gt;&lt;/ul&gt;&lt;span style="font-family: 'courier new';"&gt;OPTIMIZER_MODE can have the following values:&lt;br /&gt;CHOOSE&lt;br /&gt;ALL_ROWS&lt;br /&gt;FIRST_ROWS&lt;br /&gt;RULE&lt;br /&gt;&lt;br /&gt;If we provide Oracle with good statistics about the schema the CBO will almost always generate an optimal execution plan. The areas of schema analysis include:&lt;/span&gt;&lt;br /&gt;&lt;ul style="font-family: courier new;"&gt;&lt;li&gt;Object statistics - Statistics for all tables, &lt;a href="http://satya-dba.blogspot.com/2009/07/partitioning-in-oracle.html"&gt;partitions&lt;/a&gt;, IOTs, etc should be sampled with a deep and statistically valid sample size.&lt;/li&gt;&lt;li&gt;Critical columns - Those columns that are regularly-referenced in SQL statements that are:&lt;ul&gt;&lt;li&gt;Heavily skewed columns - This helps the CBO properly choose between an index range scan and a full table scan.&lt;/li&gt;&lt;li&gt;Foreign key columns - For n-way table joins, the CBO needs to determine the optimal table join order and knowing the cardinality of the intermediate results sets is critical.&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;External statistics - Oracle will sample the CPU cost and I/O cost during statistics collection and use this information to determine the optimal execution plan, based on optimizer_mode. External statistics are most useful for SQL running in the all_rows optimizer mode.&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: 'courier new';"&gt;Optimizer statistics are a collection of data that describe more details about the database and the objects in the database. These statistics are used by the query optimizer to choose the best execution plan for each SQL statement. Optimizer statistics include the following:&lt;/span&gt;&lt;br /&gt;&lt;ul style="font-family: courier new;"&gt;&lt;li&gt;Table statistics&lt;ul&gt;&lt;li&gt;Number of rows&lt;/li&gt;&lt;li&gt;Number of blocks&lt;/li&gt;&lt;li&gt;Average row length&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;Column statistics&lt;ul&gt;&lt;li&gt;Number of distinct values (NDV) in column&lt;/li&gt;&lt;li&gt;Number of nulls in column&lt;/li&gt;&lt;li&gt;Data distribution (histogram)&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;Index statistics&lt;ul&gt;&lt;li&gt;Number of leaf blocks&lt;/li&gt;&lt;li&gt;Levels&lt;/li&gt;&lt;li&gt;Clustering factor&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;System statistics&lt;ul&gt;&lt;li&gt;I/O performance and utilization&lt;/li&gt;&lt;li&gt;CPU performance and utilization&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;script type="text/javascript"&gt;&lt;!--google_ad_client = "ca-pub-1598199736774055";/* LinkUnit_Vertical_200X90 */google_ad_slot = "1873853547";google_ad_width = 200;google_ad_height = 90;//--&gt;&lt;/script&gt;&lt;script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"&gt;&lt;/script&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;The optimizer statistics are stored in the data dictionary. They can be viewed using data dictionary views. Only statistics stored in the dictionary itself have an impact on the cost-based optimizer.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;When statistics are updated for a database object, Oracle invalidates any currently parsed SQL statements that access the object. The next time such a statement executes, the statement is re-parsed and the optimizer automatically chooses a new execution plan based on the new statistics. Distributed statements accessing objects with new statistics on remote databases are not invalidated. The new statistics take effect the next time the SQL statement is parsed.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Because the objects in a database can be constantly changing, statistics must be regularly updated so that they accurately describe these database objects. Statistics are maintained automatically by Oracle or we can maintain the optimizer statistics manually using the DBMS_STATS package.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;DBMS_STATS package provides procedures for managing statistics. We can save and restore copies of statistics. You can export statistics from one system and import those statistics into another system. For example, you could export statistics from a production system to a test system. We can lock statistics to prevent those statistics from changing.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;For data warehouses and database using the all_rows optimizer_mode, from &lt;a href="http://satya-dba.blogspot.com/2009/01/whats-new-in-9i.html#9irel2"&gt;Oracle9i release 2&lt;/a&gt; we can collect the external cpu_cost and io_cost metrics. The ability to save and re-use schema statistics is important:&lt;/span&gt;&lt;br /&gt;&lt;ul style="font-family: courier new;"&gt;&lt;li&gt;Bi-Modal databases - Many databases get huge benefits from using two sets of stats, one for OLTP (daytime), and another for batch (evening jobs).&lt;/li&gt;&lt;li&gt;Test databases - Many Oracle professionals will export their production statistics into the development instances so that the test execution plans more closely resemble the production database.&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;Creating statistics&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;In order to make good use of the CBO, we need to create statistics for the data in the database. There are several options to create statistics.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;Automatic Statistics Gathering&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;The recommended approach to gathering statistics is to allow Oracle to automatically gather the statistics. Oracle gathers statistics on all database objects automatically and maintains those statistics in a regularly-scheduled maintenance job. Automated statistics collection eliminates many of the manual tasks associated with managing the query optimizer, and significantly reduces the chances of getting poor execution plans because of missing or stale statistics.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-weight: bold;"&gt;GATHER_STATS_JOB&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Optimizer statistics are automatically gathered with the job GATHER_STATS_JOB. This job gathers statistics on all objects in the database which have missing statistics and stale statistics.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;This job is created automatically at database creation time and is managed by the Scheduler. The Scheduler runs this job when the maintenance window is opened. By default, the maintenance window opens every night from 10 P.M. to 6 A.M. and all day on weekends. The stop_on_window_close attribute controls whether the GATHER_STATS_JOB continues when the maintenance window closes. The default setting for the stop_on_window_close attribute is TRUE, causing Scheduler to terminate GATHER_STATS_JOB when the maintenance window closes. The remaining objects are then processed in the next maintenance window.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;The GATHER_STATS_JOB job gathers optimizer statistics by calling the DBMS_STATS.GATHER_DATABASE_STATS_JOB_PROC procedure. The GATHER_DATABASE_STATS_JOB_PROC procedure collects statistics on database objects when the object has no previously gathered statistics or the existing statistics are stale because the underlying object has been modified significantly (more than 10% of the rows).The GATHER_DATABASE_STATS_JOB_PROC is an internal procedure, but its operates in a very similar fashion to the DBMS_STATS.GATHER_DATABASE_STATS procedure using the GATHER AUTO option. The primary difference is that the GATHER_DATABASE_STATS_JOB_PROC procedure prioritizes the database objects that require statistics, so that those objects which most need updated statistics are processed first. This ensures that the most-needed statistics are gathered before the maintenance window closes.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-weight: bold;"&gt;Enabling Automatic Statistics Gathering&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Automatic statistics gathering is enabled by default when a database is created, or when a database is upgraded from an earlier database release. We can verify that the job exists by viewing the DBA_SCHEDULER_JOBS view:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;SQL&amp;gt; SELECT * FROM DBA_SCHEDULER_JOBS WHERE JOB_NAME = 'GATHER_STATS_JOB';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;In situations when you want to disable automatic statistics gathering, then disable the GATHER_STATS_JOB as follows:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;BEGIN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;    DBMS_SCHEDULER.DISABLE('GATHER_STATS_JOB');&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;END;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Automatic statistics gathering relies on the modification monitoring feature. If this feature is disabled, then the automatic statistics gathering job is not able to detect stale statistics. This feature is enabled when the STATISTICS_LEVEL parameter is set to TYPICAL (default) or ALL.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-weight: bold;"&gt;When to Use Manual Statistics&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Automatic statistics gathering should be sufficient for most database objects which are being modified at a moderate speed. However, there are cases where automatic statistics gathering may not be adequate. Because the automatic statistics gathering runs during an overnight batch window, the statistics on tables which are significantly modified during the day may become stale. There are typically two types of such objects:&lt;/span&gt;&lt;br /&gt;&lt;ul style="font-family: courier new;"&gt;&lt;li&gt;Volatile tables that are being deleted or truncated and rebuilt during the course of the day.&lt;/li&gt;&lt;li&gt;Objects which are the target of large bulk loads which add 10% or more to the object's total size.&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: 'courier new';"&gt;For highly volatile tables, there are two approaches:&lt;/span&gt;&lt;br /&gt;&lt;ul style="font-family: courier new;"&gt;&lt;li&gt;The statistics on these tables can be set to NULL. When Oracle encounters a table with no statistics, Oracle dynamically gathers the necessary statistics as part of query optimization. This dynamic sampling feature is controlled by the OPTIMIZER_DYNAMIC_SAMPLING parameter, and this parameter should be set to a value of 2 or higher. The default value is 2. The statistics can set to NULL by deleting and then locking the statistics:&lt;/li&gt;&lt;li&gt;BEGIN&lt;/li&gt;&lt;li&gt; DBMS_STATS.DELETE_TABLE_STATS('SCOTT','EMP');&lt;/li&gt;&lt;li&gt; DBMS_STATS.LOCK_TABLE_STATS('SCOTT','EMP');&lt;/li&gt;&lt;li&gt;END;&lt;/li&gt;&lt;li&gt;/&lt;/li&gt;&lt;li&gt;The statistics on these tables can be set to values that represent the typical state of the table. We should gather statistics on the table when the tables have a representative number of rows, and then lock the statistics.&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: 'courier new';"&gt;This is more effective than the GATHER_STATS_JOB, because any statistics generated on the table during the overnight batch window may not be the most appropriate statistics for the daytime workload.&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;For tables which are being bulk-loaded, the statistics-gathering procedures should be run on those tables immediately following the load process, preferably as part of the same script or job that is running the bulk load.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;For external tables, statistics are not collected during GATHER_SCHEMA_STATS, GATHER_DATABASE_STATS, and automatic statistics gathering processing. However, you can collect statistics on an individual external table using GATHER_TABLE_STATS. Sampling on external tables is not supported so the ESTIMATE_PERCENT option should be explicitly set to NULL. Because data manipulation is not allowed against external tables, it is sufficient to analyze external tables when the corresponding file changes.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;If the monitoring feature is disabled by setting STATISTICS_LEVEL to BASIC, automatic statistics gathering cannot detect stale statistics. In this case statistics need to be manually gathered.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Another area in which statistics need to be manually gathered is the system statistics. These statistics are not automatically gathered.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Statistics on fixed objects, such as the dynamic performance tables, need to be manually collected using GATHER_FIXED_OBJECTS_STATS procedure. Fixed objects record current database activity; statistics gathering should be done when database has representative activity.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Whenever statistics in dictionary are modified, old versions of statistics are saved automatically for future restoring. Statistics can be restored using RESTORE procedures of DBMS_STATS package.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;In some cases, we may want to prevent any new statistics from being gathered on a table or schema by the DBMS_STATS_JOB process, such as highly volatile tables. In those cases, the DBMS_STATS package provides procedures for locking the statistics for a table or schema.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-weight: bold;"&gt;Scheduling Stats&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Scheduling the gathering of statistics using DBMS_JOB is the easiest way to make sure they are always up to date:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;SET SERVEROUTPUT ON&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;DECLARE&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;    l_job NUMBER;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;BEGIN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;    DBMS_JOB.submit(l_job, 'BEGIN       DBMS_STATS.gather_schema_stats(''SCOTT''); END;',&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;        SYSDATE,'SYSDATE + 1');&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;    COMMIT;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;    DBMS_OUTPUT.put_line('Job: ' || l_job);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;END;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt;&lt;!--google_ad_client = "ca-pub-1598199736774055";/* AdUnit_Leaderboard_Text */google_ad_slot = "9972129004";google_ad_width = 728;google_ad_height = 90;//--&gt;&lt;/script&gt;&lt;script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"&gt;&lt;/script&gt;&lt;span style="font-family: 'courier new';"&gt;The above code sets up a job to gather statistics for SCOTT for the current time every day. We can list the current jobs on the server using the DBA_JOBS and DBA_JOBS_RUNNING views.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Existing jobs can be removed using:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_JOB.remove(X);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;COMMIT;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Where 'X' is the number of the job to be removed.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;Manual Statistics Gathering&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;If you choose not to use automatic statistics gathering, then you need to manually collect statistics in all schemas, including system schemas. If the data in the database changes regularly, you also need to gather statistics regularly to ensure that the statistics accurately represent characteristics of your database objects.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;The preferred tool for collecting statistics used to be the ANALYZE command. Over the past few releases, the DBMS_STATS package in the PL/SQL Packages and Types reference has taken over the statistics functions, and left the ANALYZE command with more mundane 'health check' work like analyzing chained rows.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;Analyze Statement&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;The ANALYZE statement can be used to gather statistics for a specific table, index or cluster. The statistics can be computed exactly, or estimated based on a specific number of rows, or a percentage of rows.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;The ANALYZE command is available for all versions of Oracle, however to obtain faster and better statistics use the procedures supplied - in 7.3.4 and 8.0 DBMS_UTILITY.ANALYZE_SCHEMA, &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;and in 8i and above - DBMS_STATS.GATHER_SCHEMA_STATS.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;The analyze table can be used to create statistics for 1 table, index or cluster.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Syntax:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;ANALYZE table tableName {compute|estimate|delete} statistics options&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;ANALYZE index indexName {compute|estimate|delete} statistics options&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;ANALYZE cluster clusterName {compute|estimate|delete} statistics options&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;ANALYZE TABLE emp COMPUTE STATISTICS;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;ANALYZE TABLE emp COMPUTE STATISTICS FOR COLUMNS sal SIZE 10;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;ANALYZE TABLE emp &lt;a href="http://satya-dba.blogspot.com/2009/07/partitioning-in-oracle.html"&gt;PARTITION&lt;/a&gt; (p1) COMPUTE STATISTICS;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;ANALYZE INDEX emp_pk COMPUTE STATISTICS;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;ANALYZE TABLE emp ESTIMATE STATISTICS;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;ANALYZE TABLE emp ESTIMATE STATISTICS SAMPLE 500 ROWS;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;ANALYZE TABLE emp ESTIMATE STATISTICS SAMPLE 15 PERCENT;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;ANALYZE TABLE emp ESTIMATE STATISTICS FOR ALL COLUMNS;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;ANALYZE TABLE emp DELETE STATISTICS;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;ANALYZE INDEX emp_pk DELETE STATISTICS;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;ANALYZE TABLE emp VALIDATE STRUCTURE CASCADE; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;ANALYZE INDEX emp_pk VALIDATE STRUCTURE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;ANALYZE CLUSTER emp_custs VALIDATE STRUCTURE CASCADE; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;ANALYZE TABLE emp VALIDATE REF UPDATE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;ANALYZE TABLE emp LIST CHAINED ROWS INTO cr; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Note: Do not use the COMPUTE and ESTIMATE clauses of ANALYZE statement to collect optimizer statistics. These clauses are supported solely for backward compatibility and may be removed in a future release. The DBMS_STATS package collects a broader, more accurate set of statistics, and gathers statistics more efficiently. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;We may continue to use ANALYZE statement to for other purposes not related to optimizer statistics collection:&lt;/span&gt;&lt;br /&gt;&lt;ul style="font-family: courier new;"&gt;&lt;li&gt;To use the VALIDATE or LIST CHAINED ROWS clauses&lt;/li&gt;&lt;li&gt;To collect information on free list blocks&lt;/li&gt;&lt;li&gt;To sample a number (rather than a percentage) of rows&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;DBMS_UTILITY&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;The DBMS_UTILITY package can be used to gather statistics for a whole schema or database. With DBMS_UTILITY.ANALYZE_SCHEMA you can gather all the statistics for all the tables, clusters and indexes of a schema. Both methods follow the same format as the ANALYZE statement:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_UTILITY.ANALYZE_SCHEMA('SCOTT','COMPUTE');&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_UTILITY.ANALYZE_SCHEMA('SCOTT','ESTIMATE',ESTIMATE_ROWS=&amp;gt;100);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_UTILITY.ANALYZE_SCHEMA('SCOTT','ESTIMATE',ESTIMATE_PERCENT=&amp;gt;25);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC  DBMS_UTILITY.ANALYZE_SCHEMA('SCOTT','DELETE');&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_UTILITY.ANALYZE_DATABASE('COMPUTE');&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_UTILITY.ANALYZE_DATABASE('ESTIMATE',ESTIMATE_ROWS=&amp;gt;100);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_UTILITY.ANALYZE_DATABASE('ESTIMATE',ESTIMATE_PERCENT=&amp;gt;15);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;DBMS_STATS&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;The DBMS_STATS package was introduced in Oracle 8i and is Oracles preferred method of gathering object statistics. Oracle list a number of benefits to using it including parallel execution, long term storage of statistics and transfer of statistics between servers. This PL/SQL package is also used to modify, view, export, import, and delete statistics. It follows a similar format to the other methods.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;The DBMS_STATS package can gather statistics on table and indexes, and well as individual columns and partitions of tables. It does not gather cluster statistics; however, we can use DBMS_STATS to gather statistics on the individual tables instead of the whole cluster.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;When we generate statistics for a table, column, or index, if the data dictionary already contains statistics for the object, then Oracle updates the existing statistics. The older statistics are saved and can be restored later if necessary.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Procedures in the DBMS_STATS package for gathering statistics on database objects:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;&lt;/span&gt;&lt;br /&gt;&lt;table border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;th&gt;Procedure &lt;/th&gt;&lt;th&gt;Collects&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;GATHER_INDEX_STATS  &lt;/td&gt;&lt;td&gt;Index statistics&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;GATHER_TABLE_STATS &lt;/td&gt;&lt;td&gt;Table, column, and index statistics&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;GATHER_SCHEMA_STATS &lt;/td&gt;&lt;td&gt;Statistics for all objects in a schema&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;GATHER_DICTIONARY_STATS&lt;/td&gt;&lt;td&gt;Statistics for all dictionary objects&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;GATHER_DATABASE_STATS &lt;/td&gt;&lt;td&gt;Statistics for all objects in a database&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.GATHER_DATABASE_STATS;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.GATHER_DATABASE_STATS(ESTIMATE_PERCENT=&amp;gt;20);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.GATHER_SCHEMA_STATS(ownname, estimate_percent, block_sample, method_opt, degree, granularity, cascade, stattab, statid, options, statown, no_invalidate, gather_temp, gather_fixed);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.GATHER_SCHEMA_STATS('SCOTT');&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.GATHER_SCHEMA_STATS(OWNNAME=&amp;gt;'MRT');&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.GATHER_SCHEMA_STATS('SCOTT',ESTIMATE_PERCENT=&amp;gt;10);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.GATHER_TABLE_STATS('SCOTT','EMP');&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.GATHER_TABLE_STATS('SCOTT','EMP',ESTIMATE_PERCENT=&amp;gt;15);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.GATHER_INDEX_STATS('SCOTT','EMP_PK');&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.GATHER_INDEX_STATS('SCOTT','EMP_PK',ESTIMATE_PERCENT=&amp;gt;15);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;This package also gives us the ability to delete statistics:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.DELETE_DATABASE_STATS;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.DELETE_SCHEMA_STATS('SCOTT');&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.DELETE_TABLE_STATS('SCOTT','EMP');&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.DELETE_INDEX_STATS('SCOTT','EMP_PK');&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.DELETE_PENDING_STATS('SH','SALES');&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.GATHER_SCHEMA_STATS(OWNNAME=&amp;gt;'"DWH"',OPTIONS=&amp;gt;'GATHER AUTO');&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.GATHER_SCHEMA_STATS(OWNNAME=&amp;gt;'PERFSTAT',CASCADE=&amp;gt;TRUE);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;When gathering statistics on system schemas, we can use the procedure DBMS_STATS.GATHER_DICTIONARY_STATS. This procedure gathers statistics for all system schemas, including SYS and SYSTEM, and other optional schemas, such as CTXSYS and DRSYS.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-weight: bold;"&gt;Statistics Gathering Using Sampling&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;The statistics-gathering operations can utilize sampling to estimate statistics. Sampling is an important technique for gathering statistics. Gathering statistics without sampling requires full table scans and sorts of entire tables. Sampling minimizes the resources necessary to gather statistics.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Sampling is specified using the ESTIMATE_PERCENT argument to the DBMS_STATS procedures. While the sampling percentage can be set to any value, Oracle Corporation recommends setting the ESTIMATE_PERCENT parameter of the DBMS_STATS gathering procedures to DBMS_STATS.AUTO_SAMPLE_SIZE to maximize performance gains while achieving necessary statistical accuracy. AUTO_SAMPLE_SIZE lets Oracle determine the best sample size necessary for good statistics, based on the statistical property of the object. Because each type of statistics has different requirements, the size of the actual sample taken may not be the same across the table, columns, or indexes. For example, to collect table and column statistics for all tables in the SCOTT schema with auto-sampling, you could use:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.GATHER_SCHEMA_STATS('SCOTT',DBMS_STATS.AUTO_SAMPLE_SIZE);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.GATHER_SCHEMA_STATS(OWNNAME=&amp;gt;'SCOTT', ESTIMATE_PERCENT=&amp;gt;DBMS_STATS.AUTO_SAMPLE_SIZE);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;When the ESTIMATE_PERCENT parameter is manually specified, the DBMS_STATS gathering procedures may automatically increase the sampling percentage if the specified percentage did not produce a large enough sample. This ensures the stability of the estimated values by reducing fluctuations.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.GATHER_SCHEMA_STATS(OWNNAME=&amp;gt;'SCOTT',&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;ESTIMATE_PERCENT=&amp;gt;25);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-weight: bold;"&gt;Parallel Statistics Gathering&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;The statistics-gathering operations can run either serially or in parallel. The degree of parallelism can be specified with the DEGREE argument to the DBMS_STATS gathering procedures. Parallel statistics gathering can be used in conjunction with sampling. Oracle recommends setting the DEGREE parameter to DBMS_STATS.AUTO_DEGREE. This setting allows Oracle to choose an appropriate degree of parallelism based on the size of the object and the settings for the parallel-related init.ora parameters.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Note that certain types of index statistics are not gathered in parallel, including cluster indexes, domain indexes, and bitmap join indexes.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.GATHER_SCHEMA_STATS(OWNNAME=&amp;gt;'SCOTT', ESTIMATE_PERCENT=&amp;gt; DBMS_STATS.AUTO_SAMPLE_SIZE, METHOD_OPT=&amp;gt; 'FOR ALL COLUMNS SIZE AUTO',DEGREE=&amp;gt;7);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.GATHER_TABLE_STATS(OWNNAME=&amp;gt;’DWH, METHOD_OPT=&amp;gt;’FOR ALL COLUMNS SIZE AUTO’,DEGREE=&amp;gt;6,ESTIMATE_PERCENT=&amp;gt;5, NO_INVALIDATE=&amp;gt;FALSE);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-weight: bold;"&gt;Statistics on &lt;a href="http://satya-dba.blogspot.com/2009/07/partitioning-in-oracle.html"&gt;Partitioned&lt;/a&gt; Objects&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;For partitioned tables and indexes, DBMS_STATS can gather separate statistics for each partition, as well as global statistics for the entire table or index. Similarly, for composite partitioning, DBMS_STATS can gather separate statistics for subpartitions, partitions, and the entire table or index. The type of partitioning statistics to be gathered is specified in the GRANULARITY argument to the DBMS_STATS gathering procedures.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Depending on the SQL statement being optimized, the optimizer can choose to use either the partition (or subpartition) statistics or the global statistics. Both types of statistics are important for most applications, and Oracle recommends setting the GRANULARITY parameter to AUTO to gather both types of partition statistics.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-weight: bold;"&gt;Column Statistics and Histograms&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;When gathering statistics on a table, DBMS_STATS gathers information about the data distribution of the columns within the table. The most basic information about the data distribution is the maximum value and minimum value of the column. However, this level of statistics may be insufficient for the optimizer's needs if the data within the column is skewed. For skewed data distributions, histograms can also be created as part of the column statistics to describe the data distribution of a given column.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Histograms are specified using the METHOD_OPT argument of the DBMS_STATS gathering procedures. Oracle recommends setting the METHOD_OPT to FOR ALL COLUMNS SIZE AUTO. With this setting, Oracle automatically determines which columns require histograms and the number of buckets (size) of each histogram. You can also manually specify which columns should have histograms and the size of each histogram.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.GATHER_TABLE_STATS('SH','SALES',method_opt=&amp;gt;'FOR COLUMNS (empno, deptno)');&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.GATHER_TABLE_STATS('SH','SALES',method_op =&amp;gt;'FOR COLUMNS (sal+comm)');&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Note: If you need to remove all rows from a table when using DBMS_STATS, use TRUNCATE instead of dropping and re-creating the same table. When a table is dropped, workload information used by the auto-histogram gathering feature and saved statistics history used by the RESTORE_*_STATS procedures will be lost. Without this data, these features will not function properly.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-weight: bold;"&gt;Determining Stale Statistics&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Statistics must be regularly gathered on database objects as those database objects are modified over time. In order to determine whether or not given database object needs new database statistics, Oracle provides a table monitoring facility. This monitoring is enabled by default when STATISTICS_LEVEL is set to TYPICAL or ALL. Monitoring tracks the approximate number of INSERTs, UPDATEs, and DELETEs for that table, as well as whether the table has been truncated, since the last time statistics were gathered. The information about changes of tables can be viewed in the USER_TAB_MODIFICATIONS view. Following a data-modification, there may be a few minutes delay while Oracle propagates the information to this view. Use the DBMS_STATS.FLUSH_DATABASE_MONITORING_INFO procedure to immediately reflect the outstanding monitored information kept in the memory.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;-- Table level&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;ALTER TABLE emp NOMONITORING;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;ALTER TABLE emp MONITORING;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;-- Schema level&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.alter_schema_tab_monitoring('SCOTT', TRUE);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.alter_schema_tab_monitoring('SCOTT', FALSE);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;-- Database level&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.alter_database_tab_monitoring(TRUE);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.alter_database_tab_monitoring(FALSE);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;The GATHER_DATABASE_STATS or GATHER_SCHEMA_STATS procedures gather new statistics for tables with stale statistics when the OPTIONS parameter is set to GATHER STALE or GATHER AUTO. If a monitored table has been modified more than 10%, then these statistics are considered stale and gathered again.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-weight: bold;"&gt;User-defined Statistics&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;You can create user-defined optimizer statistics to support user-defined indexes and functions. When you associate a statistics type with a column or domain index, Oracle calls the statistics collection method in the statistics type whenever statistics are gathered for database objects.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;You should gather new column statistics on a table after creating a function-based index, to allow Oracle to collect column statistics equivalent information for the expression. This is done by calling the statistics-gathering procedure with the METHOD_OPT argument set to FOR ALL HIDDEN COLUMNS.&lt;/span&gt;&lt;span style="font-family: 'courier new'; font-weight: bold;"&gt;When to Gather Statistics&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;When gathering statistics manually, we not only need to determine how to gather statistics, but also when and how often to gather new statistics.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;For an application in which tables are being incrementally modified, we may only need to gather new statistics every week or every month. The simplest way to gather statistics in these environments is to use a script or job scheduling tool to regularly run the GATHER_SCHEMA_STATS and GATHER_DATABASE_STATS procedures. The frequency of collection intervals should balance the task of providing accurate statistics for the optimizer against the processing overhead incurred by the statistics collection process.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;For tables which are being substantially modified in batch operations, such as with bulk loads, statistics should be gathered on those tables as part of the batch operation. The DBMS_STATS procedure should be called as soon as the load operation completes.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;For partitioned tables, there are often cases in which only a single partition is modified. In those cases, statistics can be gathered only on those partitions rather than gathering statistics for the entire table. However, gathering global statistics for the partitioned table may still be necessary.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;Transferring Statistics between databases&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;It is possible to transfer statistics between servers allowing consistent execution plans between servers with varying amounts of data. First the statistics must be collected into a statistics table. It can be very handy to use production statistics on development database, so that we can forecast the optimizer behaviour.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Statistics can be exported and imported from the data dictionary to user-owned tables. This enables you to create multiple versions of statistics for the same schema. It also enables you to copy statistics from one database to another database. You may want to do this to copy the statistics from a production database to a scaled-down test database.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Note: Exporting and importing statistics is a distinct concept from the EXP and IMP utilities of the database. The DBMS_STATS export and import packages do utilize IMP and EXP dumpfiles.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Before exporting statistics, you first need to create a table for holding the statistics. This statistics table is created using the procedure DBMS_STATS.CREATE_STAT_TABLE. After this table is created, then you can export statistics from the data dictionary into your statistics table using the DBMS_STATS.EXPORT_*_STATS procedures. The statistics can then be imported using the DBMS_STATS.IMPORT_*_STATS procedures.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Note that the optimizer does not use statistics stored in a user-owned table. The only statistics used by the optimizer are the statistics stored in the data dictionary. In order to have the optimizer use the statistics in user-owned tables, you must import those statistics into the data dictionary using the statistics import procedures.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;In order to move statistics from one database to another, you must first export the statistics on the first database, then copy the statistics table to the second database, using the EXP and IMP utilities or other mechanisms, and finally import the statistics into the second database.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Note: The EXP and IMP utilities export and import optimizer statistics from the database along with the table. One exception is that statistics are not exported with the data if a table has columns with system-generated names.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;In the following example the statistics for the APPSCHEMA user are collected into a new table, STATS_TAB, which is owned by DBASCHEMA:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;1. Create the statistics table.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.CREATE_STAT_TABLE(ownname =&amp;gt;'SCHEMA_NAME', stat_tab =&amp;gt; 'STATS_TABLE', tblspace =&amp;gt; 'STATS_TABLESPACE');&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;SQL&amp;gt; EXEC DBMS_STATS.CREATE_STAT_TABLE('DBASCHEMA','STATS_TAB');&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;2. Export statistics to statistics table.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.EXPORT_SCHEMA_STATS('ORIGINAL_SCHEMA', 'STATS_TABLE', NULL, 'STATS_TABLE_OWNER');&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;SQL&amp;gt; EXEC DBMS_STATS.EXPORT_SCHEMA_STATS('APPSCHEMA','STATS_TAB',NULL, 'DBASCHEMA');&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;(or)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.EXPORT_SCHEMA_STATS(OWNNAME=&amp;gt;'APPSCHEMA', STATTAB=&amp;gt;'STAT_TAB',STATID=&amp;gt;'030610',STATOWN=&amp;gt;'DBASCHEMA');&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;3. This table can be transferred to another server using any one of the below methods.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;SQLPlus Copy:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;SQL&amp;gt; insert into dbaschema.stats_tab select * from dbaschema.stats_tab@source;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;&lt;a href="http://satya-dba.blogspot.com/2009/05/export-import.html"&gt;Export/Import&lt;/a&gt;:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;exp file=stats.dmp log=stats_exp.log tables=dbaschema.stats_tab&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;imp file=stats.dmp log=stats_imp.log&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;&lt;a href="http://satya-dba.blogspot.com/2009/05/datapump.html"&gt;Datapump&lt;/a&gt;:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;expdp directory=dpump_dir dumpfile=stats.dmp logfile=stats_exp.log tables= dbaschema.stats_tab&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;impdp directory=dpump_dir dumpfile=stats.dmp logfile=stats_imp.log&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;4. Import statistics into the data dictionary.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.IMPORT_SCHEMA_STATS('NEW_SCHEMA', 'STATS_TABLE', NULL, 'SYSTEM');&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;SQL&amp;gt; EXEC DBMS_STATS.IMPORT_SCHEMA_STATS('APPSCHEMA','STATS_TAB',NULL, 'DBASCHEMA');&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;(or)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.IMPORT_SCHEMA_STATS(OWNNAME=&amp;gt;'APPSCHEMA', STATTAB=&amp;gt;'STAT_TAB',STATID=&amp;gt;'030610',STATOWN=&amp;gt;'DBASCHEMA');&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;5. Drop the statistics table (optional step).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.DROP_STAT_TABLE('SYSTEM','STATS_TABLE');&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;SQL&amp;gt; EXEC DBMS_STATS.DROP_STAT_TABLE('DBASCHEMA','STATS_TAB');&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-weight: bold;"&gt;Getting top-quality stats&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Because Oracle9i schema statistics work best with external system load, we like to schedule a valid sample (using dbms_stats.auto_sample_size) during regular working hours. For example, here we refresh statistics using the "auto" option which works with the table monitoring facility to only re-analyze those Oracle tables that have experienced more than a 10% change in row content:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;begin&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;  dbms_stats.gather_schema_stats(&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;ownname =&amp;gt; 'SCOTT',&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;  estimate_percent =&amp;gt; dbms_stats.auto_sample_size, &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt; method_opt =&amp;gt; 'for all columns size auto',&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt; degree =&amp;gt; 7&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;end;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%;"&gt;&lt;span style="font-weight: bold;"&gt;Optimizer Hints&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 100%;"&gt;ALL_ROWS&lt;br /&gt;FIRST_ROWS&lt;br /&gt;FIRST_n_ROWS&lt;br /&gt;APPEND&lt;br /&gt;FULL&lt;br /&gt;INDEX&lt;br /&gt;DYNAMIC_SAMPLING&lt;br /&gt;BYPASS_RECURSIVE_CHECK&lt;br /&gt;BYPASS_RECURSIVE_CHECK APPEND&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Examples:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;SELECT /*+ ALL_ROWS */ empid, last_name, sal FROM emp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;SELECT /*+ FIRST_ROWS */ * &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;FROM emp&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;SELECT /*+ FIRST_20_ROWS */ * &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;FROM emp&lt;/span&gt;;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;SELECT /*+ FIRST_ROWS(100) */ empid, last_name, sal FROM emp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;System Statistics&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;System statistics describe the system's hardware characteristics, such as I/O and CPU performance and utilization, to the query optimizer. When choosing an execution plan, the optimizer estimates the I/O and CPU resources required for each query. System statistics enable the query optimizer to more accurately estimate I/O and CPU costs, enabling the query optimizer to choose a better execution plan.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;When Oracle gathers system statistics, it analyzes system activity in a specified time period (workload statistics) or simulates a workload (noworkload statistics). The statistics are collected using the DBMS_STATS.GATHER_SYSTEM_STATS procedure. Oracle highly recommends that you gather system statistics.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Note: You must have DBA privileges or GATHER_SYSTEM_STATISTICS role to update dictionary system statistics.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.GATHER_SYSTEM_STATS (interval=&amp;gt;720, stattab=&amp;gt;'mystats', statid=&amp;gt;'OLTP');&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.IMPORT_SYSTEM_STATS('mystats', 'OLTP');&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;Unlike table, index, or column statistics, Oracle does not invalidate already parsed SQL statements when system statistics get updated. All new SQL statements are parsed using new statistics.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;These options better facilitate the gathering process to the physical database and workload: when workload system statistics are gathered, noworkload system statistics will be ignored. Noworkload system statistics are initialized to default values at the first database startup.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-weight: bold;"&gt;Workload Statistics&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Workload statistics, introduced in Oracle 9i, gather single and multiblock read times, mbrc, CPU speed (cpuspeed), maximum system throughput, and average slave throughput. The sreadtim, mreadtim, and mbrc are computed by comparing the number of physical sequential and random reads between two points in time from the beginning to the end of a workload. These values are implemented through counters that change when the buffer cache completes synchronous read requests. Since the counters are in the buffer cache, they include not only I/O delays, but also waits related to latch contention and task switching. Workload statistics thus depend on the activity the system had during the workload window. If system is I/O bound—both latch contention and I/O throughput—it will be reflected in the statistics and will therefore promote a less I/O intensive plan after the statistics are used. Furthermore, workload statistics gathering does not generate additional overhead.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;In &lt;a href="http://satya-dba.blogspot.com/2009/01/whats-new-in-9i.html#9irel2"&gt;release 9.2&lt;/a&gt;, maximum I/O throughput and average slave throughput were added to set a lower limit for a full table scan (FTS).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;To gather workload statistics, either:&lt;/span&gt;&lt;br /&gt;&lt;ul style="font-family: courier new;"&gt;&lt;li&gt;Run the dbms_stats.gather_system_stats('start') procedure at the beginning of the workload window, then the dbms_stats.gather_system_stats('stop') procedure at the end of the workload window.&lt;/li&gt;&lt;li&gt;Run dbms_stats.gather_system_stats('interval', interval=&amp;gt;N) where N is the number of minutes when statistics gathering will be stopped automatically.&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: 'courier new';"&gt;To delete system statistics, run dbms_stats.delete_system_stats(). Workload statistics will be deleted and reset to the default noworkload statistics.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-weight: bold;"&gt;Noworkload Statistics&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Noworkload statistics consist of I/O transfer speed, I/O seek time, and CPU speed (cpuspeednw). The major difference between workload statistics and noworkload statistics lies in the gathering method.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Noworkload statistics gather data by submitting random reads against all data files, while workload statistics uses counters updated when database activity occurs. isseektim represents the time it takes to position the disk head to read data. Its value usually varies from 5 ms to 15 ms, depending on disk rotation speed and the disk or RAID specification. The I/O transfer speed represents the speed at which one operating system process can read data from the I/O subsystem. Its value varies greatly, from a few MBs per second to hundreds of MBs per second. Oracle uses relatively conservative default settings for I/O transfer speed.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;In &lt;a href="http://satya-dba.blogspot.com/2009/01/whats-new-in-10g.html"&gt;Oracle 10g&lt;/a&gt;, Oracle uses noworkload statistics and the CPU cost model by default. The values of noworkload statistics are&lt;br /&gt;initialized to defaults at the first instance startup:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;ioseektim = 10ms&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;iotrfspeed = 4096 bytes/ms&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;cpuspeednw = gathered value, varies based on system&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;If workload statistics are gathered, noworkload statistics will be ignored and Oracle will use workload statistics instead.&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; To gather noworkload statistics, run dbms_stats.gather_system_stats() with no arguments. There will be an overhead on the I/O system during the gathering process of noworkload statistics. The gathering process may take from a few seconds to several minutes, depending on I/O performance and database size.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;The information is analyzed and verified for consistency. In some cases, the value of noworkload statistics may remain its default value. In such cases, repeat the statistics gathering process or set the value manually to values that the I/O system has according to its specifications by using the dbms_stats.set_system_stats procedure.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;Managing Statistics&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-weight: bold;"&gt;Restoring Previous Versions of Statistics&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Whenever statistics in dictionary are modified, old versions of statistics are saved automatically for future restoring. Statistics can be restored using RESTORE procedures of DBMS_STATS package. These procedures use a time stamp as an argument and restore statistics as of that time stamp. This is useful in case newly collected statistics leads to some sub-optimal execution plans and the administrator wants to revert to the previous set of statistics.&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;There are dictionary views that display the time of statistics modifications. These views are useful in determining the time stamp to be used for statistics restoration.&lt;/span&gt;&lt;br /&gt;&lt;ul style="font-family: courier new;"&gt;&lt;li&gt;Catalog view DBA_OPTSTAT_OPERATIONS contain history of statistics operations performed at schema and database level using DBMS_STATS.&lt;/li&gt;&lt;li&gt;The views *_TAB_STATS_HISTORY views (ALL, DBA, or USER) contain a history of table statistics modifications.&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: 'courier new';"&gt;The old statistics are purged automatically at regular intervals based on the statistics history retention setting and the time of the recent analysis of the system. Retention is configurable using the ALTER_STATS_HISTORY_RETENTION procedure of DBMS_STATS. The default value is 31 days, which means that you would be able to restore the optimizer statistics to any time in last 31 days.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Automatic purging is enabled when STATISTICS_LEVEL parameter is set to TYPICAL or ALL. If automatic purging is disabled, the old versions of statistics need to be purged manually using the PURGE_STATS procedure.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;The other DBMS_STATS procedures related to restoring and purging statistics include:&lt;/span&gt;&lt;br /&gt;&lt;ul style="font-family: courier new;"&gt;&lt;li&gt;PURGE_STATS: This procedure can be used to manually purge old versions beyond a time stamp.&lt;/li&gt;&lt;li&gt;GET_STATS_HISTORY_RENTENTION: This function can be used to get the current statistics history retention value.&lt;/li&gt;&lt;li&gt;GET_STATS_HISTORY_AVAILABILITY: This function gets the oldest time stamp where statistics history is available. Users cannot restore statistics to a time stamp older than the oldest time stamp.&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: 'courier new';"&gt;When restoring previous versions of statistics, the following limitations apply:&lt;/span&gt;&lt;br /&gt;&lt;ul style="font-family: courier new;"&gt;&lt;li&gt;RESTORE procedures cannot restore user-defined statistics.&lt;/li&gt;&lt;li&gt;Old versions of statistics are not stored when the ANALYZE command has been used for collecting statistics.&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: 'courier new';"&gt;Note: If you need to remove all rows from a table when using DBMS_STATS, use TRUNCATE instead of dropping and re-creating the same table. When a table is dropped, workload information used by the auto-histogram gathering feature and saved statistics history used by the RESTORE_*_STATS procedures will be lost. Without this data, these features will not function properly.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-weight: bold;"&gt;Restoring Statistics versus Importing or Exporting Statistics&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;The functionality for restoring statistics is similar in some respects to the functionality of importing and exporting statistics. In general, you should use the restore capability when:&lt;/span&gt;&lt;br /&gt;&lt;ul style="font-family: courier new;"&gt;&lt;li&gt;You want to recover older versions of the statistics. For example, to restore the optimizer behaviour to an earlier date.&lt;/li&gt;&lt;li&gt;You want the database to manage the retention and purging of statistics histories.&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: 'courier new';"&gt;You should use EXPORT/IMPORT_*_STATS procedures when:&lt;/span&gt;&lt;br /&gt;&lt;ul style="font-family: courier new;"&gt;&lt;li&gt;You want to experiment with multiple sets of statistics and change the values back and forth.&lt;/li&gt;&lt;li&gt;You want to move the statistics from one database to another database. For example, moving statistics from a production system to a test system.&lt;/li&gt;&lt;li&gt;You want to preserve a known set of statistics for a longer period of time than the desired retention date for restoring statistics.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-weight: bold;"&gt;Locking Statistics for a Table or Schema&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Statistics for a table or schema can be locked. Once statistics are locked, no modifications can be made to those statistics until the statistics have been unlocked. These locking procedures are useful in a static environment in which you want to guarantee that the statistics never change.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;The DBMS_STATS package provides two procedures for locking and two procedures for unlocking statistics:&lt;/span&gt;&lt;br /&gt;&lt;ul style="font-family: courier new;"&gt;&lt;li&gt;LOCK_SCHEMA_STATS&lt;/li&gt;&lt;li&gt;LOCK_TABLE_STATS&lt;/li&gt;&lt;li&gt;UNLOCK_SCHEMA_STATS&lt;/li&gt;&lt;li&gt;UNLOCK_TABLE_STATS&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.LOCK_SCHEMA_STATS('AP');&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;EXEC DBMS_STATS.UNLOCK_SCHEMA_STATS('AP');&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-weight: bold;"&gt;Setting Statistics&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;We can set table, column, index, and system statistics using the SET_*_STATISTICS procedures. Setting statistics in the manner is not recommended, because inaccurate or inconsistent statistics can lead to poor performance.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-weight: bold;"&gt;Dynamic Sampling&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;The purpose of dynamic sampling is to improve server performance by determining more accurate estimates for predicate selectivity and statistics for tables and indexes. The statistics for tables and indexes include table block counts, applicable index block counts, table cardinalities, and relevant join column statistics. These more accurate estimates allow the optimizer to produce better performing plans.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;You can use dynamic sampling to:&lt;/span&gt;&lt;br /&gt;&lt;ul style="font-family: courier new;"&gt;&lt;li&gt;Estimate single-table predicate selectivities when collected statistics cannot be used or are likely to lead to significant errors in estimation.&lt;/li&gt;&lt;li&gt;Estimate statistics for tables and relevant indexes without statistics.&lt;/li&gt;&lt;li&gt;Estimate statistics for tables and relevant indexes whose statistics are too out of date to trust.&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: 'courier new';"&gt;This dynamic sampling feature is controlled by the OPTIMIZER_DYNAMIC_SAMPLING parameter. For dynamic sampling to automatically gather the necessary statistics, this parameter should be set to a value of 2(default) or higher.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;The primary performance attribute is compile time. Oracle determines at compile time whether a query would benefit from dynamic sampling. If so, a recursive SQL statement is issued to scan a small random sample of the table's blocks, and to apply the relevant single table predicates to estimate predicate selectivities. The sample cardinality can also be used, in some cases, to estimate table cardinality. Any relevant column and index statistics are also collected. Depending on the value of the OPTIMIZER_DYNAMIC_SAMPLING initialization parameter, a certain number of blocks are read by the dynamic sampling query.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;For a query that normally completes quickly (in less than a few seconds), we will not want to incur the cost of dynamic sampling. However, dynamic sampling can be beneficial under any of the following conditions:&lt;/span&gt;&lt;br /&gt;&lt;ul style="font-family: courier new;"&gt;&lt;li&gt;A better plan can be found using dynamic sampling.&lt;/li&gt;&lt;li&gt;The sampling time is a small fraction of total execution time for the query.&lt;/li&gt;&lt;li&gt;The query will be executed many times.&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: 'courier new';"&gt;Dynamic sampling can be applied to a subset of a single table's predicates and combined with standard selectivity estimates of predicates for which dynamic sampling is not done.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;We control dynamic sampling with the OPTIMIZER_DYNAMIC_SAMPLING parameter, which can be set to a value from 0 to 10. The default is 2.&lt;/span&gt;&lt;br /&gt;&lt;ul style="font-family: courier new;"&gt;&lt;li&gt;A value of 0 means dynamic sampling will not be done.&lt;/li&gt;&lt;li&gt;Increasing the value of the parameter results in more aggressive application of dynamic sampling, in terms of both the type of tables sampled (analyzed or unanalyzed) and the amount of I/O spent on sampling.&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: 'courier new';"&gt;Dynamic sampling is repeatable if no rows have been inserted, deleted, or updated in the table being sampled. The parameter OPTIMIZER_FEATURES_ENABLE turns off dynamic sampling if set to a version prior to 9.2.0.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-weight: bold;"&gt;Dynamic Sampling Levels&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;The sampling levels are as follows if the dynamic sampling level used is from a cursor hint or from the OPTIMIZER_DYNAMIC_SAMPLING initialization parameter:&lt;/span&gt;&lt;br /&gt;&lt;ul style="font-family: courier new;"&gt;&lt;li&gt;Level 0: Do not use dynamic sampling.&lt;/li&gt;&lt;li&gt;Level 1: Sample all tables that have not been analyzed if the following criteria are met: (1) there is at least 1 unanalyzed table in the query; (2) this unanalyzed table is joined to another table or appears in a subquery or non-mergeable view; (3) this unanalyzed table has no indexes; (4) this unanalyzed table has more blocks than the number of blocks that would be used for dynamic sampling of this table. The number of blocks sampled is the default number of dynamic sampling blocks (32).&lt;/li&gt;&lt;li&gt;Level 2: Apply dynamic sampling to all unanalyzed tables. The number of blocks sampled is two times the default number of dynamic sampling blocks.&lt;/li&gt;&lt;li&gt;Level 3: Apply dynamic sampling to all tables that meet Level 2 criteria, plus all tables for which standard selectivity estimation used a guess for some predicate that is a potential dynamic sampling predicate. The number of blocks sampled is the default number of dynamic sampling blocks. For unanalyzed tables, the number of blocks sampled is two times the default number of dynamic sampling blocks.&lt;/li&gt;&lt;li&gt;Level 4: Apply dynamic sampling to all tables that meet Level 3 criteria, plus all tables that have single-table predicates that reference 2 or more columns. The number of blocks sampled is the default number of dynamic sampling blocks. For unanalyzed tables, the number of blocks sampled is two times the default number of dynamic sampling blocks.&lt;/li&gt;&lt;li&gt;Levels 5, 6, 7, 8, and 9: Apply dynamic sampling to all tables that meet the previous level criteria using 2, 4, 8, 32, or 128 times the default number of dynamic sampling blocks respectively.&lt;/li&gt;&lt;li&gt;Level 10: Apply dynamic sampling to all tables that meet the Level 9 criteria using all blocks in the table.&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: 'courier new';"&gt;The sampling levels are as follows if the dynamic sampling level for a table is set using the DYNAMIC_SAMPLING optimizer hint:&lt;/span&gt;&lt;br /&gt;&lt;ul style="font-family: courier new;"&gt;&lt;li&gt;Level 0: Do not use dynamic sampling.&lt;/li&gt;&lt;li&gt;Level 1: The number of blocks sampled is the default number of dynamic sampling blocks (32).&lt;/li&gt;&lt;li&gt;Levels 2, 3, 4, 5, 6, 7, 8, and 9: The number of blocks sampled is 2, 4, 8, 16, 32, 64, 128, or 256 times the default number of dynamic sampling blocks respectively.&lt;/li&gt;&lt;li&gt;Level 10: Read all blocks in the table.&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: 'courier new'; font-weight: bold;"&gt;Handling Missing Statistics&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;When Oracle encounters a table with missing statistics, Oracle dynamically gathers the necessary statistics needed by the optimizer. However, for certain types of tables, Oracle does not perform dynamic sampling. These include remote tables and external tables. In those cases and also when dynamic sampling has been disabled, the optimizer uses default values for its statistics.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Default Table Values When Statistics Are Missing&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Table Statistic    Default Value Used by Optimizer       &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Cardinality    num_of_blocks * (block_size - cache_layer) / avg_row_len       &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Average row length    100 bytes       &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Number of blocks    100 or actual value based on the extent map       &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Remote cardinality    2000 rows       &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Remote average row length    100 bytes     &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Default Index Values When Statistics Are Missing&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Index Statistic    Default Value Used by Optimizer       &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Levels    1       &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Leaf blocks    25       &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Leaf blocks/key    1       &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Data blocks/key    1       &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Distinct keys    100       &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Clustering factor    800     &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;Viewing Statistics&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-weight: bold;"&gt;Statistics on Tables, Indexes and Columns&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Statistics on tables, indexes, and columns are stored in the data dictionary. To view statistics in the data dictionary, query the appropriate data dictionary view (USER, ALL, or DBA). These DBA_* views include the following:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;·    DBA_TAB_STATISTICS &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;·    ALL_TAB_STATISTICS&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;·    USER_TAB_STATISTICS&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;·    DBA_TAB_COL_STATISTICS &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;·    ALL_TAB_COL_STATISTICS&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;·    USER_TAB_COL_STATISTICS&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;·    DBA_TAB_HISTOGRAMS &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;·    ALL_TAB_HISTOGRAMS&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;·    USER_TAB_HISTOGRAMS&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;·    DBA_TABLES&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;·    DBA_OBJECT_TABLES&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;·    DBA_TAB_HISTOGRAMS&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;·    DBA_INDEXES&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;·    DBA_IND_STATISTICS&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;·    DBA_CLUSTERS&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;·    DBA_TAB_PARTITIONS&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;·    DBA_TAB_SUBPARTITIONS&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;·    DBA_IND_PARTITIONS&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;·    DBA_IND_SUBPARTITIONS&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;·    DBA_PART_COL_STATISTICS&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;·    DBA_PART_HISTOGRAMS&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;·    DBA_SUBPART_COL_STATISTICS&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;·    DBA_SUBPART_HISTOGRAMS&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-weight: bold;"&gt;Viewing Histograms&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Column statistics may be stored as histograms. These histograms provide accurate estimates of the distribution of column data. Histograms provide improved selectivity estimates in the presence of data skew, resulting in optimal execution plans with non uniform data distributions.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Oracle uses two types of histograms for column statistics: height-balanced histograms and frequency histograms. The type of histogram is stored in the HISTOGRAM column of the *TAB_COL_STATISTICS views (USER and DBA). This column can have values of HEIGHT BALANCED, FREQUENCY, or NONE.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-weight: bold;"&gt;Height-Balanced Histograms&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;In a height-balanced histogram, the column values are divided into bands so that each band contains approximately the same number of rows. The useful information that the histogram provides is where in the range of values the endpoints fall. Height-balanced histograms can be viewed using the *TAB_HISTOGRAMS tables.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Example for Viewing Height-Balanced Histogram Statistics&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;BEGIN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;  DBMS_STATS.GATHER_TABLE_STATS (OWNNAME =&amp;gt; 'OE', TABNAME =&amp;gt; 'INVENTORIES', &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;  METHOD_OPT =&amp;gt; 'FOR COLUMNS SIZE 10 QUANTITY_ON_HAND');&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;END;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;SELECT COLUMN_NAME, NUM_DISTINCT, NUM_BUCKETS, HISTOGRAM &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;  FROM USER_TAB_COL_STATISTICS&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt; WHERE TABLE_NAME = 'INVENTORIES' AND COLUMN_NAME = 'QUANTITY_ON_HAND';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;COLUMN_NAME                    NUM_DISTINCT NUM_BUCKETS HISTOGRAM&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;------------------------------ ------------ ----------- ---------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;QUANTITY_ON_HAND                        237          10 HEIGHT BALANCED&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;SELECT ENDPOINT_NUMBER, ENDPOINT_VALUE &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;  FROM USER_HISTOGRAMS&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt; WHERE TABLE_NAME = 'INVENTORIES' AND COLUMN_NAME = 'QUANTITY_ON_HAND'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;  ORDER BY ENDPOINT_NUMBER;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;ENDPOINT_NUMBER ENDPOINT_VALUE&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;--------------- --------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;              0              0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;              1             27&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;              2             42&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;              3             57&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;              4             74&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;              5             98&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;              6            123&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;              7            149&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;              8            175&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;              9            202&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;             10            353&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;In the query output, one row corresponds to one bucket in the histogram.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-weight: bold;"&gt;Frequency Histograms&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;In a frequency histogram, each value of the column corresponds to a single bucket of the histogram. Each bucket contains the number of occurrences of that single value. Frequency histograms are automatically created instead of height-balanced histograms when the number of distinct values is less than or equal to the number of histogram buckets specified. Frequency histograms can be viewed using the *TAB_HISTOGRAMS tables.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Example for Viewing Frequency Histogram Statistics&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;BEGIN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;  DBMS_STATS.GATHER_TABLE_STATS (OWNNAME =&amp;gt; 'OE', TABNAME =&amp;gt; 'INVENTORIES', &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;  METHOD_OPT =&amp;gt; 'FOR COLUMNS SIZE 20 WAREHOUSE_ID');&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;END;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;SELECT COLUMN_NAME, NUM_DISTINCT, NUM_BUCKETS, HISTOGRAM &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;  FROM USER_TAB_COL_STATISTICS&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt; WHERE TABLE_NAME = 'INVENTORIES' AND COLUMN_NAME = 'WAREHOUSE_ID';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;COLUMN_NAME                    NUM_DISTINCT NUM_BUCKETS HISTOGRAM&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;------------------------------ ------------ ----------- ---------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;WAREHOUSE_ID                              9           9 FREQUENCY&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;SELECT ENDPOINT_NUMBER, ENDPOINT_VALUE &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;  FROM USER_HISTOGRAMS&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt; WHERE TABLE_NAME = 'INVENTORIES' AND COLUMN_NAME = 'WAREHOUSE_ID'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;  ORDER BY ENDPOINT_NUMBER;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;ENDPOINT_NUMBER ENDPOINT_VALUE&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;--------------- --------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;             36              1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;            213              2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;            261              3&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;            370              4&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;            484              5&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;            692              6&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;            798              7&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;            984              8&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;           1112              9&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;Issues&lt;/span&gt;&lt;br /&gt;&lt;ul style="font-family: courier new;"&gt;&lt;li&gt;Exclude dataload tables from your regular stats gathering, unless you know they will be full at the time that stats are gathered.&lt;/li&gt;&lt;li&gt;Gathering stats for the SYS schema can make the system run slower, not faster.&lt;/li&gt;&lt;li&gt;Gathering statistics can be very resource intensive for the server so avoid peak workload times or gather stale stats only.&lt;/li&gt;&lt;li&gt;Even if scheduled, it may be necessary to gather fresh statistics after database maintenance or large data loads.&lt;/li&gt;&lt;li&gt;If a table goes from 1 row to 200 rows, that's a significant change. When a table goes from 100,000 rows to 150,000 rows, that's not a terribly significant change. When a table goes from 1000 rows all with identical values in commonly-queried column X to 1000 rows with nearly unique values in column X, that's a significant change.&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;Statistics store information about item counts and relative frequencies. Things that will let it "guess" at how many rows will match a given criteria. When it guesses wrong, the optimizer can pick a very suboptimal query plan.     &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Source:Internet&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2511956539743992936-1282589448848753240?l=satya-dba.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://satya-dba.blogspot.com/feeds/1282589448848753240/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://satya-dba.blogspot.com/2010/06/oracle-database-statistics-rbo-cbo.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2511956539743992936/posts/default/1282589448848753240'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2511956539743992936/posts/default/1282589448848753240'/><link rel='alternate' type='text/html' href='http://satya-dba.blogspot.com/2010/06/oracle-database-statistics-rbo-cbo.html' title='Oracle Statistics'/><author><name>Satya</name><uri>http://www.blogger.com/profile/14440084623088726822</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/-bU8J97DlZuQ/TsbYZjhEmbI/AAAAAAAALZE/3bwU2WtUYFo/s220/002.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2511956539743992936.post-4250084521094615315</id><published>2010-04-12T15:26:00.115+05:30</published><updated>2011-12-20T04:51:14.354+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='RMAN Commands'/><title type='text'>RMAN (Recovery Manager) Commands</title><content type='html'>&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="rman_exe"&gt;&lt;/a&gt;rman command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Start &lt;a href="http://satya-dba.blogspot.com/2009/01/rman-was-first-introduced-in-oracle8.html"&gt;RMAN&lt;/a&gt; from the OS command line.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;rman&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;[ TARGET [=] &lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;[']  [userid][/[password]][@net_service_name] [']&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| {CATALOG [=] &lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;[']  [userid][/[password]][@net_service_name] [']&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| LOG [=] [']filename['] [APPEND]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;]...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;$ rman&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;$ rman NOCATALOG&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;$ rman TARGET SYS/pwd@target&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;$ rman TARGET SYS/pwd@target NOCATALOG&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;$ rman TARGET SYS/pwd@target LOG $ORACLE_HOME/dbs/my_log.log APPEND&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;$ rman CATALOG rman/pwd@catdb&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;$ rman TARGET=SYS/pwd@target CATALOG=rman/pwd@cat&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;$ rman TARGET / CATALOG rman/rman@cat&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;$ rman TARGET / SCRIPT dwh LOG /tmp/dwh.log&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;$ rman PIPE newpipe TARGET / TIMEOUT 90&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;$ rman @/my_dir/my_commands.txt&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;$ rman @backup_ts_generic.rman "/tmp" USERS&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;$ rman &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;CMDFILE&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;=backup_ts_users.rman&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;$ rman TARGET / @backup_db.rman&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;$ rman TARGET / CATALOG rman/pwd@cat CMDFILE cmdfile.rcv LOG outfile.txt&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;$ rman TARGET / CATALOG rman/pwd@cat DEBUG TRACE trace.log&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;$ rman TARGET SYS/pwd@prod CATALOG rman/rman@rcat @'/oracle/dbs/whole.rcv'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;$ rman TARGET user/pwd CMDFILE=takefulldb.cmd @@takefulldb.cmd&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;$ rman CHECKSYNTAX @'/tmp/backup_db.cmd'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;$ rman MSGNO&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;$ rman | tee rman.log&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;$ rman&amp;nbsp;help=yes&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;@&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; (at sign) Run a command file.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;@@&lt;/span&gt;&lt;span style="font-family: 'courier new'; font-weight: bold;"&gt; &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;(double at sign) Run a command file in the same directory as another command file that is currently running. The @@ command differs from the @ command only when run from within a command file.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; @backup_db.rman&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; @/my_dir/my_command_file.txt&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; @/tmp/bkup_db.rman whole_db&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; @backup_ts_generic.rman "/tmp" $1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RUN {@backup_db.rman}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="connect"&gt;&lt;/a&gt;CONNECT command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Establish a connection between &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;&lt;a href="http://satya-dba.blogspot.com/2009/01/rman-was-first-introduced-in-oracle8.html"&gt;RMAN&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; and a target, auxiliary, or recovery catalog database.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONNECT TARGET;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONNECT TARGET /&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONNECT TARGET sys@tgt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONNECT TARGET sys/pwd@tgt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONNECT CATALOG rman@catdb;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONNECT CATALOG rman/pwd@catdb;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONNECT AUXILIARY /&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONNECT AUXILIARY rman@auxdb;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONNECT AUXILIARY rman/pwd@auxdb;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt;&lt;!--google_ad_client = "ca-pub-1598199736774055";/* LinkUnit_Horizontal_728X15 */google_ad_slot = "5410026186";google_ad_width = 728;google_ad_height = 15;//--&gt;&lt;/script&gt;&lt;script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"&gt;&lt;/script&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="create_catalog"&gt;&lt;/a&gt;CREATE CATALOG command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Create the schema for the recovery catalog.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CREATE CATALOG;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CREATE CATALOG TABLESPACE rmants;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CREATE VIRTUAL CATALOG; -- &lt;a href="http://satya-dba.blogspot.com/2009/01/whats-new-in-11g.html"&gt;11g R1&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;SQL&amp;gt; EXEC rman.DBMS_RCVCAT.CREATE_VIRTUAL_CATALOG;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;-- &lt;a href="http://satya-dba.blogspot.com/2009/01/whats-new-in-11g.html"&gt;11g  R1&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="drop_catalog"&gt;&lt;/a&gt;DROP CATALOG command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Remove the schema from the recovery catalog.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; DROP CATALOG;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="resync_catalog"&gt;&lt;/a&gt;RESYNC CATALOG command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Perform a full resynchronization, which creates a snapshot control file and then copies any new or changed information from that snapshot control file to the recovery catalog.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RESYNC CATALOG;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RESYNC CATALOG FROM DB_UNIQUE_NAME prod_db;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RESYNC CATALOG FROM DB_UNIQUE_NAME ALL;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="upgrade_catalog"&gt;&lt;/a&gt;UPGRADE CATALOG command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Upgrade the recovery catalog schema from an older version to the version required by the RMAN executable.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; UPGRADE CATALOG;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="import_catalog"&gt;&lt;/a&gt;IMPORT CATALOG command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Import the metadata from one recovery catalog into another recovery catalog.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; IMPORT CATALOG cat@srcdb;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; IMPORT CATALOG rcat@inst DBID=2871507123;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; IMPORT CATALOG cat@srcdb DBID=1844750987, 61738563;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; IMPORT CATALOG cat@srcdb DB_NAME=prod2;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; IMPORT CATALOG cat@srcdb DB_NAME=prod3, prod4;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; IMPORT CATALOG rman/rman@catdb1 DB_NAME=prod1 NO UNREGISTER;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="register"&gt;&lt;/a&gt;REGISTER command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Register the target database in the recovery catalog.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; REGISTER DATABASE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; REGISTER CATALOG;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; REGISTER CATALOG TABLESPACE tbs-name;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="unregister"&gt;&lt;/a&gt;UNREGISTER command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Unregister a database from the recovery catalog.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; UNREGISTER DATABASE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; UNREGISTER DATABASE NOPROMPT;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; UNREGISTER DATABASE prod1;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; UNREGISTER DATABASE prod2 NOPROMPT;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; UNREGISTER DB_UNIQUE_NAME prod2;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; UNREGISTER DB_UNIQUE_NAME prod1 NOPROMPT;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; UNREGISTER DB_UNIQUE_NAME prod2 INCLUDING BACKUPS;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; UNREGISTER DB_UNIQUE_NAME prod3 INCLUDING BACKUPS NOPROMPT;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="grant"&gt;&lt;/a&gt;GRANT command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Grant privileges to a recovery catalog user.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; GRANT CATALOG FOR DATABASE prod1 TO vpc1;  -- &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;&lt;a href="http://satya-dba.blogspot.com/2009/01/whats-new-in-11g.html"&gt;11g   R1&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; GRANT REGISTER DATABASE TO bckop2;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; GRANT RECOVERY_CATALOG_OWNER TO rmanop1, rmanop3;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="revoke"&gt;&lt;/a&gt;REVOKE command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Revoke privileges from a recovery catalog user.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; REVOKE CATALOG FOR DATABASE prod1 FROM vpc1;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; -- &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;&lt;a href="http://satya-dba.blogspot.com/2009/01/whats-new-in-11g.html"&gt;11g   R1&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; REVOKE REGISTER DATABASE FROM bckop2;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; REVOKE RECOVERY_CATALOG_OWNER FROM bckop;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="reset_database"&gt;&lt;/a&gt;RESET DATABASE command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Inform &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;&lt;a href="http://satya-dba.blogspot.com/2009/01/rman-was-first-introduced-in-oracle8.html"&gt;RMAN&lt;/a&gt; &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;that the SQL statement ALTER DATABASE OPEN RESETLOGS has been executed and that a new incarnation of the target database has been created, or reset the target database to a prior incarnation.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RESET DATABASE TO INCARNATION 3;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="startup"&gt;&lt;/a&gt;STARTUP command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Startup the target database. This command is equivalent to the &lt;a href="http://satya-dba.blogspot.com/2009/01/startupshutdown-options.html"&gt;SQL*Plus STARTUP&lt;/a&gt; command.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; STARTUP;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; STARTUP PFILE=’/u01/app/oracle/admin/pfile/initsid.ora’&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; STARTUP NOMOUNT;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; STARTUP MOUNT;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; STARTUP FORCE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; STARTUP FORCE DBA;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; STARTUP FORCE DBA PFILE=c:\Oracle\Admin\pfile\init.ora;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; STARTUP FORCE NOMOUNT;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; STARTUP FORCE MOUNT DBA PFILE=/tmp/inittrgt.ora;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="shutdown"&gt;&lt;/a&gt;SHUTDOWN command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Shutdown the target database. This command is equivalent to the &lt;a href="http://satya-dba.blogspot.com/2009/01/startupshutdown-options.html"&gt;SQL*Plus SHUTDOWN&lt;/a&gt; command.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SHUTDOWN;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SHUTDOWN NORMAL;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SHUTDOWN TRANSACTIONAL;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SHUTDOWN IMMEDIATE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SHUTDOWN ABORT;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="alter_database"&gt;&lt;/a&gt;ALTER DATABASE command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Mount or open a database.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; ALTER DATABASE MOUNT;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; ALTER DATABASE OPEN;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; ALTER DATABASE OPEN RESETLOGS;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="show"&gt;&lt;/a&gt;SHOW command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Display the current CONFIGURE settings.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;SHOW&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{ RETENTION POLICY&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| BACKUP  OPTIMIZATION&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| [DEFAULT] DEVICE TYPE&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| CONTROLFILE  AUTOBACKUP [FORMAT]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| [AUXILIARY] CHANNEL [FOR DEVICE TYPE deviceSpecifier]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| MAXSETSIZE&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| DATAFILE BACKUP COPIES&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| ARCHIVELOG [BACKUP COPIES|DELETION POLICY]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| AUXNAME&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| EXCLUDE&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| ENCRYPTION {ALGORITHM | FOR [DATABASE|TABLESPACE]}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| COMPRESSION  ALGORITHM&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| SNAPSHOT  CONTROLFILE NAME&lt;br /&gt;&lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| DB_UNIQUE_NAME&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| ALL&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;} FOR [DB_UNIQUE_NAME [‘db_unique_name’|ALL]];&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt;&lt;!--google_ad_client = "ca-pub-1598199736774055";/* LinkUnit_Horizontal_728X15 */google_ad_slot = "5410026186";google_ad_width = 728;google_ad_height = 15;//--&gt;&lt;/script&gt;&lt;script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"&gt;&lt;/script&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SHOW ALL;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;CONFIGURE BACKUP OPTIMIZATION OFF; # default&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;CONFIGURE ARCHIVELOG BACKUP COPIES FOR DISK TO 1; # default&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;CONFIGURE MAXSETSIZE TO UNLIMITED; # default&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;CONFIGURE DEVICE TYPE DISK PARALLELISM 1; # default&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;CONFIGURE DATAFILE BACKUP COPIES FOR SBT TO 1; # default&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;CONFIGURE ARCHIVELOG BACKUP COPIES FOR SBT TO 1; # default&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;CONFIGURE ENCRYPTION FOR DATABASE OFF; # default&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE; # default  -- &lt;a href="http://satya-dba.blogspot.com/2009/09/whats-new-in-11g-release-2.html"&gt;11g R2&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;CONFIGURE SNAPSHOT CONTROLFILE NAME TO '.../dbs/snapcf_sid.f'; # default&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;%F = dbid, day, month, year and sequence&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;%U = %u_%p_%c&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;%u = eight characters of the backup set and time ...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;%p = piece number within the backupset&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;%c = copy number of the backup piece ...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SHOW RETENTION POLICY;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SHOW RETENTION POLICY FOR DB_UNIQUE_NAME ALL;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SHOW DEVICE TYPE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SHOW DEVICE TYPE FOR DB_UNIQUE_NAME prod3;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SHOW DEFAULT DEVICE TYPE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SHOW CHANNEL;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SHOW MAXSETSIZE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SHOW BACKUP OPTIMIZATION;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SHOW SNAPSHOT CONTROLFILE NAME;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SHOW CONTROLFILE AUTOBACKUP;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SHOW COMPRESSION ALGORITHM;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SHOW ENCRYPTION ALGORITHM;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SHOW ALL FOR DB_UNIQUE_NAME ALL;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SHOW ALL FOR DB_UNIQUE_NAME 'STANDBY';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="configure"&gt;&lt;/a&gt;CONFIGURE command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;To configure persistent RMAN settings. These settings apply to all RMAN sessions until explicitly changed or disabled.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;CONFIGURE deviceConf;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;CONFIGURE backupConf;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;CONFIGURE AUXNAME FOR DATAFILE datafileSpec {TO 'filename' | CLEAR};&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;CONFIGURE SNAPSHOT CONTROLFILE NAME {TO 'filename' | CLEAR};&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;CONFIGURE cfauConf;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;deviceConf::=&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{ DEFAULT DEVICE TYPE { TO deviceSpec | CLEAR }&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| DEVICE TYPE deviceSpec { PARALLELISM integer | CLEAR }&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| [AUXILIARY] CHANNEL [integer] DEVICE TYPE deviceSpec&lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt; {allocOperandList|CLEAR}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;allocOperandList::=&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{ PARMS [=] 'channel_parms'&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| FORMAT [=] 'format_string' [, 'format_string']...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| { MAXPIECESIZE [=] integer | RATE [=] integer } [K | M | G]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;}...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;connectStringSpec::=&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;['] [userid] [/[password]] [@net_service_name] [']&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;backupConf::=&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{RETENTION POLICY {TO {RECOVERY WINDOW OF integer DAYS&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;                    | REDUNDANCY [=] integer&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| NONE&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;                   }&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;                | CLEAR&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;             }&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| MAXSETSIZE {TO {integer [K | M | G]| UNLIMITED}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;         | CLEAR&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;        }&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| {ARCHIVELOG | DATAFILE}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;BACKUP COPIES FOR DEVICE TYPE deviceSpec&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{TO integer | CLEAR}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| BACKUP OPTIMIZATION {ON | OFF | CLEAR}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| EXCLUDE FOR TABLESPACE tablespace_name [CLEAR]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;cfauConf::==&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;CONTROLFILE AUTOBACKUP&lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt; {ON | OFF | CLEAR | FORMAT FOR DEVICE TYPE deviceSpec {TO 'format string'|CLEAR}}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE CONTROLFILE AUTOBACKUP ON;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE CONTROLFILE AUTOBACKUP OFF;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'cf%F';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE CONTROLFILE AUTOBACKUP  FORMAT FOR DEVICE TYPE DISK TO '+BACKUP';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK CLEAR;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE RETENTION POLICY TO  REDUNDANCY 3;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE RETENTION POLICY CLEAR;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 2;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 2;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE ARCHIVELOG DELETION POLICY TO SHIPPED TO ALL STANDBY;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;  --11g&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE ARCHIVELOG DELETION POLICY  CLEAR;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE DEFAULT DEVICE TYPE TO sbt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE DEFAULT DEVICE TYPE TO DISK;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE DEVICE TYPE sbt PARALLELISM 3;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE DEVICE TYPE DISK PARALLELISM 4;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE CHANNEL DEVICE TYPE sbt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE CHANNEL DEVICE TYPE sbt PARMS='ENV=mml_env_settings';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE CHANNEL DEVICE TYPE sbt PARMS 'ENV=(NSR_SERVER=bksrv1)';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE CHANNEL DEVICE TYPE sbt PARMS 'BLKSIZE=1048576';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE CHANNEL DEVICE TYPE sbt  FORMAT 'bkup_%U';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE CHANNEL DEVICE TYPE sbt CLEAR;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE CHANNEL 2 DEVICE TYPE sbt  CONNECT 'SYS/pwd@node2' PARMS 'ENV=(NSR_SERVER=bksrv2)';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/tmp/%U';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'C:\backup\df%t_s%s_s%p';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT CLEAR;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE CHANNEL DEVICE TYPE DISK DEBUG 5;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE CHANNEL 2 DEVICE TYPE DISK  FORMAT '/backup/db_%s%d_%p';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE BACKUP OPTIMIZATION ON;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE BACKUP OPTIMIZATION OFF;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE SNAPSHOT CONTROLFILE NAME TO ‘/backup/snapcf_%d.f‘;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE SNAPSHOT CONTROLFILE NAME TO  ‘+&lt;a href="http://satya-dba.blogspot.com/2009/02/flash-recovery-area.html"&gt;FRA&lt;/a&gt;/snap/snapcf_%d.f‘;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE SNAPSHOT CONTROLFILE NAME TO  ‘/ocfs/oradata/snapcf‘;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE SNAPSHOT CONTROLFILE NAME TO  ‘/dev/sda‘;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE MAXSETSIZE TO 100M;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE MAXSETSIZE TO UNLIMITED;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE CHANNEL DEVICE TYPE sbt MAXPIECESIZE 1G;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE EXCLUDE FOR TABLESPACE example;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE EXCLUDE CLEAR;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE AUXNAME FOR DATAFILE 4 TO '/oracle/auxfiles/aux_4.f';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE AUXNAME FOR DATAFILE 2 CLEAR;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE COMPRESSION ALGORITHM 'BZIP2';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE COMPRESSION ALGORITHM 'ZLIB';  --&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;&lt;a href="http://satya-dba.blogspot.com/2009/01/whats-new-in-11g.html"&gt;11g   R1&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE COMPRESSION ALGORITHM 'LOW';  --&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;&lt;a href="http://satya-dba.blogspot.com/2009/09/whats-new-in-11g-release-2.html"&gt;11g  R2&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;,corresponds to LZO&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE COMPRESSION ALGORITHM 'MEDIUM';  --&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;&lt;a href="http://satya-dba.blogspot.com/2009/09/whats-new-in-11g-release-2.html"&gt;11g  R2&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;,corresponds to ZLIB&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE COMPRESSION ALGORITHM 'HIGH'; &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;--&lt;a href="http://satya-dba.blogspot.com/2009/09/whats-new-in-11g-release-2.html"&gt;11g  R2&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;,corresponds to unmodified BZIP2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE COMPRESSION ALGORITHM 'BASIC'; &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;--&lt;a href="http://satya-dba.blogspot.com/2009/09/whats-new-in-11g-release-2.html"&gt;11g  R2&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;,corresponds to BZIP2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE DB_UNIQUE_NAME 'standby' CONNECT IDENTIFIER 'standby_cs';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE DEFAULT DEVICE TYPE TO DISK FOR DB_UNIQUE_NAME 'standby';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE DEFAULT DEVICE TYPE TO DISK FOR DB_UNIQUE_NAME ALL;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONFIGURE DEFAULT DEVICE TYPE TO SBT FOR DB_UNIQUE_NAME po;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="set"&gt;&lt;/a&gt;SET command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Set the value of various attributes that affect RMAN behaviour for the duration of a RUN block or a session.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;SET {set_rman_option [;] | set_run_option;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;set_rman_option::=&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{ECHO {ON|OFF} | DBID [=] integer&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE deviceSpec TO 'frmt_string'&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;set_run_option::=&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{ NEWNAME FOR DATAFILE datafileSpec TO {'filename' | NEW}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| ARCHIVELOG DESTINATION TO 'log_archive_dest'&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| untilClause&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| COMMAND ID TO 'string'&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE deviceSpec TO 'frmt_string'&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;ECHO - Controls whether RMAN commands are displayed in the message log.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;DBID - A unique 32-bit identification number computed when the database is created. RMAN displays the DBID upon connection to the target database. We can obtain the DBID by querying V$DATABASE or RC_DATABASE.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;NEWNAME FOR DATAFILE - The default name for all subsequent RESTORE or SWITCH commands that affect the specified datafile.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;MAXCORRUPT FOR DATAFILE - A limit on the number of previously undetected physical block corruptions that Oracle will allow in the datafile(s).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;AUTOLOCATE - Force RMAN to automatically discover which nodes of an &lt;a href="http://satya-racdba.blogspot.com/"&gt;Oracle Real Application Clusters&lt;/a&gt; configuration contain the backups that you want to restore.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SET ECHO ON;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SET ECHO OFF;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SET DATABASE prod;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SET DBID=4240978820;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SET DBID 591329635;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SET COMMAND ID TO 'rman';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SET MAXCORRUPT FOR DATABASE TO 2;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SET MAXCORRUPT FOR DATAFILE 1 TO 2;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SET BACKUP COPIES = 2;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SET NEWNAME FOR DATABASE TO '/oradata1/%b';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SET NEWNAME FOR TABLESPACE users TO '/oradata2/%U';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SET NEWNAME FOR DATAFILE 1 to ‘/oradata/system01.dbf’;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SET NEWNAME FOR DATAFILE '/disk7/tbs11.f' TO '/disk9/tbs11.f';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SET NEWNAME FOR TEMPFILE 1 TO '/newdisk/dbs/temp1.f';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SET CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE sbt TO 'cf_%F';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SET CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'cf_%F.bak';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SET UNTIL TIME ’04-23-2010:23:50:04’;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SET ARCHIVELOG DESTINATION TO '/oracle/temp_restore';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SET COMPRESSION ALGORITHM 'LOW';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SET COMPRESSION ALGORITHM 'LOW' OPTIMIZE FOR LOAD FALSE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SET COMPRESSION ALGORITHM 'MEDIUM';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SET COMPRESSION ALGORITHM 'HIGH';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="backup"&gt;&lt;/a&gt;BACKUP command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Backup database files, copies of database files, archived logs, or backup sets.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;BACKUP FULL Options&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;BACKUP FULL AS (COPY | BACKUPSET) Options&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;BACKUP INCREMENTAL LEVEL [=] integer Options&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;BACKUP INCREMENTAL LEVEL [=] integer AS (COPY | BACKUPSET) Options&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;BACKUP AS (COPY | BACKUPSET) Options&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;BACKUP AS (COPY | BACKUPSET) (FULL | INCREMENTAL LEVEL [=] integer) Options&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;Options:&lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;:=&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;[backupOperand [backupOperand]...] backupSpec [backupSpec]...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;[PLUS ARCHIVELOG [backupSpecOperand [backupSpecOperand]...]];&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;backupOperand::=&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{ FORMAT [=] 'format_string' [, 'format_string']...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| CHANNEL ['] channel_id [']&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| CUMULATIVE&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| MAXSETSIZE [=] integer [K | M | G]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| TAG [=] ['] tag_name [']&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| keepOption&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| SKIP {OFFLINE | READONLY | INACCESSIBLE}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| VALIDATE&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| NOT BACKED UP [SINCE TIME [=] 'date_string']&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| COPIES [=] integer&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| DEVICE TYPE deviceSpecifier&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;backupSpec::=&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;[(]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{ BACKUPSET&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{ {ALL | completedTimeSpec }&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| primary_key) [, primary_key]...&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| COPY OF { DATABASE&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;    | TABLESPACE ['] tablespace_name ['] [, ['] tablespace_name&lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt; [']]...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;    | DATAFILE datafileSpec [, datafileSpec]...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;    }&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| DATAFILE datafileSpec [, datafileSpec]...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| DATAFILECOPY 'filename' [, 'filename']...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| DATAFILECOPY FROM TAG [=] ['] tag_name ['] [, ['] tag_name [']]...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| DATAFILECOPY { ALL | LIKE 'string_pattern' }&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| TABLESPACE ['] tablespace_name ['] [, ['] tablespace_name [']]...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| DATABASE&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| archivelogRecordSpecifier&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| CURRENT CONTROLFILE [FOR STANDBY]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| CONTROLFILECOPY 'filename'&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| SPFILE&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;[backupSpecOperand [backupSpecOperand]...]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;backupSpecOperand::=&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{ FORMAT [=] 'format_string' [, 'format_string']...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| CHANNEL ['] channel_id [']&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| CUMULATIVE&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| MAXSETSIZE [=] integer [K | M | G]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| TAG [=] ['] tag_name [']&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| keepOption&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| SKIP {OFFLINE | READONLY | INACCESSIBLE}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| NOT BACKED UP [SINCE TIME [=] 'date_string' | integer TIMES]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| DELETE [ALL] INPUT&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP DATABASE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP DATABASE TAG=’test backup’;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP DATABASE COMMENT=’full backup’;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP TAG 'weekly_full_db_bkup' DATABASE MAXSETSIZE 10M;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP MAXSETSIZE 500M DATABASE PLUS ARCHIVELOG;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP DURATION 00:60 DATABASE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP DURATION 00:30 MINIMIZE TIME DATABASE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP DURATION 00:45 MINIMIZE LOAD DATABASE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP DATABASE PLUS ARCHIVELOG;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP DATABASE KEEP FOREVER;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP DATABASE KEEP UNTIL TIME=’SYSDATE+30’;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP DATABASE UNTIL 'SYSDATE+365' NOLOGS;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP DATABASE NOEXCLUDE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP DATABASE NOEXCLUDE KEEP FOREVER TAG=’abc’;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP DATABASE SKIP READONLY;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP DATABASE SKIP OFFLINE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP DATABASE SKIP INACCESSIBLE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP DATABASE SKIP READONLY SKIP OFFLINE SKIP INACCESSIBLE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP DATABASE FORCE;     -- backup read only database also&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP DATABASE NOT BACKED UP;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP DATABASE NOT BACKED UP SINCE TIME=’SYSDATE–3’;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP NOT BACKED UP SINCE TIME 'SYSDATE-10' MAXSETSIZE 500M DATABASE PLUS ARCHIVELOG;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP DATABASE COPIES=2;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP DATABASE FORMAT '/disk1/backups/db_%U.bck'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;TAG quarterly KEEP UNTIL TIME 'SYSDATE+365' RESTORE POINT Q1FY10;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP DEVICE TYPE DISK DATABASE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP DEVICE TYPE sbt DATABASE PLUS ARCHIVELOG;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP DEVICE TYPE sbt DATAFILECOPY FROM TAG 'latest' FORMAT 'df%f_%d';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP DEVICE TYPE sbt ARCHIVELOG LIKE '/disk%arc%' DELETE ALL INPUT;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP DEVICE TYPE sbt BACKUPSET COMPLETED BEFORE 'SYSDATE-14'DELETE INPUT;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP CHECK LOGICAL DATABASE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP VALIDATE CHECK LOGICAL DATABASE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP VALIDATE DATABASE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP VALIDATE DATABASE ARCHIVELOG ALL;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP TABLESPACE test;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP TABLESPACE system, users, tools;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP TABLESPACE 4;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP TABLESPACE gld PLUS ARCHIVELOG;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP TABLESPACE invd INCLUDE CURRENT CONTROLFILE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP TABLESPACE appsd INCLUDE CURRENT CONTROLFILE PLUS ARCHIVELOG;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP TABLESPACE dwh SECTION SIZE 100M;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP SECTION SIZE 250M TABLESPACE datamart;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP DATAFILE 1;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP DATAFILE 3, 2, 14;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP DATAFILE ‘/u01/data/...’;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP DATAFILE 1 PLUS ARCHIVELOG;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP KEEP FOREVER FORMAT '?/dbs/%U_longterm.cpy' TAG longterm_bck DATAFILE 1 DATAFILE 2;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP SECTION SIZE 500M DATAFILE 6;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP ARCHIVELOG ALL;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP ARCHIVELOG ALL DELETE INPUT;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP ARCHIVELOG LIKE '/arch%' DELETE ALL INPUT;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP ARCHIVELOG FROM TIME ‘SYSDATE–3’;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP ARCHIVELOG FROM SEQUENCE 100;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP ARCHIVELOG FROM SEQUENCE 999 DELETE INPUT;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP ARCHIVELOG NOT BACKED UP 2 TIMES;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP ARCHIVELOG COMPLETION TIME BETWEEN 'SYSDATE-28' AND 'SYSDATE-7';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP FORMAT='AL_%d/%t/%s/%p' ARCHIVELOG LIKE '%arc_dest%';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP CURRENT CONTROLFILE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;OR&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SQL “ALTER DATABASE BACKUP CONTROLFILE TO ’’/u01/ .../bkctl.ctl’’ “;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP CURRENT CONTROLFILE TO  '/backup/cntrlfile.copy';&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP CONTROLFILE COPY ‘/u10/backup/control.bkp’;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP SPFILE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP DEVICE TYPE sbt SPFILE ARCHIVELOG ALL;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP DEVICE TYPE sbt DATAFILECOPY ALL NODUPLICATES;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP RECOVERY FILES;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;BACKUP set&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP BACKUPSET ALL;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP BACKUPSET ALL FORMAT = ‘/u01/.../backup_%u.bak’;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP BACKUPSET COMPLETED BEFORE ‘SYSDATE-3’ DELETE INPUT;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP DEVICE TYPE sbt BACKUPSET COMPLETED BEFORE 'SYSDATE-14' DELETE INPUT;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP COPIES 2 DEVICE TYPE sbt BACKUPSET ALL;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP AS COMPRESSED BACKUPSET;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP AS COMPRESSED BACKUPSET DEVICE TYPE DISK COPIES 2 DATABASE FORMAT '/disk1/db_%U', '/disk2/db_%U';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP AS BACKUPSET DATAFILE '$ORACLE_HOME/oradata/users01.dbf','$ORACLE_HOME/oradata/tools01.dbf';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP AS BACKUPSET DATAFILECOPY ALL;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP AS BACKUPSET DATAFILECOPY ALL NODUPLICATES;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;IMAGE copy&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP AS COPY DATABASE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP AS COPY COPY OF DATABASE FROM TAG 'test' CHECK LOGICAL TAG 'duptest';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP AS COPY TABLESPACE 8;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP AS COPY TABLESPACE test;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP AS COPY TABLESPACE system, tools, users, undotbs;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP AS COPY DATAFILE 1;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP AS COPY DATAFILE 2 FORMAT '/disk2/df2.cpy' TAG my_tag;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP AS COPY CURRENT CONTROLFILE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP AS COPY CURRENT CONTROLFILE FORMAT ‘/....’;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP AS COPY ARCHIVELOG ALL;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP AS COPY KEEP FOREVER NOLOGS CURRENT CONTROLFILE FORMAT '?/oradata/cf_longterm.cpy',&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; DATAFILE 1 FORMAT '?/oradata/df1_longterm.cpy', DATAFILE 2 FORMAT '?/oradata/df2_longterm.cpy';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP AS COPY DATAFILECOPY 'bar' FORMAT 'foobar';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP AS COPY DATAFILECOPY '/disk2/df2.cpy' FORMAT '/disk1/df2.cpy';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;Incremental backups&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP INCREMENTAL LEVEL=0 DATABASE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP INCREMENTAL LEVEL=1 DATABASE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP INCREMENTAL LEVEL=2 DATABASE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP INCREMENTAL LEVEL 2 CUMULATIVE DATABASE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP INCREMENTAL LEVEL 2 DATABASE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP INCREMENTAL LEVEL=0 DATABASE PLUS ARCHIVELOG;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP INCREMENTAL LEVEL 1 CUMULATIVE SKIP INACCESSIBLE DATABASE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP INCREMENTAL LEVEL 1 FOR RECOVER OF COPY WITH TAG 'incr' DATABASE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP DEVICE TYPE DISK INCREMENTAL LEVEL 1 FOR RECOVER OF COPY WITH TAG 'oltp' DATABASE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP DEVICE TYPE DISK INCREMENTAL FROM SCN 351986 DATABASE FORMAT '/tmp/incr_standby_%U';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP INCREMENTAL FROM SCN 629184 DATAFILE 5 FORMAT '/tmp/ForStandby_%U' TAG 'FORSTANDBY';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BACKUP INCREMENTAL LEVEL = --- tablespace/datafile&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="list"&gt;&lt;/a&gt;LIST command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Produce a detailed listing of backup sets or copies.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;LIST&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{ INCARNATION [OF DATABASE [[']database_name[']]]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| [EXPIRED]&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{listObjectSpec&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;[ maintQualifier | RECOVERABLE [untilClause] ]...&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| recordSpec&lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;};&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;listObjectSpec::=&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{BACKUP [OF listObjectList] [listBackupOption]&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| COPY [OF listObjectList]&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| archivelogRecordSpecifier&lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;listObjectList::=&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;[ DATAFILE datafileSpec [, datafileSpec]...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| TABLESPACE [']tablespace_name['] [, [']tablespace_name[']]...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| archivelogRecordSpecifier&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| DATABASE [SKIP TABLESPACE [']tablespace_name[']&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;[, [']tablespace_name[']] ...]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| CONTROLFILE&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| SPFILE&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;]...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;listBackupOption::=&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;[[&lt;u&gt;BY BACKUP&lt;/u&gt;] [&lt;u&gt;VERBOSE&lt;/u&gt;] | SUMMARY | BY {BACKUP SUMMARY|FILE}]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; LIST INCARNATION;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; LIST INCARNATION OF DATABASE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; LIST INCARNATION OF DATABASE vis;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; LIST DB_UNIQUE_NAME ALL;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; LIST DB_UNIQUE_NAME OF DATABASE;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; LIST BACKUP;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; LIST BACKUP SUMMARY;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; LIST BACKUP BY FILE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; LIST BACKUP OF DATABASE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; LIST BACKUP OF DATABASE BY BACKUP;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; LIST BACKUP OF TABLESPACE test SUMMARY;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; LIST BACKUP OF DATAFILE 65;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; LIST BACKUP OF DATAFILE 11 SUMMARY;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; LIST BACKUP OF CONTROLFILE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; LIST BACKUP OF ARCHIVELOG FROM SEQUENCE 2222;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; LIST BACKUP RECOVERABLE;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; LIST EXPIRED BACKUP;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; LIST EXPIRED BACKUP OF ARCHIVELOG ALL  SUMMARY;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; LIST COPY;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; LIST COPY OF DATABASE ARCHIVELOG ALL;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; LIST COPY OF TABLESPACE appl_idx;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; LIST COPY OF DATAFILE 11, 60, 98;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; LIST COPY OF CONTROLFILE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; LIST EXPIRED COPY;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; LIST BACKUPSET SUMMARY;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; LIST BACKUPSET 109;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; LIST BACKUPSET OF DATAFILE 1;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; LIST ARCHIVELOG;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; LIST CONTROLFILECOPY  "/tmp/cntrlfile.copy";&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; LIST SCRIPT NAMES;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; LIST ALL SCRIPT NAMES;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; LIST GLOBAL SCRIPT NAMES;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; LIST FAILURE; --&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;&lt;a href="http://satya-dba.blogspot.com/2009/01/whats-new-in-11g.html"&gt; 11g   R1&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; LIST FAILURE 420 DETAIL; -- &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;&lt;a href="http://satya-dba.blogspot.com/2009/01/whats-new-in-11g.html"&gt;11g   R1&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; LIST FAILURE ALL;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;-- &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;&lt;a href="http://satya-dba.blogspot.com/2009/01/whats-new-in-11g.html"&gt;11g    R1&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="report"&gt;&lt;/a&gt;REPORT command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Report backup status: database, files, and backups. Perform detailed analyses of the content of the recovery catalog.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;REPORT&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{{NEED BACKUP [{INCREMENTAL | DAYS} [=] integer&lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| REDUNDANCY [=] integer&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| RECOVERY WINDOW OF integer DAYS)&lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| UNRECOVERABLE&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;reportObject&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| SCHEMA [atClause]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| OBSOLETE [obsOperandList]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;[DEVICE TYPE deviceSpecifier [,deviceSpecifier]... ]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;reportObject::=&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;[ DATAFILE datafileSpec [, datafileSpec]...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| TABLESPACE [']tablespace_name['] [, [']tablespace_name[']] ...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| DATABASE [SKIP TABLESPACE [']tablespace_name[']&lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt; [, [']tablespace_name[']] ...]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;atClause::=&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{AT TIME [=] 'date_string'&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| AT SCN [=] integer&lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;|AT SEQUENCE [=] integer THREAD [=] integer&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;obsOperandList::=&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;[REDUNDANCY [=] integer | RECOVERY WINDOW OF integer DAYS | ORPHAN]...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; REPORT OBSOLETE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; REPORT NEED BACKUP;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; REPORT NEED BACKUP DAYS=5;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; REPORT NEED BACKUP REDUNDANCY=3;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; REPORT NEED BACKUP RECOVERY WINDOW OF 7 DAYS;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; REPORT NEED BACKUP DATABASE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; REPORT NEED BACKUP INCREMENTAL 1;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; REPORT UNRECOVERABLE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; REPORT SCHEMA;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; REPORT SCHEMA AT TIME 'sysdate-20/1440';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="change"&gt;&lt;/a&gt;CHANGE command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Update the status of a backup in the RMAN repository. Mark a backup piece, image copy, or archived redo log as having the status UNAVAILABLE or AVAILABLE; remove the repository record for a backup or copy; override the retention policy for a backup or copy; update the recovery catalog with the DB_UNIQUE_NAME for the target database.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;CHANGE {BACKUP | COPY} [OF listObjList]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt; [maintQualifier [maintQualifier]...]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;   {AVAILABLE | UNAVAILABLE | UNCATALOG | keepOption}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;     [DEVICE TYPE deviceSpecifier [, deviceSpecifier]...];&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;CHANGE archivelogRecordSpecifier&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{AVAILABLE | UNAVAILABLE | UNCATALOG | keepOption}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;[DEVICE TYPE deviceSpecifier [, deviceSpecifier]...];&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;CHANGE recordSpec [DEVICE TYPE deviceSpecifier [, deviceSpecifier]...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{AVAILABLE | UNAVAILABLE | UNCATALOG | keepOption}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;[DEVICE TYPE deviceSpecifier [, deviceSpecifier]...];&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;listObjList::=&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;[DATAFILE datafileSpec [, datafileSpec]...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| TABLESPACE ['] tablespace_name ['] [, ['] tablespace_name [']]...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| archivelogRecordSpecifier&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| DATABASE [SKIP TABLESPACE [']tablespace_name[']&lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt; [, [']tablespace_name[']] ...]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| CONTROLFILE&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| SPFILE&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;]...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;recordSpec::=&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{{BACKUPPIECE | PROXY}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{'media_handle' [, 'media_handle']...&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| primary_key [, primary_key]...&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| TAG [=] ['] tag_name [']&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| BACKUPSET primary_key [, primary_key]...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| {CONTROLFILECOPY | DATAFILECOPY}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{{primary_key [, primary_key]...&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| 'filename' [, 'filename']...&lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| TAG [=] ['] tag_name ['] [, ['] tag_name [']]...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| ARCHIVELOG&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{primary_key [, primary_key]...&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| 'filename' [, 'filename']...&lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CHANGE BACKUPSET 431 KEEP FOREVER NOLOGS;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CHANGE BACKUPSET 100 UNAVAILABLE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CHANGE BACKUPSET 121,122,127,203,300  UNCATALOG;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CHANGE BACKUP OF DATABASE TAG=’abc’ UNAVAILABLE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CHANGE BACKUP OF DATABASE DEVICE TYPE DISK UNAVAILABLE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CHANGE BACKUP OF SPFILE COMPLETED BEFORE 'SYSDATE-3' UNAVAILABLE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CHANGE BACKUP TAG 'consistent_db_bkup' KEEP FOREVER;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CHANGE BACKUP TAG 'consistent_db_bkup' KEEP FOREVER NOLOGS;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CHANGE BACKUP FOR DB_UNIQUE_NAME  standby1 RESET DB_UNIQUE_NAME;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt;  CHANGE BACKUP FOR DB_UNIQUE_NAME st3 RESET DB_UNIQUE_NAME TO st2;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CHANGE DB_UNIQUE_NAME FROM rdbms4 TO  rdbms_dev;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CHANGE ARCHIVELOG ALL UNCATALOG;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CHANGE CONTROLFILECOPY '/tmp/cf.cpy'  UNCATALOG;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CHANGE FAILURE 5 PRIORITY LOW;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="crosscheck"&gt;&lt;/a&gt;CROSSCHECK command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Check whether files managed by RMAN, such as archived logs, datafile copies, and backup pieces, still exist on disk or tape.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;CROSSCHECK&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{{BACKUP [OF listObjList]&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| COPY [OF listObjList]&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| archivelogRecordSpecifier&lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;} [maintQualifier [maintQualifier]...]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| recordSpec [DEVICE TYPE deviceSpecifier [, deviceSpecifier]...]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;};&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;listObjList::=&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;[ DATAFILE datafileSpec [, datafileSpec]...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| TABLESPACE ['] tablespace_name ['] [, ['] tablespace_name [']]...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| archivelogRecordSpecifier&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| DATABASE [SKIP TABLESPACE [']tablespace_name[']&lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt; [, [']tablespace_name[']] ...]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| CONTROLFILE&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| SPFILE&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;]...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;recordSpec::=&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{{ BACKUPPIECE | PROXY }&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{ 'media_handle' [, 'media_handle']...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| primary_key [, primary_key]...&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| TAG [=] ['] tag_name [']&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| BACKUPSET primary_key [, primary_key]...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| { CONTROLFILECOPY | DATAFILECOPY }&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{ {primary_key [, primary_key]...&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| 'filename' [, 'filename']...&lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| TAG [=] ['] tag_name ['] [, ['] tag_name [']]...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| ARCHIVELOG&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{ primary_key [, primary_key]...&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| 'filename' [, 'filename']...&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CROSSCHECK BACKUP;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CROSSCHECK BACKUP TAG=’full db’;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CROSSCHECK BACKUP COMPLETED BETWEEN ‘SYSDATE-7’ AND ‘SYSDATE–1’;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CROSSCHECK BACKUP COMPLETED BETWEEN '01-JAN-10' AND '14-FEB-10';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CROSSCHECK BACKUP DEVICE TYPE sbt  COMPLETED BETWEEN '01-AUG-09' AND '31-DEC-09';&lt;br /&gt;RMAN&amp;gt; CROSSCHECK BACKUP DEVICE TYPE DISK COMPLETED BETWEEN '01-JAN-10' AND '23-MAR-10';&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CROSSCHECK BACKUP OF DATABASE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CROSSCHECK BACKUP OF TABLESPACE warehouse;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CROSSCHECK BACKUP OF TABLESPACE userd  COMPLETED BEFORE 'SYSDATE-14';&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CROSSCHECK BACKUP OF TABLESPACES gld,  invd;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CROSSCHECK BACKUP OF DATAFILE 9;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CROSSCHECK BACKUP OF DATAFILE 4 COMPLETED AFTER 'SYSDATE-14';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CROSSCHECK BACKUP OF DATAFILE "?/oradata/dwh/system01.dbf" COMPLETED AFTER 'SYSDATE-14';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CROSSCHECK BACKUP OF CONTROLFILE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CROSSCHECK BACKUP OF SPFILE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CROSSCHECK BACKUP OF ARCHIVELOG ALL;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CROSSCHECK BACKUP OF ARCHIVELOG ALL SPFILE;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CROSSCHECK COPY;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CROSSCHECK COPY OF DATABASE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CROSSCHECK DATAFILECOPY 113, 114, 115;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CROSSCHECK CONTROLFILECOPY  '/tmp/control01.ctl';&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CROSSCHECK ARCHIVELOG ALL;&lt;br /&gt;RMAN&amp;gt; CROSSCHECK BACKUPSET;&lt;br /&gt;RMAN&amp;gt; CROSSCHECK BACKUPSET 1338, 1339, 1340;&lt;br /&gt;RMAN&amp;gt; CROSSCHECK BACKUPPIECE TAG = 'nightly_backup';&lt;br /&gt;RMAN&amp;gt; CROSSCHECK PROXY 789;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="sql"&gt;&lt;/a&gt;SQL command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Execute a SQL statement from within &lt;a href="http://satya-dba.blogspot.com/2009/01/rman-was-first-introduced-in-oracle8.html"&gt;Recovery Manager&lt;/a&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;&lt;br /&gt;SQL [CHANNEL ‘channel_id’] ‘command’;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SQL 'ALTER TABLESPACE users ONLINE';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SQL 'ALTER DATABASE DATAFILE 64 OFFLINE';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SQL "ALTER SYSTEM ARCHIVE LOG CURRENT";&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SQL "ALTER SYSTEM SWITCH LOGFILE";&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SQL "ALTER DATABASE BACKUP CONTROLFILE TO TRACE";&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SQL "ALTER TABLESPACE users ADD DATAFILE ''/disk1/ora/users02.dbf''&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;SIZE 100K AUTOEXTEND ON NEXT 10K MAXSIZE 100K";&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="restore"&gt;&lt;/a&gt;RESTORE command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Restore files from backup sets or from disk copies to the default or a new location.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;&lt;br /&gt;&lt;span style="color: #000099;"&gt;RESTORE&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;[(] restoreObject [(restoreSpecOperand [restoreSpecOperand]...] [)]...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;[ CHANNEL ['] channel_id [']&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| PARMS [=] 'channel_parms'&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| FROM { BACKUPSET | DATAFILECOPY }&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| untilClause&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| FROM TAG [=] ['] tag_name [']&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| VALIDATE&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| DEVICE TYPE deviceSpecifier [, deviceSpecifier]...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;]...;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;restoreObject::=&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{ CONTROLFILE [TO 'filename']&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| DATABASE&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;[SKIP [FOREVER] TABLESPACE&lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt; [']tablespace_name['] [, [']tablespace_name[']] ...&lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| DATAFILE datafileSpec [, datafileSpec]...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| TABLESPACE ['] tablespace_name ['] [, ['] tablespace_name [']]...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| archivelogRecordSpecifier&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| SPFILE [TO [PFILE] 'filename']&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;restoreSpecOperand::=&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{ CHANNEL ['] channel_id [']&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| FROM TAG [=] ['] tag_name [']&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| PARMS [=] 'channel_parms'&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| FROM&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;  &lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{AUTOBACKUP&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;[{MAXSEQ | MAXDAYS} [=] integer)]... | 'media_handle'&lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RESTORE DATABASE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RESTORE DATABASE VALIDATE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RESTORE DATABASE PREVIEW;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RESTORE DATABASE PREVIEW SUMMARY;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RESTORE DATABASE SKIP TABLESPACE temp, history;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RESTORE DATABASE UNTIL SCN 154876;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RESTORE TABLESPACE users;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RESTORE TABLESPACE dwh1, dwh2;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RESTORE TABLESPACE tbs1 PREVIEW;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RESTORE TABLESPACE users VALIDATE;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RESTORE DATAFILE 45;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RESTORE DATAFILE 23 PREVIEW;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RESTORE DATAFILE 12 VALIDATE;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RESTORE CONTROLFILE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RESTORE CONTROLFILE FROM AUTOBACKUP;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RESTORE CONTROLFILE FROM TAG 'monday_cf_backup';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RESTORE CONTROLFILE VALIDATE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RESTORE CONTROLFILE TO '/tmp/autobkp.dbf' FROM AUTOBACKUP MAXSEQ 20 MAXDAYS 150;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RESTORE SPFILE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RESTORE SPFILE FROM AUTOBACKUP;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RESTORE ARCHIVELOG ALL VALIDATE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RESTORE ARCHIVELOG ALL PREVIEW;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RESTORE ARCHIVELOG ALL PREVIEW RECALL;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RESTORE ARCHIVELOG ALL DEVICE TYPE sbt PREVIEW;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RESTORE STANDBY CONTROLFILE FROM TAG 'forstandby';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Restore the control file, (to all locations specified in the parameter file) then restore the database, using that control file:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;STARTUP NOMOUNT;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RUN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;ALLOCATE CHANNEL c1 DEVICE TYPE sbt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RESTORE CONTROLFILE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;ALTER DATABASE MOUNT;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RESTORE DATABASE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="recover"&gt;&lt;/a&gt;RECOVER command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Perform media recovery from RMAN backups and copies. Apply redo log files and incremental backups to datafiles or data blocks restored from backup or datafile copies, to update them to a specified time.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;RECOVER [DEVICE TYPE deviceSpecifier [, deviceSpecifier]...]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;  recoverObject [recoverOptionList];&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;recoverObject::=&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{ DATABASE&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;[ untilClause&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| [untilClause] SKIP [FOREVER] TABLESPACE&lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt; [']tablespace_name['] [, [']tablespace_name[']] ...&lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| TABLESPACE [']tablespace_name['] [, [']tablespace_name[']]...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| DATAFILE datafileSpec [, datafileSpec]...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;recoverOptionList::=&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{ DELETE ARCHIVELOG [MAXSIZE {integer [K | M | G]}]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| CHECK READONLY&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| NOREDO&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| {FROM TAG | ARCHIVELOG TAG} [=] ['] tag_name [']&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RECOVER DATABASE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RECOVER DATABASE NOREDO;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RECOVER DATABASE SKIP TABLESPACE temp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RECOVER DATABASE SKIP FOREVER TABLESPACE exam;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RECOVER DATABASE UNTIL SCN 154876;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RECOVER TABLESPACE users;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RECOVER TABLESPACE dwh DELETE ARCHIVELOG MAXSIZE 2M;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RECOVER DATAFILE 33;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RECOVER DATAFILECOPY '/disk1/img.df' UNTIL TIME 'SYSDATE-7';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RECOVER COPY OF DATABASE WITH TAG 'incr';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RECOVER COPY OF DATABASE WITH TAG 'upd' UNTIL TIME 'SYSDATE - 7';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RECOVER CORRUPTION LIST;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Restore and recover the whole database&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; STARTUP FORCE MOUNT;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RESTORE DATABASE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RECOVER DATABASE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; ALTER DATABASE OPEN;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Restore and recover a tablespace&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SQL 'ALTER TABLESPACE users OFFLINE';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RESTORE TABLESPACE users;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RECOVER TABLESPACE users;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SQL 'ALTER TABLESPACE users ONLINE';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Restore and recover a datafile&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SQL 'ALTER DATABASE DATAFILE 64 OFFLINE';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RESTORE DATAFILE 64;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RECOVER DATAFILE 64;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SQL 'ALTER DATABASE DATAFILE 64 ONLINE';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Steps for media recovery:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;1. &lt;a href="http://satya-dba.blogspot.com/2009/01/startupshutdown-options.html"&gt;Mount or open&lt;/a&gt; the database.&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;Mount the database when performing whole database recovery, or open the database when performing online tablespace/datafile recovery.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;2. To perform incomplete recovery, use the SET UNTIL command to specify the time, SCN, or log sequence number at which recovery terminates. Alternatively, specify the UNTIL clause on the RESTORE and RECOVER commands.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;3. Restore the necessary files with the RESTORE command.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;4. Recover the datafiles with the RECOVER command.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;5. Place the database in its normal state. For example, open it or bring recovered tablespaces/datafiles online.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="delete"&gt;&lt;/a&gt;DELETE command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Delete backups and copies, remove references to them from the recovery catalog, and update their control file records to status DELETED.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;DELETE [FORCE] [NOPROMPT]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{[EXPIRED]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{BACKUP [OF listObjectList]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| COPY [OF listObectjList]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| archivelogRecordSpecifier&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;} [maintQualifier [maintQualifier]...]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| recordSpec [DEVICE TYPE deviceSpecifier [, deviceSpecifier]...]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| OBSOLETE [REDUNDANCY [=] integer | RECOVERY WINDOW OF integer DAYS | ORPHAN]&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;[DEVICE TYPE (deviceSpecifier [, deviceSpecifier]...]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;};&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;recordSpec::=&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{ { BACKUPPIECE | PROXY }&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{ 'media_handle' [, 'media_handle']...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| primary_key [, primary_key]...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| TAG [=] ['] tag_name [']&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| BACKUPSET primary_key [, primary_key]...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| { CONTROLFILECOPY | DATAFILECOPY }&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{ {primary_key [, primary_key]...&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| 'filename' [, 'filename']...&lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| TAG [=] ['] tag_name ['] [, ['] tag_name [']]...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| ARCHIVELOG&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;{ primary_key [, primary_key]...&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| 'filename' [, 'filename']...&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;listObjectList::=&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;[ DATAFILE datafileSpec [, datafileSpec]...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| TABLESPACE ['] tablespace_name ['] [, ['] tablespace_name [']]...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| archivelogRecordSpecifier&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| DATABASE [SKIP TABLESPACE [']tablespace_name[']&lt;/span&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt; [, [']tablespace_name[']] ...]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| CONTROLFILE&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;| SPFILE&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000099; font-family: 'courier new';"&gt;]...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; DELETE OBSOLETE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; DELETE NOPROMPT OBSOLETE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; DELETE NOPROMPT OBSOLETE RECOVERY WINDOW OF 7 DAYS;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; DELETE EXPIRED BACKUP;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; DELETE EXPIRED BACKUP DEVICE TYPE sbt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; DELETE BACKUP OF DATABASE LIKE '/tmp%';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; DELETE NOPROMPT EXPIRED BACKUP OF TABLESPACE userd COMPLETED BEFORE 'SYSDATE-14';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; DELETE BACKUP OF SPFILE TABLESPACE users DEVICE TYPE &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;SBT&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;&lt;br /&gt;RMAN&amp;gt; DELETE ARCHIVELOG ALL;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; DELETE ARCHIVELOG ALL BACKED UP 2 TIMES TO DEVICE TYPE &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;SBT&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; DELETE NOPROMPT ARCHIVELOG UNTIL SEQUENCE = 7300;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; DELETE EXPIRED ARCHIVELOG ALL;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; DELETE NOPROMPT EXPIRED ARCHIVELOG ALL;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; DELETE BACKUPSET 101, 102, 103;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; DELETE NOPROMPT BACKUPSET TAG weekly_bkup;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; DELETE FORCE NOPROMPT BACKUPSET TAG weekly_bkup;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;&lt;br /&gt;RMAN&amp;gt; DELETE DATAFILECOPY "+DG_DATA/db/datafile/system.259.699468079";&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;&lt;br /&gt;RMAN&amp;gt; DELETE CONTROLFILECOPY '/tmp/cntrlfile.copy';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; DELETE BACKUP DEVICE TYPE SBT;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; DELETE BACKUP DEVICE TYPE DISK;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; DELETE COPY;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; DELETE EXPIRED COPY;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; DELETE COPY TAG 'lastest';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="drop_database"&gt;&lt;/a&gt;DROP DATABASE command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Delete the target database from disk and unregisters it.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; DROP DATABASE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; DROP DATABASE NOPROMPT;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; DROP DATABASE INCLUDING BACKUPS;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; DROP DATABASE INCLUDING BACKUPS NOPROMPT;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="duplicate"&gt;&lt;/a&gt;DUPLICATE command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Use backups of the target database to create a duplicate database that we can use for testing purposes or to create a standby database.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; DUPLICATE TARGET DATABASE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; DUPLICATE TARGET DATABASE TO dwhdb;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; DUPLICATE TARGET DATABASE TO test PFILE=/u01/apps/db/inittest.ora;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; DUPLICATE TARGET DATABASE TO devdb NOFILENAMECHECK;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; DUPLICATE DATABASE 'prod' DBID 139525561 TO 'dupdb' NOFILENAMECHECK;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; DUPLICATE TARGET DATABASE TO dup FROM ACTIVE DATABASE NOFILENAMECHECK PASSWORD FILE SPFILE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; DUPLICATE TARGET DATABASE TO dupdb&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;LOGFILE GROUP 1 ('?/dbs/dupdb_log_1_1.f','?/dbs/dupdb_log_1_2.f') SIZE 200K,&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;GROUP 2 ('?/dbs/dupdb_log_2_1.f','?/dbs/dupdb_log_2_2.f') SIZE 200K REUSE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; DUPLICATE TARGET DATABASE TO dup FOR STANDBY FROM ACTIVE DATABASE PASSWORD FILE SPFILE&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;PARAMETER_VALUE_CONVERT '/disk1', '/disk2'&lt;br /&gt;SET DB_FILE_NAME_CONVERT '/disk1','/disk2'&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;&lt;br /&gt;SET LOG_FILE_NAME_CONVERT '/disk1','/disk2'&lt;br /&gt;SET SGA_MAX_SIZE 200M SET SGA_TARGET 125M;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="switch"&gt;&lt;/a&gt;SWITCH command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Specify that a datafile copy is now the current datafile, i.e. the datafile pointed to by the control file. This command is equivalent to the SQL statement ALTER DATABASE RENAME FILE as it applies to datafiles.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SWITCH DATABASE TO COPY;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SWITCH TABLESPACE users TO COPY;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SWITCH DATAFILE ALL;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SWITCH DATAFILE '/disk1/tols.dbf' TO DATAFILECOPY '/disk2/tols.copy';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SWITCH DATAFILE "+DG_OLD/db/datafile/sysaux.260.699468081" TO COPY;&lt;br /&gt;RMAN&amp;gt; SWITCH TEMPFILE 1;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SWITCH TEMPFILE 1 TO '/newdisk/dbs/temp1.f';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SWITCH TEMPFILE ALL;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="catalog"&gt;&lt;/a&gt;CATALOG command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Add information about file copies and user-managed backups to the catalog repository.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CATALOG DATAFILECOPY '/disk1/old_datafiles/01_10_2009/users01.dbf';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CATALOG DATAFILECOPY '/disk2/backup/users01.bkp' LEVEL 0;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CATALOG CONTROLFILECOPY &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;'/disk3/backup/cf_copy.bkp'&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CATALOG ARCHIVELOG '/disk1/arch1_731.dbf', '/disk1/arch1_732.dbf';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CATALOG BACKUPPIECE  '/disk1/c-874220581-20090428-01';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CATALOG LIKE '/backup';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CATALOG START WITH '/fs2/arch';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CATALOG START WITH '/disk2/archlog' NOPROMPT;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CATALOG START WITH '+dg2';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CATALOG &lt;a href="http://satya-dba.blogspot.com/2009/02/flash-recovery-area.html"&gt;RECOVERY AREA&lt;/a&gt;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="allocate"&gt;&lt;/a&gt;ALLOCATE command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Establish a channel, which is a connection between &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;&lt;a href="http://satya-dba.blogspot.com/2009/01/rman-was-first-introduced-in-oracle8.html"&gt;RMAN&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; and a database instance.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; ALLOCATE CHANNEL c1 DEVICE TYPE sbt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; ALLOCATE CHANNEL ch DEVICE TYPE DISK FORMAT ‘C:\ORACLEBKP\DB_U%’;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; ALLOCATE CHANNEL t1 DEVICE TYPE DISK CONNECT 'sys/pwd@bkp1’;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; ALLOCATE CHANNEL c1 DEVICE TYPE sbt PARMS 'ENV=(OB_MEDIA_FAMILY=wholedb_mf)';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; ALLOCATE CHANNEL t1 DEVICE TYPE sbt PARMS 'ENV=(OB_DEVICE_1=tape1, OB_DEVICE_2=tape3)';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; ALLOCATE CHANNEL t1 TYPE 'sbt_tape' PARMS='SBT_LIBRARY=/usr/openv/netbackup/bin/libobk.so.1';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; ALLOCATE CHANNEL t1 TYPE 'sbt_tape' SEND "NB_ORA_CLIENT=CLIENT_MACHINE_NAME";&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; ALLOCATE CHANNEL 'dev1' TYPE &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;'sbt_tape'&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; PARMS 'ENV=OB2BARTYPE=ORACLE8, OB2APPNAME=ORCL, OB2BARLIST=MACHINENAME_ORCL_ARCHLOGS)';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; ALLOCATE AUXILIARY CHANNEL ac1 TYPE DISK;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; ALLOCATE AUXILIARY CHANNEL ac2 DEVICE TYPE sbt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;ALLOCATE CHANNEL FOR MAINTENANCE - allocate a  channel in preparation for issuing maintenance commands such as DELETE.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; ALLOCATE  CHANNEL FOR MAINTENANCE  DEVICE TYPE DISK;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; ALLOCATE  CHANNEL FOR MAINTENANCE DEVICE TYPE DISK FORMAT "/disk2/%U";&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt;  ALLOCATE CHANNEL FOR MAINTENANCE  DEVICE TYPE DISK CONNECT '@test1';&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; ALLOCATE CHANNEL FOR MAINTENANCE   DEVICE TYPE sbt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; ALLOCATE CHANNEL FOR MAINTENANCE DEVICE  TYPE sbt PARMS 'SBT_LIBRARY=/usr/local/oracle/backup/lib/libobk.so,  ENV=(OB_DEVICE_1=tape2)';&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="release_channel"&gt;&lt;/a&gt;RELEASE CHANNEL command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Release a channel that was allocated with an ALLOCATE CHANNEL or ALLOCATE CHANNEL FOR MAINTENANCE command.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RELEASE CHANNEL;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RELEASE CHANNEL c1;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="blockrecover"&gt;&lt;/a&gt;BLOCKRECOVER command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Will recover the corrupted blocks.&lt;br /&gt;RMAN&amp;gt; BLOCKRECOVER CORRUPTION LIST;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BLOCKRECOVER DATAFILE 8 BLOCK 22;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BLOCKRECOVER DATAFILE 7 BLOCK 233,235 DATAFILE 4 BLOCK 101;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BLOCKRECOVER DATAFILE 2 BLOCK 12,13 DATAFILE 3 BLOCK 5,98,99 DATAFILE 4 BLOCK 19;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BLOCKRECOVER DATAFILE 3 BLOCK 2,4,5 TABLESPACE sales DBA 4194405,4194412 FROM DATAFILECOPY;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BLOCKRECOVER TABLESPACE dwh DBA 4194404,4194405 FROM TAG "weekly";&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; BLOCKRECOVER TABLESPACE dwh DBA 94404 RESTORE UNTIL TIME 'SYSDATE-2';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="advise_failure"&gt;&lt;/a&gt;ADVISE FAILURE command&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; (From &lt;a href="http://satya-dba.blogspot.com/2009/01/whats-new-in-11g.html"&gt;11gR1&lt;/a&gt;)&lt;br /&gt;Display repair options.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; ADVISE FAILURE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; ADVISE FAILURE 555, 242;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; ADVISE FAILURE ALL;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; ADVISE FAILURE CRITICAL;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; ADVISE FAILURE HIGH;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; ADVISE FAILURE LOW;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; ADVISE FAILURE HIGH EXCLUDE FAILURE 625;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="repair_failure"&gt;&lt;/a&gt;REPAIR FAILURE command&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;(From &lt;a href="http://satya-dba.blogspot.com/2009/01/whats-new-in-11g.html"&gt;11gR1&lt;/a&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Repair one or more failures recorded in the automated diagnostic repository.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; REPAIR FAILURE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; REPAIR FAILURE PREVIEW;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; REPAIR FAILURE NOPROMPT;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; REPAIR FAILURE USING ADVISE OPTION integer;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="validate"&gt;&lt;/a&gt;VALIDATE command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Examine a backup set and report whether its data is intact. RMAN scans all of the backup pieces in the specified backup sets and looks at the checksums to verify that the contents can be successfully restored.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; VALIDATE BACKUPSET 218;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; VALIDATE BACKUPSET 3871, 3890;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; VALIDATE DATABASE; -- &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;&lt;a href="http://satya-dba.blogspot.com/2009/01/whats-new-in-11g.html"&gt;11g   R1&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; VALIDATE TABLESPACE dwh;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; VALIDATE DATAFILE 2;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; VALIDATE DATAFILE 4,8;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; VALIDATE DATAFILE 4 BLOCK 56;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; VALIDATE CURRENT CONTROLFILE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; VALIDATE SPFILE;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; VALIDATE RECOVERY FILES;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; VALIDATE &lt;a href="http://satya-dba.blogspot.com/2009/02/flash-recovery-area.html"&gt;RECOVERY AREA&lt;/a&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; VALIDATE DB_RECOVERY_FILE_DEST;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="spool"&gt;&lt;/a&gt;SPOOL command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Write RMAN output to a log file.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SPOOL LOG TO '/tmp/spool.log';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SPOOL LOG TO '/tmp/backup.log' APPEND;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SPOOL LOG OFF;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="run"&gt;&lt;/a&gt;run command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Execute a sequence of one or more &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;&lt;a href="http://satya-dba.blogspot.com/2009/01/rman-was-first-introduced-in-oracle8.html"&gt;RMAN&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; commands, which are one or more statements executed within the braces of RUN.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; run {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;ALLOCATE CHANNEL&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; c1 &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;TYPE DISK FORMAT&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; '/orabak/%U';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;BACKUP&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;TABLESPACE&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; users;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; run {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;ALLOCATE CHANNEL&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; c1 &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;TYPE DISK FORMAT&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; '&amp;amp;1/%U';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;BACKUP&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;TABLESPACE &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &amp;amp;2;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; run&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;  ALLOCATE CHANNEL dev1 DEVICE TYPE DISK FORMAT '/fs1/%U';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;  ALLOCATE CHANNEL dev2 DEVICE TYPE DISK FORMAT '/fs2/%U'; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;  BACKUP (TABLESPACE system,fin,mark FILESPERSET 20) (DATAFILE 2,3,6);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="create_script"&gt;&lt;/a&gt;CREATE SCRIPT command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Create a stored script and store it in the recovery catalog.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CREATE SCRIPT backup_whole&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;COMMENT "backup whole database and archived redo log files"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;{BACKUP INCREMENTAL LEVEL 0 TAG backup_whole FORMAT "/disk2/backup/%U" DATABASE PLUS ARCHIVELOG;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;CREATE SCRIPT&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; backup_ts_users&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;COMMENT&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; 'tablespace users backup'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;{&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;ALLOCATE CHANNEL&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; c1 &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;TYPE DISK FORMAT&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; 'c:\temp\%U';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;BACKUP TABLESPACE users;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CREATE SCRIPT df {BACKUP DATAFILE &amp;amp;1 TAG &amp;amp;2.1 FORMAT '/disk1/&amp;amp;3_%U';}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CREATE SCRIPT backup_ts_users FROM FILE 'backup_ts_users.rman';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CREATE GLOBAL SCRIPT gl_backup_db  {BACKUP DATABASE PLUS ARCHIVELOG;}&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CREATE GLOBAL SCRIPT backup_db&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;COMMENT "back up any database from the recovery  catalog, with logs"&lt;br /&gt;{BACKUP DATABASE;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="print_script"&gt;&lt;/a&gt;PRINT SCRIPT command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Display a stored script.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; PRINT SCRIPT backup_db;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; PRINT GLOBAL SCRIPT backup_db;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; PRINT GLOBAL SCRIPT gl_backup_db TO FILE "/tmp/gl_backupdb.rman";&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="replace_script"&gt;&lt;/a&gt;REPLACE SCRIPT command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Replace an existing script stored in the recovery catalog. If the script does not exist, then REPLACE SCRIPT creates it.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; REPLACE SCRIPT backup_db {BACKUP DATABASE PLUS ARCHIVELOG;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; REPLACE SCRIPT df {BACKUP DATAFILE &amp;amp;1 TAG &amp;amp;2.1 FORMAT '&amp;amp;3_%U';}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; REPLACE GLOBAL SCRIPT backup_db {BACKUP DATABASE PLUS ARCHIVELOG;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; REPLACE GLOBAL SCRIPT gl_full_bkp FROM FILE '/tmp/script_file.txt';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="execute_script"&gt;&lt;/a&gt;EXECUTE SCRIPT command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Run an &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;&lt;a href="http://satya-dba.blogspot.com/2009/01/rman-was-first-introduced-in-oracle8.html"&gt;RMAN&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; stored script.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RUN {EXECUTE SCRIPT backup_whole;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RUN {EXECUTE SCRIPT backup_ts_any USING 'example';}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RUN {EXECUTE SCRIPT backup_df USING 3 test_backup df3;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; RUN {EXECUTE GLOBAL SCRIPT  global_backup_db;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="delete_script"&gt;&lt;/a&gt;DELETE SCRIPT command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Delete a stored script from the recovery catalog.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; DELETE SCRIPT backup_db;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; DELETE GLOBAL SCRIPT global_backup_db;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="flashback_database"&gt;&lt;/a&gt;&lt;a href="http://satya-dba.blogspot.com/2009/02/flashback.html"&gt;FLASHBACK DATABASE&lt;/a&gt; command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Return the database to its state at a previous time or SCN.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; FLASHBACK DATABASE TO SCN 411010;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; FLASHBACK DATABASE TO RESTORE POINT 'before_update';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="transportable_tablespace"&gt;&lt;/a&gt;&lt;a href="http://satya-dba.blogspot.com/2010/01/oracle-transportable-tablespaces-tts.html"&gt;TRANSPORT TABLESPACE&lt;/a&gt; command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Create transportable tablespace sets from backup for one or more tablespaces.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; TRANSPORT TABLESPACE example, tools&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;TABLESPACE DESTINATION '/disk1/trans' AUXILIARY DESTINATION '/disk1/aux'&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;UNTIL TIME 'SYSDATE-15/1440';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; TRANSPORT TABLESPACE exam&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;TABLESPACE DESTINATION '/disk1/trans' AUXILIARY DESTINATION '/disk1/aux'&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;&lt;a href="http://satya-dba.blogspot.com/2009/06/datapump-in-oracle.html"&gt;DATAPUMP&lt;/a&gt; DIRECTORY dpdir DUMP FILE 'dmpfile.dmp' IMPORT SCRIPT 'impscript.sql' EXPORT LOG 'explog.log';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="convert"&gt;&lt;/a&gt;CONVERT command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Convert datafile formats for transporting tablespaces and databases across platforms.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONVERT DATABASE NEW DATABASE 'prodwin' TRANSPORT SCRIPT '/tmp/convertdb/transportscript'&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;TO PLATFORM 'Microsoft Windows IA (32-bit)' DB_FILE_NAME_CONVERT '/disk1/oracle/dbs','/tmp/convertdb';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONVERT DATABASE ON DESTINATION PLATFORM CONVERT SCRIPT '/tmp/convertdb/convertscript.rman'&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;TRANSPORT SCRIPT '/tmp/convertdb/transportscript.sql' NEW DATABASE 'prodwin' FORMAT '/tmp/convertdb/%U';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONVERT DATABASE ON DESTINATION PLATFORM CONVERT SCRIPT '/tmp/convert_newdb.rman'&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;TRANSPORT SCRIPT '/tmp/transport_newdb.sql' NEW DATABASE 'prodaix'&lt;/span&gt; &lt;span style="font-family: 'courier new';"&gt;DB_FILE_NAME_CONVERT '/u01/oradata/datafile','+DATA';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONVERT TABLESPACE tbs_2 FORMAT '/tmp/tbs_2_%U.df';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONVERT TABLESPACE finance, hr TO PLATFORM 'Solaris[tm] OE (32-bit)' FORMAT '/tmp/transport_to_solaris/%U';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONVERT DATAFILE '/disk1/oracle/dbs/tbs_f1.df', '/disk1/oracle/dbs/ax1.f' FORMAT '+DATAFILE';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONVERT DATAFILE '/u01/oradata/datafile/system.dbf' FROM PLATFORM 'Linux x86 64-bit' FORMAT '+DATA/system.dbf';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; CONVERT DATAFILE&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;'/tmp/from_solaris/fin/fin01.dbf', '/tmp/from_solaris/fin/fin02.dbf',&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;'/tmp/from_solaris/hr/hr01.dbf', '/tmp/from_solaris/hr/hr02.dbf'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;DB_FILE_NAME_CONVERT '/tmp/from_solaris/fin','/disk2/orahome/dbs/fin',&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;'/tmp/from_solaris/hr','/disk2/orahome/dbs/hr'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;FROM PLATFORM 'Solaris[tm] OE (64-bit)';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="exit_quit"&gt;&lt;/a&gt;EXIT or QUIT Command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Exit the RMAN console.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; exit;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; quit;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new'; font-size: 130%; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="send"&gt;&lt;/a&gt;SEND command&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Send a vendor-specific quoted string to one or more specific channels.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; SEND 'OB_DEVICE tape1';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="font-family: courier new; font-family: courier new;" /&gt;&lt;span style="font-family: 'courier new'; font-weight: bold;"&gt;&lt;br /&gt;&lt;span style="font-size: 130%;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="host"&gt;&lt;/a&gt;HOST command&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Invoke an operating system command-line subshell from within &lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt;&lt;a href="http://satya-dba.blogspot.com/2009/01/rman-was-first-introduced-in-oracle8.html"&gt;RMAN&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new';"&gt; or run a specific operating system command.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; HOST;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; HOST 'ls -lt /disk2/*';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;RMAN&amp;gt; HOST '/bin/mv $ORACLE_HOME/dbs/*.arc /disk2/archlog/';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'courier new';"&gt;Source: Internet&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2511956539743992936-4250084521094615315?l=satya-dba.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://satya-dba.blogspot.com/feeds/4250084521094615315/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://satya-dba.blogspot.com/2010/04/rman-commands.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2511956539743992936/posts/default/4250084521094615315'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2511956539743992936/posts/default/4250084521094615315'/><link rel='alternate' type='text/html' href='http://satya-dba.blogspot.com/2010/04/rman-commands.html' title='RMAN (Recovery Manager) Commands'/><author><name>Satya</name><uri>http://www.blogger.com/profile/14440084623088726822</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/-bU8J97DlZuQ/TsbYZjhEmbI/AAAAAAAALZE/3bwU2WtUYFo/s220/002.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2511956539743992936.post-4976792567329322975</id><published>2010-03-04T15:39:00.216+05:30</published><updated>2011-12-20T04:49:43.405+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ASM'/><title type='text'>Automatic Storage Management</title><content type='html'>&lt;div style="font-family: courier new;"&gt;&lt;span class="Apple-style-span"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;a href="http://satya-dba.blogspot.com/2009/01/whats-new-in-10g.html#10grel1"&gt;Oracle Database 10g Release 1&lt;/a&gt;, introduced Automatic Storage Management(ASM), a new framework for managing Oracle database files,&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;to bypass the OS overhead,&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;to simplify Oracle data management,&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;to enforce the SAME (Stripe And Mirror Everywhere, RAID10), and&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;to provide a platform for file sharing in RAC and Grid computing.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Automatic Storage Management (ASM) is a new type of file system. ASM provided a foundation for highly efficient storage management with kernelized asynchronous I/O, direct I/O, redundancy, striping, and an easy way to manage storage. ASM is recommended file system for &lt;a href="http://satya-racdba.blogspot.com/"&gt;RAC&lt;/a&gt; and single instance ASM for storing database files. This provides direct I/O to the file and performance is comparable with that provided by raw devices. Oracle creates a separate instance for this purpose.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;ASM includes volume management functionality similar to that of a generic logical volume manager. Automatic Storage Management (ASM) will take physical disk partitions and manages their contents in a way that efficiently supports the files needed to create an Oracle database.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Automatic Storage Management (ASM) simplifies administration of Oracle related files by allowing the administrator to reference diskgroups rather than hundreds of individual disks and files, which are managed by ASM. The ASM functionality is an extension of the Oracle Managed Files (OMF) functionality that also includes striping and mirroring to provide balanced and secure storage. The ASM functionality can be used in combination with existing raw and cooked file systems, along with OMF and manually managed files.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Before ASM, there were only two choices: file system storage and raw disk storage. File system storage is flexible, allowing the DBA to see the individual files and to move them, copy them, and back them up easily, but it also incurs overhead. Raw disk storage has no file directories on it, and Oracle manages its blocks directly, which makes it more efficient. Raw disk storage is such a manageability nightmare that few DBAs use it.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;ASM is the middle ground. It's raw disk storage managed by Oracle, and it is very efficient. Oracle uses a scaled down Oracle instance to simulate a file structure on it where none exists, by recording all the metadata. The metadata enables the &lt;a href="http://satya-dba.blogspot.com/2009/01/rman-was-first-introduced-in-oracle8.html"&gt;Recovery Manager (RMAN)&lt;/a&gt; to backup and restore Oracle files easily within it.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Setting up storage takes a significant amount of time during most database installations. Zeroing on a specific disk configuration from among the multiple possibilities requires careful planning and analysis, and most important, intimate knowledge of storage technology, volume managers, and file systems. The design tasks at this stage can be loosely described as follows:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;Confirm that storage is recognized at the OS level and determine the level of redundancy protection that might already be provided (hardware RAID, called external redundancy in ASM).&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;Assemble and build logical volume groups and determine if striping or mirroring is also necessary.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;Build a file system on the logical volumes created by the logical volume manager.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;Set the ownership and privileges so that the Oracle process can open, read, and write to the devices.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;Create a database on that file system while taking care to create special files such as redo logs, &lt;a href="http://satya-dba.blogspot.com/2009/07/temporary-tablespace-in-oracle.html"&gt;temporary tablespaces&lt;/a&gt;, and &lt;a href="http://satya-dba.blogspot.com/2009/09/undo-tablespace-undo-management.html"&gt;undo tablespaces&lt;/a&gt; in non-RAID locations, if possible.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;All above tasks, striping, mirroring, logical file system building, are done to serve Oracle database. Oracle database offers some techniques of its own to simplify or enhance the process. Lets DBAs execute many of the above tasks completely within the Oracle framework. Using ASM you can transform a bunch of disks to a highly scalable and performance file system/volume manager using nothing more than what comes with Oracle database software at no extra cost and you don't need to be an expert in disk, volume managers, or file system management.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;You can store the following file types in ASM diskgroups:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul type="circle"&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;Datafiles&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;Control files&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;Online redo logs&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;Archive logs&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;&lt;a href="http://satya-dba.blogspot.com/2009/02/flashback.html"&gt;Flashback&lt;/a&gt; logs&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;SPFILEs&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;RMAN backups&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;Temporary datafiles&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;Datafile copies&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;Disaster recovery configurations&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;Change tracking bitmaps&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;&lt;a href="http://satya-dba.blogspot.com/2009/06/datapump-in-oracle.html"&gt;Datapump&lt;/a&gt; dumpsets&lt;/span&gt;&lt;script type="text/javascript"&gt;&lt;!--google_ad_client = "ca-pub-1598199736774055";/* LinkUnit_Vertical_200X90 */google_ad_slot = "1873853547";google_ad_width = 200;google_ad_height = 90;//--&gt;&lt;/script&gt;&lt;script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"&gt;&lt;/script&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;In summary, ASM provides the following functionality/features:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;Manages groups of disks, called diskgroups. Must be careful while choosing disks for a diskgroup.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;Manages disk redundancy within a diskgroup.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;Provides near-optimal I/O balancing without any manual tuning.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;Enables management of database objects without specifying mount points and filenames.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;Supports large files.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;Replacement for CFS (Cluster File System).&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;Also useful for Non-RAC databases.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;A new instance type - ASM is introduced in 10g.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;ASM instance has no data dictionary.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;A Disk can be a partial, full or a LUN from the RG.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;I/O is spread evenly across all disks of a diskgroup.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;Disks can be dynamically added to any diskgroup.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;When combined with OMF increases manageability.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;ASM cannot maintain empty directories “delete input” has issues, create a dummy directory.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;Use of ASM diskgroup is very simple create tablespace.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;Enterprise Manager can also be used for administering diskgroups&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;Only RMAN can be used with ASM.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;Introduces three additional &lt;a href="http://satya-dba.blogspot.com/2009/08/background-processes-in-oracle.html"&gt;background processes&lt;/a&gt; – RBAL, ARBx and ASMB.&lt;ul&gt;&lt;li&gt;ASMB - This ASMB process is used to provide information to and from cluster synchronization services used by ASM to manage the disk resources. It's also used to update &lt;a href="http://satya-dba.blogspot.com/2010/06/oracle-database-statistics-rbo-cbo.html"&gt;statistics&lt;/a&gt; and provide a heart beat mechanism.&lt;/li&gt;&lt;li&gt;Re-Balance, RBAL - RBAL is the ASM related process that performs rebalancing of disk resources controlled by ASM.&lt;/li&gt;&lt;li&gt;Actual Rebalance, ARBx - ARBx is configured by ASM_POWER_LIMIT.&lt;/li&gt;&lt;/ul&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;ASM instance has it own set of v$views and init.ora parameters.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;The advantages of ASM are&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul type="square"&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;Disk Addition - Adding a disk is very easy. No downtime is required and file extents are redistributed automatically.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;I/O Distribution - I/O is spread over all the available disks automatically, without manual intervention, reducing chances of a hot spot.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;Stripe Width - Striping can be fine grained as in redolog files (128K for faster transfer rate) and coarse for datafiles (1MB for transfer of a large number of blocks at one time).&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;Mirroring - Software mirroring can be set up easily, if hardware mirroring is not available.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;Buffering - The ASM file system is not buffered, making it direct I/O capable by design.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;Kernelized Asynchronous I/O - There is no special setup necessary to enable kernelized asynchronous I/O, without using raw or third-party file systems such as Veritas Quick I/O.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: large; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="asm_instance"&gt;ASM Instance&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;The ASM functionality is controlled by an ASM instance. This is a special instance, not a database where users can create objects, just the memory structures and as such is very small and lightweight.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;With ASM, you don't have to create anything on the OS side; the feature will group a set of physical disks to a logical entity known as a diskgroup. A diskgroup is analogous to a striped and optionally mirrored, file system, with important differences: it's not a general-purpose file system for storing user files and it's not buffered. Diskgroup offers the advantage of direct access to this space as a raw device, yet provides the convenience and flexibility of a file system. All the metadata about the disks are stored in the diskgroups themselves, making them as self-describing as possible.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;This special ASM instance is similar to other file systems in that it must be running for ASM to work and can't be modified by the user. One ASM instance can serve number of Oracle databases. ASM instance and database instances have to be present on same server. Otherwise it will not work.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Logical volume managers typically use a function, such as hashing, to map the logical address of the blocks to the physical blocks. This computation uses CPU cycles. When a new disk is added, this typical striping function requires each bit of the entire data set to be relocated. In contrast, ASM uses this special instance to address the mapping of the file extents to the physical disk blocks. This design, in addition to being fast in locating the file extents, helps while adding or removing disks because the locations of file extents need not be coordinated.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;You should start the instance up when the server is booted i.e. it should be started before the database instances, and it should be one of the last things stopped when the server is shutdown. From &lt;a href="http://satya-dba.blogspot.com/2009/09/whats-new-in-11g-release-2.html"&gt;11.2.0&lt;/a&gt;, we can use &lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html"&gt;ASMCMD&lt;/a&gt; to start and stop the ASM instances.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;The initialization parameters that are specific to an ASM instance are:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;INSTANCE_TYPE - Set to ASM. The default is RDBMS.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;ASM_DISKGROUPS - The list of diskgroups that should be mounted by an ASM instance during instance startup, or by the ALTER DISKGROUP ALL MOUNT statement. ASM configuration changes are automatically reflected in this parameter.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;ASM_DISKSTRING - Specifies a value that can be used to limit the disks considered for discovery. The default value is NULL allowing all suitable disks to be considered. Altering the default value may improve the speed of diskgroup mount time and the speed of adding a disk to a diskgroup. Changing the parameter to a value which prevents the discovery of already mounted disks results in an error.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;ASM_POWER_LIMIT -The maximum power for a rebalancing operation on an ASM instance. The valid values range from 1 (default) to 11. The higher the limit the more resources are allocated resulting in faster rebalancing operations. This value is also used as the default when the POWER clause is omitted from a rebalance operation. A value of 0 disables rebalancing.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;ASM_PREFERRED_READ_FAILURE_GROUPS - This initialization parameter value (default is NULL) is a comma-delimited list of strings that specifies the failure groups that should be preferentially read by the given instance. This parameter is generally used only for clustered ASM instances and its value can be different on different nodes. This is from &lt;a href="http://satya-dba.blogspot.com/2009/01/whats-new-in-11g.html"&gt;11g&lt;/a&gt;.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;DB_UNIQUE_NAME - Specifies a globally unique name for the database. This defaults to +ASM but must be altered if you intend to run multiple ASM instances.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;To create an ASM instance first create pfile, init+ASM.ora, in the /tmp directory, containing the following parameter.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;INSTANCE_TYPE = ASM&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Next, connect to the ideal instance.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;$ export ORACLE_SID=+ASM&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; sqlplus "/as sysdba"&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Create a spfile using the contents of the init+ASM.ora file.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; CREATE SPFILE FROM PFILE='/tmp/init+ASM.ora';&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; startup nomount&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;ASM instance started&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Total System Global Area  130023424 bytes&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Fixed Size                  2028368 bytes&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Variable Size             102829232 bytes&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;ASM Cache                  25165824 bytes&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;The ASM instance is now ready to use for creating and mounting diskgroups.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Once an ASM instance is present, diskgroups can be used for the following parameters in database instances (INSTANCE_TYPE=RDBMS) to allow ASM file creation:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;CONTROL_FILES&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;DB_CREATE_FILE_DEST&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;DB_CREATE_ONLINE_LOG_DEST_n&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;&lt;a href="http://satya-dba.blogspot.com/2009/02/flash-recovery-area.html"&gt;DB_RECOVERY_FILE_DEST&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;LOG_ARCHIVE_DEST_n&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;LOG_ARCHIVE_DEST&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;STANDBY_ARCHIVE_DEST&lt;/span&gt;&lt;/li&gt;&lt;script type="text/javascript"&gt;&lt;!--google_ad_client = "ca-pub-1598199736774055";/* LinkUnit_Vertical_200X90 */google_ad_slot = "1873853547";google_ad_width = 200;google_ad_height = 90;//--&gt;&lt;/script&gt;&lt;script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"&gt;&lt;/script&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="startup"&gt;&lt;/a&gt;Startup of ASM Instances&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;ASM instances are &lt;a href="http://satya-dba.blogspot.com/2009/01/startupshutdown-options.html"&gt;started and stopped&lt;/a&gt; in a similar way to normal database instances.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;The options for the STARTUP command are:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;NOMOUNT - Starts the ASM instance without mounting any diskgroups.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;MOUNT - Starts the ASM instance and mounts the diskgroups specified by the ASM_DISKGROUPS parameter.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;OPEN - ASM instance does not have open stage.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;FORCE - Performs a SHUTDOWN ABORT before restarting the ASM instance.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html"&gt;ASMCMD&lt;/a&gt;     equivalent for this command is &lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html#startup"&gt;&lt;span style="font-style: italic;"&gt;startup&lt;/span&gt;&lt;/a&gt;    &lt;/span&gt;&lt;span class="Apple-style-span"&gt;(&lt;a href="http://satya-dba.blogspot.com/2009/09/whats-new-in-11g-release-2.html"&gt;11gR2&lt;/a&gt;     command)&lt;/span&gt;&lt;span class="Apple-style-span"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="shutdown"&gt;&lt;/a&gt;Shutdown of ASM Instances&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;The options for the SHUTDOWN command are:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;NORMAL - The ASM instance waits for all connected ASM instances and SQL sessions to exit then shuts down.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;IMMEDIATE - The ASM instance waits for any SQL transactions to complete then shuts down. It doesn't wait for sessions to exit.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;TRANSACTIONAL - Same as IMMEDIATE.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;ABORT - The ASM instance shuts down instantly.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: large; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="asm_diskgroups"&gt;&lt;/a&gt;&lt;/span&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="asm_diskgroups"&gt;&lt;/a&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html"&gt;ASMCMD&lt;/a&gt;     equivalent for this command is &lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html#shutdown"&gt;&lt;span style="font-style: italic;"&gt;shutdown&lt;/span&gt;&lt;/a&gt;    &lt;/span&gt;&lt;span class="Apple-style-span"&gt;(&lt;a href="http://satya-dba.blogspot.com/2009/09/whats-new-in-11g-release-2.html"&gt;11gR2&lt;/a&gt;     command)&lt;/span&gt;&lt;span class="Apple-style-span"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: large; font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="asm_diskgroups"&gt;ASM Diskgroups&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;The main components of ASM are diskgroups, each of which comprise of several physical disks that are controlled as a single unit. The physical disks are known as ASM disks, while the files that reside on the disks are known as ASM files. The locations and names for the files are controlled by ASM, but user-friendly aliases and directory structures can be defined for ease of reference.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Diskgroup is a terminology used for logical structure which holds the database files. Each diskgroup consists of disks/raw devices where the files are actually stored. Any ASM file (and it's redundant copy) is completely contained within a single diskgroup. A diskgroup might contain files belonging to several databases and a single database can use files from multiple diskgroups.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;In the initial release of &lt;a href="http://satya-dba.blogspot.com/2009/01/whats-new-in-10g.html"&gt;Oracle 10g&lt;/a&gt;, ASM diskgroups were a black box. We had to manipulate ASM diskgroups with SQL statements while logged in to the special ASM instance that manages the diskgroups.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;In &lt;a href="http://satya-dba.blogspot.com/2009/01/whats-new-in-10g.html#10grel2"&gt;Oracle 10g Release 2&lt;/a&gt;, Oracle introduced a new command line tool called &lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html"&gt;ASMCMD&lt;/a&gt; that lets you look inside ASM volumes (which are called diskgroups). Now you can do many tasks from the command line.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;While creating a diskgroup, we have to specify an ASM diskgroup type based on one of the following three redundancy levels:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;Normal redundancy - for 2-way mirroring, requiring two failure groups, when ASM allocates an extent for a normal redundancy file, ASM allocates a primary copy and a secondary copy. ASM chooses the disk on which to store the secondary copy in a different failure group other than the primary copy.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;High redundancy - for 3-way mirroring, requiring three failure groups, in this case the extent is mirrored across 3 disks.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span"&gt;External redundancy - to not use ASM mirroring. This is used if you are using hardware mirroring or third party redundancy mechanism like RAID, Storage arrays.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;ASM is supposed to stripe the data and also mirror the data (if using Normal, High redundancy). So this can be used as an alternative for RAID (Redundant Array of Inexpensive Disks) 0+1 solutions.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;No, we cannot modify the redundancy for diskgroup once it has been created. To alter it we will be required to create a new diskgroup and move the files to it. This can also be done by restoring full backup on the new diskgroup.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Failure groups are defined within a diskgroup to support the required level of redundancy, using normal/high redundancy. They contain the mirrored ASM extents and must be containing different disks and preferably on separate disk controller.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;In addition failure groups and preferred names for disks can be defined in CREATE DISKGROUP statement. If the NAME clause is omitted the disks are given a system generated name like "disk_group_1_0001". The FORCE option can be used to move a disk from another diskgroup into this one.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="CREATE_DISKGROUP"&gt;&lt;/a&gt;Creating diskgroups&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; CREATE DISKGROUP dg_asm_data NORMAL REDUNDANCY&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;FAILGROUP failure_group_1 DISK&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;'/devices/diska1' NAME diska1, '/devices/diska2' NAME diska2,&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;FAILGROUP failure_group_2 DISK&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;'/devices/diskb1' NAME diskb1, '/devices/diskb2' NAME diskb2;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;For two-way mirroring we would expect a diskgroup to contain two failure groups, so individual files are written to two locations.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; CREATE DISKGROUP dg_asm_fra HIGH REDUNDANCY&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;FAILGROUP failure_group_1 DISK&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;'/devices/diska1' NAME diska1, '/devices/diska2' NAME diska2,&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;FAILGROUP failure_group_2 DISK&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;'/devices/diskb1' NAME diskb1, '/devices/diskb2' NAME diskb2,&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;FAILGROUP failure_group_3 DISK&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;'/devices/diskc1' NAME diskc1, '/devices/diskc2' NAME diskc2;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;For three-way mirroring we would expect a diskgroup to contain three failure groups, so individual files are written to three locations.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; CREATE DISKGROUP dg_grp1 EXTERNAL REDUNDANCY&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;DISK '/dev/d1','/dev/d2','/dev/d3','/dev/d4' ... ...;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;In the above command, database will create a diskgroup named dg_grp1 with the physical disks named /dev/d1, /dev/d2, and so on. Instead of giving disks separately, we can also specify disk names in wildcards in the DISK clause as DISK '/dev/d*'.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;We have also specified a clause EXTERNAL REDUNDANCY, which indicates that the failure of a disk will bring down the diskgroup. This is usually the case when the redundancy is provided by the hardware, such as mirroring. If there is no hardware based redundancy, the ASM can be set up to create a special set of disks called failgroup in the diskgroup to provide that redundancy.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; CREATE DISKGROUP dskgrp1 NORMAL REDUNDANCY&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;FAILGROUP failgrp1 DISK '/dev/d1','/dev/d2',&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;FAILGROUP failgrp2 DISK '/dev/d3','/dev/d4';&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Although it may appear as such, d3 and d4 are not mirrors of d1 and d2. Rather, ASM uses all the disks to create a fault-tolerant system. For example, a file on the diskgroup might be created in d1 with a copy maintained on d4. A second file may be created on d3 with copy on d2, and so on. That is, primary copy will be on one failure group and secondary copy will be another (third copy will be another, for high redundancy).&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Failure of a specific disk allows a copy on another disk so that the operation can continue. For example, you could lose the controller for both disks d1 and d2 and ASM would mirror copies of the extents across the failure group to maintain data integrity.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; CREATE DISKGROUP dg1 DISK '/dev/raw/*' &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;ATTRIBUTE 'compatible.rdbms' = '11.1', 'compatible.asm' = '11.1'; (&lt;a href="http://satya-dba.blogspot.com/2009/01/whats-new-in-11g.html"&gt;11gR1&lt;/a&gt; command)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; CREATE DISKGROUP dg2 EXTERNAL REDUNDANCY&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;DISK '/dev/sde1' ATRRIBUTE 'au_size' = '32M'; (&lt;a href="http://satya-dba.blogspot.com/2009/01/whats-new-in-11g.html"&gt;11gR1&lt;/a&gt; command)&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; CREATE DISKGROUP archdg NORMAL REDUNDANCY&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;FAILGROUP fg1 DISK&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;'/devices/diska1','/devices/diska2','/devices/diska3','/devices/diska4'&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;FAILGROUP fg2 DISK&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;'/devices/diskb1','/devices/diskb2','/devices/diskb3','/devices/diskb4'&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;ATTRIBUTE 'au_size'='4M','compatible.asm'='11.2','compatible.rdbms'='11.2','compatible.advm'='11.2';  &lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;(&lt;a href="http://satya-dba.blogspot.com/2009/09/whats-new-in-11g-release-2.html"&gt;11gR2&lt;/a&gt;   command)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html"&gt;ASMCMD&lt;/a&gt;   equivalent for this command is &lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html#mkdg"&gt;&lt;span style="font-style: italic;"&gt;mkdg&lt;/span&gt;&lt;/a&gt;  &lt;/span&gt;&lt;span class="Apple-style-span"&gt;(&lt;a href="http://satya-dba.blogspot.com/2009/09/whats-new-in-11g-release-2.html"&gt;11gR2&lt;/a&gt;   command)&lt;/span&gt;&lt;span class="Apple-style-span"&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 130%;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="listing_diskgroups"&gt;&lt;/a&gt;Listing diskgroups&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;To find out all the diskgroups:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; SELECT * FROM V$ASM_DISKGROUP;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html"&gt;ASMCMD&lt;/a&gt;   equivalent for this command is &lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html#lsdg"&gt;&lt;span style="font-style: italic;"&gt;lsdg&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="DROP_DISKGROUP"&gt;&lt;/a&gt;Dropping diskgroups&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Diskgroups can be deleted using the DROP DISKGROUP statement.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; DROP DISKGROUP disk_group_1 INCLUDING CONTENTS;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; DROP DISKGROUP disk_group_1 FORCE; (&lt;a href="http://satya-dba.blogspot.com/2009/01/whats-new-in-11g.html"&gt;11gR1&lt;/a&gt; command)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; DROP DISKGROUP disk_group_1 FORCE INCLUDING CONTENTS; (&lt;a href="http://satya-dba.blogspot.com/2009/01/whats-new-in-11g.html"&gt;11gR1&lt;/a&gt; command)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html"&gt;ASMCMD&lt;/a&gt;   equivalent for this command is &lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html#dropdg"&gt;&lt;span style="font-style: italic;"&gt;dropdg&lt;/span&gt;&lt;/a&gt;  &lt;/span&gt;&lt;span class="Apple-style-span"&gt;(&lt;a href="http://satya-dba.blogspot.com/2009/09/whats-new-in-11g-release-2.html"&gt;11gR2&lt;/a&gt;   command)&lt;/span&gt;&lt;span class="Apple-style-span"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="ALTER_DISKGROUP"&gt;&lt;/a&gt;Altering diskgroups&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Disks can be added or removed from diskgroups using the ALTER DISKGROUP statement. Remember that the wildcard "*" can be used to reference disks so long as the resulting string does not match a disk already used by an existing diskgroup.&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;b&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="ADD_DISK"&gt;&lt;/a&gt;Adding disks&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;We may have to add additional disks into the diskgroup to accommodate growing demand.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; ALTER DISKGROUP dskgrp1 ADD DISK '/dev/d5';&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; ALTER DISKGROUP dg1 ADD DISK '/devices/disk*3', '/devices/disk*4';&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html"&gt;ASMCMD&lt;/a&gt;     equivalent for this command is &lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html#chdg"&gt;&lt;span style="font-style: italic;"&gt;chdg&lt;/span&gt;&lt;/a&gt;    &lt;/span&gt;&lt;span class="Apple-style-span"&gt;(&lt;a href="http://satya-dba.blogspot.com/2009/09/whats-new-in-11g-release-2.html"&gt;11gR2&lt;/a&gt;     command)&lt;/span&gt;&lt;span class="Apple-style-span"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;span style="font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="listing_disks"&gt;&lt;/a&gt;Listing disks&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;The following command shows all the disks managed by the ASM instance for all the client databases.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; SELECT * FROM V$ASM_DISK&lt;/span&gt;;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html"&gt;ASMCMD&lt;/a&gt;    equivalent for this command is &lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html#lsdsk"&gt;&lt;span style="font-style: italic;"&gt;lsdsk&lt;/span&gt;&lt;/a&gt;   &lt;/span&gt;&lt;span class="Apple-style-span"&gt;(&lt;a href="http://satya-dba.blogspot.com/2009/01/whats-new-in-11g.html"&gt;11gR1&lt;/a&gt;&lt;a href="http://satya-dba.blogspot.com/2009/01/whats-new-in-11g.html"&gt; &lt;/a&gt;   command)&lt;/span&gt;&lt;span class="Apple-style-span"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span style="font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="listing_client_dbs"&gt;&lt;/a&gt;Listing client databases&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;The following command shows all the database instances connected to the ASM instance.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; SELECT * FROM V$ASM_CLIENT&lt;/span&gt;;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html"&gt;ASMCMD&lt;/a&gt;     equivalent for this command is &lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html#lsct"&gt;&lt;span style="font-style: italic;"&gt;lsct&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;b&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="DROP_DISK"&gt;&lt;/a&gt;Dropping disks&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;We can remove a disk from diskgroup.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; ALTER DISKGROUP dg4 DROP DISK diska4;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html"&gt;ASMCMD&lt;/a&gt;    equivalent for this command is &lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html#chdg"&gt;&lt;span style="font-style: italic;"&gt;chdg&lt;/span&gt;&lt;/a&gt;   &lt;/span&gt;&lt;span class="Apple-style-span"&gt;(&lt;a href="http://satya-dba.blogspot.com/2009/09/whats-new-in-11g-release-2.html"&gt;11gR2&lt;/a&gt;    command)&lt;/span&gt;&lt;span class="Apple-style-span"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;b&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="RESIZE"&gt;&lt;/a&gt;Resizing disks&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Disks can be resized using the RESIZE clause of the ALTER DISKGROUP statement. The statement can be used to resize individual disks, all disks in a failure group or all disks in the diskgroup. If the SIZE clause is omitted the disks are resized to the size of the disk returned by the OS.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; ALTER DISKGROUP dg_data_1 RESIZE DISK diska1 SIZE 150G;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Resizing all disks in a failure group&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; ALTER DISKGROUP dg_data_1 RESIZE DISKS IN FAILGROUP fg_1 SIZE 50G;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Resizing all disks in a diskgroup&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; ALTER DISKGROUP dg_data_1 RESIZE ALL SIZE 100G;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;b&gt;Undropping disks&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;The UNDROP DISKS clause of the ALTER DISKGROUP statement allows pending disk drops to be undone. It will not revert drops that have completed, or disk drops associated with the dropping of a diskgroup.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; ALTER DISKGROUP disk_group_1 UNDROP DISKS;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;b&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="ONLINE"&gt;&lt;/a&gt;Online disks&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; ALTER DISKGROUP data ONLINE DISK 'disk_0000', 'disk_0001';&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; ALTER DISKGROUP data ONLINE DISKS IN FAILGROUP 'fg_99';&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; ALTER DISKGROUP data ONLINE ALL;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html"&gt;ASMCMD&lt;/a&gt;    equivalent for this command is &lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html#online"&gt;&lt;span style="font-style: italic;"&gt;online&lt;/span&gt;&lt;/a&gt;   &lt;/span&gt;&lt;span class="Apple-style-span"&gt;(&lt;a href="http://satya-dba.blogspot.com/2009/09/whats-new-in-11g-release-2.html"&gt;11gR2&lt;/a&gt;    command)&lt;/span&gt;&lt;span class="Apple-style-span"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;b&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="OFFLINE"&gt;&lt;/a&gt;Offline disks&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; ALTER DISKGROUP data OFFLINE DISK 'disk_0000', 'disk_0001';&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; ALTER DISKGROUP data OFFLINE DISKS IN FAILGROUP 'fg_99';&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; ALTER DISKGROUP data OFFLINE DISK d1_0001 DROP AFTER 30m;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html"&gt;ASMCMD&lt;/a&gt;    equivalent for this command is &lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html#offline"&gt;&lt;span style="font-style: italic;"&gt;offline&lt;/span&gt;&lt;/a&gt;   &lt;/span&gt;&lt;span class="Apple-style-span"&gt;(&lt;a href="http://satya-dba.blogspot.com/2009/09/whats-new-in-11g-release-2.html"&gt;11gR2&lt;/a&gt;    command)&lt;/span&gt;&lt;span class="Apple-style-span"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;b&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="MOUNT"&gt;&lt;/a&gt;Mounting diskgroups&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Diskgroups are mounted at ASM instance startup and unmounted at ASM instance shutdown. Manual mounting and dismounting can be accomplished using the ALTER DISKGROUP statement as below.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; ALTER DISKGROUP ALL MOUNT;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; ALTER DISKGROUP dg_data2 MOUNT;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; ALTER DISKGROUP dg_data2 MOUNT RESTRICTED; (&lt;a href="http://satya-dba.blogspot.com/2009/01/whats-new-in-11g.html"&gt;11gR1&lt;/a&gt; command)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html"&gt;ASMCMD&lt;/a&gt;    equivalent for this command is &lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html#mount"&gt;&lt;span style="font-style: italic;"&gt;mount&lt;/span&gt;&lt;/a&gt;   &lt;/span&gt;&lt;span class="Apple-style-span"&gt;(&lt;a href="http://satya-dba.blogspot.com/2009/09/whats-new-in-11g-release-2.html"&gt;11gR2&lt;/a&gt;    command)&lt;/span&gt;&lt;span class="Apple-style-span"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;b&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="DISMOUNT"&gt;&lt;/a&gt;Dismounting diskgroups&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; ALTER  DISKGROUP ALL DISMOUNT;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; ALTER  DISKGROUP dg_fra DISMOUNT;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html"&gt;ASMCMD&lt;/a&gt;    equivalent for this command is &lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html#umount"&gt;&lt;span style="font-style: italic;"&gt;umount&lt;/span&gt;&lt;/a&gt;   &lt;/span&gt;&lt;span class="Apple-style-span"&gt;(&lt;a href="http://satya-dba.blogspot.com/2009/09/whats-new-in-11g-release-2.html"&gt;11gR2&lt;/a&gt;    command)&lt;/span&gt;&lt;span class="Apple-style-span"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;b&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="SET_ATTRIBUTE"&gt;&lt;/a&gt;Changing attributes&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; ALTER DISKGROUP data3 SET ATTRIBUTE 'compatible.rdbms' = '11.1'; (&lt;a href="http://satya-dba.blogspot.com/2009/01/whats-new-in-11g.html"&gt;11gR1&lt;/a&gt; command)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; ALTER DISKGROUP data3 SET ATTRIBUTE 'compatible.asm' = '11.2'; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;(&lt;a href="http://satya-dba.blogspot.com/2009/01/whats-new-in-11g.html"&gt;11gR1&lt;/a&gt; command)&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; ALTER DISKGROUP data3 SET ATTRIBUTE 'disk_repair_time' = '4.5h'; (&lt;a href="http://satya-dba.blogspot.com/2009/01/whats-new-in-11g.html"&gt;11gR1&lt;/a&gt; command)&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html"&gt;ASMCMD&lt;/a&gt;    equivalent for this command is &lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html#setattr"&gt;&lt;span style="font-style: italic;"&gt;setattr&lt;/span&gt;&lt;/a&gt;   &lt;/span&gt;&lt;span class="Apple-style-span"&gt;(&lt;a href="http://satya-dba.blogspot.com/2009/09/whats-new-in-11g-release-2.html"&gt;11gR2&lt;/a&gt;    command)&lt;/span&gt;&lt;span class="Apple-style-span"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;span style="font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="listing_attributes"&gt;&lt;/a&gt;Listing attributes&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; SELECT * FROM V$ASM_ATTRIBUTE;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html"&gt;ASMCMD&lt;/a&gt;     equivalent for this command is &lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html#lsattr"&gt;&lt;span style="font-style: italic;"&gt;lsattr&lt;/span&gt;&lt;/a&gt;    &lt;/span&gt;&lt;span class="Apple-style-span"&gt;(&lt;a href="http://satya-dba.blogspot.com/2009/09/whats-new-in-11g-release-2.html"&gt;11gR2&lt;/a&gt;     command)&lt;/span&gt;&lt;span class="Apple-style-span"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;b&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="REBALANCE"&gt;&lt;/a&gt;Rebalancing&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Diskgroups can be rebalanced manually using the REBALANCE clause of the ALTER DISKGROUP statement. If the POWER clause is omitted the ASM_POWER_LIMIT parameter value is used. Rebalancing is only needed when the speed of the automatic rebalancing is not appropriate.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; ALTER DISKGROUP disk_group_1 REBALANCE POWER 6;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html"&gt;ASMCMD&lt;/a&gt;     equivalent for this command is &lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html#rebal"&gt;&lt;span style="font-style: italic;"&gt;rebal&lt;/span&gt;&lt;/a&gt;   &lt;/span&gt;&lt;span class="Apple-style-span"&gt;(&lt;a href="http://satya-dba.blogspot.com/2009/09/whats-new-in-11g-release-2.html"&gt;11gR2&lt;/a&gt;     command)&lt;/span&gt;&lt;span class="Apple-style-span"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;span style="font-weight: bold;"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="IO_statistics"&gt;&lt;/a&gt;IO &lt;a href="http://satya-dba.blogspot.com/2010/06/oracle-database-statistics-rbo-cbo.html"&gt;statistics&lt;/a&gt; of a diskgroup&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; SELECT * FROM V$ASM_DISK_IOSTAT;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html"&gt;ASMCMD&lt;/a&gt;      equivalent for this command is &lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html#iostat"&gt;&lt;span style="font-style: italic;"&gt;iostat&lt;/span&gt;&lt;/a&gt;    &lt;/span&gt;&lt;span class="Apple-style-span"&gt;(&lt;a href="http://satya-dba.blogspot.com/2009/09/whats-new-in-11g-release-2.html"&gt;11gR2&lt;/a&gt;      command)&lt;/span&gt;&lt;span class="Apple-style-span"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;b&gt;Until 11.1.0, all the above commands can not be performed with &lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html"&gt;ASMCMD&lt;/a&gt;. From &lt;a href="http://satya-dba.blogspot.com/2009/09/whats-new-in-11g-release-2.html"&gt;11.2.0&lt;/a&gt;, we can.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Directories&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;As in other file systems, an ASM directory is a container for files, and an ASM directory can be part of a tree structure of other directories. The fully qualified filename represents a hierarchy of directories in which the plus sign (+) represent the root directory. In each diskgroup, ASM automatically creates a directory hierarchy that corresponds to the structure of the fully qualified filenames in the diskgroup. The directories in this hierarchy are known as system-generated directories.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;An absolute path refers to the full path of a file or directory. An absolute path begins with a plus sign (+) followed by a diskgroup name, followed by subsequent directories in the directory tree. The absolute path includes directories until the file or directory is reached. A fully qualified filename is an example of an absolute path to a file. A relative path includes only the part of the filename or directory name that is not part of the current directory. That is, the path to the file or directory is relative to the current directory.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;A directory hierarchy can be defined using the ALTER DISKGROUP statement to support ASM file aliasing.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;b&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="ADD_DIRECTORY"&gt;&lt;/a&gt;Creating a directory&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; ALTER DISKGROUP dg_1 ADD DIRECTORY '+dg_1/my_dir';&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html"&gt;ASMCMD&lt;/a&gt; equivalent for this command is &lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html#mkdir"&gt;&lt;span style="font-style: italic;"&gt;mkdir&lt;/span&gt;&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;b&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="RENAME_DIRECTORY"&gt;&lt;/a&gt;Renaming a directory&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; ALTER DISKGROUP dg_1 RENAME DIRECTORY '+dg_1/my_dir' TO '+dg_1/my_dir_2';&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;b&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="DROP_DIRECTORY"&gt;&lt;/a&gt;Deleting a directory&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; ALTER DISKGROUP dg_1 DROP DIRECTORY '+dg_1/my_dir_2' FORCE;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html"&gt;ASMCMD&lt;/a&gt; equivalent for this command is &lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html#rm"&gt;&lt;span style="font-style: italic;"&gt;rm&lt;/span&gt;&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Files&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;There are several ways to reference ASM files. Some forms are used during creation and some for referencing ASM files. Every file created in ASM gets a system-generated filename, known as fully qualified filename, this is same as complete path name in a local file system.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;The forms of the ASM filenames are:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;th&gt;Filename Type&lt;/th&gt;&lt;th&gt;Format &lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Fully Qualified ASM Filename&lt;/td&gt;&lt;td&gt;+dgroup/dbname/file_type/ file_type_tag.file.incarnation &lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Numeric ASM Filename&lt;/td&gt;&lt;td&gt;+dgroup.file.incarnation &lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Alias ASM Filenames&lt;/td&gt;&lt;td&gt;+dgroup/directory/filename &lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Alias ASM Filename with Template&lt;/td&gt;&lt;td&gt;+dgroup(template)/alias &lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Incomplete ASM Filename&lt;/td&gt;&lt;td&gt;+dgroup &lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Incomplete ASM Filename with Template&lt;/td&gt;&lt;td&gt;+dgroup(template)&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;ASM generates filenames according to the following scheme:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;+diskGroupName/databaseName/fileType/fileTypeTag.fileNumber.incarnation&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;e.g: +dgroup2/crm/CONTROLFILE/Current.256.541956473&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;&lt;/span&gt;+dg_fra/hrms/DATAFILE/users.309.621906475&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;ASM does not place system-generated files into user-created directories; it places them only in system-generated directories. We can add aliases or other directories to a user-created directory.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="DROP_FILE"&gt;&lt;/a&gt;&lt;span style="font-weight: bold;"&gt;Dropping Files&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span"&gt;Files are not deleted automatically if they are created using aliases, as they are not Oracle Managed Files (OMF), or if a recovery is done to a point-in-time before the file was created. For these circumstances it is necessary to manually delete the files, as shown below.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Dropping file using an alias&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; ALTER DISKGROUP dg_2 DROP FILE '+dg_2/my_dir/my_file.dbf';&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Dropping file using a numeric form filename&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; ALTER DISKGROUP dg_2 DROP FILE '+dg_2.321.123456789';&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Dropping file using a fully qualified filename&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; ALTER DISKGROUP dg_2 DROP FILE '+dg_2/mydb/datafile/my_ts.292.265390671';&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html"&gt;ASMCMD&lt;/a&gt; equivalent for this command is &lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html#rm"&gt;&lt;span style="font-style: italic;"&gt;rm&lt;/span&gt;&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Aliases&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Aliases allow you to reference ASM files using user-friendly names, rather than the fully qualified ASM filenames.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;b&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="ADD_ALIAS"&gt;&lt;/a&gt;Creating an alias&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Creating an alias, using the fully qualified filename&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; ALTER DISKGROUP dg_3 ADD ALIAS '+dg_3/my_dir/users.dbf' FOR '+dg_3/mydb/datafile/users.392.333222555';&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;Creating an alias, using the numeric form filename&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; ALTER DISKGROUP dg_3 ADD ALIAS '+dg_3/my_dir/my_file.dbf' FOR '+dg_3.317.111222333';&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html"&gt;ASMCMD&lt;/a&gt; equivalent for this command is &lt;a href="http://satya-dba.blogspot.com/2010/02/asmcmd-10g-11g.html#mkalias"&gt;&lt;span style="font-style: italic;"&gt;mkalias&lt;/span&gt;&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;b&gt;&lt;a href="http://www.blogger.com/blogger.g?blogID=2511956539743992936" name="RENAME_ALIAS"&gt;&lt;/a&gt;Renaming an alias&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;SQL&amp;gt; ALTER DISKGROUP dg_3 RENAME ALIAS '+dg_3/my_dir/my_file.dbf' TO '+dg_3/my_dir/my_file2.dbf';&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;b&gt;&lt;a href="h
