<?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-6597886030488171311</id><updated>2011-11-27T17:10:30.107-08:00</updated><category term='Determine the Number of Datafiles'/><category term='CREATE CONTROLFILE Statement'/><category term='Database and Instance Startup and Shutdown'/><category term='v$datafile_header view'/><category term='Oracle Startup - First Stage'/><category term='The Oracle SPFILE'/><category term='Oracle Datafile backup - part1'/><category term='Oracle&apos;s PFILE'/><category term='Creating Additional Copies of Control Files'/><category term='Control Files Init.ora parameter'/><category term='Creating a Password File and Adding New Users to It'/><category term='How Initialization Parameter Values Are Changed'/><category term='multiplexed control files'/><category term='Steps for Creating New Control Files'/><category term='Replacing a Password File'/><category term='Overview of Instance and Database Startup'/><category term='Troubleshooting After Creating Control Files'/><category term='The Instance and the Database'/><category term='Using ORAPWD'/><category term='Renaming and Relocating Datafiles for a Single Tablespace'/><category term='Renaming and Relocating Datafiles for Multiple Tablespaces'/><category term='Expanding the number of password file users if the password file becomes full'/><category term='When to Create New Control Files'/><category term='Setting REMOTE_LOGIN_ PASSWORDFILE'/><category term='Dropping Control Files'/><category term='Oracle datafiles'/><category term='Oracle Control file'/><category term='Oracle Startup'/><category term='Size of Control Files'/><category term='Managing PFILE and SPFILE'/><category term='Datafile Backups'/><category term='Recovering a Control File'/><category term='Granting and Revoking SYSDBA and SYSOPER Privileges to Oracle database user'/><category term='Creating Control Files'/><category term='Relocating and Renaming Datafiles in a Single Tablespace'/><category term='Oracle Password File'/><category term='Initialization Parameter Files and Server Parameter Files'/><category term='Viewing Password File Members'/><category term='Control File V$ Views'/><category term='Oracle Startup - Second Stage'/><category term='Removing a Password File'/><category term='Oracle Startup - Third Stage - Open Database'/><category term='Backing Up Control Files'/><category term='v$datafile view'/><category term='How an Oracle Instance Is Started'/><category term='Oracle Startup and Parameter File'/><title type='text'>Oracle Fundamentals</title><subtitle type='html'>Learn about Oracle datafiles, Oracle Control files, Oracle redo log files, Oracle archive redo log files, Oracle startups and shutdowns, Oracle Instance, Oracle Memory structures, Oracle password files, Oracle spfile, pfile and init.ora file, Oracle password files, Oracle database structure, Tablespaces and much more</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>48</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-6589598829599207736</id><published>2008-09-21T09:31:00.000-07:00</published><updated>2008-09-21T09:32:05.875-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='How an Oracle Instance Is Started'/><title type='text'>How an Oracle Instance Is Started</title><content type='html'>&lt;p&gt;&lt;a id="sthref1848" name="sthref1848"&gt;&lt;/a&gt;&lt;a id="sthref1849" name="sthref1849"&gt;&lt;/a&gt;&lt;a id="sthref1850" name="sthref1850"&gt;&lt;/a&gt;&lt;a id="sthref1851" name="sthref1851"&gt;&lt;/a&gt;&lt;a id="sthref1852" name="sthref1852"&gt;&lt;/a&gt;&lt;a id="sthref1853" name="sthref1853"&gt;&lt;/a&gt;When Oracle starts an instance, it reads the server parameter file (SPFILE) or initialization parameter file to determine the values of initialization parameters. Then, it allocates an SGA, which is a shared area of memory used for database information, and creates background processes. At this point, no database is associated with these memory structures and processes.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h4 class="sect3"&gt;Restricted Mode of Instance Startup&lt;/h4&gt; &lt;p&gt;&lt;a id="sthref1855" name="sthref1855"&gt;&lt;/a&gt;&lt;a id="sthref1856" name="sthref1856"&gt;&lt;/a&gt;&lt;a id="sthref1857" name="sthref1857"&gt;&lt;/a&gt;&lt;a id="sthref1858" name="sthref1858"&gt;&lt;/a&gt;You can start an instance in restricted mode (or later alter an existing instance to be in restricted mode). This restricts connections to only those users who have been granted the &lt;code&gt;RESTRICTED&lt;/code&gt; &lt;code&gt;SESSION&lt;/code&gt; system privilege.&lt;/p&gt;  &lt;!-- class="sect3" --&gt; &lt;div class="sect3"&gt;&lt;a id="sthref1859" name="sthref1859"&gt;&lt;/a&gt; &lt;h4 class="sect3"&gt;Forced Startup in Abnormal Situations&lt;/h4&gt; &lt;p&gt;&lt;a id="sthref1860" name="sthref1860"&gt;&lt;/a&gt;&lt;a id="sthref1861" name="sthref1861"&gt;&lt;/a&gt;In unusual circumstances, a previous instance might not have been shut down cleanly. For example, one of the instance's processes might not have terminated properly. In such situations, the database can return an error during normal instance startup. To resolve this problem, you must terminate all remnant Oracle processes of the previous instance before starting the new instance.&lt;/p&gt; &lt;/div&gt; &lt;!-- class="sect3" --&gt; &lt;!-- class="sect2" --&gt; &lt;a id="sthref1862" name="sthref1862"&gt;&lt;/a&gt; &lt;h3 class="sect2"&gt;How a Database Is Mounted&lt;/h3&gt; &lt;p&gt;&lt;a id="sthref1863" name="sthref1863"&gt;&lt;/a&gt;&lt;a id="sthref1864" name="sthref1864"&gt;&lt;/a&gt;&lt;a id="sthref1865" name="sthref1865"&gt;&lt;/a&gt;The instance mounts a database to associate the database with that instance. To mount the database, the instance finds the database control files and opens them. Control files are specified in the &lt;code&gt;CONTROL_FILES&lt;/code&gt; initialization parameter in the parameter file used to start the instance. Oracle then reads the control files to get the names of the database's datafiles and redo log files.&lt;/p&gt; &lt;p&gt;At this point, the database is still closed and is accessible only to the database administrator. The database administrator can keep the database closed while completing specific maintenance operations. However, the database is not yet available for normal operations.&lt;/p&gt; &lt;a id="sthref1866" name="sthref1866"&gt;&lt;/a&gt; &lt;h4 class="sect3"&gt;How a Database Is Mounted with Real Application Clusters&lt;/h4&gt; &lt;p&gt;&lt;a id="sthref1867" name="sthref1867"&gt;&lt;/a&gt;&lt;a id="sthref1868" name="sthref1868"&gt;&lt;/a&gt;&lt;a id="sthref1869" name="sthref1869"&gt;&lt;/a&gt;If Oracle allows multiple instances to mount the same database concurrently, then the database administrator can use the &lt;code&gt;CLUSTER_DATABASE&lt;/code&gt; initialization parameter to make the database available to multiple instances. The default value of the &lt;code&gt;CLUSTER_DATABASE&lt;/code&gt; parameter is &lt;code&gt;false&lt;/code&gt;. Versions of Oracle that do not support Real Application Clusters only allow &lt;code&gt;CLUSTER_DATABASE&lt;/code&gt; to be &lt;code&gt;false&lt;/code&gt;.&lt;/p&gt; &lt;p&gt;If &lt;code&gt;CLUSTER_DATABASE&lt;/code&gt; is &lt;code&gt;false&lt;/code&gt; for the first instance that mounts a database, then only that instance can mount the database. If &lt;code&gt;CLUSTER_DATABASE&lt;/code&gt; is set to &lt;code&gt;true&lt;/code&gt; on the first instance, then other instances can mount the database if their &lt;code&gt;CLUSTER_DATABASE&lt;/code&gt; parameters are set to &lt;code&gt;true&lt;/code&gt;. The number of instances that can mount the database is subject to a predetermined maximum, which you can specify when creating the database.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-6589598829599207736?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/6589598829599207736/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=6589598829599207736' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/6589598829599207736'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/6589598829599207736'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/how-oracle-instance-is-started.html' title='How an Oracle Instance Is Started'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-3803590475664665693</id><published>2008-09-21T09:30:00.001-07:00</published><updated>2008-09-21T09:30:57.289-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Overview of Instance and Database Startup'/><title type='text'>Overview of Instance and Database Startup</title><content type='html'>&lt;p&gt;&lt;a id="sthref1843" name="sthref1843"&gt;&lt;/a&gt;&lt;a id="sthref1844" name="sthref1844"&gt;&lt;/a&gt;&lt;a id="sthref1845" name="sthref1845"&gt;&lt;/a&gt;The three steps to starting an Oracle database and making it available for systemwide use are:&lt;/p&gt; &lt;ol&gt;&lt;li&gt; &lt;p&gt;Start an instance.&lt;/p&gt; &lt;/li&gt;&lt;li&gt; &lt;p&gt;Mount the database.&lt;/p&gt; &lt;/li&gt;&lt;li&gt; &lt;p&gt;Open the database.&lt;/p&gt; &lt;/li&gt;&lt;/ol&gt; &lt;p&gt;&lt;a id="sthref1846" name="sthref1846"&gt;&lt;/a&gt;A database administrator can perform these steps using the SQL*Plus &lt;code&gt;STARTUP&lt;/code&gt; statement or Enterprise Manager.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-3803590475664665693?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/3803590475664665693/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=3803590475664665693' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/3803590475664665693'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/3803590475664665693'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/overview-of-instance-and-database.html' title='Overview of Instance and Database Startup'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-3122809766728774062</id><published>2008-09-21T09:27:00.000-07:00</published><updated>2008-09-21T09:28:58.870-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='How Initialization Parameter Values Are Changed'/><title type='text'>How Initialization Parameter Values Are Changed</title><content type='html'>&lt;p&gt;The database administrator can adjust variable parameters to improve the performance of a database system. Exactly which parameters most affect a system depends on numerous database characteristics and variables.&lt;/p&gt; &lt;p&gt;Some parameters can be changed dynamically with the &lt;code&gt;ALTER&lt;/code&gt; &lt;code&gt;SESSION&lt;/code&gt; or &lt;code&gt;ALTER&lt;/code&gt; &lt;code&gt;SYSTEM&lt;/code&gt; statement while the instance is running. Unless you are using a server parameter file (&lt;code&gt;SPFILE&lt;/code&gt;), changes made using the &lt;code&gt;ALTER&lt;/code&gt; &lt;code&gt;SYSTEM&lt;/code&gt; statement are only in effect for the current instance. You must manually update the text initialization parameter file for the changes to be known the next time you start up an instance. When you use a SPFILE, you can update the parameters on disk, so that changes persist across database shutdown and startup.&lt;/p&gt; &lt;p&gt;Oracle provides values in the starter initialization parameter file provided with your database software, or as created for you by the Database Configuration Assistant. You can edit these Oracle-supplied initialization parameters and add others, depending upon your configuration and options and how you plan to tune the database. For any relevant initialization parameters not specifically included in the initialization parameter file, Oracle supplies defaults. If you are creating an Oracle database for the first time, it is suggested that you minimize the number of parameter values that you alter.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-3122809766728774062?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/3122809766728774062/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=3122809766728774062' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/3122809766728774062'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/3122809766728774062'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/how-initialization-parameter-values-are.html' title='How Initialization Parameter Values Are Changed'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-6529081587665497890</id><published>2008-09-21T09:26:00.000-07:00</published><updated>2008-09-21T09:27:14.549-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Initialization Parameter Files and Server Parameter Files'/><title type='text'>Initialization Parameter Files and Server Parameter Files</title><content type='html'>&lt;p&gt;&lt;a id="sthref1832" name="sthref1832"&gt;&lt;/a&gt;&lt;a id="sthref1833" name="sthref1833"&gt;&lt;/a&gt;&lt;a id="sthref1834" name="sthref1834"&gt;&lt;/a&gt;&lt;a id="sthref1835" name="sthref1835"&gt;&lt;/a&gt;&lt;a id="sthref1836" name="sthref1836"&gt;&lt;/a&gt;&lt;a id="sthref1837" name="sthref1837"&gt;&lt;/a&gt;To start an instance, Oracle must read either an &lt;span class="bold"&gt;initialization&lt;/span&gt; &lt;span class="bold"&gt;parameter file&lt;/span&gt; or a &lt;span class="bold"&gt;server parameter file&lt;/span&gt;. These files contain a list of configuration parameters for that instance and database. Oracle traditionally stored initialization parameters in a text initialization parameter file. You can also choose to maintain initialization parameters in a binary server parameter file (SPFI&lt;a id="sthref1838" name="sthref1838"&gt;&lt;/a&gt;LE).&lt;/p&gt; &lt;p&gt;Initialization parameters stored in a server parameter file are persistent, in that any changes made to the parameters while an instance is running can persist across instance shutdown and startup.&lt;/p&gt; &lt;p&gt;Initialization parameters are divided into two groups: basic and advanced. In the majority of cases, it is necessary to set and tune only the basic parameters to get reasonable performance. In rare situations, modification to the advanced parameters may be needed for optimal performance.&lt;/p&gt; &lt;p&gt;Most initialization parameters belong to one of the following groups:&lt;/p&gt; &lt;ul&gt;&lt;li&gt; &lt;p&gt;Parameters that name things, such as files&lt;/p&gt; &lt;/li&gt;&lt;li&gt; &lt;p&gt;Parameters that set limits, such as maximums&lt;/p&gt; &lt;/li&gt;&lt;li&gt; &lt;p&gt;&lt;a id="sthref1839" name="sthref1839"&gt;&lt;/a&gt;Parameters that affect capacity, such as the size of the SGA, which are called &lt;span class="bold"&gt;variable parameters&lt;/span&gt;&lt;/p&gt; &lt;/li&gt;&lt;/ul&gt; &lt;p&gt;Among other things, the initialization parameters tell Oracle:&lt;/p&gt; &lt;ul&gt;&lt;li&gt; &lt;p&gt;The name of the database for which to start up an instance&lt;/p&gt; &lt;/li&gt;&lt;li&gt; &lt;p&gt;How much memory to use for memory structures in the SGA&lt;/p&gt; &lt;/li&gt;&lt;li&gt; &lt;p&gt;What to do with filled redo log files&lt;/p&gt; &lt;/li&gt;&lt;li&gt; &lt;p&gt;&lt;a id="sthref1840" name="sthref1840"&gt;&lt;/a&gt;The names and locations of the database control files&lt;/p&gt; &lt;/li&gt;&lt;li&gt; &lt;p&gt;The names of undo tablespaces in the database&lt;/p&gt; &lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-6529081587665497890?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/6529081587665497890/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=6529081587665497890' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/6529081587665497890'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/6529081587665497890'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/initialization-parameter-files-and.html' title='Initialization Parameter Files and Server Parameter Files'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-1976500001571575853</id><published>2008-09-21T09:25:00.000-07:00</published><updated>2008-09-21T09:26:09.341-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='The Instance and the Database'/><title type='text'>The Instance and the Database</title><content type='html'>&lt;h3 class="sect2"&gt;&lt;br /&gt;&lt;/h3&gt; &lt;p&gt;&lt;a id="sthref1815" name="sthref1815"&gt;&lt;/a&gt;&lt;a id="sthref1816" name="sthref1816"&gt;&lt;/a&gt;After starting an instance, Oracle associates the instance with the specified database. This is a mounted database&lt;a href="http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/glossary.htm#i998168"&gt;&lt;span class="xrefglossterm"&gt;&lt;/span&gt;&lt;/a&gt;. The database is then ready to be opened, which makes it accessible to authorized users.&lt;/p&gt; &lt;p&gt;&lt;a id="sthref1817" name="sthref1817"&gt;&lt;/a&gt;&lt;a id="sthref1818" name="sthref1818"&gt;&lt;/a&gt;&lt;a id="sthref1819" name="sthref1819"&gt;&lt;/a&gt;Multiple instances can run concurrently on the same computer, each accessing its own physical database. In large-scale cluster systems, Real Application Clusters enables multiple instances to mount a single database.&lt;/p&gt; &lt;p&gt;Only the database administrator can start up an instance and open the database. If a database is open, then the database administrator can shut down the database so that it is closed. When a database is &lt;span class="bold"&gt;closed&lt;/span&gt;, users cannot access the information that it contains.&lt;/p&gt; &lt;p&gt;&lt;a id="sthref1820" name="sthref1820"&gt;&lt;/a&gt;Security for database startup and shutdown is controlled through connections to Oracle with administrator privileges. Normal users do not have control over the current status of an Oracle database.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-1976500001571575853?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/1976500001571575853/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=1976500001571575853' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/1976500001571575853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/1976500001571575853'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/instance-and-database.html' title='The Instance and the Database'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-2739335690961133489</id><published>2008-09-21T09:23:00.000-07:00</published><updated>2008-09-21T09:24:38.281-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Database and Instance Startup and Shutdown'/><title type='text'>Database and Instance Startup and Shutdown</title><content type='html'>Every running Oracle database is associated with an Oracle instance. When a database is started on a database server (regardless of the type of computer), Oracle allocates a memory area called the System Global Area (SGA) and starts one or more Oracle processes. This combination of the SGA and the Oracle processes is called an Oracle Instance. &lt;a href="http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/glossary.htm#i432427"&gt;&lt;span class="xrefglossterm"&gt;&lt;/span&gt;&lt;/a&gt; The memory and processes of an instance manage the associated database's data efficiently and serve the one or multiple users of the database.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-2739335690961133489?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/2739335690961133489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=2739335690961133489' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/2739335690961133489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/2739335690961133489'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/database-and-instance-startup-and.html' title='Database and Instance Startup and Shutdown'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-5194642070689828111</id><published>2008-09-21T09:15:00.000-07:00</published><updated>2008-09-21T09:16:31.433-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Managing PFILE and SPFILE'/><title type='text'>Managing PFILE and SPFILE</title><content type='html'>&lt;p class="MsoPlainText"&gt;As a DBA the main thing you need to worry about with the  SPFILE and PFILES are backing them up. You can use RMAN to backup an SPFILE, or  back them up yourself.&lt;/p&gt; &lt;p class="MsoPlainText"&gt;Remember that a PFILE is simply a text based file, which  means you can copy it to another directory without affecting the Oracle  instance.  This is the easiest way to backup a PFILE.&lt;/p&gt; &lt;p class="MsoPlainText"&gt;To back up an SPFILE, you will first want to convert it  to a PFILE.  You can do this with the following syntax.&lt;/p&gt; &lt;p class="MsoPlainText"&gt;SQL&gt; create pfile from spfile;&lt;/p&gt; &lt;p class="MsoPlainText"&gt;This will create a PFILE named initSID.ora in your  $ORACLE_HOME/database (Windows) or $ORACLE_HOME/dbs (Linux/Unix) directory.  &lt;/p&gt; &lt;p class="MsoPlainText"&gt;Note that the SID in initSID.ora will be replaced with  the SID of your database as defined during creation.&lt;/p&gt; &lt;p class="MsoPlainText"&gt;In addition, you can back up the file directly to the  preferred location with the command:&lt;/p&gt; &lt;p class="MsoPlainText"&gt;SQL&gt; create pfile=/path/to/backup.ora from spfile;&lt;/p&gt; &lt;p class="MsoPlainText"&gt;If the time comes that you must put the SPFILE back into  place, you can do so with this command:&lt;/p&gt; &lt;p class="MsoPlainText"&gt;SQL&gt;  create spfile from pfile=/path/to/backup.ora&lt;/p&gt; &lt;p class="MsoPlainText"&gt;If your database is currently running using the SPFILE,  be sure to shut down first so Oracle can replace the file.  As your SPFILE is in  use the entire time your database is running, you should never overwrite it  during normal operations&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-5194642070689828111?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/5194642070689828111/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=5194642070689828111' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/5194642070689828111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/5194642070689828111'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/managing-pfile-and-spfile.html' title='Managing PFILE and SPFILE'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-2474003952928471130</id><published>2008-09-21T09:12:00.000-07:00</published><updated>2008-09-21T09:15:06.206-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='The Oracle SPFILE'/><title type='text'>The Oracle SPFILE</title><content type='html'>&lt;p class="MsoPlainText"&gt;The SPFILE is different from the PFILE in that it can  not be directly edited. This is because it has a header and footer that contains  binary values. Since you can not change a SPFILE directly, Oracle allows you to  manage the SPFILE via the alter system command.&lt;/p&gt; &lt;p class="MsoPlainText"&gt;That might sound a bit more complex, but it really is no  harder than manually changing a PFILE. For using an SPFILE, you can reap great  benefits. It can be backed up by RMAN  every time a change is made or when the database is backed up, which means it is   easier to recover.   Also, &lt;span style="font-weight: bold;"&gt;SPFILES allow you to make dynamic changes to parameters that are  persistent&lt;/span&gt;. For example, remember that we said this database parameter change  was not persistent if we were using PFILES:&lt;/p&gt; &lt;p class="MsoPlainText"&gt;Alter system set db_recovery_file_dest_size=10g;&lt;/p&gt; &lt;p class="MsoPlainText"&gt;If we were using SPFILES the parameter would keep the  same value, even after a database restart. This means you only have to change  the parameter value in one place, and that you can forget having to change it in  the PFILE of the database. &lt;/p&gt; &lt;p class="MsoPlainText"&gt;One of the most important benefits of the SPFILE is that  Oracle has introduced many automatic tuning features into the core of the  database.  Without an SPFILE, Oracle can not autotune your database.&lt;/p&gt; &lt;p class="MsoPlainText"&gt;An SPFILE uses the same formatting for its file name as  the PFILE, except the word spfile replaces init.  For instance, if your  ORACLE_SID is testdb, the resulting spfile would be called spfiletestdb.ora.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-2474003952928471130?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/2474003952928471130/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=2474003952928471130' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/2474003952928471130'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/2474003952928471130'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/oracle-spfile.html' title='The Oracle SPFILE'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-361260223491066856</id><published>2008-09-21T09:11:00.001-07:00</published><updated>2008-09-21T09:11:48.077-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Startup and Parameter File'/><title type='text'>Oracle Startup and Parameter File</title><content type='html'>&lt;p class="MsoPlainText"&gt;Oracle prefers the use of an SPFILE to a PFILE.  When  you startup your Oracle database, Oracle will scan the contents of your  parameter directory ($ORACLE_HOME/database on Windows or the Linux directory  name $ORACLE_HOME/dbs), searching in the following order:&lt;/p&gt; &lt;p class="MsoPlainText"&gt;* spfileSID.ora&lt;/p&gt; &lt;p class="MsoPlainText"&gt;* spfile.ora&lt;/p&gt; &lt;p class="MsoPlainText"&gt;* initSID.ora&lt;/p&gt; &lt;p class="MsoPlainText"&gt;* init.ora&lt;/p&gt; &lt;p class="MsoPlainText"&gt;If the directory contains none of the above, then the  startup will fail.&lt;/p&gt; &lt;p class="MsoPlainText"&gt;Alternatively, you can tell Oracle where to find a PFILE  if you store it in a different location.&lt;/p&gt; &lt;p class="MsoPlainText"&gt;SQL&gt; startup pfile=/path/to/pfile/inittestdb.ora&lt;/p&gt; &lt;p class="MsoPlainText"&gt;Furthermore, you can create a PFILE that contains  nothing but the following line:&lt;/p&gt; &lt;p class="MsoPlainText"&gt;SPFILE=/path/to/spfiletestdb.ora&lt;/p&gt; By doing so, we are able to startup using a PFILE in any  location we want, but continue to use an SPFILE that can also be in a different  location.  This can be very beneficial for those that wish to store their SPFILE  in a centralized location, such as a SAN.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-361260223491066856?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/361260223491066856/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=361260223491066856' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/361260223491066856'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/361260223491066856'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/oracle-startup-and-parameter-file.html' title='Oracle Startup and Parameter File'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-6911081803129784996</id><published>2008-09-21T09:04:00.000-07:00</published><updated>2008-09-21T09:10:05.045-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle&apos;s PFILE'/><title type='text'>Oracle's PFILE</title><content type='html'>Oracle provides two different types of mutually  exclusive parameter files that you can use, PFILE and SPFILE.&lt;br /&gt;&lt;br /&gt;The PFILE is a text-based file.&lt;br /&gt;PFILE contains number of database settings  called parameters.&lt;br /&gt;&lt;br /&gt;You can use the V$PARAMETER dynamic view to see the  current setting of the different database parameters.&lt;br /&gt;&lt;br /&gt;&lt;address style="font-family: arial;"&gt;  &lt;span style="font-size:100%;"&gt;&lt;span style="font-style: normal;"&gt;SQL&gt; desc   v$parameter&lt;/span&gt;&lt;/span&gt;&lt;/address&gt; &lt;address style="font-family: arial;"&gt;  &lt;span style="font-size:100%;"&gt;&lt;span style="font-style: normal;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/address&gt; &lt;address style="font-family: arial;"&gt;  &lt;span style="font-size:100%;"&gt;&lt;span style="font-style: normal;"&gt;   &lt;span style="font-size:85%;"&gt;Name                                      Null?    Type&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/address&gt; &lt;address style="font-family: arial;"&gt;  &lt;span style="font-size:85%;"&gt;&lt;span style="font-style: normal;"&gt;   ----------------------------------------- -------- -------------&lt;/span&gt;&lt;/span&gt;&lt;/address&gt; &lt;address style="font-family: arial;"&gt;  &lt;span style="font-size:85%;"&gt;&lt;span style="font-style: normal;"&gt;   NUM                                                NUMBER&lt;/span&gt;&lt;/span&gt;&lt;/address&gt; &lt;address style="font-family: arial;"&gt;  &lt;span style="font-size:85%;"&gt;&lt;span style="font-style: normal;"&gt;   NAME                                               VARCHAR2(80)&lt;/span&gt;&lt;/span&gt;&lt;/address&gt; &lt;address style="font-family: arial;"&gt;  &lt;span style="font-size:85%;"&gt;&lt;span style="font-style: normal;"&gt;   TYPE                                               NUMBER&lt;/span&gt;&lt;/span&gt;&lt;/address&gt; &lt;address style="font-family: arial;"&gt;  &lt;span style="font-size:85%;"&gt;&lt;span style="font-style: normal;"&gt;   VALUE                                              VARCHAR2(512)&lt;/span&gt;&lt;/span&gt;&lt;/address&gt; &lt;address style="font-family: arial;"&gt;  &lt;span style="font-size:85%;"&gt;&lt;span style="font-style: normal;"&gt; DISPLAY_VALUE                                        VARCHAR2(512)&lt;/span&gt;&lt;/span&gt;&lt;/address&gt; &lt;address style="font-family: arial;"&gt;  &lt;span style="font-size:85%;"&gt;&lt;span style="font-style: normal;"&gt; ISDEFAULT                                            VARCHAR2(9)&lt;/span&gt;&lt;/span&gt;&lt;/address&gt; &lt;address style="font-family: arial;"&gt;  &lt;span style="font-size:85%;"&gt;&lt;span style="font-style: normal;"&gt; ISSES_MODIFIABLE                                     VARCHAR2(5)&lt;/span&gt;&lt;/span&gt;&lt;/address&gt; &lt;address style="font-family: arial;"&gt;  &lt;span style="font-size:85%;"&gt;&lt;span style="font-style: normal;"&gt; ISSYS_MODIFIABLE                                     VARCHAR2(9)&lt;/span&gt;&lt;/span&gt;&lt;/address&gt; &lt;address style="font-family: arial;"&gt;  &lt;span style="font-size:85%;"&gt;&lt;span style="font-style: normal;"&gt; ISINSTANCE_MODIFIABLE                                VARCHAR2(5)&lt;/span&gt;&lt;/span&gt;&lt;/address&gt; &lt;address style="font-family: arial;"&gt;  &lt;span style="font-size:85%;"&gt;&lt;span style="font-style: normal;"&gt; ISMODIFIED                                           VARCHAR2(10)&lt;/span&gt;&lt;/span&gt;&lt;/address&gt; &lt;address style="font-family: arial;"&gt;  &lt;span style="font-size:85%;"&gt;&lt;span style="font-style: normal;"&gt; ISADJUSTED                                           VARCHAR2(5)&lt;/span&gt;&lt;/span&gt;&lt;/address&gt; &lt;address style="font-family: arial;"&gt;  &lt;span style="font-size:85%;"&gt;&lt;span style="font-style: normal;"&gt; ISDEPRECATED                                         VARCHAR2(5)&lt;/span&gt;&lt;/span&gt;&lt;/address&gt; &lt;address style="font-family: arial;"&gt;  &lt;span style="font-size:85%;"&gt;&lt;span style="font-style: normal;"&gt;   DESCRIPTION                                        VARCHAR2(255)&lt;/span&gt;&lt;/span&gt;&lt;/address&gt; &lt;address style="font-family: arial;"&gt;  &lt;span style="font-size:85%;"&gt;&lt;span style="font-style: normal;"&gt; UPDATE_COMMENT                                       VARCHAR2(255)&lt;/span&gt;&lt;/span&gt;&lt;/address&gt; &lt;address style="font-family: arial;"&gt;  &lt;span style="font-size:85%;"&gt;&lt;span style="font-style: normal;"&gt;   HASH                                               NUMBER&lt;/span&gt;&lt;/span&gt;&lt;/address&gt; &lt;address style="font-family: arial;"&gt;  &lt;span style="font-size:100%;"&gt;&lt;span style="font-style: normal;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/address&gt; &lt;address style="font-family: arial;"&gt;  &lt;span style="font-size:100%;"&gt;&lt;span style="font-style: normal;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/address&gt; &lt;address style="font-family: arial;"&gt;  &lt;span style="font-size:100%;"&gt;&lt;span style="font-style: normal;"&gt;SQL&gt;   select name, value from v$parameter where name = 'control_files';&lt;/span&gt;&lt;/span&gt;&lt;/address&gt; &lt;address style="font-family: arial;"&gt;  &lt;span style="font-size:100%;"&gt;&lt;span style="font-style: normal;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/address&gt; &lt;address style="font-family: arial;"&gt;  &lt;span style="font-size:100%;"&gt;&lt;span style="font-style: normal;"&gt;  NAME                 VALUE&lt;/span&gt;&lt;/span&gt;&lt;/address&gt; &lt;address style="font-family: arial;"&gt;  &lt;span style="font-size:100%;"&gt;&lt;span style="font-style: normal;"&gt;  -------------------- -----------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;/address&gt; &lt;address style="font-family: arial;"&gt;  &lt;span style="font-size:100%;"&gt;&lt;span style="font-style: normal;"&gt;  control_files        &lt;span style="font-size:78%;"&gt;C:\ORACLE\ORADATA\BOOKTST\BOOKTST\CONTROL01.CTL,   C:\ORACLE&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/address&gt; &lt;address style="font-family: arial;"&gt;  &lt;span style="font-size:78%;"&gt;&lt;span style="font-style: normal;"&gt;                       \ORADATA\BOOKTST\BOOKTST\CONTROL02.CTL,   C:\ORACLE\ORADATA\&lt;/span&gt;&lt;/span&gt;&lt;/address&gt; &lt;address style="font-family: arial;"&gt;  &lt;span style="font-size:78%;"&gt;&lt;span style="font-style: normal;"&gt;                       BOOKTST\BOOKTST\CONTROL03.CTL&lt;/span&gt;&lt;/span&gt;&lt;/address&gt;  &lt;p class="MsoPlainText"&gt;SQL&gt; show parameter control_files;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;As the PFILE is text based, one can edit it in an editor  like vi on UNIX or Notepad on Windows. When you have changed it, you need to  make sure you save your changes to disk before you exit the editor. Also, make  sure you save it as a plain text file, since some editors (like Microsoft Word)  can save documents in special formats that Oracle would not be able to read.&lt;br /&gt;&lt;br /&gt;&lt;p class="MsoPlainText"&gt;Depending on which operating system you are running on,  your PFILE is located by default in the ORACLE_HOME\database (usually the case  on Windows) or ORACLE_HOME\dbs directory for most other platforms (we talked  about where ORACLE_HOME was earlier in this book). &lt;/p&gt; &lt;p class="MsoPlainText"&gt;If you are using a PFILE, it takes on the form of  initSID.ora, meaning the file will use the ORACLE_SID you defined when you  created the database.  If your SID is called testdb, the resulting PFILE should  be called inittestdb.ora&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-6911081803129784996?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/6911081803129784996/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=6911081803129784996' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/6911081803129784996'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/6911081803129784996'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/oracles-pfile.html' title='Oracle&apos;s PFILE'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-4070013632301751617</id><published>2008-09-21T09:02:00.001-07:00</published><updated>2008-09-21T09:02:57.843-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Removing a Password File'/><title type='text'>Removing a Password File</title><content type='html'>&lt;p&gt;&lt;a id="sthref127" name="sthref127"&gt;&lt;/a&gt;If you determine that you no longer require a password file to authenticate users, you can delete the password file and then optionally reset the &lt;code&gt;REMOTE_LOGIN_PASSWORDFILE&lt;/code&gt; initialization parameter to &lt;code&gt;NONE&lt;/code&gt;. After you remove this file, only those users who can be authenticated by the operating system can perform &lt;code&gt;SYSDBA&lt;/code&gt; or &lt;code&gt;SYSOPER&lt;/code&gt; database administration operations.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-4070013632301751617?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/4070013632301751617/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=4070013632301751617' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/4070013632301751617'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/4070013632301751617'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/removing-password-file.html' title='Removing a Password File'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-5157044660372746696</id><published>2008-09-21T09:01:00.000-07:00</published><updated>2008-09-21T09:02:27.169-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Replacing a Password File'/><title type='text'>Replacing a Password File</title><content type='html'>Use the following procedure to replace a password file:&lt;br /&gt;&lt;br /&gt;   1.Identify the users who have SYSDBA or SYSOPER privileges by querying the V$PWFILE_USERS view.&lt;br /&gt;   2.Delete the existing password file.&lt;br /&gt;   3.Follow the instructions for creating a new password file using the ORAPWD utility in "Using ORAPWD". Ensure that the ENTRIES parameter is set to a number larger than you think you will ever need.&lt;br /&gt;   4.Follow the instructions in "Adding Users to a Password File".&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-5157044660372746696?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/5157044660372746696/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=5157044660372746696' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/5157044660372746696'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/5157044660372746696'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/replacing-password-file.html' title='Replacing a Password File'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-6409275014429283993</id><published>2008-09-21T09:00:00.001-07:00</published><updated>2008-09-21T09:00:56.343-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Expanding the number of password file users if the password file becomes full'/><title type='text'>Expanding the number of password file users if the password file becomes full</title><content type='html'>Expanding the Number of Password File Users&lt;br /&gt;&lt;br /&gt;If you receive the file full error (ORA-1996) when you try to grant SYSDBA or SYSOPER system privileges to a user, you must create a larger password file and regrant the privileges to the users.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-6409275014429283993?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/6409275014429283993/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=6409275014429283993' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/6409275014429283993'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/6409275014429283993'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/expanding-number-of-password-file-users.html' title='Expanding the number of password file users if the password file becomes full'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-7222027535966047455</id><published>2008-09-21T08:58:00.000-07:00</published><updated>2008-09-21T08:59:09.062-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Viewing Password File Members'/><title type='text'>Viewing Password File Members</title><content type='html'>&lt;a id="sthref120" name="sthref120"&gt;&lt;/a&gt;&lt;a id="sthref121" name="sthref121"&gt;&lt;/a&gt;&lt;a id="sthref122" name="sthref122"&gt;&lt;/a&gt;&lt;a id="sthref123" name="sthref123"&gt;&lt;/a&gt;Use the &lt;code&gt;V$PWFILE_USERS&lt;/code&gt; view to see the users who have been granted &lt;code&gt;SYSDBA&lt;/code&gt; or &lt;code&gt;SYSOPER&lt;/code&gt; system privileges for a database. The columns displayed by this view are as follows:  &lt;table class="Informal" title="Using the V$PWFILE_USERS View" summary="This table lists the names of the columns of the V$PWFILE_USERS view in column 1, and a descroption of each view column in column 2." dir="ltr" rules="groups" width="100%" border="1" cellpadding="3" cellspacing="0" frame="hsides"&gt; &lt;col width="28%"&gt; &lt;col width="*"&gt; &lt;thead&gt; &lt;tr valign="top" align="left"&gt; &lt;th id="r1c1-t40" valign="bottom" align="left"&gt;Column&lt;/th&gt; &lt;th id="r1c2-t40" valign="bottom" align="left"&gt;Description&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r2c1-t40" headers="r1c1-t40" align="left"&gt;&lt;code&gt;USERNAME&lt;/code&gt;&lt;/td&gt; &lt;td headers="r2c1-t40 r1c2-t40" align="left"&gt;This column contains the name of the user that is recognized by the password file.&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r3c1-t40" headers="r1c1-t40" align="left"&gt;&lt;code&gt;SYSDBA&lt;/code&gt;&lt;/td&gt; &lt;td headers="r3c1-t40 r1c2-t40" align="left"&gt;If the value of this column is &lt;code&gt;TRUE&lt;/code&gt;, then the user can log on with &lt;code&gt;SYSDBA&lt;/code&gt; system privileges.&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r4c1-t40" headers="r1c1-t40" align="left"&gt;&lt;code&gt;SYSOPER&lt;/code&gt;&lt;/td&gt; &lt;td headers="r4c1-t40 r1c2-t40" align="left"&gt;If the value of this column is &lt;code&gt;TRUE&lt;/code&gt;, then the user can log on with &lt;code&gt;SYSOPER&lt;/code&gt; system privileges.&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-7222027535966047455?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/7222027535966047455/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=7222027535966047455' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/7222027535966047455'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/7222027535966047455'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/viewing-password-file-members.html' title='Viewing Password File Members'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-8061736868882790539</id><published>2008-09-21T08:56:00.000-07:00</published><updated>2008-09-21T08:57:58.935-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Granting and Revoking SYSDBA and SYSOPER Privileges to Oracle database user'/><title type='text'>Granting and Revoking SYSDBA and SYSOPER Privileges to Oracle database user</title><content type='html'>&lt;p&gt;If your server is using an &lt;code&gt;EXCLUSIVE&lt;/code&gt; password file, use the &lt;code&gt;GRANT&lt;/code&gt; statement to grant the &lt;code&gt;SYSDBA&lt;/code&gt; or &lt;code&gt;SYSOPER&lt;/code&gt; system privilege to a user, as shown in the following example:&lt;a id="sthref115" name="sthref115"&gt;&lt;/a&gt;&lt;a id="sthref116" name="sthref116"&gt;&lt;/a&gt;&lt;a id="sthref117" name="sthref117"&gt;&lt;/a&gt;&lt;a id="sthref118" name="sthref118"&gt;&lt;/a&gt;&lt;/p&gt; &lt;pre space="preserve" class="oac_no_warn"&gt;GRANT SYSDBA TO oe;&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;Use the &lt;code&gt;REVOKE&lt;/code&gt; statement to revoke the &lt;code&gt;SYSDBA&lt;/code&gt; or &lt;code&gt;SYSOPER&lt;/code&gt; system privilege from a user, as shown in the following example:&lt;/p&gt; &lt;pre space="preserve" class="oac_no_warn"&gt;REVOKE SYSDBA FROM oe;&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;Because &lt;code&gt;SYSDBA&lt;/code&gt; and &lt;code&gt;SYSOPER&lt;/code&gt; are the most powerful database privileges, the &lt;code&gt;WITH ADMIN OPTION&lt;/code&gt; is not used in the &lt;code&gt;GRANT&lt;/code&gt; statement. That is, the grantee cannot in turn grant the &lt;code&gt;SYSDBA&lt;/code&gt; or &lt;code&gt;SYSOPER&lt;/code&gt; privilege to another user. Only a user currently connected as &lt;code&gt;SYSDBA&lt;/code&gt; can grant or revoke another user's &lt;code&gt;SYSDBA&lt;/code&gt; or &lt;code&gt;SYSOPER&lt;/code&gt; system privileges. These privileges cannot be granted to roles, because roles are available only after database startup. Do not confuse the &lt;code&gt;SYSDBA&lt;/code&gt; and &lt;code&gt;SYSOPER&lt;/code&gt; database privileges with operating system roles.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-8061736868882790539?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/8061736868882790539/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=8061736868882790539' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/8061736868882790539'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/8061736868882790539'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/granting-and-revoking-sysdba-and.html' title='Granting and Revoking SYSDBA and SYSOPER Privileges to Oracle database user'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-4646962442633101710</id><published>2008-09-21T08:54:00.000-07:00</published><updated>2008-09-21T08:56:15.034-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Creating a Password File and Adding New Users to It'/><title type='text'>Creating a Password File and Adding New Users to It</title><content type='html'>Use the following procedure to create a password and add new users to it:&lt;br /&gt;&lt;br /&gt;   1. Follow the instructions for creating a password file as explained in "Using ORAPWD".&lt;br /&gt;   2.Set the REMOTE_LOGIN_PASSWORDFILE initialization parameter to EXCLUSIVE. (This is the default.)&lt;br /&gt;&lt;br /&gt;      Note:&lt;br /&gt;      REMOTE_LOGIN_PASSWORDFILE is a static initialization parameter and therefore cannot be changed without restarting the database.&lt;br /&gt;   3. Connect with SYSDBA privileges as shown in the following example, and enter the SYS password when prompted:&lt;br /&gt;&lt;br /&gt;      CONNECT SYS AS SYSDBA&lt;br /&gt;&lt;br /&gt;   4. Start up the instance and create the database if necessary, or mount and open an existing database.&lt;br /&gt;   5. Create users as necessary. Grant SYSDBA or SYSOPER privileges to yourself and other users as appropriate. See "Granting and Revoking SYSDBA and SYSOPER Privileges", later in this section.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-4646962442633101710?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/4646962442633101710/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=4646962442633101710' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/4646962442633101710'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/4646962442633101710'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/creating-password-file-and-adding-new.html' title='Creating a Password File and Adding New Users to It'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-7131288368752917883</id><published>2008-09-21T08:53:00.000-07:00</published><updated>2008-09-21T08:54:10.452-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Setting REMOTE_LOGIN_ PASSWORDFILE'/><title type='text'>Setting REMOTE_LOGIN_ PASSWORDFILE</title><content type='html'>&lt;p&gt;When you grant &lt;code&gt;SYSDBA&lt;/code&gt; or &lt;code&gt;SYSOPER&lt;/code&gt; privileges to a user, that user's name and privilege information are added to the password file. If the server does not have an &lt;code&gt;EXCLUSIVE&lt;/code&gt; password file (that is, if the initialization parameter &lt;code&gt;REMOTE_LOGIN_PASSWORDFILE&lt;/code&gt; is &lt;code&gt;NONE&lt;/code&gt; or &lt;code&gt;SHARED&lt;/code&gt;, or the password file is missing), Oracle Database issues an error if you attempt to grant these privileges.&lt;/p&gt; &lt;p&gt;A user's name remains in the password file only as long as that user has at least one of these two privileges. If you revoke both of these privileges, Oracle Database removes the user from the password file.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-7131288368752917883?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/7131288368752917883/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=7131288368752917883' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/7131288368752917883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/7131288368752917883'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/setting-remotelogin-passwordfile_21.html' title='Setting REMOTE_LOGIN_ PASSWORDFILE'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-2360372126350248463</id><published>2008-09-21T08:52:00.002-07:00</published><updated>2008-09-21T08:53:06.879-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Setting REMOTE_LOGIN_ PASSWORDFILE'/><title type='text'>Setting REMOTE_LOGIN_ PASSWORDFILE</title><content type='html'>&lt;div class="sect2"&gt; &lt;h2 id="insertedID2" class="sect2"&gt;&lt;a id="sthref105" name="sthref105"&gt;&lt;/a&gt;&lt;a id="sthref106" name="sthref106"&gt;&lt;/a&gt;&lt;a id="sthref107" name="sthref107"&gt;&lt;/a&gt;&lt;a id="sthref108" name="sthref108"&gt;&lt;/a&gt;&lt;/h2&gt; &lt;p&gt;&lt;a id="sthref109" name="sthref109"&gt;&lt;/a&gt;In addition to creating the password file, you must also set the initialization parameter &lt;code&gt;REMOTE_LOGIN_PASSWORDFILE&lt;/code&gt; to the appropriate value. The values recognized are:&lt;/p&gt; &lt;ul&gt;&lt;li&gt; &lt;p&gt;&lt;code&gt;NONE&lt;/code&gt;: Setting this parameter to &lt;code&gt;NONE&lt;/code&gt; causes Oracle Database to behave as if the password file does not exist. That is, no privileged connections are allowed over nonsecure connections.&lt;/p&gt; &lt;/li&gt;&lt;li&gt; &lt;p&gt;&lt;code&gt;EXCLUSIVE&lt;/code&gt;: (The default) An &lt;code&gt;EXCLUSIVE&lt;/code&gt; password file can be used with only one instance of one database. Only an &lt;code&gt;EXCLUSIVE&lt;/code&gt; file can be modified. Using an &lt;code&gt;EXCLUSIVE&lt;/code&gt; password file enables you to add, modify, and delete users. It also enables you to change the &lt;code&gt;SYS&lt;/code&gt; password with the &lt;code&gt;ALTER USER&lt;/code&gt; command.&lt;/p&gt; &lt;/li&gt;&lt;li&gt; &lt;p&gt;&lt;code&gt;SHARED&lt;/code&gt;: A &lt;code&gt;SHARED&lt;/code&gt; password file can be used by multiple databases running on the same server, or multiple instances of an Oracle Real Application Clusters (RAC) database. A &lt;code&gt;SHARED&lt;/code&gt; password file cannot be modified. This means that you cannot add users to a &lt;code&gt;SHARED&lt;/code&gt; password file. Any attempt to do so or to change the password of &lt;code&gt;SYS&lt;/code&gt; or other users with the &lt;code&gt;SYSDBA&lt;/code&gt; or &lt;code&gt;SYSOPER&lt;/code&gt; privileges generates an error. All users needing &lt;code&gt;SYSDBA&lt;/code&gt; or &lt;code&gt;SYSOPER&lt;/code&gt; system privileges must be added to the password file when &lt;code&gt;REMOTE_LOGIN_PASSWORDFILE&lt;/code&gt; is set to &lt;code&gt;EXCLUSIVE&lt;/code&gt;. After all users are added, you can change &lt;code&gt;REMOTE_LOGIN_PASSWORDFILE&lt;/code&gt; to &lt;code&gt;SHARED&lt;/code&gt;, and then share the file.&lt;/p&gt; &lt;p&gt;This option is useful if you are administering multiple databases or a RAC database.&lt;/p&gt; &lt;/li&gt;&lt;/ul&gt; &lt;p&gt;If &lt;code&gt;REMOTE_LOGIN_PASSWORDFILE&lt;/code&gt; is set to &lt;code&gt;EXCLUSIVE&lt;/code&gt; or &lt;code&gt;SHARED&lt;/code&gt; and the password file is missing, this is equivalent to setting &lt;code&gt;REMOTE_LOGIN_PASSWORDFILE&lt;/code&gt; to &lt;code&gt;NONE&lt;/code&gt;.&lt;/p&gt; &lt;div class="infoboxnote"&gt; &lt;p class="notep1"&gt;Note:&lt;/p&gt; You cannot change the password for &lt;code&gt;SYS&lt;/code&gt; if &lt;code&gt;REMOTE_LOGIN_PASSWORDFILE&lt;/code&gt; is set to &lt;code&gt;SHARED&lt;/code&gt;. An error message is issued if you attempt to do so.&lt;/div&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-2360372126350248463?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/2360372126350248463/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=2360372126350248463' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/2360372126350248463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/2360372126350248463'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/setting-remotelogin-passwordfile.html' title='Setting REMOTE_LOGIN_ PASSWORDFILE'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-8927242797403795024</id><published>2008-09-21T08:52:00.001-07:00</published><updated>2008-09-21T08:52:24.212-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Using ORAPWD'/><title type='text'>Using ORAPWD</title><content type='html'>&lt;h2 id="insertedID1" class="sect2"&gt;&lt;a id="sthref100" name="sthref100"&gt;&lt;/a&gt;&lt;a id="sthref101" name="sthref101"&gt;&lt;/a&gt;&lt;a id="sthref102" name="sthref102"&gt;&lt;/a&gt;&lt;/h2&gt; &lt;p&gt;The syntax of the &lt;code&gt;ORAPWD&lt;/code&gt; command is as follows:&lt;/p&gt; &lt;pre space="preserve" class="oac_no_warn"&gt;ORAPWD FILE=&lt;span class="italic"&gt;filename&lt;/span&gt; [ENTRIES=&lt;span class="italic"&gt;numusers&lt;/span&gt;]&lt;br /&gt;  [FORCE={Y|N}] [IGNORECASE={Y|N}] [NOSYSDBA={Y|N}]&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;Command arguments are summarized in the following table.&lt;/p&gt; &lt;div class="inftblinformal"&gt; &lt;table class="Informal" title="ORAPWD Parameter Descriptions." summary="This table has two columns: Parameter Name and Description." dir="ltr" rules="groups" width="100%" border="1" cellpadding="3" cellspacing="0" frame="hsides"&gt; &lt;col width="18%"&gt; &lt;col width="*"&gt; &lt;thead&gt; &lt;tr valign="top" align="left"&gt; &lt;th id="r1c1-t33" valign="bottom" align="left"&gt;Argument&lt;/th&gt; &lt;th id="r1c2-t33" valign="bottom" align="left"&gt;Description&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r2c1-t33" headers="r1c1-t33" align="left"&gt;&lt;code&gt;FILE&lt;/code&gt;&lt;/td&gt; &lt;td headers="r2c1-t33 r1c2-t33" align="left"&gt;Name to assign to the password file. See your operating system documentation for name requirements. You must supply a complete path. If you supply only a file name, the file is written to the current directory.&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r3c1-t33" headers="r1c1-t33" align="left"&gt;&lt;code&gt;ENTRIES&lt;/code&gt;&lt;/td&gt; &lt;td headers="r3c1-t33 r1c2-t33" align="left"&gt;(Optional) Maximum number of entries (user accounts) to permit in the file.&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r4c1-t33" headers="r1c1-t33" align="left"&gt;&lt;code&gt;FORCE&lt;/code&gt;&lt;/td&gt; &lt;td headers="r4c1-t33 r1c2-t33" align="left"&gt;(Optional) If &lt;code&gt;y&lt;/code&gt;, permits overwriting an existing password file.&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r5c1-t33" headers="r1c1-t33" align="left"&gt;&lt;code&gt;IGNORECASE&lt;/code&gt;&lt;/td&gt; &lt;td headers="r5c1-t33 r1c2-t33" align="left"&gt;(Optional) If &lt;code&gt;y&lt;/code&gt;, passwords are treated as case-insensitive.&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r6c1-t33" headers="r1c1-t33" align="left"&gt;&lt;code&gt;NOSYSDBA&lt;/code&gt;&lt;/td&gt; &lt;td headers="r6c1-t33 r1c2-t33" align="left"&gt;(Optional) For Data Vault installations. See the Data Vault installation guide for your platform for more information.&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt;&lt;br /&gt;&lt;/div&gt; &lt;!-- class="inftblinformal" --&gt; &lt;p&gt;There are no spaces permitted around the equal-to (=) character.&lt;/p&gt; &lt;p&gt;The command prompts for the &lt;code&gt;SYS&lt;/code&gt; password and stores the password in the created password file.&lt;/p&gt; &lt;a id="sthref103" name="sthref103"&gt;&lt;/a&gt; &lt;p class="subhead2"&gt;Example&lt;/p&gt; &lt;p&gt;The following command creates a password file named &lt;code&gt;orapworcl&lt;/code&gt; that allows up to 30 privileged users with different passwords.&lt;/p&gt; &lt;pre space="preserve" class="oac_no_warn"&gt;orapwd FILE=orapworcl ENTRIES=30&lt;br /&gt;&lt;/pre&gt; &lt;a id="ADMIN12478" name="ADMIN12478"&gt;&lt;/a&gt; &lt;!-- infolevel="all" infotype="General" --&gt;&lt;a id="sthref104" name="sthref104"&gt;&lt;/a&gt; &lt;h3 class="sect3"&gt;ORAPWD Command Line Argument Descriptions&lt;/h3&gt; &lt;p&gt;The following sections describe the &lt;code&gt;ORAPWD&lt;/code&gt; command line arguments.&lt;/p&gt; &lt;dl&gt;&lt;dt class="term"&gt;FILE&lt;/dt&gt;&lt;dd&gt; &lt;p&gt;This argument sets the name of the password file being created. You must specify the full path name for the file. If you supply only a file name, the file is written to the current directory. The contents of this file are encrypted, and the file cannot be read directly. This argument is mandatory.&lt;/p&gt; &lt;p&gt;The types of filenames allowed for the password file are operating system specific. Some operating systems require the password file to adhere to a specific format and be located in a specific directory. Other operating systems allow the use of environment variables to specify the name and location of the password file. For name and location information for the Unix and Linux operating systems, see &lt;span class="italic"&gt;Administrator's Reference for UNIX-Based Operating Systems&lt;/span&gt;. For Windows, see &lt;span class="italic"&gt;Platform Guide for Microsoft Windows&lt;/span&gt;. For other operating systems, see your operating system documentation.&lt;/p&gt; &lt;p&gt;If you are running multiple instances of Oracle Database using Oracle Real Application Clusters, the environment variable for each instance should point to the same password file.&lt;/p&gt; &lt;div class="infoboxnote"&gt; &lt;p class="notep1"&gt;Caution:&lt;/p&gt; It is critically important to the security of your system that you protect your password file and the environment variables that identify the location of the password file. Any user with access to these could potentially compromise the security of the connection.&lt;/div&gt; &lt;/dd&gt;&lt;dt class="term"&gt;ENTRIES&lt;/dt&gt;&lt;dd&gt; &lt;p&gt;This argument specifies the number of entries that you require the password file to accept. This number corresponds to the number of distinct users allowed to connect to the database as &lt;code&gt;SYSDBA&lt;/code&gt; or &lt;code&gt;SYSOPER&lt;/code&gt;. The actual number of allowable entries can be higher than the number of users, because the &lt;code&gt;ORAPWD&lt;/code&gt; utility continues to assign password entries until an operating system block is filled. For example, if your operating system block size is 512 bytes, it holds four password entries. The number of password entries allocated is always a multiple of four.&lt;/p&gt; &lt;p&gt;Entries can be reused as users are added to and removed from the password file. If you intend to specify &lt;code&gt;REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE&lt;/code&gt;, and to allow the granting of &lt;code&gt;SYSDBA&lt;/code&gt; and &lt;code&gt;SYSOPER&lt;/code&gt; privileges to users, this argument is required.&lt;/p&gt; &lt;div class="infoboxnote"&gt; &lt;p class="notep1"&gt;Caution:&lt;/p&gt; When you exceed the allocated number of password entries, you must create a new password file. To avoid this necessity, allocate a number of entries that is larger than you think you will ever need.&lt;/div&gt; &lt;/dd&gt;&lt;dt class="term"&gt;FORCE&lt;/dt&gt;&lt;dd&gt; &lt;p&gt;This argument, if set to &lt;code&gt;Y&lt;/code&gt;, enables you to overwrite an existing password file. An error is returned if a password file of the same name already exists and this argument is omitted or set to &lt;code&gt;N&lt;/code&gt;.&lt;/p&gt; &lt;/dd&gt;&lt;dt class="term"&gt;IGNORECASE&lt;/dt&gt;&lt;dd&gt; &lt;p&gt;If this argument is set to &lt;code&gt;y&lt;/code&gt;, passwords are case-insensitive. That is, case is ignored when comparing the password that the user supplies during login with the password in the password file.&lt;/p&gt; &lt;/dd&gt;&lt;/dl&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-8927242797403795024?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/8927242797403795024/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=8927242797403795024' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/8927242797403795024'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/8927242797403795024'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/using-orapwd.html' title='Using ORAPWD'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-836898724409967445</id><published>2008-09-21T08:47:00.000-07:00</published><updated>2008-09-21T08:51:14.994-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Password File'/><title type='text'>Oracle Password File</title><content type='html'>You can create a password file using the password file creation utility, &lt;code&gt;ORAPWD&lt;/code&gt;. For some operating systems, you can create this file as part of your standard installation.&lt;br /&gt;&lt;br /&gt;To enable authentication of an administrative user using password file authentication you must do the following: &lt;ol&gt;&lt;li&gt; &lt;p&gt;If not already created, create the password file using the &lt;code&gt;ORAPWD&lt;/code&gt; utility:&lt;/p&gt; &lt;pre space="preserve" class="oac_no_warn"&gt;ORAPWD FILE=&lt;span class="italic"&gt;filename&lt;/span&gt; PASSWORD=&lt;span class="italic"&gt;password&lt;/span&gt; ENTRIES=&lt;span class="italic"&gt;max_users&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;p class="notep1"&gt;Note:&lt;/p&gt;  &lt;code&gt;REMOTE_LOGIN_PASSWORDFILE&lt;/code&gt; is a static initialization parameter and therefore cannot be changed without restarting the database.&lt;pre space="preserve" class="oac_no_warn"&gt;&lt;/pre&gt;&lt;/li&gt;&lt;li&gt; &lt;p&gt;Set the &lt;code&gt;REMOTE_LOGIN_PASSWORDFILE&lt;/code&gt; initialization parameter to &lt;code&gt;EXCLUSIVE&lt;/code&gt;. (This is the default).&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt; Connect to the database as user &lt;code&gt;SYS&lt;/code&gt; (or as another user with the administrative privileges).&lt;br /&gt;&lt;ol&gt;&lt;li&gt; &lt;p&gt;If the user does not already exist in the database, create the user.&lt;/p&gt; &lt;/li&gt;&lt;li&gt; &lt;p&gt;Grant the &lt;code&gt;SYSDBA&lt;/code&gt; or &lt;code&gt;SYSOPER&lt;/code&gt; system privilege to the user:&lt;/p&gt; &lt;pre space="preserve" class="oac_no_warn"&gt;GRANT SYSDBA to oe;&lt;br /&gt;This statement adds the user to the password file, thereby enabling connection &lt;code&gt;AS&lt;/code&gt; &lt;code&gt;SYSDBA&lt;/code&gt;.&lt;span style="font-family: Georgia,serif;"&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-836898724409967445?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/836898724409967445/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=836898724409967445' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/836898724409967445'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/836898724409967445'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/oracle-password-file.html' title='Oracle Password File'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-899545432072783521</id><published>2008-09-21T08:37:00.001-07:00</published><updated>2008-09-21T08:37:47.026-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dropping Control Files'/><title type='text'>Dropping Control Files</title><content type='html'>&lt;!--/TOC=h1--&gt; &lt;a name="656"&gt;&lt;/a&gt;   &lt;p class="BP"&gt;You can drop control files from the database. For example, you might want to do so if the location of a control file is no longer appropriate. Remember that the database must have at least two control files at all times.&lt;/p&gt;  &lt;ol class="LN1" type="1"&gt;&lt;li value="1" class="LN1" type="1"&gt;&lt;a name="658"&gt;&lt;/a&gt;Shut down the database.&lt;/li&gt;&lt;li class="LN1" value="2" type="1"&gt;&lt;a name="662"&gt;&lt;/a&gt;Edit the &lt;code&gt;CONTROL_FILES&lt;/code&gt; parameter in the database's initialization parameter file to delete the old control file's name.&lt;/li&gt;&lt;li class="LN1" value="3" type="1"&gt;&lt;a name="666"&gt;&lt;/a&gt;Restart the database.   &lt;/li&gt;&lt;/ol&gt;Please note that This operation does not physically delete the unwanted control file from the disk. Use operating system commands to delete the unnecessary file after you have dropped the control file from the database.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-899545432072783521?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/899545432072783521/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=899545432072783521' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/899545432072783521'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/899545432072783521'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/dropping-control-files.html' title='Dropping Control Files'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-3469018763967210306</id><published>2008-09-21T08:34:00.000-07:00</published><updated>2008-09-21T08:36:40.555-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Control File V$ Views'/><title type='text'>Control File V$ Views</title><content type='html'>V$DATABASE - Displays database information from the control file&lt;br /&gt;&lt;code&gt;V$CONTROLFILE - &lt;/code&gt;Lists the names of control files&lt;br /&gt;&lt;code&gt;V$CONTROLFILE_RECORD_SECTION - &lt;/code&gt;Displays information about control file record sections&lt;br /&gt;&lt;code&gt;V$PARAMETER - &lt;/code&gt;Can be used to display the names of control files as specified in the &lt;code&gt;CONTROL_FILES&lt;/code&gt; initialization parameter&lt;br /&gt;&lt;br /&gt;&lt;pre class="CE"&gt;SQL&gt; SELECT NAME FROM V$CONTROLFILE;&lt;br /&gt;&lt;a name="5919"&gt;&lt;/a&gt;&lt;br /&gt;&lt;a name="5920"&gt;&lt;/a&gt;NAME&lt;br /&gt;&lt;a name="5921"&gt;&lt;/a&gt;-------------------------------------&lt;br /&gt;&lt;a name="5931"&gt;&lt;/a&gt;/u01/oracle/prod/control01.ctl&lt;br /&gt;&lt;a name="5932"&gt;&lt;/a&gt;/u02/oracle/prod/control02.ctl&lt;br /&gt;&lt;a name="5911"&gt;&lt;/a&gt;/u03/oracle/prod/control03.ctl&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-3469018763967210306?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/3469018763967210306/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=3469018763967210306' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/3469018763967210306'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/3469018763967210306'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/control-file-v-views.html' title='Control File V$ Views'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-1983937389186458815</id><published>2008-09-21T08:33:00.001-07:00</published><updated>2008-09-21T08:33:33.089-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Recovering a Control File'/><title type='text'>Recovering a Control File</title><content type='html'>&lt;h3 class="H2"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;color:#330099;"&gt;Recovering from Permanent Media Failure Using a Control File Copy&lt;/span&gt;&lt;/h3&gt;  &lt;!--/TOC=h2--&gt; &lt;a name="5640"&gt;&lt;/a&gt;   &lt;p class="BP"&gt;This procedure assumes that one of the control files specified in the &lt;code&gt;CONTROL_FILES&lt;/code&gt; parameter is inaccessible due to a permanent media failure, and you have a multiplexed copy of the control file.&lt;/p&gt;  &lt;ol class="LN1" type="1"&gt;&lt;li value="1" class="LN1" type="1"&gt;&lt;a name="5641"&gt;&lt;/a&gt;With the instance shut down, use an operating system command to copy the current copy of the control file to a new, accessible location: &lt;pre class="CE1"&gt;&lt;a name="5757"&gt;&lt;/a&gt;% cp /u01/oracle/prod/control01.ctl  /u04/oracle/prod/control03.ctl&lt;br /&gt;&lt;a name="5643"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt; &lt;/li&gt;&lt;li class="LN1" value="2" type="1"&gt;&lt;a name="5644"&gt;&lt;/a&gt;Edit the &lt;code&gt;CONTROL_FILES&lt;/code&gt; parameter in the initialization parameter file to replace the bad location with the new location:   &lt;pre class="CE1"&gt;&lt;a name="5767"&gt;&lt;/a&gt;CONTROL_FILES = (/u01/oracle/prod/control01.ctl,&lt;br /&gt;&lt;a name="5768"&gt;&lt;/a&gt;                 /u02/oracle/prod/control02.ctl,&lt;br /&gt;&lt;a name="5769"&gt;&lt;/a&gt;                 /u04/oracle/prod/control03.ctl)&lt;br /&gt;&lt;a name="5645"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt; &lt;/li&gt;&lt;li class="LN1" value="3" type="1"&gt;&lt;a name="5647"&gt;&lt;/a&gt;Start SQL*Plus and open the database:   &lt;pre class="CE1"&gt;&lt;a name="5648"&gt;&lt;/a&gt;SQL&gt; STARTUP&lt;br /&gt;&lt;a name="5798"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt; &lt;/li&gt;&lt;/ol&gt;  &lt;a name="5799"&gt;&lt;/a&gt;   &lt;p class="BP"&gt;In any case where you have multiplexed control files, and you must get the database up in minimum time, you can do so by editing the &lt;code&gt;CONTROL_FILES&lt;/code&gt; initialization parameter to remove the bad control file and restarting the database immediately. Then you can perform the reconstruction of the bad control file and at some later time shut down and restart the database after editing the &lt;code&gt;CONTROL_FILES&lt;/code&gt; initialization parameter to include the recovered control file.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-1983937389186458815?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/1983937389186458815/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=1983937389186458815' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/1983937389186458815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/1983937389186458815'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/recovering-control-file_21.html' title='Recovering a Control File'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-5814404991808181752</id><published>2008-09-21T08:32:00.001-07:00</published><updated>2008-09-21T08:32:38.285-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Recovering a Control File'/><title type='text'>Recovering a Control File</title><content type='html'>&lt;h3 class="H2"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;color:#330099;"&gt;Recovering from Control File Corruption Using a Control File Copy&lt;/span&gt;&lt;/h3&gt;  &lt;!--/TOC=h2--&gt; &lt;a name="5632"&gt;&lt;/a&gt;   &lt;p class="BP"&gt;This procedure assumes that one of the control files specified in the &lt;code&gt;CONTROL_FILES&lt;/code&gt; parameter is corrupted, the control file directory is still accessible, and you have a multiplexed copy of the control file.&lt;/p&gt;  &lt;ol class="LN1" type="1"&gt;&lt;li value="1" class="LN1" type="1"&gt;&lt;a name="5633"&gt;&lt;/a&gt;With the instance shut down, use an operating system command to overwrite the bad control file with a good copy:   &lt;pre class="CE1"&gt;&lt;a name="5634"&gt;&lt;/a&gt;% cp /u01/oracle/prod/control03.ctl  /u01/oracle/prod/control02.ctl&lt;br /&gt;&lt;a name="5635"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt; &lt;/li&gt;&lt;li class="LN1" value="2" type="1"&gt;&lt;a name="5636"&gt;&lt;/a&gt;Start SQL*Plus and open the database:   &lt;pre class="CE1"&gt;&lt;a name="5637"&gt;&lt;/a&gt;SQL&gt; STARTUP&lt;br /&gt;&lt;/pre&gt; &lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-5814404991808181752?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/5814404991808181752/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=5814404991808181752' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/5814404991808181752'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/5814404991808181752'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/recovering-control-file.html' title='Recovering a Control File'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-919414298201880802</id><published>2008-09-21T08:30:00.000-07:00</published><updated>2008-09-21T08:31:21.576-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Backing Up Control Files'/><title type='text'>Backing Up Control Files</title><content type='html'>&lt;p class="BP"&gt;Use the &lt;code&gt;ALTER DATABASE BACKUP CONTROLFILE&lt;/code&gt; statement to back up your control files. You have two options:&lt;/p&gt;  &lt;ol class="LN1" type="1"&gt;&lt;li value="1" class="LN1" type="1"&gt;&lt;a name="5540"&gt;&lt;/a&gt;Back up the control file to a binary file (duplicate of existing control file) using the following statement:   &lt;pre class="CE1"&gt;&lt;a name="5541"&gt;&lt;/a&gt;ALTER DATABASE BACKUP CONTROLFILE TO '/oracle/backup/control.bkp';&lt;br /&gt;&lt;a name="5542"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt; &lt;/li&gt;&lt;li class="LN1" value="2" type="1"&gt;&lt;a name="5543"&gt;&lt;/a&gt;Produce SQL statements that can later be used to re-create your control file:   &lt;pre class="CE1"&gt;&lt;a name="5544"&gt;&lt;/a&gt;ALTER DATABASE BACKUP CONTROLFILE TO TRACE;&lt;br /&gt;&lt;a name="5545"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt;  &lt;a name="5546"&gt;&lt;/a&gt;   &lt;p class="BP1"&gt;This command writes a SQL script to the database's trace file where it can be captured and edited to reproduce the control file.&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-919414298201880802?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/919414298201880802/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=919414298201880802' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/919414298201880802'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/919414298201880802'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/backing-up-control-files.html' title='Backing Up Control Files'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-5014313968955354070</id><published>2008-09-21T08:27:00.000-07:00</published><updated>2008-09-21T08:29:32.706-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Troubleshooting After Creating Control Files'/><title type='text'>Troubleshooting After Creating Control Files</title><content type='html'>After issuing the &lt;code&gt;CREATE CONTROLFILE&lt;/code&gt; statement, you may encounter some common errors.&lt;br /&gt;&lt;br /&gt;&lt;h3 class="H2"&gt;&lt;span&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;color:#330099;"&gt;Checking for Missing or Extra Files&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;br /&gt;&lt;p class="BP"&gt;After creating a new control file and using it to open the database, check the alert file to see if Oracle has detected inconsistencies between the data dictionary and the control file, such as a datafile that the data dictionary includes but the control file does not list.&lt;/p&gt;  &lt;a name="5450"&gt;&lt;/a&gt;   &lt;p class="BP"&gt;If a datafile exists in the data dictionary but not in the new control file, Oracle creates a placeholder entry in the control file under the name &lt;code&gt;MISSING&lt;/code&gt;&lt;em&gt;&lt;code&gt;nnnn&lt;/code&gt;&lt;/em&gt; (where &lt;em&gt;&lt;code&gt;nnnn&lt;/code&gt;&lt;/em&gt; is the file number in decimal). &lt;code&gt;MISSING&lt;/code&gt;&lt;em&gt;&lt;code&gt;nnnn&lt;/code&gt;&lt;/em&gt; is flagged in the control file as being offline and requiring media recovery.&lt;/p&gt;  &lt;a name="5416"&gt;&lt;/a&gt;   &lt;p class="BP"&gt;The actual datafile corresponding to &lt;code&gt;MISSING&lt;/code&gt;&lt;em&gt;&lt;code&gt;nnnn&lt;/code&gt;&lt;/em&gt; can be made accessible by renaming &lt;code&gt;MISSING&lt;/code&gt;&lt;em&gt;&lt;code&gt;nnnn&lt;/code&gt;&lt;/em&gt; so that it points to the datafile only if the datafile was read-only or offline normal. If, on the other hand, &lt;code&gt;MISSING&lt;/code&gt;&lt;em&gt;&lt;code&gt;nnnn&lt;/code&gt;&lt;/em&gt; corresponds to a datafile that was not read-only or offline normal, then the rename operation cannot be used to make the datafile accessible, because the datafile requires media recovery that is precluded by the results of &lt;code&gt;RESETLOGS&lt;/code&gt;. In this case, you must drop the tablespace containing the datafile.&lt;/p&gt;  &lt;a name="5422"&gt;&lt;/a&gt;   &lt;p class="BP"&gt;In contrast, if a datafile indicated in the control file is not present in the data dictionary, Oracle removes references to it from the new control file. In both cases, Oracle includes an explanatory message in the alert.log file to let you know what was found.&lt;/p&gt;&lt;h3 class="H2"&gt;&lt;span&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;color:#330099;"&gt;Handling Errors During CREATE CONTROLFILE&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;p class="BP"&gt;If Oracle sends you an error (usually error ORA-01173, ORA-01176, ORA-01177, ORA-01215, or ORA-01216) when you attempt to mount and open the database after creating a new control file, the most likely cause is that you omitted a file from the CREATE CONTROLFILE statement or included one that should not have been listed. In this case, you should restore the files you backed up in Step 3 and repeat the procedure from Step 4, using the correct filenames.&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-5014313968955354070?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/5014313968955354070/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=5014313968955354070' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/5014313968955354070'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/5014313968955354070'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/troubleshooting-after-creating-control.html' title='Troubleshooting After Creating Control Files'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-1758897131724174288</id><published>2008-09-21T08:24:00.000-07:00</published><updated>2008-09-21T08:26:35.966-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Steps for Creating New Control Files'/><title type='text'>Steps for Creating New Control Files</title><content type='html'>Complete the following steps to create a new control file.&lt;br /&gt;&lt;br /&gt;   &lt;span style="font-weight: bold;"&gt;1. Make a list of all datafiles and online redo log files of the database.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;      If you follow recommendations for control file backups as discussed in "Backing Up Control Files" , you will already have a list of datafiles and online redo log files that reflect the current structure of the database. However, if you have no such list, executing the following statements will produce one.&lt;br /&gt;&lt;br /&gt;      SELECT MEMBER FROM V$LOGFILE;&lt;br /&gt;      SELECT NAME FROM V$DATAFILE;&lt;br /&gt;      SELECT VALUE FROM V$PARAMETER WHERE NAME = 'CONTROL_FILES';&lt;br /&gt;&lt;br /&gt;      If you have no such lists and your control file has been damaged so that the database cannot be opened, try to locate all of the datafiles and online redo log files that constitute the database. Any files not specified in Step 5 are not recoverable once a new control file has been created. Moreover, if you omit any of the files that make up the SYSTEM tablespace, you might not be able to recover the database.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;   2. Shut down the database.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;      If the database is open, shut down the database normally if possible. Use the IMMEDIATE or ABORT options only as a last resort.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;   3. Back up all datafiles and online redo log files of the database.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;   4. Start up a new instance, but do not mount or open the database:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;      STARTUP NOMOUNT&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-weight: bold;"&gt; 5. Create a new control file for the database using the CREATE CONTROLFILE statement.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;      When creating a new control file, select the RESETLOGS option if you have lost any online redo log groups in addition to control files. In this case, you will need to recover from the loss of the redo logs (Step 8). You must also specify the RESETLOGS option if you have renamed the database. Otherwise, select the NORESETLOGS option.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;   6. Store a backup of the new control file on an offline storage device. See "Backing Up Control Files" for instructions for creating a backup.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;span style="font-weight: bold;"&gt;  7. Edit the CONTROL_FILES initialization parameter for the database to indicate all of the control files now part of your database as created in Step 5 (not including the backup control file). If you are renaming the database, edit the DB_NAME parameter to specify the new name.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;   8. Recover the database if necessary. If you are not recovering the database, skip to Step 9.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;      If you are creating the control file as part of recovery, recover the database. If the new control file was created using the NORESETLOGS option (Step 5), you can recover the database with complete, closed database recovery.&lt;br /&gt;&lt;br /&gt;      If the new control file was created using the RESETLOGS option, you must specify USING BACKUP CONTROL FILE. If you have lost online or archived redo logs or datafiles, use the procedures for recovering those files.&lt;br /&gt;&lt;br /&gt;   9. &lt;span style="font-weight: bold;"&gt;Open the database using one of the following methods:&lt;/span&gt;&lt;br /&gt;          * If you did not perform recovery, or you performed complete, closed database recovery in Step 8, open the database normally.&lt;br /&gt;&lt;br /&gt;            &lt;span style="font-weight: bold;"&gt;ALTER DATABASE OPEN; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;          * If you specified RESETLOGS when creating the control file, use the ALTER DATABASE statement, indicating RESETLOGS.&lt;br /&gt;&lt;br /&gt;          &lt;span style="font-weight: bold;"&gt;  ALTER DATABASE OPEN RESETLOGS;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The database is now open and available for use.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-1758897131724174288?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/1758897131724174288/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=1758897131724174288' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/1758897131724174288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/1758897131724174288'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/steps-for-creating-new-control-files.html' title='Steps for Creating New Control Files'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-6820324235760172219</id><published>2008-09-21T08:22:00.001-07:00</published><updated>2008-09-21T08:22:33.035-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CREATE CONTROLFILE Statement'/><title type='text'>CREATE CONTROLFILE Statement</title><content type='html'>&lt;!--/TOC=h3--&gt; &lt;a name="503"&gt;&lt;/a&gt;   &lt;p class="BP"&gt;You can create a new control file for a database using the &lt;code&gt;CREATE CONTROLFILE&lt;/code&gt; statement. The following statement creates a new control file for the &lt;code&gt;prod&lt;/code&gt; database (formerly a database that used a different database name):&lt;/p&gt;  &lt;pre class="CE"&gt;&lt;a name="505"&gt;&lt;/a&gt;CREATE CONTROLFILE&lt;br /&gt;&lt;a name="507"&gt;&lt;/a&gt;   SET DATABASE prod&lt;br /&gt;&lt;a name="509"&gt;&lt;/a&gt;   LOGFILE GROUP 1 ('/u01/oracle/prod/redo01_01.log',&lt;br /&gt;&lt;a name="6605"&gt;&lt;/a&gt;                    '/u01/oracle/prod/redo01_02.log'),&lt;br /&gt;&lt;a name="6607"&gt;&lt;/a&gt;           GROUP 2 ('/u01/oracle/prod/redo02_01.log',&lt;br /&gt;&lt;a name="5361"&gt;&lt;/a&gt;                    '/u01/oracle/prod/redo02_02.log'),&lt;br /&gt;&lt;a name="5488"&gt;&lt;/a&gt;           GROUP 3 ('/u01/oracle/prod/redo03_01.log',&lt;br /&gt;&lt;a name="5489"&gt;&lt;/a&gt;                    '/u01/oracle/prod/redo03_02.log')&lt;br /&gt;&lt;a name="513"&gt;&lt;/a&gt;   NORESETLOGS&lt;br /&gt;&lt;a name="515"&gt;&lt;/a&gt;   DATAFILE '/u01/oracle/prod/system01.dbf' SIZE 3M,&lt;br /&gt;&lt;a name="5336"&gt;&lt;/a&gt;            '/u01/oracle/prod/rbs01.dbs' SIZE 5M,&lt;br /&gt;&lt;a name="5341"&gt;&lt;/a&gt;            '/u01/oracle/prod/users01.dbs' SIZE 5M,&lt;br /&gt;&lt;a name="5345"&gt;&lt;/a&gt;            '/u01/oracle/prod/temp01.dbs' SIZE 5M&lt;br /&gt;&lt;a name="4991"&gt;&lt;/a&gt;   MAXLOGFILES 50&lt;br /&gt;&lt;a name="519"&gt;&lt;/a&gt;   MAXLOGMEMBERS 3&lt;br /&gt;&lt;a name="6678"&gt;&lt;/a&gt;   MAXLOGHISTORY 400&lt;br /&gt;&lt;a name="521"&gt;&lt;/a&gt;   MAXDATAFILES 200&lt;br /&gt;&lt;a name="523"&gt;&lt;/a&gt;   MAXINSTANCES 6&lt;br /&gt;&lt;a name="6675"&gt;&lt;/a&gt;   ARCHIVELOG;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-6820324235760172219?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/6820324235760172219/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=6820324235760172219' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/6820324235760172219'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/6820324235760172219'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/create-controlfile-statement.html' title='CREATE CONTROLFILE Statement'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-798421144535879343</id><published>2008-09-21T08:20:00.000-07:00</published><updated>2008-09-21T08:21:08.952-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='When to Create New Control Files'/><title type='text'>When to Create New Control Files</title><content type='html'>&lt;a name="495"&gt;&lt;/a&gt;   &lt;p class="BP"&gt;It is necessary for you to create new control files in the following situations:&lt;/p&gt;  &lt;ul class="LB1"&gt;&lt;li class="LB1" type="disc"&gt;&lt;a name="497"&gt;&lt;/a&gt;All control files for the database have been permanently damaged and you do not have a control file backup.&lt;/li&gt;&lt;li class="LB1" type="disc"&gt;&lt;a name="499"&gt;&lt;/a&gt;You want to change one of the permanent database parameter settings originally specified in the &lt;code&gt;CREATE DATABASE&lt;/code&gt; statement. These settings include the database's name and the following parameters: &lt;code&gt;MAXLOGFILES&lt;/code&gt;, &lt;code&gt;MAXLOGMEMBERS&lt;/code&gt;, &lt;code&gt;MAXLOGHISTORY&lt;/code&gt;, &lt;code&gt;MAXDATAFILES&lt;/code&gt;, and &lt;code&gt;MAXINSTANCES&lt;/code&gt;.   &lt;p&gt;&lt;a name="501"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p class="BP1"&gt;For example, you would change a database's name if it conflicted with another database's name in a distributed environment. Or, as another example, you can change the value of &lt;code&gt;MAXLOGFILES&lt;/code&gt; if the original setting is too low.&lt;/p&gt; &lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-798421144535879343?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/798421144535879343/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=798421144535879343' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/798421144535879343'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/798421144535879343'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/when-to-create-new-control-files.html' title='When to Create New Control Files'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-5981234192890410705</id><published>2008-09-21T08:17:00.000-07:00</published><updated>2008-09-21T08:20:10.715-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Creating Additional Copies of Control Files'/><title type='text'>Creating Additional Copies of Control Files</title><content type='html'>You can create an an additional control file copy by copying an existing control file to a new location and adding the file's name to the list of control files.&lt;br /&gt;&lt;br /&gt;&lt;h5 class="SH3"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;"&gt;To Multiplex or Move Additional Copies of the Current Control Files&lt;/span&gt;&lt;/h5&gt;  &lt;a name="4126"&gt;&lt;/a&gt;   &lt;ol class="LN1" type="1"&gt;&lt;li value="1" class="LN1" type="1"&gt;&lt;a name="463"&gt;&lt;/a&gt;Shut down the database.&lt;/li&gt;&lt;li class="LN1" value="2" type="1"&gt;&lt;a name="467"&gt;&lt;/a&gt;Copy an existing control file to a different location, using operating system commands.&lt;/li&gt;&lt;li class="LN1" value="3" type="1"&gt;&lt;a name="469"&gt;&lt;/a&gt;Edit the &lt;code&gt;CONTROL_FILES&lt;/code&gt; parameter in the database's initialization parameter file to add the new control file's name, or to change the existing control filename.&lt;/li&gt;&lt;li class="LN1" value="4" type="1"&gt;&lt;a name="473"&gt;&lt;/a&gt;Restart the database.&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-5981234192890410705?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/5981234192890410705/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=5981234192890410705' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/5981234192890410705'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/5981234192890410705'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/creating-additional-copies-of-control.html' title='Creating Additional Copies of Control Files'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-2295501228868620761</id><published>2008-09-21T08:15:00.000-07:00</published><updated>2008-09-21T08:16:37.965-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Creating Control Files'/><title type='text'>Creating Control Files</title><content type='html'>&lt;p class="BP"&gt;The initial control files of an Oracle database are created when you issue the &lt;code&gt;CREATE DATABASE&lt;/code&gt; statement. The names of the control files are specified by the &lt;code&gt;CONTROL_FILES&lt;/code&gt; parameter in the initialization parameter file used during database creation. The filenames specified in &lt;code&gt;CONTROL_FILES&lt;/code&gt; should be fully specified and are operating system specific. The following is an example of a &lt;code&gt;CONTROL_FILES&lt;/code&gt; initialization parameter:&lt;/p&gt;  &lt;pre class="CE"&gt;&lt;a name="4448"&gt;&lt;/a&gt;CONTROL_FILES = (/u01/oracle/prod/control01.ctl,&lt;br /&gt;&lt;a name="4460"&gt;&lt;/a&gt;                 /u02/oracle/prod/control02.ctl,&lt;br /&gt;&lt;a name="4446"&gt;&lt;/a&gt;                 /u03/oracle/prod/control03.ctl)&lt;br /&gt;&lt;a name="6068"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt;  &lt;a name="427"&gt;&lt;/a&gt;   &lt;p class="BP"&gt;If files with the specified names currently exist at the time of database creation, you must specify the &lt;code&gt;CONTROLFILE REUSE&lt;/code&gt; clause in the &lt;code&gt;CREATE DATABASE&lt;/code&gt; statement, or else an error occurs. Also, if the size of the old control file differs from the &lt;code&gt;SIZE&lt;/code&gt; parameter of the new one, you cannot use the &lt;code&gt;REUSE&lt;/code&gt; option.&lt;/p&gt;  &lt;a name="4411"&gt;&lt;/a&gt;   &lt;p class="BP"&gt;The size of the control file changes between some releases of Oracle, as well as when the number of files specified in the control file changes. Configuration parameters such as &lt;code&gt;MAXLOGFILES&lt;/code&gt;, &lt;code&gt;MAXLOGMEMBERS&lt;/code&gt;, &lt;code&gt;MAXLOGHISTORY&lt;/code&gt;, &lt;code&gt;MAXDATAFILES&lt;/code&gt;, and &lt;code&gt;MAXINSTANCES&lt;/code&gt; affect control file size.&lt;/p&gt;  &lt;a name="4667"&gt;&lt;/a&gt;   &lt;p class="BP"&gt;You can subsequently change the value of the &lt;code&gt;CONTROL_FILES&lt;/code&gt; initialization parameter to add more control files or to change the names or locations of existing control files.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-2295501228868620761?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/2295501228868620761/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=2295501228868620761' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/2295501228868620761'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/2295501228868620761'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/creating-control-files.html' title='Creating Control Files'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-233109615457252108</id><published>2008-09-21T08:12:00.000-07:00</published><updated>2008-09-21T08:14:48.299-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Size of Control Files'/><title type='text'>Size of Control Files</title><content type='html'>&lt;h3 style="font-family: courier new; font-weight: normal;" class="H2"&gt;&lt;span style="font-size:100%;"&gt;The main determinants of a control file's size are the values set for the &lt;code style="font-weight: bold;"&gt;MAXDATAFILES&lt;/code&gt;&lt;span style="font-weight: bold;"&gt;, &lt;/span&gt;&lt;code style="font-weight: bold;"&gt;MAXLOGFILES&lt;/code&gt;&lt;span style="font-weight: bold;"&gt;, &lt;/span&gt;&lt;code style="font-weight: bold;"&gt;MAXLOGMEMBERS&lt;/code&gt;&lt;span style="font-weight: bold;"&gt;, &lt;/span&gt;&lt;code style="font-weight: bold;"&gt;MAXLOGHISTORY&lt;/code&gt;&lt;span style="font-weight: bold;"&gt;, and &lt;/span&gt;&lt;code style="font-weight: bold;"&gt;MAXINSTANCES&lt;/code&gt;&lt;code style="font-weight: bold;"&gt;CREATE DATABASE&lt;/code&gt;&lt;span style="font-weight: bold;"&gt; statement that created the associated database.&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3 style="font-family: courier new; font-weight: normal;" class="H2"&gt;&lt;span style="font-size:100%;"&gt;Increasing the values of these parameters increases the size of a control file of the associated database.&lt;/span&gt;&lt;/h3&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-233109615457252108?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/233109615457252108/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=233109615457252108' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/233109615457252108'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/233109615457252108'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/size-of-control-files.html' title='Size of Control Files'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-2228104868174958198</id><published>2008-09-21T08:09:00.000-07:00</published><updated>2008-09-21T08:12:38.395-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='multiplexed control files'/><title type='text'>Multiplexed control files</title><content type='html'>&lt;p class="BP"&gt;Every Oracle database should have &lt;em style="font-weight: bold;" class="Italic"&gt;at least&lt;/em&gt;&lt;span style="font-weight: bold;"&gt; two control files&lt;/span&gt;,&lt;span style="font-weight: bold;"&gt; each stored on a different disk&lt;/span&gt;. If a control file is damaged due to a disk failure, the associated instance must be shut down. Once the disk drive is repaired, the damaged control file can be restored using the intact copy of the control file from the other disk and the instance can be restarted. In this case, no media recovery is required.&lt;/p&gt;  &lt;a name="344"&gt;&lt;/a&gt;   &lt;p class="BP"&gt;The following describes the behavior of multiplexed control files:&lt;/p&gt;  &lt;ul class="LB1"&gt;&lt;li class="LB1" type="disc"&gt;&lt;a name="346"&gt;&lt;/a&gt;Oracle &lt;em class="Italic"&gt;writes&lt;/em&gt; to all filenames listed for the initialization parameter &lt;code&gt;CONTROL_FILES&lt;/code&gt; in the database's initialization parameter file.&lt;/li&gt;&lt;li class="LB1" type="disc"&gt;&lt;a name="348"&gt;&lt;/a&gt;The first file listed in the &lt;code&gt;CONTROL_FILES&lt;/code&gt; parameter is the only file &lt;em class="Italic"&gt;read&lt;/em&gt; by the Oracle database server during database operation.&lt;/li&gt;&lt;li class="LB1" type="disc"&gt;&lt;a name="350"&gt;&lt;/a&gt;If any of the control files become unavailable during database operation, the instance becomes inoperable and should be aborted. &lt;p&gt;&lt;a name="3543"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div align="center"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-2228104868174958198?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/2228104868174958198/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=2228104868174958198' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/2228104868174958198'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/2228104868174958198'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/multiplexed-control-files.html' title='Multiplexed control files'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-881485656077088196</id><published>2008-09-21T08:07:00.000-07:00</published><updated>2008-09-21T08:08:25.679-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Control Files Init.ora parameter'/><title type='text'>Control Files Init.ora parameter</title><content type='html'>You specify control file names using the &lt;code&gt;CONTROL_FILES&lt;/code&gt; initialization parameter in the database's initialization parameter file.&lt;br /&gt;&lt;br /&gt;The instance startup procedure recognizes and opens all the listed files. The instance writes to and maintains all listed control files during database operation.  &lt;a name="4586"&gt;&lt;/a&gt;   &lt;p class="BP"&gt;If you do not specify files for &lt;code&gt;CONTROL_FILES&lt;/code&gt; before database creation, &lt;em class="Italic"&gt;and you are not using the Oracle Managed Files&lt;/em&gt; feature, Oracle creates a control file and uses a default filename. The default name is operating system specific.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-881485656077088196?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/881485656077088196/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=881485656077088196' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/881485656077088196'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/881485656077088196'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/control-files-initora-parameter.html' title='Control Files Init.ora parameter'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-3939405641245414271</id><published>2008-09-21T08:04:00.000-07:00</published><updated>2008-09-21T08:05:29.657-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Control file'/><title type='text'>Oracle Control file</title><content type='html'>A control file is a small binary file that records the physical structure of the database and includes:  &lt;ul class="LB1"&gt;&lt;li class="LB1" type="disc"&gt;&lt;a name="3697"&gt;&lt;/a&gt;The database name&lt;/li&gt;&lt;li class="LB1" type="disc"&gt;&lt;a name="3698"&gt;&lt;/a&gt;Names and locations of associated datafiles and online redo log files&lt;/li&gt;&lt;li class="LB1" type="disc"&gt;&lt;a name="3699"&gt;&lt;/a&gt;The timestamp of the database creation&lt;/li&gt;&lt;li class="LB1" type="disc"&gt;&lt;a name="3700"&gt;&lt;/a&gt;The current log sequence number&lt;/li&gt;&lt;li class="LB1" type="disc"&gt;&lt;a name="3701"&gt;&lt;/a&gt;Checkpoint information&lt;/li&gt;&lt;/ul&gt;The control file must be available for writing by the Oracle database server whenever the database is open. Without the control file, the database cannot be mounted and recovery is difficult.  &lt;a name="3691"&gt;&lt;/a&gt;   &lt;p class="BP"&gt;The control file of an Oracle database is created at the same time as the database. By default, at least one copy of the control file is created during database creation. On some operating systems the default is to create multiple copies. You should create two or more copies of the control file during database creation. You might also need to create control files later, if you lose control files or want to change particular settings in the control files.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-3939405641245414271?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/3939405641245414271/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=3939405641245414271' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/3939405641245414271'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/3939405641245414271'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/oracle-control-file.html' title='Oracle Control file'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-1296678764725660717</id><published>2008-09-21T07:54:00.000-07:00</published><updated>2008-09-21T07:55:07.871-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Datafile Backups'/><title type='text'>Datafile Backups</title><content type='html'>&lt;span class="bodycopy"&gt;&lt;span class="parahead2Itali"&gt;Datafile Backups&lt;/span&gt;&lt;br /&gt;  A datafile backup is a backup of a single datafile. Datafile backups, which    are not as common as tablespace backups and are only valid if the database is    run in ARCHIVELOG mode. The only time a datafile backup is valid for a database    running in NOARCHIVELOG mode is if that datafile is the only file in a tablespace.    For example, the backup is a tablespace backup, but the tablespace only contains    one file and is read-only or offline-normal. &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-1296678764725660717?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/1296678764725660717/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=1296678764725660717' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/1296678764725660717'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/1296678764725660717'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/datafile-backups.html' title='Datafile Backups'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-5297136440594640692</id><published>2008-09-21T07:46:00.000-07:00</published><updated>2008-09-21T07:50:12.796-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Datafile backup - part1'/><title type='text'>Oracle Datafile backup - part1</title><content type='html'>&lt;span class="bodycopy"&gt;&lt;p&gt;&lt;span style="font-weight: bold;" class="parahead2"&gt;KEY DATA STRUCTURES FOR BACKUP AND RECOVERY &lt;/span&gt;&lt;br /&gt; Before users begin to think seriously about backup and recovery strategy, the    physical data structures relevant for backup and recovery operations must be    identified. This section discusses the following physical data structures:&lt;/p&gt;&lt;span style="text-decoration: underline;"&gt;Datafiles&lt;br /&gt;Control Files&lt;br /&gt;Online Redo Log Files&lt;br /&gt;Archived Redo Log Files&lt;br /&gt;Automatic Managed Undo&lt;br /&gt;&lt;/span&gt; &lt;p&gt;&lt;span class="parahead2"&gt;&lt;a name="datafiles"&gt;&lt;/a&gt;DATAFILES&lt;/span&gt;&lt;br /&gt; Every Oracle database has one or more physical datafiles that belong to logical    structures called tablespaces. The datafile is divided into smaller units called    data blocks. The data of logical database structures, such as tables and indexes,    is physically located in the blocks of the datafiles allocated for a database.    Datafiles hold the following characteristics:&lt;/p&gt; &lt;ul&gt;&lt;li&gt; User-defined characteristics allow datafiles to automatically extend when      the database runs out of space.&lt;/li&gt;&lt;li&gt; One or more physical datafiles form a logical database storage unit called      a tablespace.&lt;/li&gt;&lt;/ul&gt; &lt;p&gt; The first block of every datafile is the header. &lt;span style="font-weight: bold;"&gt;The header includes important    information such as file size, block size, tablespace, and creation timestamp.    Whenever the database is opened, Oracle checks to see that the datafile header    information matches the information stored in the control file. If it does not,    then recovery is necessary. Oracle reads the data in a datafile during normal    operation and stores it in the buffer cache. For example, assume that a user    wants to access some data in a table. If the requested information is not already    in the buffer cache, Oracle reads it from the appropriate datafiles and stores    it in memory. &lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-5297136440594640692?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/5297136440594640692/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=5297136440594640692' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/5297136440594640692'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/5297136440594640692'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/oracle-datafile-backup-part1.html' title='Oracle Datafile backup - part1'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-7422098199891278566</id><published>2008-09-21T07:43:00.000-07:00</published><updated>2008-09-21T07:44:26.687-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='v$datafile_header view'/><title type='text'>v$datafile_header view</title><content type='html'>&lt;p&gt;This view displays datafile information from the datafile headers.&lt;/p&gt;   &lt;table class="InformalWideMax" title="V$DATAFILE_HEADER" summary="This table is described in the preceding text" dir="ltr" rules="groups" width="100%" border="1" cellpadding="3" cellspacing="0" frame="hsides"&gt;&lt;thead&gt; &lt;tr valign="top" align="left"&gt; &lt;th id="r1c1-t95" valign="bottom" align="left"&gt;Column&lt;/th&gt; &lt;th id="r1c2-t95" valign="bottom" align="left"&gt;Datatype&lt;/th&gt; &lt;th id="r1c3-t95" valign="bottom" align="left"&gt;Description&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r2c1-t95" headers="r1c1-t95" align="left"&gt;&lt;code&gt;FILE#&lt;/code&gt;&lt;/td&gt; &lt;td headers="r2c1-t95 r1c2-t95" align="left"&gt;&lt;code&gt;NUMBER&lt;/code&gt;&lt;/td&gt; &lt;td headers="r2c1-t95 r1c3-t95" align="left"&gt;Datafile number (from control file)&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r3c1-t95" headers="r1c1-t95" align="left"&gt;&lt;code&gt;STATUS&lt;/code&gt;&lt;/td&gt; &lt;td headers="r3c1-t95 r1c2-t95" align="left"&gt;&lt;code&gt;VARCHAR2(7)&lt;/code&gt;&lt;/td&gt; &lt;td headers="r3c1-t95 r1c3-t95" align="left"&gt;&lt;code&gt;ONLINE&lt;/code&gt; | &lt;code&gt;OFFLINE&lt;/code&gt; (from control file)&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r4c1-t95" headers="r1c1-t95" align="left"&gt;&lt;code&gt;ERROR&lt;/code&gt;&lt;/td&gt; &lt;td headers="r4c1-t95 r1c2-t95" align="left"&gt;&lt;code&gt;VARCHAR2(18)&lt;/code&gt;&lt;/td&gt; &lt;td headers="r4c1-t95 r1c3-t95" align="left"&gt;NULL if the datafile header read and validation were successful. If the read failed then the rest of the columns are NULL. If the validation failed then the rest of columns may display invalid data. If there is an error then usually the datafile must be restored from a backup before it can be recovered or used.&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r5c1-t95" headers="r1c1-t95" align="left"&gt;&lt;code&gt;FORMAT&lt;/code&gt;&lt;/td&gt; &lt;td headers="r5c1-t95 r1c2-t95" align="left"&gt;&lt;code&gt;NUMBER&lt;/code&gt;&lt;/td&gt; &lt;td headers="r5c1-t95 r1c3-t95" align="left"&gt;Indicates the format for the header block. The possible values are &lt;code&gt;6,&lt;/code&gt; &lt;code&gt;7&lt;/code&gt;, &lt;code&gt;8&lt;/code&gt;, or &lt;code&gt;0&lt;/code&gt;. &lt;p&gt;&lt;code&gt;6&lt;/code&gt; - indicates Oracle Version 6&lt;/p&gt; &lt;p&gt;&lt;code&gt;7&lt;/code&gt; - indicates Oracle Version 7&lt;/p&gt; &lt;p&gt;&lt;code&gt;8&lt;/code&gt; - indicates Oracle Version 8&lt;/p&gt; &lt;p&gt;&lt;code&gt;0&lt;/code&gt; - indicates the format could not be determined (for example, the header could not be read)&lt;/p&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r6c1-t95" headers="r1c1-t95" align="left"&gt;&lt;code&gt;RECOVER&lt;/code&gt;&lt;/td&gt; &lt;td headers="r6c1-t95 r1c2-t95" align="left"&gt;&lt;code&gt;VARCHAR2(3)&lt;/code&gt;&lt;/td&gt; &lt;td headers="r6c1-t95 r1c3-t95" align="left"&gt;File needs media recovery (&lt;code&gt;YES&lt;/code&gt; | &lt;code&gt;NO&lt;/code&gt;)&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r7c1-t95" headers="r1c1-t95" align="left"&gt;&lt;code&gt;FUZZY&lt;/code&gt;&lt;/td&gt; &lt;td headers="r7c1-t95 r1c2-t95" align="left"&gt;&lt;code&gt;VARCHAR2(3)&lt;/code&gt;&lt;/td&gt; &lt;td headers="r7c1-t95 r1c3-t95" align="left"&gt;File is fuzzy (&lt;code&gt;YES&lt;/code&gt; | &lt;code&gt;NO&lt;/code&gt;)&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r8c1-t95" headers="r1c1-t95" align="left"&gt;&lt;code&gt;CREATION_CHANGE#&lt;/code&gt;&lt;/td&gt; &lt;td headers="r8c1-t95 r1c2-t95" align="left"&gt;&lt;code&gt;NUMBER&lt;/code&gt;&lt;/td&gt; &lt;td headers="r8c1-t95 r1c3-t95" align="left"&gt;Datafile creation change#&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r9c1-t95" headers="r1c1-t95" align="left"&gt;&lt;code&gt;CREATION_TIME&lt;/code&gt;&lt;/td&gt; &lt;td headers="r9c1-t95 r1c2-t95" align="left"&gt;&lt;code&gt;DATE&lt;/code&gt;&lt;/td&gt; &lt;td headers="r9c1-t95 r1c3-t95" align="left"&gt;Datafile creation timestamp&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r10c1-t95" headers="r1c1-t95" align="left"&gt;&lt;code&gt;TABLESPACE_NAME&lt;/code&gt;&lt;/td&gt; &lt;td headers="r10c1-t95 r1c2-t95" align="left"&gt;&lt;code&gt;VARCHAR2(30)&lt;/code&gt;&lt;/td&gt; &lt;td headers="r10c1-t95 r1c3-t95" align="left"&gt;Tablespace name&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r11c1-t95" headers="r1c1-t95" align="left"&gt;&lt;code&gt;TS#&lt;/code&gt;&lt;/td&gt; &lt;td headers="r11c1-t95 r1c2-t95" align="left"&gt;&lt;code&gt;NUMBER&lt;/code&gt;&lt;/td&gt; &lt;td headers="r11c1-t95 r1c3-t95" align="left"&gt;Tablespace number&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r12c1-t95" headers="r1c1-t95" align="left"&gt;&lt;code&gt;RFILE#&lt;/code&gt;&lt;/td&gt; &lt;td headers="r12c1-t95 r1c2-t95" align="left"&gt;&lt;code&gt;NUMBER&lt;/code&gt;&lt;/td&gt; &lt;td headers="r12c1-t95 r1c3-t95" align="left"&gt;Tablespace relative datafile number&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r13c1-t95" headers="r1c1-t95" align="left"&gt;&lt;code&gt;RESETLOGS_CHANGE#&lt;/code&gt;&lt;/td&gt; &lt;td headers="r13c1-t95 r1c2-t95" align="left"&gt;&lt;code&gt;NUMBER&lt;/code&gt;&lt;/td&gt; &lt;td headers="r13c1-t95 r1c3-t95" align="left"&gt;Resetlogs change#&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r14c1-t95" headers="r1c1-t95" align="left"&gt;&lt;code&gt;RESETLOGS_TIME&lt;/code&gt;&lt;/td&gt; &lt;td headers="r14c1-t95 r1c2-t95" align="left"&gt;&lt;code&gt;DATE&lt;/code&gt;&lt;/td&gt; &lt;td headers="r14c1-t95 r1c3-t95" align="left"&gt;Resetlogs timestamp&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r15c1-t95" headers="r1c1-t95" align="left"&gt;&lt;code&gt;CHECKPOINT_CHANGE#&lt;/code&gt;&lt;/td&gt; &lt;td headers="r15c1-t95 r1c2-t95" align="left"&gt;&lt;code&gt;NUMBER&lt;/code&gt;&lt;/td&gt; &lt;td headers="r15c1-t95 r1c3-t95" align="left"&gt;Datafile checkpoint change#&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r16c1-t95" headers="r1c1-t95" align="left"&gt;&lt;code&gt;CHECKPOINT_TIME&lt;/code&gt;&lt;/td&gt; &lt;td headers="r16c1-t95 r1c2-t95" align="left"&gt;&lt;code&gt;DATE&lt;/code&gt;&lt;/td&gt; &lt;td headers="r16c1-t95 r1c3-t95" align="left"&gt;Datafile checkpoint timestamp&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r17c1-t95" headers="r1c1-t95" align="left"&gt;&lt;code&gt;CHECKPOINT_COUNT&lt;/code&gt;&lt;/td&gt; &lt;td headers="r17c1-t95 r1c2-t95" align="left"&gt;&lt;code&gt;NUMBER&lt;/code&gt;&lt;/td&gt; &lt;td headers="r17c1-t95 r1c3-t95" align="left"&gt;Datafile checkpoint count&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r18c1-t95" headers="r1c1-t95" align="left"&gt;&lt;code&gt;BYTES&lt;/code&gt;&lt;/td&gt; &lt;td headers="r18c1-t95 r1c2-t95" align="left"&gt;&lt;code&gt;NUMBER&lt;/code&gt;&lt;/td&gt; &lt;td headers="r18c1-t95 r1c3-t95" align="left"&gt;Current datafile size in bytes&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r19c1-t95" headers="r1c1-t95" align="left"&gt;&lt;code&gt;BLOCKS&lt;/code&gt;&lt;/td&gt; &lt;td headers="r19c1-t95 r1c2-t95" align="left"&gt;&lt;code&gt;NUMBER&lt;/code&gt;&lt;/td&gt; &lt;td headers="r19c1-t95 r1c3-t95" align="left"&gt;Current datafile size in blocks&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r20c1-t95" headers="r1c1-t95" align="left"&gt;&lt;code&gt;NAME&lt;/code&gt;&lt;/td&gt; &lt;td headers="r20c1-t95 r1c2-t95" align="left"&gt;&lt;code&gt;VARCHAR2(513)&lt;/code&gt;&lt;/td&gt; &lt;td headers="r20c1-t95 r1c3-t95" align="left"&gt;Datafile name&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r21c1-t95" headers="r1c1-t95" align="left"&gt;&lt;code&gt;SPACE_HEADER&lt;/code&gt;&lt;/td&gt; &lt;td headers="r21c1-t95 r1c2-t95" align="left"&gt;&lt;code&gt;VARCHAR2(40)&lt;/code&gt;&lt;/td&gt; &lt;td headers="r21c1-t95 r1c3-t95" align="left"&gt;The amount of space currently being used and the amount that is free, as identified in the space header&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r22c1-t95" headers="r1c1-t95" align="left"&gt;&lt;code&gt;LAST_DEALLOC_SCN&lt;/code&gt;&lt;/td&gt; &lt;td headers="r22c1-t95 r1c2-t95" align="left"&gt;&lt;code&gt;VARCHAR2(16)&lt;/code&gt;&lt;/td&gt; &lt;td headers="r22c1-t95 r1c3-t95" align="left"&gt;Last deallocated SCN&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-7422098199891278566?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/7422098199891278566/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=7422098199891278566' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/7422098199891278566'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/7422098199891278566'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/vdatafileheader-view.html' title='v$datafile_header view'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-7526144416865473508</id><published>2008-09-21T07:40:00.000-07:00</published><updated>2008-09-21T07:42:48.611-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='v$datafile view'/><title type='text'>v$datafile view</title><content type='html'>&lt;span style="font-weight: bold;"&gt;This view contains datafile information from the control file.&lt;br /&gt;&lt;/span&gt;&lt;table class="InformalWideMax" title="V$DATAFILE" summary="This table is described in the preceding text" dir="ltr" rules="groups" width="100%" border="1" cellpadding="3" cellspacing="0" frame="hsides"&gt;&lt;tbody&gt;&lt;tr valign="top" align="left"&gt;&lt;td id="r2c1-t93" headers="r1c1-t93" align="left"&gt;&lt;code&gt;FILE#&lt;/code&gt;&lt;/td&gt; &lt;td headers="r2c1-t93 r1c2-t93" align="left"&gt;&lt;code&gt;NUMBER&lt;/code&gt;&lt;/td&gt; &lt;td headers="r2c1-t93 r1c3-t93" align="left"&gt;File identification number&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r3c1-t93" headers="r1c1-t93" align="left"&gt;&lt;code&gt;CREATION_CHANGE#&lt;/code&gt;&lt;/td&gt; &lt;td headers="r3c1-t93 r1c2-t93" align="left"&gt;&lt;code&gt;NUMBER&lt;/code&gt;&lt;/td&gt; &lt;td headers="r3c1-t93 r1c3-t93" align="left"&gt;Change number at which the datafile was created&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r4c1-t93" headers="r1c1-t93" align="left"&gt;&lt;code&gt;CREATION_TIME&lt;/code&gt;&lt;/td&gt; &lt;td headers="r4c1-t93 r1c2-t93" align="left"&gt;&lt;code&gt;DATE&lt;/code&gt;&lt;/td&gt; &lt;td headers="r4c1-t93 r1c3-t93" align="left"&gt;Timestamp of the datafile creation&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r5c1-t93" headers="r1c1-t93" align="left"&gt;&lt;code&gt;TS#&lt;/code&gt;&lt;/td&gt; &lt;td headers="r5c1-t93 r1c2-t93" align="left"&gt;&lt;code&gt;NUMBER&lt;/code&gt;&lt;/td&gt; &lt;td headers="r5c1-t93 r1c3-t93" align="left"&gt;Tablespace number&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r6c1-t93" headers="r1c1-t93" align="left"&gt;&lt;code&gt;RFILE#&lt;/code&gt;&lt;/td&gt; &lt;td headers="r6c1-t93 r1c2-t93" align="left"&gt;&lt;code&gt;NUMBER&lt;/code&gt;&lt;/td&gt; &lt;td headers="r6c1-t93 r1c3-t93" align="left"&gt;Tablespace relative datafile number&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r7c1-t93" headers="r1c1-t93" align="left"&gt;&lt;code&gt;STATUS&lt;/code&gt;&lt;/td&gt; &lt;td headers="r7c1-t93 r1c2-t93" align="left"&gt;&lt;code&gt;VARCHAR2(7)&lt;/code&gt;&lt;/td&gt; &lt;td headers="r7c1-t93 r1c3-t93" align="left"&gt;Type of file (system or user) and its status. Values: &lt;code&gt;OFFLINE&lt;/code&gt;, &lt;code&gt;ONLINE&lt;/code&gt;, &lt;code&gt;SYSTEM&lt;/code&gt;, &lt;code&gt;RECOVER&lt;/code&gt;, &lt;code&gt;SYSOFF&lt;/code&gt; (an offline file from the &lt;code&gt;SYSTEM&lt;/code&gt; tablespace)&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r8c1-t93" headers="r1c1-t93" align="left"&gt;&lt;code&gt;ENABLED&lt;/code&gt;&lt;/td&gt; &lt;td headers="r8c1-t93 r1c2-t93" align="left"&gt;&lt;code&gt;VARCHAR2(10)&lt;/code&gt;&lt;/td&gt; &lt;td headers="r8c1-t93 r1c3-t93" align="left"&gt;Describes how accessible the file is from SQL: &lt;ul&gt;&lt;li type="disc"&gt; &lt;p&gt;&lt;code&gt;DISABLED&lt;/code&gt; - No SQL access allowed&lt;/p&gt; &lt;/li&gt;&lt;li type="disc"&gt; &lt;p&gt;&lt;code&gt;READ ONLY&lt;/code&gt; - No SQL updates allowed&lt;/p&gt; &lt;/li&gt;&lt;li type="disc"&gt; &lt;p&gt;&lt;code&gt;READ WRITE&lt;/code&gt; - Full access allowed&lt;/p&gt; &lt;/li&gt;&lt;li type="disc"&gt; &lt;p&gt;&lt;code&gt;UNKNOWN&lt;/code&gt; - should not occur unless the control file is corrupted&lt;/p&gt; &lt;/li&gt;&lt;/ul&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r9c1-t93" headers="r1c1-t93" align="left"&gt;&lt;code&gt;CHECKPOINT_CHANGE#&lt;/code&gt;&lt;/td&gt; &lt;td headers="r9c1-t93 r1c2-t93" align="left"&gt;&lt;code&gt;NUMBER&lt;/code&gt;&lt;/td&gt; &lt;td headers="r9c1-t93 r1c3-t93" align="left"&gt;SCN at last checkpoint&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r10c1-t93" headers="r1c1-t93" align="left"&gt;&lt;code&gt;CHECKPOINT_TIME&lt;/code&gt;&lt;/td&gt; &lt;td headers="r10c1-t93 r1c2-t93" align="left"&gt;&lt;code&gt;DATE&lt;/code&gt;&lt;/td&gt; &lt;td headers="r10c1-t93 r1c3-t93" align="left"&gt;Timestamp of the checkpoint#&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r11c1-t93" headers="r1c1-t93" align="left"&gt;&lt;code&gt;UNRECOVERABLE_CHANGE#&lt;/code&gt;&lt;/td&gt; &lt;td headers="r11c1-t93 r1c2-t93" align="left"&gt;&lt;code&gt;NUMBER&lt;/code&gt;&lt;/td&gt; &lt;td headers="r11c1-t93 r1c3-t93" align="left"&gt;Last unrecoverable change number made to this datafile. If the database is in &lt;code&gt;ARCHIVELOG&lt;/code&gt; mode, then this column is updated when an unrecoverable operation completes. If the database is not in &lt;code&gt;ARCHIVELOG&lt;/code&gt; mode, this column does not get updated.&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r12c1-t93" headers="r1c1-t93" align="left"&gt;&lt;code&gt;UNRECOVERABLE_TIME&lt;/code&gt;&lt;/td&gt; &lt;td headers="r12c1-t93 r1c2-t93" align="left"&gt;&lt;code&gt;DATE&lt;/code&gt;&lt;/td&gt; &lt;td headers="r12c1-t93 r1c3-t93" align="left"&gt;Timestamp of the last unrecoverable change. This column is updated only if the database is in &lt;code&gt;ARCHIVELOG&lt;/code&gt; mode.&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r13c1-t93" headers="r1c1-t93" align="left"&gt;&lt;code&gt;LAST_CHANGE#&lt;/code&gt;&lt;/td&gt; &lt;td headers="r13c1-t93 r1c2-t93" align="left"&gt;&lt;code&gt;NUMBER&lt;/code&gt;&lt;/td&gt; &lt;td headers="r13c1-t93 r1c3-t93" align="left"&gt;Last change number made to this datafile (null if the datafile is being changed)&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r14c1-t93" headers="r1c1-t93" align="left"&gt;&lt;code&gt;LAST_TIME&lt;/code&gt;&lt;/td&gt; &lt;td headers="r14c1-t93 r1c2-t93" align="left"&gt;&lt;code&gt;DATE&lt;/code&gt;&lt;/td&gt; &lt;td headers="r14c1-t93 r1c3-t93" align="left"&gt;Timestamp of the last change&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r15c1-t93" headers="r1c1-t93" align="left"&gt;&lt;code&gt;OFFLINE_CHANGE#&lt;/code&gt;&lt;/td&gt; &lt;td headers="r15c1-t93 r1c2-t93" align="left"&gt;&lt;code&gt;NUMBER&lt;/code&gt;&lt;/td&gt; &lt;td headers="r15c1-t93 r1c3-t93" align="left"&gt;Offline change number of the last offline range. This column is updated only when the datafile is brought online.&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r16c1-t93" headers="r1c1-t93" align="left"&gt;&lt;code&gt;ONLINE_CHANGE#&lt;/code&gt;&lt;/td&gt; &lt;td headers="r16c1-t93 r1c2-t93" align="left"&gt;&lt;code&gt;NUMBER&lt;/code&gt;&lt;/td&gt; &lt;td headers="r16c1-t93 r1c3-t93" align="left"&gt;Online change number of the last offline range&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r17c1-t93" headers="r1c1-t93" align="left"&gt;&lt;code&gt;ONLINE_TIME&lt;/code&gt;&lt;/td&gt; &lt;td headers="r17c1-t93 r1c2-t93" align="left"&gt;&lt;code&gt;DATE&lt;/code&gt;&lt;/td&gt; &lt;td headers="r17c1-t93 r1c3-t93" align="left"&gt;Online timestamp of the last offline range&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r18c1-t93" headers="r1c1-t93" align="left"&gt;&lt;code&gt;BYTES&lt;/code&gt;&lt;/td&gt; &lt;td headers="r18c1-t93 r1c2-t93" align="left"&gt;&lt;code&gt;NUMBER&lt;/code&gt;&lt;/td&gt; &lt;td headers="r18c1-t93 r1c3-t93" align="left"&gt;Current datafile size (in bytes); &lt;code&gt;0&lt;/code&gt; if inaccessible&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r19c1-t93" headers="r1c1-t93" align="left"&gt;&lt;code&gt;BLOCKS&lt;/code&gt;&lt;/td&gt; &lt;td headers="r19c1-t93 r1c2-t93" align="left"&gt;&lt;code&gt;NUMBER&lt;/code&gt;&lt;/td&gt; &lt;td headers="r19c1-t93 r1c3-t93" align="left"&gt;Current datafile size (in blocks); 0 if inaccessible&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r20c1-t93" headers="r1c1-t93" align="left"&gt;&lt;code&gt;CREATE_BYTES&lt;/code&gt;&lt;/td&gt; &lt;td headers="r20c1-t93 r1c2-t93" align="left"&gt;&lt;code&gt;NUMBER&lt;/code&gt;&lt;/td&gt; &lt;td headers="r20c1-t93 r1c3-t93" align="left"&gt;Size when created (in bytes)&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r21c1-t93" headers="r1c1-t93" align="left"&gt;&lt;code&gt;BLOCK_SIZE&lt;/code&gt;&lt;/td&gt; &lt;td headers="r21c1-t93 r1c2-t93" align="left"&gt;&lt;code&gt;NUMBER&lt;/code&gt;&lt;/td&gt; &lt;td headers="r21c1-t93 r1c3-t93" align="left"&gt;Block size of the datafile&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r22c1-t93" headers="r1c1-t93" align="left"&gt;&lt;code&gt;NAME&lt;/code&gt;&lt;/td&gt; &lt;td headers="r22c1-t93 r1c2-t93" align="left"&gt;&lt;code&gt;VARCHAR2(513)&lt;/code&gt;&lt;/td&gt; &lt;td headers="r22c1-t93 r1c3-t93" align="left"&gt;Name of the datafile&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r23c1-t93" headers="r1c1-t93" align="left"&gt;&lt;code&gt;PLUGGED_IN&lt;/code&gt;&lt;/td&gt; &lt;td headers="r23c1-t93 r1c2-t93" align="left"&gt;&lt;code&gt;NUMBER&lt;/code&gt;&lt;/td&gt; &lt;td headers="r23c1-t93 r1c3-t93" align="left"&gt;Describes whether the tablespace is plugged in. The value is &lt;code&gt;1&lt;/code&gt; if the tablespace is plugged in and has not been made read/write, &lt;code&gt;0&lt;/code&gt; if not.&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r24c1-t93" headers="r1c1-t93" align="left"&gt;&lt;code&gt;BLOCK1_OFFSET&lt;/code&gt;&lt;/td&gt; &lt;td headers="r24c1-t93 r1c2-t93" align="left"&gt;&lt;code&gt;NUMBER&lt;/code&gt;&lt;/td&gt; &lt;td headers="r24c1-t93 r1c3-t93" align="left"&gt;Offset from the beginning of the file to where the Oracle generic information begins. The exact length of the file can be computed as follows: &lt;code&gt;BYTES + BLOCK1_OFFSET&lt;/code&gt;.&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r25c1-t93" headers="r1c1-t93" align="left"&gt;&lt;code&gt;AUX_NAME&lt;/code&gt;&lt;/td&gt; &lt;td headers="r25c1-t93 r1c2-t93" align="left"&gt;&lt;code&gt;VARCHAR2(513)&lt;/code&gt;&lt;/td&gt; &lt;td headers="r25c1-t93 r1c3-t93" align="left"&gt;Auxiliary name that has been set for this file via &lt;code&gt;CONFIGURE AUXNAME&lt;/code&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r26c1-t93" headers="r1c1-t93" align="left"&gt;&lt;code&gt;FIRST_NONLOGGED_SCN&lt;/code&gt;&lt;/td&gt; &lt;td headers="r26c1-t93 r1c2-t93" align="left"&gt;&lt;code&gt;NUMBER&lt;/code&gt;&lt;/td&gt; &lt;td headers="r26c1-t93 r1c3-t93" align="left"&gt;First nonlogged SCN&lt;/td&gt; &lt;/tr&gt; &lt;tr valign="top" align="left"&gt; &lt;td id="r27c1-t93" headers="r1c1-t93" align="left"&gt;&lt;code&gt;FIRST_NONLOGGED_TIME&lt;/code&gt;&lt;/td&gt; &lt;td headers="r27c1-t93 r1c2-t93" align="left"&gt;&lt;code&gt;DATE&lt;/code&gt;&lt;/td&gt; &lt;td headers="r27c1-t93 r1c3-t93" align="left"&gt;First nonlogged time&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-7526144416865473508?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/7526144416865473508/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=7526144416865473508' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/7526144416865473508'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/7526144416865473508'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/vdatafile-view.html' title='v$datafile view'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-4331562834832125743</id><published>2008-09-21T07:37:00.001-07:00</published><updated>2008-09-21T07:37:21.809-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Renaming and Relocating Datafiles for Multiple Tablespaces'/><title type='text'>Renaming and Relocating Datafiles for Multiple Tablespaces</title><content type='html'>&lt;a name="7626"&gt;&lt;/a&gt;   &lt;p class="BP"&gt;You can rename and relocate datafiles of one or more tablespaces using &lt;code&gt;ALTER DATABASE&lt;/code&gt; statement with the &lt;code&gt;RENAME FILE&lt;/code&gt; clause. This option is the only choice if you want to rename or relocate datafiles of several tablespaces in one operation, or rename or relocate datafiles of the &lt;code&gt;SYSTEM&lt;/code&gt; tablespace. If the database must remain open, consider instead the procedure outlined in the previous section.&lt;/p&gt;  &lt;a name="7628"&gt;&lt;/a&gt;   &lt;p class="BP"&gt;To rename datafiles of several tablespaces in one operation or to rename datafiles of the &lt;code&gt;SYSTEM&lt;/code&gt; tablespace, you must have the &lt;code&gt;ALTER DATABASE&lt;/code&gt; system privilege.&lt;/p&gt;  &lt;a name="7629"&gt;&lt;/a&gt;   &lt;p class="BP"&gt;To rename datafiles in multiple tablespaces, follow these steps.&lt;/p&gt;  &lt;ol class="LN1" type="1"&gt;&lt;li value="1" class="LN1" type="1"&gt;&lt;a name="7630"&gt;&lt;/a&gt;Ensure that the database is mounted but closed.&lt;/li&gt;&lt;li class="LN1" value="2" type="1"&gt;&lt;a name="7631"&gt;&lt;/a&gt;Copy the datafiles to be renamed to their new locations and new names, using the operating system.&lt;/li&gt;&lt;li class="LN1" value="3" type="1"&gt;&lt;a name="7633"&gt;&lt;/a&gt;Use &lt;code&gt;ALTER DATABASE&lt;/code&gt; to rename the file pointers in the database's control file.   &lt;p&gt;&lt;a name="7634"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p class="BP1"&gt;For example, the following statement renames the datafiles/u02/oracle/rbdb1/sort01.dbf and /u02/oracle/rbdb1/user3.dbf to /u02/oracle/rbdb1/temp01.dbf and /u02/oracle/rbdb1/users03.dbf, respectively:&lt;/p&gt;  &lt;pre class="CE1"&gt;&lt;a name="7635"&gt;&lt;/a&gt;ALTER DATABASE&lt;br /&gt;&lt;a name="7636"&gt;&lt;/a&gt;    RENAME FILE '/u02/oracle/rbdb1/sort01.dbf',&lt;br /&gt;&lt;a name="7637"&gt;&lt;/a&gt;                '/u02/oracle/rbdb1/user3.dbf'&lt;br /&gt;&lt;a name="7638"&gt;&lt;/a&gt;             TO '/u02/oracle/rbdb1/temp01.dbf',&lt;br /&gt;&lt;a name="7639"&gt;&lt;/a&gt;                '/u02/oracle/rbdb1/users03.dbf;&lt;br /&gt;&lt;a name="7640"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt;  &lt;a name="16258"&gt;&lt;/a&gt;   &lt;p class="BP1"&gt;The new files must already exist; this statement does not create the files. Also, always provide complete filenames (including their paths) to properly identify the old and new datafiles. In particular, specify the old datafile name exactly as it appears in the &lt;code&gt;DBA_DATA_FILES&lt;/code&gt; view of the data dictionary.&lt;/p&gt; &lt;/li&gt;&lt;li class="LN1" value="4" type="1"&gt;&lt;a name="16259"&gt;&lt;/a&gt;Back up the database. After making any structural changes to a database, always perform an immediate and complete backup.&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-4331562834832125743?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/4331562834832125743/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=4331562834832125743' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/4331562834832125743'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/4331562834832125743'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/renaming-and-relocating-datafiles-for_21.html' title='Renaming and Relocating Datafiles for Multiple Tablespaces'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-8568093759824443293</id><published>2008-09-21T07:34:00.000-07:00</published><updated>2008-09-21T07:35:36.600-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Relocating and Renaming Datafiles in a Single Tablespace'/><title type='text'>Relocating and Renaming Datafiles in a Single Tablespace</title><content type='html'>&lt;a name="7583"&gt;&lt;/a&gt;   &lt;p class="BP"&gt;Here is an example that illustrates the steps involved for relocating a datafile.&lt;/p&gt;  &lt;a name="7584"&gt;&lt;/a&gt;   &lt;p class="BP"&gt;Assume the following conditions:&lt;/p&gt;  &lt;ul class="LB1"&gt;&lt;li class="LB1" type="disc"&gt;&lt;a name="7585"&gt;&lt;/a&gt;An open database has a tablespace named &lt;code&gt;users&lt;/code&gt; that is made up of datafiles all located on the same disk.&lt;/li&gt;&lt;li class="LB1" type="disc"&gt;&lt;a name="7586"&gt;&lt;/a&gt;The datafiles of the &lt;code&gt;users&lt;/code&gt; tablespace are to be relocated to different and separate disk drives.&lt;/li&gt;&lt;li class="LB1" type="disc"&gt;&lt;a name="7588"&gt;&lt;/a&gt;You are currently connected with administrator privileges to the open database.&lt;/li&gt;&lt;li class="LB1" type="disc"&gt;&lt;a name="7589"&gt;&lt;/a&gt;You have a current backup of the database.&lt;/li&gt;&lt;/ul&gt;  &lt;a name="7590"&gt;&lt;/a&gt;   &lt;p class="BP"&gt;Complete the following steps:&lt;/p&gt;  &lt;ol class="LN1" type="1"&gt;&lt;li value="1" class="LN1" type="1"&gt;&lt;a name="7591"&gt;&lt;/a&gt;Identify the datafile names of interest.   &lt;p&gt;&lt;a name="7592"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p class="BP1"&gt;The following query of the data dictionary view &lt;code&gt;DBA_DATA_FILES&lt;/code&gt; lists the datafile names and respective sizes (in bytes) of the &lt;code&gt;users&lt;/code&gt; tablespace:&lt;/p&gt;  &lt;pre class="CE1"&gt;&lt;a name="7594"&gt;&lt;/a&gt;SELECT FILE_NAME, BYTES FROM DBA_DATA_FILES&lt;br /&gt;&lt;a name="7595"&gt;&lt;/a&gt;WHERE TABLESPACE_NAME = 'USERS';&lt;br /&gt;&lt;a name="7596"&gt;&lt;/a&gt;&lt;br /&gt;&lt;a name="7597"&gt;&lt;/a&gt;FILE_NAME                                  BYTES&lt;br /&gt;&lt;a name="7598"&gt;&lt;/a&gt;------------------------------------------ ----------------&lt;br /&gt;&lt;a name="7599"&gt;&lt;/a&gt;/U02/ORACLE/RBDB1/USERS01.DBF              102400000&lt;br /&gt;&lt;a name="7600"&gt;&lt;/a&gt;/U02/ORACLE/RBDB1/USERS02.DBF              102400000&lt;br /&gt;&lt;a name="7601"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt; &lt;/li&gt;&lt;li class="LN1" value="2" type="1"&gt;&lt;a name="7602"&gt;&lt;/a&gt;Take the tablespace containing the datafiles offline, or shut down the database and restart and mount it, leaving it closed. Either option closes the datafiles of the tablespace.&lt;/li&gt;&lt;li class="LN1" value="3" type="1"&gt;&lt;a name="7603"&gt;&lt;/a&gt;Copy the datafiles to their new locations and rename them using the operating system.   &lt;p&gt;&lt;a name="7608"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div align="center"&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style="font-weight: bold;" class="LN1" value="3" type="1"&gt;You can execute an operating system command to copy a file by using the SQL*Plus &lt;code&gt;HOST&lt;/code&gt; command.&lt;/li&gt;&lt;li class="LN1" value="4" type="1"&gt;&lt;a name="7609"&gt;&lt;/a&gt;Rename the datafiles within Oracle.   &lt;p&gt;&lt;a name="7610"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p class="BP1"&gt;The datafile pointers for the files that make up the &lt;code&gt;users&lt;/code&gt; tablespace, recorded in the control file of the associated database, must now be changed from the old names to the new names.&lt;/p&gt;  &lt;a name="7611"&gt;&lt;/a&gt;   &lt;p class="BP1"&gt;If the tablespace is offline but the database is open, use the &lt;code&gt;ALTER TABLESPACE ... RENAME DATAFILE&lt;/code&gt; statement. If the database is mounted but closed, use the &lt;code&gt;ALTER DATABASE ... RENAME FILE&lt;/code&gt; statement.&lt;/p&gt;  &lt;pre class="CE1"&gt;&lt;a name="7612"&gt;&lt;/a&gt;ALTER TABLESPACE users&lt;br /&gt;&lt;a name="7613"&gt;&lt;/a&gt;    RENAME DATAFILE '/u02/oracle/rbdb1/users01.dbf',&lt;br /&gt;&lt;a name="7614"&gt;&lt;/a&gt;                    '/u02/oracle/rbdb1/users02.dbf'&lt;br /&gt;&lt;a name="7615"&gt;&lt;/a&gt;                 TO '/u03/oracle/rbdb1/users01.dbf',&lt;br /&gt;&lt;a name="7616"&gt;&lt;/a&gt;                    '/u04/oracle/rbdb1/users02.dbf';&lt;br /&gt;&lt;a name="7617"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt; &lt;/li&gt;&lt;li class="LN1" value="5" type="1"&gt;&lt;a name="7618"&gt;&lt;/a&gt;Bring the tablespace online, or open the database.   &lt;p&gt;&lt;a name="7619"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p class="BP1"&gt;If the &lt;code&gt;users&lt;/code&gt; tablespace is offline and the database is open, bring the tablespace back online. If the database is mounted but closed, open the database.&lt;/p&gt; &lt;/li&gt;&lt;li class="LN1" value="6" type="1"&gt;&lt;a name="7620"&gt;&lt;/a&gt;Back up the database. After making any structural changes to a database, always perform an immediate and complete backup.&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-8568093759824443293?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/8568093759824443293/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=8568093759824443293' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/8568093759824443293'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/8568093759824443293'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/relocating-and-renaming-datafiles-in.html' title='Relocating and Renaming Datafiles in a Single Tablespace'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-836368507307426262</id><published>2008-09-21T07:32:00.000-07:00</published><updated>2008-09-21T07:33:30.064-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Renaming and Relocating Datafiles for a Single Tablespace'/><title type='text'>Renaming and Relocating Datafiles for a Single Tablespace</title><content type='html'>&lt;h4 class="H3"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;color:#330099;"&gt;Renaming Datafiles in a Single Tablespace&lt;/span&gt;&lt;/h4&gt;  &lt;!--/TOC=h3--&gt; &lt;a name="7564"&gt;&lt;/a&gt;   &lt;p class="BP"&gt;To rename datafiles from a single tablespace, complete the following steps:&lt;/p&gt;  &lt;ol class="LN1" type="1"&gt;&lt;li value="1" class="LN1" type="1"&gt;&lt;a name="7565"&gt;&lt;/a&gt;Take the non-&lt;code&gt;SYSTEM&lt;/code&gt; tablespace that contains the datafiles offline.   &lt;p&gt;&lt;a name="7566"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p class="BP1"&gt;For example:&lt;/p&gt;  &lt;pre class="CE1"&gt;&lt;a name="7567"&gt;&lt;/a&gt;ALTER TABLESPACE users OFFLINE NORMAL;&lt;br /&gt;&lt;a name="7568"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt; &lt;/li&gt;&lt;li class="LN1" value="2" type="1"&gt;&lt;a name="7569"&gt;&lt;/a&gt;Rename the datafiles using the operating system.&lt;/li&gt;&lt;li class="LN1" value="3" type="1"&gt;&lt;a name="7572"&gt;&lt;/a&gt;Use the &lt;code&gt;ALTER TABLESPACE&lt;/code&gt; statement with the &lt;code&gt;RENAME DATAFILE&lt;/code&gt; clause to change the filenames within the database.   &lt;p&gt;&lt;a name="7573"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p class="BP1"&gt;For example, the following statement renames the datafiles /u02/oracle/rbdb1/user1.dbf and /u02/oracle/rbdb1/user2.dbf to/u02/oracle/rbdb1/users01.dbf and /u02/oracle/rbdb1/users02.dbf, respectively:&lt;/p&gt;  &lt;pre class="CE1"&gt;&lt;a name="7574"&gt;&lt;/a&gt;ALTER TABLESPACE users&lt;br /&gt;&lt;a name="7575"&gt;&lt;/a&gt;    RENAME DATAFILE '/u02/oracle/rbdb1/user1.dbf',&lt;br /&gt;&lt;a name="7576"&gt;&lt;/a&gt;                    '/u02/oracle/rbdb1/user2.dbf'&lt;br /&gt;&lt;a name="7577"&gt;&lt;/a&gt;                 TO '/u02/oracle/rbdb1/users01.dbf',&lt;br /&gt;&lt;a name="7578"&gt;&lt;/a&gt;                    '/u02/oracle/rbdb1/users02.dbf';&lt;br /&gt;&lt;a name="7579"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt;  &lt;a name="7580"&gt;&lt;/a&gt;   &lt;p class="BP1"&gt;The new files must already exist; this statement does not create the files. Also, always provide complete filenames (including their paths) to properly identify the old and new datafiles. In particular, specify the old datafile name exactly as it appears in the &lt;code&gt;DBA_DATA_FILES&lt;/code&gt; view of the data dictionary.&lt;/p&gt; &lt;/li&gt;&lt;li class="LN1" value="4" type="1"&gt;&lt;a name="7581"&gt;&lt;/a&gt;Back up the database. After making any structural changes to a database, always perform an immediate and complete backup.&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-836368507307426262?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/836368507307426262/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=836368507307426262' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/836368507307426262'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/836368507307426262'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/renaming-and-relocating-datafiles-for.html' title='Renaming and Relocating Datafiles for a Single Tablespace'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-3036915972469367977</id><published>2008-09-21T07:26:00.000-07:00</published><updated>2008-09-21T07:30:04.043-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Determine the Number of Datafiles'/><title type='text'>Determine the Number of Datafiles</title><content type='html'>&lt;h3 class="H2"&gt;  &lt;a name="7340"&gt;&lt;/a&gt; &lt;!--TOC=h3-"7340"--&gt; &lt;/h3&gt;&lt;a name="7341"&gt;&lt;/a&gt;   &lt;p class="BP"&gt;When starting an Oracle instance, the &lt;code&gt;DB_FILES&lt;/code&gt; initialization parameter indicates the amount of SGA space to reserve for datafile information and thus, the maximum number of datafiles that can be created for the instance. This limit applies for the life of the instance. You can change the value of &lt;code&gt;DB_FILES&lt;/code&gt; (by changing the initialization parameter setting), but the new value does not take effect until you shut down and restart the instance.&lt;/p&gt;  &lt;a name="7346"&gt;&lt;/a&gt;     &lt;a name="7347"&gt;&lt;/a&gt;   &lt;p class="BP"&gt;When determining a value for &lt;code&gt;DB_FILES&lt;/code&gt;, take the following into consideration:&lt;/p&gt;  &lt;ul class="LB1"&gt;&lt;li class="LB1" type="disc"&gt;&lt;a name="7348"&gt;&lt;/a&gt;If the value of &lt;code&gt;DB_FILES&lt;/code&gt; is too low, you cannot add datafiles beyond the &lt;code&gt;DB_FILES&lt;/code&gt; limit without first shutting down the database.&lt;/li&gt;&lt;li class="LB1" type="disc"&gt;&lt;a name="7349"&gt;&lt;/a&gt;If the value of &lt;code&gt;DB_FILES&lt;/code&gt; is too high, memory is unnecessarily consumed.&lt;/li&gt;&lt;/ul&gt;  &lt;a name="7350"&gt;&lt;/a&gt; &lt;!--TOC=h3-"7350"--&gt; &lt;h4 class="H3"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;color:#330099;"&gt;Limitations When Adding Datafiles to a Tablespace&lt;/span&gt;&lt;/h4&gt;  &lt;!--/TOC=h3--&gt; &lt;a name="7351"&gt;&lt;/a&gt;   &lt;p class="BP"&gt;You can add datafiles to tablespaces, subject to the following limitations:&lt;/p&gt;  &lt;ul class="LB1"&gt;&lt;li class="LB1" type="disc"&gt;&lt;a name="7352"&gt;&lt;/a&gt;Operating systems often impose a limit on the number of files a process can open simultaneously. More datafiles cannot be created when the operating system limit of open files is reached.&lt;/li&gt;&lt;li class="LB1" type="disc"&gt;&lt;a name="7353"&gt;&lt;/a&gt;Operating systems impose limits on the number and size of datafiles.&lt;/li&gt;&lt;li class="LB1" type="disc"&gt;&lt;a name="7354"&gt;&lt;/a&gt;Oracle imposes a maximum limit on the number of datafiles for any Oracle database opened by any instance. This limit is operating system specific.&lt;/li&gt;&lt;li class="LB1" type="disc"&gt;&lt;a name="7355"&gt;&lt;/a&gt;You cannot exceed the number of datafiles specified by the &lt;code&gt;DB_FILES&lt;/code&gt; initialization parameter.&lt;/li&gt;&lt;li class="LB1" type="disc"&gt;&lt;a name="7356"&gt;&lt;/a&gt;When you issue &lt;code&gt;CREATE DATABASE&lt;/code&gt; or &lt;code&gt;CREATE CONTROLFILE&lt;/code&gt; statements, the &lt;code&gt;MAXDATAFILES&lt;/code&gt; parameter specifies an initial size of the datafile portion of the control file. However, if you attempt to add a new file whose number is greater than &lt;code&gt;MAXDATAFILES&lt;/code&gt;, but less than or equal to &lt;code&gt;DB_FILES&lt;/code&gt;, the control file will expand automatically so that the datafiles section can accommodate more files.&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-3036915972469367977?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/3036915972469367977/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=3036915972469367977' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/3036915972469367977'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/3036915972469367977'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/determine-number-of-datafiles.html' title='Determine the Number of Datafiles'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-7416501729581814043</id><published>2008-09-21T07:23:00.000-07:00</published><updated>2008-09-21T07:25:26.713-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle datafiles'/><title type='text'>Oracle datafiles</title><content type='html'>Oracle Datafiles are physical files of the operating system that store the data of all logical structures in the database. They must be explicitly created for each tablespace. Oracle assigns each datafile two associated file numbers, &lt;span style="font-weight: bold;"&gt;an absolute file number&lt;/span&gt; and &lt;span style="font-weight: bold;"&gt;a relative file number&lt;/span&gt;, that are used to uniquely identify it.&lt;br /&gt;&lt;p style="font-weight: bold;" class="TB"&gt;Absolute&lt;/p&gt;  &lt;a name="7313"&gt;&lt;/a&gt;   &lt;p class="TB"&gt;Uniquely identifies a datafile in the database. In earlier releases of Oracle, the absolute file number may have been referred to as simply, the "file number."&lt;/p&gt;&lt;p style="font-weight: bold;" class="TB"&gt;Relative&lt;/p&gt;  &lt;a name="7317"&gt;&lt;/a&gt;   &lt;p class="TB"&gt;Uniquely identifies a datafile within a tablespace. For small and medium size databases, relative file numbers usually have the same value as the absolute file number. However, when the number of datafiles in a database exceeds a threshold (typically 1023), the relative file number differs from the absolute file number.&lt;/p&gt;&lt;p class="TB"&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-7416501729581814043?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/7416501729581814043/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=7416501729581814043' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/7416501729581814043'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/7416501729581814043'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/oracle-datafiles.html' title='Oracle datafiles'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-5108823681690086105</id><published>2008-09-21T07:14:00.000-07:00</published><updated>2008-09-21T07:16:19.834-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Startup - Third Stage - Open Database'/><title type='text'>Oracle Startup - Third Stage - Open Database</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Open Database&lt;br /&gt;&lt;/span&gt; &lt;p class="MsoPlainText"&gt;&lt;span style="font-size:100%;"&gt;The third and last startup step for an Oracle database is the &lt;span style="font-weight: bold;"&gt;open  stage&lt;/span&gt;. &lt;span style="font-weight: bold;"&gt;When Oracle opens the database, it accesses all of the datafiles  associated with the database. Once it has accessed the database datafiles,  Oracle makes sure that all of the database datafiles are consistent.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-5108823681690086105?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/5108823681690086105/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=5108823681690086105' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/5108823681690086105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/5108823681690086105'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/oracle-startup-third-stage-open.html' title='Oracle Startup - Third Stage - Open Database'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-6358764841702472447</id><published>2008-09-21T07:12:00.000-07:00</published><updated>2008-09-21T07:13:26.657-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Startup - Second Stage'/><title type='text'>Oracle Startup - Second Stage</title><content type='html'>&lt;p class="MsoPlainText"&gt;&lt;span style="font-size:100%;"&gt;Oracle Startup - Second Stage&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span style="font-size:100%;"&gt;Mount the database&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText"&gt;&lt;span style="font-size:100%;"&gt;When the startup command enters the &lt;span style="font-weight: bold;"&gt;mount stage, it  opens and reads the control file&lt;/span&gt;. The control file is a binary file that tracks  important database information, such as the location of the database datafiles. &lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText"&gt;&lt;span style="font-size:100%;"&gt;I&lt;span style="font-weight: bold;"&gt;n the mount stage, Oracle determines the location of  the datafiles, but does not yet open them. Once the datafile locations have been  identified, the database is ready to be opened.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-6358764841702472447?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/6358764841702472447/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=6358764841702472447' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/6358764841702472447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/6358764841702472447'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/oracle-startup-second-stage.html' title='Oracle Startup - Second Stage'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-172380573210753486</id><published>2008-09-21T07:07:00.000-07:00</published><updated>2008-09-21T07:10:01.511-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Startup - First Stage'/><title type='text'>Oracle Startup - First Stage</title><content type='html'>&lt;p class="MsoPlainText"&gt;&lt;span style="font-size:100%;"&gt;When you issue the startup command, the first thing the  database will do is enter the nomount stage. During the nomount stage, Oracle  first opens and reads the initialization parameter file (spfile/pfile init.ora) to see how  the database is configured. For example, the sizes of all of the memory areas in  Oracle are defined within the parameter file. &lt;/span&gt;&lt;/p&gt; &lt;p style="font-weight: bold;" class="MsoPlainText"&gt;&lt;span style="font-size:100%;"&gt;After the parameter file is accessed, the memory areas  associated with the database instance are allocated. Also, during the nomount  stage, the Oracle background processes are started. Together, we call these  processes and the associated allocated memory the Oracle instance. Once the  instance has started successfully, the database is considered to be in the  nomount stage. If you issue the startup command, then Oracle will automatically  move onto the next stage of the startup, the mount stage.&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-172380573210753486?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/172380573210753486/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=172380573210753486' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/172380573210753486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/172380573210753486'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/oracle-startup-first-stage.html' title='Oracle Startup - First Stage'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6597886030488171311.post-5567201861865739603</id><published>2008-09-21T07:00:00.000-07:00</published><updated>2008-09-21T07:04:36.191-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Startup'/><title type='text'>Oracle Startup</title><content type='html'>&lt;span&gt;&lt;span style="font-size:100%;"&gt;In order to start an oracle database you must first be logged into an account that has sysdba or sysoper privileges  such as the SYS account.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;When Oracle is trying to open your database, it goes  through three distinct stages.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;p class="MsoPlainText"&gt;&lt;span style="font-size:100%;"&gt;* Startup (nomount)&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText"&gt;&lt;span style="font-size:100%;"&gt;* Mount&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText"&gt;&lt;span style="font-size:100%;"&gt;* Open&lt;/span&gt;&lt;/p&gt;&lt;p style="color: rgb(0, 0, 153);" class="MsoPlainText"&gt;&lt;span style="font-size:78%;"&gt;&lt;address&gt;  &lt;span style="font-size:130%;"&gt;&lt;span style="font-style: normal;"&gt;&lt;span style="font-family:Courier New;"&gt;SQL&gt; startup&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/address&gt; &lt;address&gt;  &lt;span style="font-size:130%;"&gt;&lt;span style="font-style: normal;"&gt;&lt;span style="font-family:Courier New;"&gt;ORACLE instance   started.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/address&gt; &lt;address&gt;  &lt;span style="font-style: normal;"&gt;&lt;span style="font-family:Courier New;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/address&gt; &lt;address style="font-family: arial;"&gt;  &lt;span style="font-style: normal;"&gt;Total System   Global Area  251658240 bytes&lt;/span&gt;&lt;/address&gt; &lt;address style="font-family: arial;"&gt;  &lt;span style="font-style: normal;"&gt;Fixed   Size                   788368 bytes&lt;/span&gt;&lt;/address&gt; &lt;address style="font-family: arial;"&gt;  &lt;span style="font-style: normal;"&gt;Variable   Size             145750128 bytes&lt;/span&gt;&lt;/address&gt; &lt;address style="font-family: arial;"&gt;  &lt;span style="font-style: normal;"&gt;Database   Buffers          104857600 bytes&lt;/span&gt;&lt;/address&gt; &lt;address style="font-family: arial;"&gt;  &lt;span style="font-style: normal;"&gt;Redo   Buffers                 262144 bytes&lt;/span&gt;&lt;/address&gt; &lt;address style="font-family: arial;"&gt;  &lt;span style="font-size:130%;"&gt;&lt;span style="font-style: normal;"&gt;Database mounted.&lt;/span&gt;&lt;/span&gt;&lt;/address&gt; &lt;address style="font-family: arial;"&gt;  &lt;span style="font-size:130%;"&gt;&lt;span style="font-style: normal;"&gt;Database opened.&lt;/span&gt;&lt;/span&gt;&lt;/address&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6597886030488171311-5567201861865739603?l=oraclefundamentals.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://oraclefundamentals.blogspot.com/feeds/5567201861865739603/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6597886030488171311&amp;postID=5567201861865739603' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/5567201861865739603'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6597886030488171311/posts/default/5567201861865739603'/><link rel='alternate' type='text/html' href='http://oraclefundamentals.blogspot.com/2008/09/oracle-startup.html' title='Oracle Startup'/><author><name>OracleDBAFAQ</name><uri>http://www.blogger.com/profile/05504116708319595979</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
