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

<channel>
	<title>amendments</title>
	<atom:link href="http://www.kods.net/feed/tag/amendments/" rel="self" type="application/rss+xml" />
	<link>http://www.kods.net/</link>
	<description>amendments</description>
	<pubDate>Fri, 30 Jul 2010 03:54:53+0000</pubDate>
	<generator>http://www.kods.net/</generator>
	<language>en</language>
		<item>
		<title>Single-instance and RAC to create the ORACLE STREAM (2)</title>
		<link>http://www.kods.net/single-instance-and-rac-to-create-the-oracle-stream-2/</link>
		<comments>http://www.kods.net/single-instance-and-rac-to-create-the-oracle-stream-2/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 16:50:10+0000</pubDate>
		<dc:creator>kods.net</dc:creator>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[oracle]]></category>
<category><![CDATA[log archive]]></category>
<category><![CDATA[backup database]]></category>
<category><![CDATA[amendments]]></category>
<category><![CDATA[node]]></category>
<category><![CDATA[database log]]></category>
<category><![CDATA[log sequence]]></category>
<category><![CDATA[database archiving]]></category>
<category><![CDATA[oracle rac]]></category>
<category><![CDATA[system default]]></category>
<category><![CDATA[archivelog]]></category>
<category><![CDATA[vi editor]]></category>
<category><![CDATA[parameter settings]]></category>
<category><![CDATA[sequence 1]]></category>
<category><![CDATA[storm2]]></category>
<category><![CDATA[sequence 2]]></category>
<category><![CDATA[stream 2]]></category>
<category><![CDATA[four steps]]></category>
<category><![CDATA[single file]]></category>
<category><![CDATA[full length]]></category>
		<guid isPermaLink="true">http://www.kods.net/single-instance-and-rac-to-create-the-oracle-stream-2/</guid>
		<description><![CDATA[After completion of parameter settings, the following to start the master and backup database is set to archive mode. The reason why this part of the single opening is due to single-instance database is set to archive mode and ORACLE RAC is set to ar ...]]></description>
		<content:encoded><![CDATA[After completion of parameter settings, the following to start the master and backup database is set to archive mode. The reason why this part of the single opening is due to single-instance database is set to archive mode and ORACLE RAC is set to archive mode is slightly different, the following were described as follows: <br /><br /> Single-instance, the revised database archiving mode only requires the following four steps: <br /><br /> 1, shutdown immediate <br /><br /> 2, startup mount <br /><br /> 3, alter database archivelog <br /><br /> 4, alter database open <br /><br /> You can also set the archive man-made path, do not use the system default archive path, mainly to avoid year after year in archive log files generated by the database where the file system Chengbao, where a separate log will be archived into a single file system &quot;/ arch&quot; the following: <br /><br /> SQL&gt; alter system set LOG_ARCHIVE_DEST_1 = &#39;LOCATION = / arch&#39;; <br /><br /> Amendments adopted after the completion of the command &quot;archive log list&quot; to confirm: <br /><br /> SQL&gt; archive log list; <br /> Database log mode Archive Mode <br /> Automatic archival Enabled <br /> Archive destination / arch <br /> Oldest online log sequence 1 <br /> Next log sequence to archive 2 <br /> Current log sequence 2 <br /><br /> ORACLE RAC, modify the database archiving mode is slightly more complicated, the steps are as follows: <br /><br /> 1, create pfile = &#39;/ arch / pfilestorm.ora&#39; from spfile; <br /><br /> 2, shutdown immediate (storm1 and storm2 examples should close) <br /><br /> 3, using the vi editor generated pfile (pfilestorm.ora), and modify the following parameters: <br /><br /> cluster_database = false <br /><br /> 4, to modify the parameter file for the full-length after a separate database in a node starts to nomount Status: <br /><br /> startup nomount pfile = &#39;/ arch / pfilestorm.ora&#39;; <br /><br /> 5, so that the database to exclusive (exclusive) mode starts to mount status: <br /><br /> alter database mount exclusive <br /><br /> 6, to change the archive mode and archive path: <br /><br /> alter database archivelog <br /> alter system set LOG_ARCHIVE_DEST_1 = &#39;LOCATION = / arch&#39;; (this step can also write directly Parameter File) <br /><br /> 7, shutdown immediate (storm1) <br /><br /> 8, using the vi editor generated pfile (pfilestorm.ora), and modify the following parameters: <br /> cluster_database = true <br /><br /> 9, startup pfile = &#39;/ arch / pfilestorm.ora&#39;; (At this point the database has been out of archive mode) <br /><br /> 10, create spfile from pfile; <br /><br /> 11, shutdown immediate (storm1) <br /><br /> 12, startup (At this point the database to a server parameter file starts) <br /><br /> 13, startup (in the storm2 start) <br /><br /> RAC corresponding two nodes are started, through the command test to see whether the entry into force set up: <br /><br /> storm1: <br /><br /> SQL&gt; archive log list; <br /> Database log mode Archive Mode <br /> Automatic archival Enabled <br /> Archive destination / arch <br /> Oldest online log sequence 1 <br /> Next log sequence to archive 2 <br /> Current log sequence 2 <br /><br /> storm2: <br /><br /> SQL&gt; archive log list; <br /> Database log mode Archive Mode <br /> Automatic archival Enabled <br /> Archive destination / arch <br /> Oldest online log sequence 1 <br /> Next log sequence to archive 2 <br /> Current log sequence 2 <br /><br /> To this, the main library and prepared by the library archive mode is completed, the following into the other steps.				<h5>Related Posts</h5>
		<div id="smilar">
		<ul>
					<li><a href="http://www.kods.net/sga-extended-the-principle-of-32bit-oracle/" title="SGA extended the principle of 32bit oracle">SGA extended the principle of 32bit oracle</a> 2009-03-31 09:48:01</li>
					<li><a href="http://www.kods.net/high-availability-oracle-flashback/" title="High Availability Oracle Flashback">High Availability Oracle Flashback</a> 2009-02-26 17:23:02</li>
					<li><a href="http://www.kods.net/an-example-of-the-use-of-tkprof/" title="An example of the use of TKPROF">An example of the use of TKPROF</a> 2009-02-26 01:38:19</li>
					<li><a href="http://www.kods.net/diagnosis-and-principles-of-order/" title="Diagnosis and principles of order">Diagnosis and principles of order</a> 2009-02-25 20:27:28</li>
					<li><a href="http://www.kods.net/oracle-10g-dataguard-configuration-step-by-step/" title="ORACLE 10G dataguard configuration Step by Step">ORACLE 10G dataguard configuration Step by Step</a> 2009-02-16 01:13:55</li>
				</ul>
		</div>
		        ]]></content:encoded>
		<wfw:commentRss>http://www.kods.net/single-instance-and-rac-to-create-the-oracle-stream-2/</wfw:commentRss>
	</item>
		<item>
		<title>After the resumption of different machines to solve ORA-01152 error</title>
		<link>http://www.kods.net/after-the-resumption-of-different-machines-to-solve-ora-01152-error/</link>
		<comments>http://www.kods.net/after-the-resumption-of-different-machines-to-solve-ora-01152-error/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 20:50:04+0000</pubDate>
		<dc:creator>kods.net</dc:creator>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[oracle]]></category>
<category><![CDATA[amendments]]></category>
<category><![CDATA[failure]]></category>
<category><![CDATA[error message]]></category>
<category><![CDATA[dbf]]></category>
<category><![CDATA[resumption]]></category>
<category><![CDATA[stack]]></category>
<category><![CDATA[archivelog]]></category>
<category><![CDATA[backup command]]></category>
<category><![CDATA[target catalog]]></category>
<category><![CDATA[crosscheck]]></category>
		<guid isPermaLink="true">http://www.kods.net/after-the-resumption-of-different-machines-to-solve-ora-01152-error/</guid>
		<description><![CDATA[RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== rn RMAN-03002: failure of backup command at 09/02/2009 02:21:47 rn ORA-19625: error identifying file / u03/oracle / archivelog/2009_08_31/1_3783_634497921.dbf rn ==== Ended in er ...]]></description>
		<content:encoded><![CDATA[<br /> <FONT size=2><FONT face="Times New Roman">RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============</font></font> <o:p></o:p><br /><br /> rn <br /> <FONT size=2><FONT face="Times New Roman">RMAN-03002: failure of backup command at 09/02/2009 02:21:47</font></font> <o:p></o:p><br /><br /> rn <br /> <FONT size=2><FONT face="Times New Roman"><B>ORA-19625:</b> error identifying file / u03/oracle / archivelog/2009_08_31/1_3783_634497921.dbf</font></font> <o:p></o:p><br /><br /> rn <br /> <FONT size=2><FONT face="Times New Roman">==== Ended in error on Wed Sep 2 02:21:48 CST 2009 ====</font></font> <o:p></o:p><br /><br /> rn <br /> <FONT size=2>At this time the need for the following amendments:</font> <o:p></o:p><br /><br /> rn <br /> <FONT size=2>Log normal operation of the host:</font> <o:p></o:p><br /><br /> rn <br /> rn <br /> <FONT size=2><FONT face="Times New Roman">$ Rman target / catalog rman / rman @ catalog</font></font> <o:p></o:p><br /><br /> rn <br /> <FONT size=2><FONT face="Times New Roman">RMAN&gt; crosscheck archivelog all;</font></font> <o:p></o:p><br /><br /> rn				<h5>Related Posts</h5>
		<div id="smilar">
		<ul>
					<li><a href="http://www.kods.net/sga-extended-the-principle-of-32bit-oracle/" title="SGA extended the principle of 32bit oracle">SGA extended the principle of 32bit oracle</a> 2009-03-31 09:48:01</li>
					<li><a href="http://www.kods.net/high-availability-oracle-flashback/" title="High Availability Oracle Flashback">High Availability Oracle Flashback</a> 2009-02-26 17:23:02</li>
					<li><a href="http://www.kods.net/an-example-of-the-use-of-tkprof/" title="An example of the use of TKPROF">An example of the use of TKPROF</a> 2009-02-26 01:38:19</li>
					<li><a href="http://www.kods.net/diagnosis-and-principles-of-order/" title="Diagnosis and principles of order">Diagnosis and principles of order</a> 2009-02-25 20:27:28</li>
					<li><a href="http://www.kods.net/oracle-10g-dataguard-configuration-step-by-step/" title="ORACLE 10G dataguard configuration Step by Step">ORACLE 10G dataguard configuration Step by Step</a> 2009-02-16 01:13:55</li>
				</ul>
		</div>
		        ]]></content:encoded>
		<wfw:commentRss>http://www.kods.net/after-the-resumption-of-different-machines-to-solve-ora-01152-error/</wfw:commentRss>
	</item>
		<item>
		<title>oracle user profile is used</title>
		<link>http://www.kods.net/oracle-user-profile-is-used/</link>
		<comments>http://www.kods.net/oracle-user-profile-is-used/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 23:45:04+0000</pubDate>
		<dc:creator>kods.net</dc:creator>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[oracle]]></category>
<category><![CDATA[oracle user]]></category>
<category><![CDATA[initialization parameters]]></category>
<category><![CDATA[amendments]]></category>
<category><![CDATA[failure]]></category>
<category><![CDATA[profiles]]></category>
<category><![CDATA[resource limit]]></category>
<category><![CDATA[limit sessions]]></category>
<category><![CDATA[product profile]]></category>
<category><![CDATA[profile document]]></category>
<category><![CDATA[profile product]]></category>
<category><![CDATA[default properties]]></category>
<category><![CDATA[product users]]></category>
<category><![CDATA[resource manager]]></category>
<category><![CDATA[user profile]]></category>
		<guid isPermaLink="true">http://www.kods.net/oracle-user-profile-is-used/</guid>
		<description><![CDATA[rn Profile file by using the user defined attributes, such as for product users to establish a profile document rn create profile product_profile limit SESSIONS_PER_USER 1; --- set the user can establish a session of the profile rn alter user product ...]]></description>
		<content:encoded><![CDATA[rn <br /> Profile file by using the user defined attributes, such as for product users to establish a profile document <br /> rn <br /> create profile product_profile limit SESSIONS_PER_USER 1; --- set the user can establish a session of the profile <br /> rn <br /> alter user product profile product_profile; - so that product users product_profile <br /> rn <br /><br /> rn <br /> Restrictions to the entry into force of the above, initialization parameters need to be amended resource_limit <br /> rn <br /> show parameter resource; <br /> rn <br /> NAME TYPE VALUE <BR> ------------------------------------ ----------- --- --------------------------- <BR> resource_limit boolean FALSE <BR> resource_manager_plan string <br /> rn <br /> Can be seen resource_limit parameter is false, be amended as true <br /> rn <br /> alter system set resource_limit = true; <br /> rn <br /><br /> rn <br /> View dba_profiles can view to see the user&#39;s default properties <br /> rn <br /><br /> rn <br /> When modified the following method can be used, such as amendments to the failure of landing the number of users, the default is 10, is amended as unlimited <br /> rn <br /> alter profile PRODUCT_PROFILE limit FAILED_LOGIN_ATTEMPTS unlimited; --- modify the number of failed login method				<h5>Related Posts</h5>
		<div id="smilar">
		<ul>
					<li><a href="http://www.kods.net/sga-extended-the-principle-of-32bit-oracle/" title="SGA extended the principle of 32bit oracle">SGA extended the principle of 32bit oracle</a> 2009-03-31 09:48:01</li>
					<li><a href="http://www.kods.net/high-availability-oracle-flashback/" title="High Availability Oracle Flashback">High Availability Oracle Flashback</a> 2009-02-26 17:23:02</li>
					<li><a href="http://www.kods.net/an-example-of-the-use-of-tkprof/" title="An example of the use of TKPROF">An example of the use of TKPROF</a> 2009-02-26 01:38:19</li>
					<li><a href="http://www.kods.net/diagnosis-and-principles-of-order/" title="Diagnosis and principles of order">Diagnosis and principles of order</a> 2009-02-25 20:27:28</li>
					<li><a href="http://www.kods.net/oracle-10g-dataguard-configuration-step-by-step/" title="ORACLE 10G dataguard configuration Step by Step">ORACLE 10G dataguard configuration Step by Step</a> 2009-02-16 01:13:55</li>
				</ul>
		</div>
		        ]]></content:encoded>
		<wfw:commentRss>http://www.kods.net/oracle-user-profile-is-used/</wfw:commentRss>
	</item>
		<item>
		<title>RHEL5 Oracle10g (10.2.0.1) x86_64 installation steps</title>
		<link>http://www.kods.net/rhel5-oracle10g-10-2-0-1-x86-64-installation-steps/</link>
		<comments>http://www.kods.net/rhel5-oracle10g-10-2-0-1-x86-64-installation-steps/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 05:31:49+0000</pubDate>
		<dc:creator>kods.net</dc:creator>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[oracle]]></category>
<category><![CDATA[kernel parameters]]></category>
<category><![CDATA[sysctl]]></category>
<category><![CDATA[amendments]]></category>
<category><![CDATA[compat]]></category>
<category><![CDATA[disk 1]]></category>
<category><![CDATA[installation steps]]></category>
<category><![CDATA[host name]]></category>
<category><![CDATA[rpm uvh]]></category>
<category><![CDATA[network card settings]]></category>
<category><![CDATA[hosts file]]></category>
<category><![CDATA[network adapter]]></category>
<category><![CDATA[as5]]></category>
		<guid isPermaLink="true">http://www.kods.net/rhel5-oracle10g-10-2-0-1-x86-64-installation-steps/</guid>
		<description><![CDATA[RHEL5 Oracle10g (10.2.0.1) x86_64 installation steps 1. To ensure that there is no problem with the network, especially the network card settings, set the network adapter on the host name. Modify / etc / hosts file to 127.0.0.1 modify settings for th ...]]></description>
		<content:encoded><![CDATA[<b>RHEL5 Oracle10g (10.2.0.1) x86_64 installation steps</b> <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p><br /><br /> <font size=3><font face=Calibri>1.</font> To ensure that there is no problem with the <font face=Calibri>network,</font> especially the network card settings, set the network adapter on the host name.</font> <br /><br /> <font size=3>Modify <font face=Calibri>/ etc / hosts</font> file to <font face=Calibri>127.0.0.1</font> modify settings for the card <font face=Calibri>(actually straight) ip address,</font> then the host name to remove the <font face=Calibri>excess,</font></font> leaving <font size=3>only a true host <font face=Calibri>name.</font></font> <br /><br /><o:p><font size=3 face=Calibri> </font></o:p><br /><br /> <font size=3><font face=Calibri>2.</font> If you install <font face=Calibri>32-bit</font> machine, just <font face=Calibri>Check i386</font> packages. Verification of the following package is installed. (Note: If the <font face=Calibri>64-bit</font> machine, some packets need to <font face=Calibri>i386</font> and <font face=Calibri>x86_64</font> installed the <font face=Calibri>rpm</font> package.)</font> <br /><br /> <font size=3 face=Calibri># From RedHat AS5 Disk 1</font> <br /><br /> <font size=3 face=Calibri>rpm-Uvh setarch-2.0-1.1.x86_64.rpm # rpm-Uvh setarch-2 *</font> <br /><br /> <font size=3 face=Calibri>rpm-Uvh make-3.81-1.1.x86_64.rpm # rpm-Uvh make-3 *</font> <br /><br /> <font size=3 face=Calibri>rpm-Uvh glibc-2.5-12.x86_64.rpm # rpm-Uvh glibc-2 *</font> <br /><br /> <font size=3 face=Calibri>rpm-Uvh libaio-0.3.106-3.2.x86_64.rpm # rpm-Uvh libaio-0 *</font> <br /><br /> <font size=3 face=Calibri>rpm-Uvh libaio-0.3.106-3.2.i386.rpm # rpm-Uvh libaio-0 *</font> <br /><br /> <font size=3 face=Calibri># From RedHat AS5 Disk 2</font> <br /><br /> <font size=3 face=Calibri>rpm-Uvh gcc-4.1.1-52.el5.x86_64.rpm # rpm-Uvh gcc-4 *</font> <br /><br /> <font size=3 face=Calibri># From RedHat AS5 Disk 3</font> <br /><br /> <font size=3 face=Calibri>rpm-Uvh compat-libstdc + +-33-3.2.3-61.x86_64.rpm # rpm-Uvh compat-libstdc + + -33-3 *</font> <br /><br /> <font size=3 face=Calibri>rpm-Uvh compat-gcc-34-3.4.6-4.x86_64.rpm # rpm-Uvh compat-gcc-34-3 *</font> <br /><br /> <font size=3 face=Calibri>rpm-Uvh compat-gcc-34-c + +-3.4.6-4.x86_64.rpm # rpm-Uvh compat-gcc-34-c + + -3 *</font> <br /><br /> <font size=3 face=Calibri>rpm-Uvh libXp-1.0.0-8.x86_64.rpm # rpm-Uvh libXp-1 *</font> <br /><br /> <font size=3 face=Calibri>rpm-Uvh libXp-1.0.0-8.i386.rpm # rpm-Uvh libXp-1 *</font> <br /><br /> <font size=3 face=Calibri>rpm-Uvh openmotif-2.3.0-0.3.el5.x86_64.rpm # rpm-Uvh openmotif-2 *</font> <br /><br /> <font size=3 face=Calibri>rpm-Uvh compat-db-4.2.52-5.1.x86_64.rpm # rpm-Uvh compat-db-4 *</font> <br /><br /><o:p><font size=3 face=Calibri> </font></o:p><br /><br /> <font size=3><font face=Calibri>3.</font> The following amendments to the kernel parameters and other documents</font> <br /><br /> <font size=3><font face=Calibri>vi / etc / sysctl.conf</font> add the following line at the end of</font> <br /><br /> <font size=3 face=Calibri>#</font> 20071212 <font size=3 face=Calibri>add content for oracle install</font> <br /><br /> <font size=3 face=Calibri>kernel.shmall =</font> 2097152 <br /><br /> <font size=3 face=Calibri>kernel.shmmax = 2147483648</font> <br /><br /> <font size=3 face=Calibri>kernel.shmmni = 4096</font> <br /><br /> <font size=3 face=Calibri># Semaphores: semmsl, semmns, semopm,</font> semmni <br /><br /> <font size=3 face=Calibri>kernel.sem = 250 32000 100 128</font> <br /><br /> <font size=3 face=Calibri>fs.file-max = 65536</font> <br /><br /> <font size=3 face=Calibri>net.ipv4.ip_local_port_range = 1024 65000</font> <br /><br /> <font size=3 face=Calibri>net.core.rmem_default = 262144</font> <br /><br /> <font size=3 face=Calibri>net.core.rmem_max = 262144</font> <br /><br /> <font size=3 face=Calibri>net.core.wmem_default = 262144</font> <br /><br /> <font size=3 face=Calibri>net.core.wmem_max = 262144</font> <br /><br /> <font size=3>By executing the command. Just write the parameters into. Non-implementation, <font face=Calibri>oracle</font> before installation in the back of the testing will report to the police.</font> <br /><br /> <font size=3 face=Calibri># sysctl-p</font> <br /><br /> <font size=3><font face=Calibri>vi / etc / security / limits.conf</font> add the following line at the end of</font> <br /><br /> <font size=3 face=Calibri>#</font> 20071212 <font size=3 face=Calibri>add content for oracle install</font> <br /><br /> <font size=3 face=Calibri>* Soft nproc 2047</font> <br /><br /> <font size=3 face=Calibri>* Hard nproc 16384</font> <br /><br /> <font size=3 face=Calibri>* Soft nofile 1024</font> <br /><br /> <font size=3 face=Calibri>* Hard nofile 65536</font> <br /><br /> <font size=3><font face=Calibri>vi / etc / pam.d / login</font> add the following line at the end of</font> <br /><br /> <font size=3 face=Calibri>#</font> 20071212 <font size=3 face=Calibri>add content for oracle install</font> <br /><br /> <font size=3 face=Calibri>session required</font> pam_limits.so <br /><br /> <font size=3>Modify the parameters <font face=Calibri>/ etc / profile</font> at the end of add</font> <br /><br /> <font size=3 face=Calibri>if [$ USER = &quot;oracle&quot;]; then</font> <br /><br /> <font size=3 face=Calibri>if [$ SHELL = &quot;/ bin / ksh&quot;]; then</font> <br /><br /> <font size=3 face=Calibri>ulimit-p 16384</font> <br /><br /> <font size=3 face=Calibri>ulimit-n 65536</font> <br /><br /> <font size=3 face=Calibri>else</font> <br /><br /> <font size=3 face=Calibri>ulimit-u 16384-n 65536</font> <br /><br /> <font size=3 face=Calibri>fi</font> <br /><br /> <font size=3 face=Calibri>fi</font> <br /><br /> <font size=3><font face=Calibri>vi / etc / selinux / config</font> to ensure that the following</font> <br /><br /> <font size=3 face=Calibri>SELINUX = disabled</font> <br /><br /> <font size=3>Check it here again.</font> <br /><br /><o:p><font size=3 face=Calibri> </font></o:p><br /><br /><o:p><font size=3 face=Calibri> </font></o:p><br /><br /> <font size=3><font face=Calibri>4.</font> Create <font face=Calibri>oracle</font> user, and a number of installation directory</font> <br /><br /> <font size=3 face=Calibri>groupadd dba</font> <br /><br /> <font size=3 face=Calibri>groupadd oinstall</font> <br /><br /> <font size=3 face=Calibri>useradd-g oinstall-G dba-m oracle</font> <br /><br /> <font size=3 face=Calibri>passwd oracle</font> <br /><br /> <font size=3 face=Calibri>mkdir-p / opt / oracle</font> <br /><br /> <font size=3 face=Calibri>chown-R</font> oracle.oinstall <font size=3 face=Calibri>/ opt / oracle</font> <br /><br /><o:p><font size=3 face=Calibri> </font></o:p><br /><br /> <font size=3><font face=Calibri>5 ..</font> add the environment variables, such as the definition of <font face=Calibri>SID</font></font> <br /><br /> <font size=3 face=Calibri>su - oracle</font> <br /><br /> <font size=3 face=Calibri>vi. bash_profile</font> <br /><br /> <font size=3 face=Calibri>#--------------------------------------</font> <br /><br /> <font size=3 face=Calibri># Set for Oracle10g Install;</font> <br /><br /> <font size=3 face=Calibri>#--------------------------------------</font> <br /><br /><o:p><font size=3 face=Calibri> </font></o:p><br /><br /> <font size=3 face=Calibri>export TMP = / tmp</font> <br /><br /> <font size=3 face=Calibri>export TMPDIR = $ TMP</font> <br /><br /> <font size=3 face=Calibri>export</font> ORACLE_BASE <font size=3 face=Calibri>= / opt / oracle</font> <br /><br /> <font size=3 face=Calibri>export ORACLE_HOME = $ ORACLE_BASE/product/10.2.0/db_1</font> <br /><br /> <font size=3 face=Calibri>export</font> ORACLE_SID <font size=3 face=Calibri>= oracle</font> <br /><br /> <font size=3 face=Calibri>export</font> ORACLE_TERM <font size=3 face=Calibri>= xterm</font> <br /><br /> <font size=3 face=Calibri>export PATH = / usr / sbin: $ PATH</font> <br /><br /> <font size=3 face=Calibri>export PATH = $ ORACLE_HOME / bin: $ PATH</font> <br /><br /> <font size=3 face=Calibri># export LD_LIBRARY_PATH = $ LD_LIBRARY_PATH: $ ORACLE_HOME / lib: / usr / lib: / usr / local / lib</font> <br /><br /> <font size=3 face=Calibri>export LD_LIBRARY_PATH = $ ORACLE_HOME / lib: / lib64: / usr/lib64: / usr/local/lib64: / usr/X11R6/lib64 /</font> <br /><br /> <font face=Calibri><font size=3>export CLASSPATH = $ ORACLE_HOME / JRE: $ ORACLE_HOME / jlib: $ ORACLE_HOME / rdbms /</font></font> jlib <o:p></o:p><br /><br /> <font size=3 face=Calibri>export NLS_LANG = &quot;American_america.utf8&quot;</font> <br /><br /> <font face=Calibri><font size=3>umask 022</font></font> <o:p></o:p><br /><br /><o:p></o:p><br /><br /> <font size=3>Implementation of environmental settings</font> <br /><br /> <font size=3 face=Calibri>source ~ /. bash_profile</font> <br /><br /> <font size=3>(Note: <font face=Calibri>NLS_LANG</font> and <font face=Calibri>LANG</font> settings to choose according to the actual situation,</font> the <font size=3>best character set to use English, Chinese character set problem sometimes, <font face=Calibri>NLS_LANG = AMERICAN_AMERICA.ZHS16GBK LANG = en_US)</font></font> <br /><br /><o:p><font size=3 face=Calibri> </font></o:p><br /><br /> <font size=3><font face=Calibri>6.</font> Because <font face=Calibri>oracle</font> only supports the official date to <font face=Calibri>RHEL4,</font> so a modified version of that document to edit <font face=Calibri>/ etc / redhat-release</font> to <font face=Calibri>Red Hat Enterprise Linux</font> <font face=Calibri> </font> <font face=Calibri>Server release 5 (Tikanga)</font> changed to version <font face=Calibri>4,</font></font> of <font size=3>course, after the <font face=Calibri>oracle</font> installation is <font face=Calibri>complete,</font></font> it is necessary <font size=3>to amend the <font face=Calibri>return:</font></font> <br /><br /> <font size=3 face=Calibri>vim / etc / redhat-release</font> <br /><br /> <font size=3>Deletion of <font face=Calibri>Red Hat Enterprise Linux Server release 5 (Tikanga)</font></font> <br /><br /> <font size=3>Add <font face=Calibri>Red Hat Enterprise Linux AS release 4 (Nahant Update 4)</font></font> <br /><br /><o:p><font size=3 face=Calibri> </font></o:p><br /><br /> <font size=3><font face=Calibri>7.</font> The establishment of the installation directory:</font> <br /><br /> <font size=3 face=Calibri>mkdir-p / opt/oracle/product/10.2.0/db_1</font> <br /><br /> <font size=3 face=Calibri>chown-R</font> oracle.oinstall <font size=3 face=Calibri>/ opt</font> <br /><br /> <font size=3><font face=Calibri>8.</font> To start the installation extract the installation files</font> <br /><br /> <font size=3 face=Calibri>cd / tmp</font> <br /><br /> <font size=3 face=Calibri>gunzip</font> 10201_database_linux_x86_64.cpio.gz <br /><br /> <font size=3 face=Calibri>cpio-idmv &lt;10201_database_linux_x86_64.cpio</font> <br /><br /> <font size=3 face=Calibri>chown-R oracle:</font> oinstall <font size=3 face=Calibri>/ tmp / database</font> <br /><br /> <font size=3 face=Calibri>chmod 755 / tmp / database</font> <br /><br /><o:p><font size=3 face=Calibri> </font></o:p><br /><br /> <font size=3><font face=Calibri>9.</font> Or write-off after the restart to <font face=Calibri>oracle</font> user login system, step-by-step in the implementation of extracting installation file path command</font> <br /><br /> <font size=3 face=Calibri>#. / RunInstaller</font> <br /><br /><o:p><font size=3 face=Calibri> </font></o:p><br /><br /> <font size=3><font face=Calibri>10.</font> Related to the solution to the problem:</font> <br /><br /> <font size=3>Question <font face=Calibri>1:</font></font> <br /><br /> <font size=3 face=Calibri>libXp.so.6:</font> cannot <font size=3 face=Calibri>open shared object file: No such file or directory</font> <br /><br /> <font size=3>Solution: <font face=Calibri>libXp</font> need to install packages in <font face=Calibri>x86_64</font> need the following two packages are loaded.</font> <br /><br /> <font size=3 face=Calibri>rpm-Uvh libXp-1.0.0-8.x86_64.rpm</font> <br /><br /> <font size=3 face=Calibri>rpm-Uvh libXp-1.0.0-8.i386.rpm</font> <br /><br /> <font size=3>Question <font face=Calibri>2:</font></font> <br /><br /> <font size=3><font face=Calibri>Xlib: connection to &quot;: 0.0&quot; refused by server</font> appears this warning, and can not <font face=Calibri>start. / RunInstaller</font></font> <br /><br /> <font size=3>Solution: under the <font face=Calibri>root</font> user <font face=Calibri># xhost local: oracle,</font> and then <font face=Calibri># su - oracle</font></font> <br /><br /> <font size=3>Question <font face=Calibri>3:</font></font> <br /><br /> <font size=3>If users log in using the <font face=Calibri>oracle</font> desktop failed,</font> suggesting that <font size=3><font face=Calibri>&quot;may</font> be the lack of space, session <font face=Calibri>terminated&quot;</font></font> and <font size=3>can not log on the desktop.</font> <br /><br /> <font size=3>Solution: Please check under the <font face=Calibri>oracle user. Bash_profile</font> the environment variable in writing whether there is any error.</font> <br /><br /> <font size=3><font face=Calibri>11.</font> Some of the services were introduced and added</font> <br /><br /> <font size=3><font face=Calibri>a:</font> $ <font face=Calibri>ORACLE_HOME / bin /</font></font> dbstart <font face=Calibri><font size=3>|</font></font> dbshut <br /><br /> <font size=3><font face=Calibri>b:</font> $ <font face=Calibri>ORACLE_HOME / bin /</font></font> lsnrctl <font size=3><font face=Calibri>start | stop</font> listening device is switched on <font face=Calibri>|</font> turn off.</font> <br /><br /> <font size=3><font face=Calibri>c:</font> $ <font face=Calibri>ORACLE_HOME / bin /</font></font> emctl <font face=Calibri><font size=3>start | stop dbconsole</font></font> <br /><br /> <font size=3>Visit <font face=Calibri>http://yourIP:1158/em</font></font> <br /><br /> <font size=3><font face=Calibri>d:</font> $ <font face=Calibri>ORACLE_HOME / bin /</font></font> isqlplusctl <font face=Calibri><font size=3>start | stop</font></font> <br /><br /> <font size=3>Visit <font face=Calibri>http://yourIP:5560/isqlplus</font></font> <br /><br /><o:p><font size=3 face=Calibri> </font></o:p>				<h5>Related Posts</h5>
		<div id="smilar">
		<ul>
					<li><a href="http://www.kods.net/sga-extended-the-principle-of-32bit-oracle/" title="SGA extended the principle of 32bit oracle">SGA extended the principle of 32bit oracle</a> 2009-03-31 09:48:01</li>
					<li><a href="http://www.kods.net/high-availability-oracle-flashback/" title="High Availability Oracle Flashback">High Availability Oracle Flashback</a> 2009-02-26 17:23:02</li>
					<li><a href="http://www.kods.net/an-example-of-the-use-of-tkprof/" title="An example of the use of TKPROF">An example of the use of TKPROF</a> 2009-02-26 01:38:19</li>
					<li><a href="http://www.kods.net/diagnosis-and-principles-of-order/" title="Diagnosis and principles of order">Diagnosis and principles of order</a> 2009-02-25 20:27:28</li>
					<li><a href="http://www.kods.net/oracle-10g-dataguard-configuration-step-by-step/" title="ORACLE 10G dataguard configuration Step by Step">ORACLE 10G dataguard configuration Step by Step</a> 2009-02-16 01:13:55</li>
				</ul>
		</div>
		        ]]></content:encoded>
		<wfw:commentRss>http://www.kods.net/rhel5-oracle10g-10-2-0-1-x86-64-installation-steps/</wfw:commentRss>
	</item>
		<item>
		<title>Oracle Database initialization parameter changes to note</title>
		<link>http://www.kods.net/oracle-database-initialization-parameter-changes-to-note/</link>
		<comments>http://www.kods.net/oracle-database-initialization-parameter-changes-to-note/#comments</comments>
		<pubDate>Fri, 26 Jun 2009 06:38:13+0000</pubDate>
		<dc:creator>kods.net</dc:creator>
		<category><![CDATA[Oracle Database]]></category>
		<category><![CDATA[oracle]]></category>
<category><![CDATA[initialization parameters]]></category>
<category><![CDATA[amendments]]></category>
<category><![CDATA[parameter changes]]></category>
<category><![CDATA[treasury]]></category>
<category><![CDATA[downtime]]></category>
<category><![CDATA[database administrator]]></category>
<category><![CDATA[database server]]></category>
<category><![CDATA[perspective]]></category>
<category><![CDATA[oracle database administrators]]></category>
<category><![CDATA[database deployment]]></category>
<category><![CDATA[level applications]]></category>
<category><![CDATA[scale application]]></category>
<category><![CDATA[performance data]]></category>
<category><![CDATA[conflict]]></category>
		<guid isPermaLink="true">http://www.kods.net/oracle-database-initialization-parameter-changes-to-note/</guid>
		<description><![CDATA[Generally only in large-scale application or performance data, according to the Treasury decreased only need to change the initialization parameters. So from this perspective, the adjustment of parameters to initialize Oracle database is a high-level ...]]></description>
		<content:encoded><![CDATA[Generally only in large-scale application or performance data, according to the Treasury decreased only need to change the initialization parameters. So from this perspective, the adjustment of parameters to initialize Oracle database is a high-level applications. But this is also an Oracle database administrators need to master the content. In order to better adjust the database initialization parameters, I believe that administrators in understanding the use of all initialization parameters and adjust the rules, need to be aware of some initialization parameters to adjust the content of a number of similarities. Specifically, in the following areas. <br /> <strong>First, do not need to know what parameters to restart to take effect.</strong> <br /><br /> In the Oracle database, according to the time the entry into force of different parameters can be roughly divided into two categories. One is to be able to restart after the entry into force of amendments to, or parameters; another type of modification is not required to re-start after the entry into force of that parameter. Generally speaking, database administrators prefer the second type of parameters, that is, do not need to restart the revised parameters take effect immediately. Why? Because the use of the database server into production after the restart can not be arbitrary. If modifications need to restart in order to take effect, or need to modify the parameters before we can start, then adjust the parameters in the course of a clear need to interrupt the user&#39;s visit will increase downtime. This database deployment, the combat will be very large. Because, from the stability and availability, the database administrator is to minimize downtime for the goal. At this point the increase in man-made and downtime, it is clear there is a conflict with this goal. Therefore, the database administrator will need to know which parameter is not required to re-start can be modified with the entry into force; and what parameters must be before they can restart. This is a database administrator for further adjustment of parameters need to know before the first content. On the one hand, according to the characteristics of administrators to assess the loss of downtime and adjustment parameters of the potential benefits. If losses exceed gains, then there is still need to adjust the initialization parameters. The second is to determine the parameters of the adjustment time. Which do not need to restart, that is, adjust the parameters would not result in the case of downtime, then the adjustment of parameters is relatively flexible, few restrictions. However, if the need to adjust the entry into force will be able to restart or modify the parameters, then need to select an appropriate time to. If you need to choose after the 0:00 time, this time using the database is often not a lot of users. Of course, all this time may be different for each Qiye  . The use of a word is to select a database when the user as little as possible. If so will it be possible to the maximum extent possible to reduce the losses caused by database downtime. <br /><br /> What are the parameters then restart not required for the purposes can be amended? In fact, database administrators only need to query the dynamic view, that is, to know which parameters can not shut down or restart you can change. Such as dynamic as in the v $ parameter, the stored value of the initialization parameters. In general, you can add query conditions issys_modifiable &lt;&gt; &#39;FALSE&#39; or isses_modifiable &lt;&gt; &#39;FALSE&#39; (note that they are or the relationship between, rather than and relations), and finally out the parameters of inquiry is not to close or re - can start the database initialization parameter settings. At the same time, these parameters also can be used with the ALTER SYSTEM command ALTER SESSION to change some initialization parameters. In other words, do not shut down or restart the database on the parameters can modify the above two commands can be used to re-set. But not to say that the use of these two orders can not restart or shut down the database initialization parameters to change the situation. Simply put, is that we can use these two commands to change the parameters, and some need to restart or shut down the database, while others do not. <br /><br /> <strong>Second, under the 20/80 principle to determine the need to change the parameters.</strong> <br /><br /> Oracle database initialization parameters are more than a hundred. No matter what the purpose of adjustment to each of these parameters are often unrealistic. A good database administrators only need a few parameters which can be modified. Often have several parameters modification method, in principle, to pay attention to matters to be completed on most of the database maintenance tasks. This is the law of 20/80 in his role. In other words, only 20% of the required parameters (in fact, is far less than the ratio), you can complete 80% of the task (in fact much higher than the ratio). In other words, the 10/90 rule of the initialization parameters for Oracle, may be more applicable. In short I want to say is that only need to master the large number of initialization parameters can be few. If required, by adjusting the initialization parameter to increase database performance, or other purposes, that is, a small number of these initialization parameters. For other parameters, database administrators only need to be aware of its use, without the need to understand how to adjust these parameters. Because the probability of experiencing little can be said. <br /><br /> These important parameters which in the end it? Mainly in the following parameters. One of the most important parameter is the DB_CACHE_SIZE. This is a database used to adjust the parameters of the cache size. When necessary, adjust the size of this parameter, you can improve data cache hit rate, thus substantially improved the performance of the database. The second parameter is DB_BLOCK_SIZE. This parameter is used to specify the database by default when in the establishment of the block size. If the block set is relatively small, there may occur the phenomenon of chain line, thereby reducing the performance of the database; also may increase the database of debris, waste table space, storage space and reduce the performance of database queries and so on. Sometimes there needs to be adjusted in accordance with the block size to improve the performance of the database. The third parameter is SHARED_POOL_SIZE parameters. This parameter is mainly for those data dictionary cache and shared SQL statement specified in the SGA allocated in memory. Simple, the rational distribution of the parameters, can share the same SQL statement. Adjust the parameters to optimize database performance is also a common means. SGA_MAX_SIZE parameters for the fourth parameter, this parameter specifies the dynamic growth of the SGA may be the biggest memory. SQLServer database in a similar parameters. Generally speaking, in the same database server is deployed in a number of applications will often need to configure the parameters of a reasonable number of applications to avoid contention between the memory. If the inappropriate parameter settings, then sometimes will lead to another kind of applications do not have enough memory as a result of the cessation of services. The fifth parameter is LOG_CHECKPOINT_INTERVAL. This parameter is mainly used to set the frequency of checkpoints. Each checkpoint, the database system for the implementation of data to write all dirty block (has been modified not saved to your hard disk of the data) to the database to write the corresponding data file. By default, if the database cache in the 1 / 4 of the data buffer is a dirty buffer, then the database system will automatically check points. In addition the principle of a mandatory switch is in the log, it will also implement the checkpoint. In some specific circumstances, such as the creation of data warehouse, the parameters need to be adjusted to meet the needs of specific occasions. Parameters of the five writers in recent years over the work of the most frequently encountered initialization parameter. Basically, the database maintenance and performance tuning is surrounded by a few parameters to the. To this end I suggested that a database administrator that the database initialization parameters in the learning skills of the adjustment, you can start from a number of parameters. In other words, these parameters are the database administrator must be available. Understanding of not only simple, but the need to thoroughly understand it. Only then, faced with the situation, we can then judge whether there is a need to make changes, as well as respond to changes in the course of the problems that may arise. For other parameters, I believe that a database administrator needs only to understand their basic use. In conclusion, perhaps the author of these parameters, some miss the place, welcome you to supplement. After a chance, I would like all details of the circumstances under which the adjustment of any parameter; as well as in the adjustment process may be trouble. If you interested in this topic may be concerned about the author behind the article. <br /><br /> <strong>Third, the use of SPFILE to dynamically modify the parameters.</strong> <br /><br /> In a future version Oracle10G, also allows the database administrator to store the SPFILE using the example of a dynamic parameter modification. In previous versions of 10G, unless the parameters manually added to the initial parameters of the document, or dynamic changes to parameters in the database will be lost after restart. This environment variable is somewhat similar to the set. However, in subsequent versions of 10G, in this respect a great improvement. SPFILE mechanisms such as open, then the system will enable a server parameter file, the dynamic changes in memory some of the parameters at the same time these changes will be recorded in the server parameter file. Wait until the next restart, the server will read like a server parameter file value, used to initialize the database system. In other words, from now on a number of dynamic parameters can be modified a permanent effect. This is a database administrator is no doubt a good news. <br /><br /> From the above analysis we can see that the database parameters of the adjustment is a relatively complex task. I believe that administrators in learning how to adjust the parameters until the need to understand the general content of the above. That is, modify the parameters of the time constraints, most likely need to adjust the parameters and how to make the entry into force of the dynamic parameters and so on forever. These are good parameters to optimize the basis of the work.				<h5>Related Posts</h5>
		<div id="smilar">
		<ul>
					<li><a href="http://www.kods.net/sga-extended-the-principle-of-32bit-oracle/" title="SGA extended the principle of 32bit oracle">SGA extended the principle of 32bit oracle</a> 2009-03-31 09:48:01</li>
					<li><a href="http://www.kods.net/high-availability-oracle-flashback/" title="High Availability Oracle Flashback">High Availability Oracle Flashback</a> 2009-02-26 17:23:02</li>
					<li><a href="http://www.kods.net/an-example-of-the-use-of-tkprof/" title="An example of the use of TKPROF">An example of the use of TKPROF</a> 2009-02-26 01:38:19</li>
					<li><a href="http://www.kods.net/diagnosis-and-principles-of-order/" title="Diagnosis and principles of order">Diagnosis and principles of order</a> 2009-02-25 20:27:28</li>
					<li><a href="http://www.kods.net/oracle-10g-dataguard-configuration-step-by-step/" title="ORACLE 10G dataguard configuration Step by Step">ORACLE 10G dataguard configuration Step by Step</a> 2009-02-16 01:13:55</li>
				</ul>
		</div>
		        ]]></content:encoded>
		<wfw:commentRss>http://www.kods.net/oracle-database-initialization-parameter-changes-to-note/</wfw:commentRss>
	</item>
		<item>
		<title>RMAN conducted through the bare equipment and file system data file transfer between</title>
		<link>http://www.kods.net/rman-conducted-through-the-bare-equipment-and-file-system-data-file-transfer-between/</link>
		<comments>http://www.kods.net/rman-conducted-through-the-bare-equipment-and-file-system-data-file-transfer-between/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 09:52:23+0000</pubDate>
		<dc:creator>kods.net</dc:creator>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[oracle]]></category>
<category><![CDATA[oracle database]]></category>
<category><![CDATA[sqlplus]]></category>
<category><![CDATA[olap]]></category>
<category><![CDATA[sid]]></category>
<category><![CDATA[sql]]></category>
<category><![CDATA[amendments]]></category>
<category><![CDATA[data mining scoring]]></category>
<category><![CDATA[engine options]]></category>
<category><![CDATA[select count]]></category>
<category><![CDATA[partitioning]]></category>
<category><![CDATA[disk 1]]></category>
<category><![CDATA[recovery catalog]]></category>
<category><![CDATA[database control]]></category>
<category><![CDATA[datafile]]></category>
<category><![CDATA[target]]></category>
<category><![CDATA[table space]]></category>
<category><![CDATA[system conversion]]></category>
<category><![CDATA[adoption]]></category>
		<guid isPermaLink="true">http://www.kods.net/rman-conducted-through-the-bare-equipment-and-file-system-data-file-transfer-between/</guid>
		<description><![CDATA[Easy to be an example to introduce how to use data files Rman bare equipment and file system conversion. 1. EYGLE set up equipment used to test bare table space 2. Use RMAN to back up the COPY function of the bare device file for the file system file ...]]></description>
		<content:encoded><![CDATA[Easy to be an example to introduce how to use data files Rman bare equipment and file system conversion. <br /><br /> 1. EYGLE set up equipment used to test bare table space <br /><table><tbody><tr><td width=500 bgcolor=#999999> <pre>[oracle@danaly ~]$ sqlplus "/ as sysdba"

SQL*Plus: Release 10.2.0.1.0 - Production on Wed Nov 30 14:41:53 2005

Copyright (c) 1982, 2005, Oracle.  All rights reserved.


Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options

SQL&gt; create tablespace eygle
  2  datafile '/dev/cciss/c0d0p11' size 10M;

Tablespace created.

SQL&gt; create table eygle tablespace eygle as select * from dba_objects;

Table created.


SQL&gt; select count(*) from eygle;

  COUNT(*)
----------
     50420

SQL&gt; alter tablespace eygle offline;

Tablespace altered.

SQL&gt; exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options
</pre> </td></tr></tbody></table><br /> 2. Use RMAN to back up the COPY function of the bare device file for the file system file <br /><table><tbody><tr><td width=500 bgcolor=#999999> <pre>[oracle@danaly ~]$ rman target /

Recovery Manager: Release 10.2.0.1.0 - Production on Wed Nov 30 16:00:42 2005

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

connected to target database: DANALY (DBID=3965153484)

RMAN&gt; copy datafile '/dev/cciss/c0d0p11' to '/opt/oracle/eygle01.dbf'; 

Starting backup at 30-NOV-05
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=137 devtype=DISK
channel ORA_DISK_1: starting datafile copy
input datafile fno=00002 name=/dev/cciss/c0d0p11
output filename=/opt/oracle/eygle01.dbf tag=TAG20051130T160137 recid=2 stamp=575740898
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:02
Finished backup at 30-NOV-05

RMAN&gt; exit


Recovery Manager complete.
</pre> </td></tr></tbody></table><br /> 3. The adoption of amendments to rename file location <br /><table><tbody><tr><td width=500 bgcolor=#999999> <pre>[oracle@danaly ~]$ sqlplus "/ as sysdba"

SQL*Plus: Release 10.2.0.1.0 - Production on Wed Nov 30 16:01:54 2005

Copyright (c) 1982, 2005, Oracle.  All rights reserved.


Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options

SQL&gt; alter database rename file '/dev/cciss/c0d0p11' to '/opt/oracle/eygle01.dbf'; 

Database altered.

SQL&gt; alter tablespace eygle online;

Tablespace altered.

SQL&gt; select file_name from dba_data_files where tablespace_name='EYGLE';

FILE_NAME
--------------------------------------------------------------------------------
/opt/oracle/eygle01.dbf
</pre> </td></tr></tbody></table><br /> 4. To carry out data modifications <br /><table><tbody><tr><td width=500 bgcolor=#999999> <pre>SQL&gt; insert into eygle as select * from eygle;
insert into eygle as select * from eygle
                  *
ERROR at line 1:
ORA-00926: missing VALUES keyword


SQL&gt; insert into eygle select * from eygle;
insert into eygle select * from eygle
            *
ERROR at line 1:
ORA-01653: unable to extend table SYS.EYGLE by 128 in tablespace EYGLE

SQL&gt; alter database datafile '/opt/oracle/eygle01.dbf' resize 20m;

Database altered.

SQL&gt; insert into eygle select * from eygle;

50420 rows created.

SQL&gt; commit;

Commit complete.

SQL&gt; alter tablespace eygle offline;

Tablespace altered.

SQL&gt; exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options
</pre> </td></tr></tbody></table><br /><br /> 5. Transfer files from the file system to the bare equipment <br /><table><tbody><tr><td width=500 bgcolor=#999999> <pre>[oracle@danaly ~]$ rman target /

Recovery Manager: Release 10.2.0.1.0 - Production on Wed Nov 30 16:08:51 2005

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

connected to target database: DANALY (DBID=3965153484)

RMAN&gt; copy datafile '/opt/oracle/eygle01.dbf' to '/dev/cciss/c0d0p11';

Starting backup at 30-NOV-05
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=135 devtype=DISK
channel ORA_DISK_1: starting datafile copy
input datafile fno=00002 name=/opt/oracle/eygle01.dbf
output filename=/dev/cciss/c0d0p11 tag=TAG20051130T160935 recid=3 stamp=575741376
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:01
Finished backup at 30-NOV-05

RMAN&gt; exit


Recovery Manager complete.
[oracle@danaly ~]$ sqlplus "/ as sysdba"

SQL*Plus: Release 10.2.0.1.0 - Production on Wed Nov 30 16:09:48 2005

Copyright (c) 1982, 2005, Oracle.  All rights reserved.


Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options

SQL&gt; alter database rename file '/opt/oracle/eygle01.dbf' to '/dev/cciss/c0d0p11';

Database altered.

SQL&gt; alter tablespace eygle online;

Tablespace altered.

SQL&gt; select count(*) from eygle; 

  COUNT(*)
----------
    100840

SQL&gt; 
</pre> </td></tr></tbody></table><br /> rman allows for the bare equipment greatly simplifies the operation.				<h5>Related Posts</h5>
		<div id="smilar">
		<ul>
					<li><a href="http://www.kods.net/sga-extended-the-principle-of-32bit-oracle/" title="SGA extended the principle of 32bit oracle">SGA extended the principle of 32bit oracle</a> 2009-03-31 09:48:01</li>
					<li><a href="http://www.kods.net/an-example-of-the-use-of-tkprof/" title="An example of the use of TKPROF">An example of the use of TKPROF</a> 2009-02-26 01:38:19</li>
					<li><a href="http://www.kods.net/diagnosis-and-principles-of-order/" title="Diagnosis and principles of order">Diagnosis and principles of order</a> 2009-02-25 20:27:28</li>
					<li><a href="http://www.kods.net/oracle-10g-dataguard-configuration-step-by-step/" title="ORACLE 10G dataguard configuration Step by Step">ORACLE 10G dataguard configuration Step by Step</a> 2009-02-16 01:13:55</li>
				</ul>
		</div>
		        ]]></content:encoded>
		<wfw:commentRss>http://www.kods.net/rman-conducted-through-the-bare-equipment-and-file-system-data-file-transfer-between/</wfw:commentRss>
	</item>
		<item>
		<title>RMAN to bare through the file system equipment and data files between the migration</title>
		<link>http://www.kods.net/rman-to-bare-through-the-file-system-equipment-and-data-files-between-the-migration/</link>
		<comments>http://www.kods.net/rman-to-bare-through-the-file-system-equipment-and-data-files-between-the-migration/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 06:41:37+0000</pubDate>
		<dc:creator>kods.net</dc:creator>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[oracle]]></category>
<category><![CDATA[oracle database]]></category>
<category><![CDATA[sqlplus]]></category>
<category><![CDATA[olap]]></category>
<category><![CDATA[sql]]></category>
<category><![CDATA[amendments]]></category>
<category><![CDATA[data mining scoring]]></category>
<category><![CDATA[engine options]]></category>
<category><![CDATA[select count]]></category>
<category><![CDATA[partitioning]]></category>
<category><![CDATA[disk 1]]></category>
<category><![CDATA[recovery catalog]]></category>
<category><![CDATA[database control]]></category>
<category><![CDATA[datafile]]></category>
<category><![CDATA[target]]></category>
<category><![CDATA[table space]]></category>
<category><![CDATA[system conversion]]></category>
<category><![CDATA[danal]]></category>
<category><![CDATA[test equipment]]></category>
<category><![CDATA[migration]]></category>
		<guid isPermaLink="true">http://www.kods.net/rman-to-bare-through-the-file-system-equipment-and-data-files-between-the-migration/</guid>
		<description><![CDATA[To be a brief example of how to use data files for Rman bare equipment and file system conversion. 1. EYGLE the establishment of the use of test equipment bare table space 2. Use RMAN to back up the COPY function of the bare device file for the file  ...]]></description>
		<content:encoded><![CDATA[To be a brief example of how to use data files for Rman bare equipment and file system conversion. <br /><br /> 1. EYGLE the establishment of the use of test equipment bare table space <br /><table><tbody><tr><td width=500 bgcolor=#999999> <pre>[oracle@danaly ~]$ sqlplus "/ as sysdba"

SQL*Plus: Release 10.2.0.1.0 - Production on Wed Nov 30 14:41:53 2005

Copyright (c) 1982, 2005, Oracle.  All rights reserved.


Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options

SQL&gt; create tablespace eygle
  2  datafile '/dev/cciss/c0d0p11' size 10M;

Tablespace created.

SQL&gt; create table eygle tablespace eygle as select * from dba_objects;

Table created.


SQL&gt; select count(*) from eygle;

  COUNT(*)
----------
     50420

SQL&gt; alter tablespace eygle offline;

Tablespace altered.

SQL&gt; exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options
</pre> </td></tr></tbody></table><br /> 2. Use RMAN to back up the COPY function of the bare device file for the file system file <br /><table><tbody><tr><td width=500 bgcolor=#999999> <pre>[oracle@danaly ~]$ rman target /

Recovery Manager: Release 10.2.0.1.0 - Production on Wed Nov 30 16:00:42 2005

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

connected to target database: DANALY (DBID=3965153484)

RMAN&gt; copy datafile '/dev/cciss/c0d0p11' to '/opt/oracle/eygle01.dbf'; 

Starting backup at 30-NOV-05
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=137 devtype=DISK
channel ORA_DISK_1: starting datafile copy
input datafile fno=00002 name=/dev/cciss/c0d0p11
output filename=/opt/oracle/eygle01.dbf tag=TAG20051130T160137 recid=2 stamp=575740898
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:02
Finished backup at 30-NOV-05

RMAN&gt; exit


Recovery Manager complete.
</pre> </td></tr></tbody></table><br /> 3. The adoption of amendments to rename file location <br /><table><tbody><tr><td width=500 bgcolor=#999999> <pre>[oracle@danaly ~]$ sqlplus "/ as sysdba"

SQL*Plus: Release 10.2.0.1.0 - Production on Wed Nov 30 16:01:54 2005

Copyright (c) 1982, 2005, Oracle.  All rights reserved.


Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options

SQL&gt; alter database rename file '/dev/cciss/c0d0p11' to '/opt/oracle/eygle01.dbf'; 

Database altered.

SQL&gt; alter tablespace eygle online;

Tablespace altered.

SQL&gt; select file_name from dba_data_files where tablespace_name='EYGLE';

FILE_NAME
--------------------------------------------------------------------------------
/opt/oracle/eygle01.dbf
</pre> </td></tr></tbody></table><br /> 4. To carry out data modifications <br /><table><tbody><tr><td width=500 bgcolor=#999999> <pre>SQL&gt; insert into eygle as select * from eygle;
insert into eygle as select * from eygle
                  *
ERROR at line 1:
ORA-00926: missing VALUES keyword


SQL&gt; insert into eygle select * from eygle;
insert into eygle select * from eygle
            *
ERROR at line 1:
ORA-01653: unable to extend table SYS.EYGLE by 128 in tablespace EYGLE

SQL&gt; alter database datafile '/opt/oracle/eygle01.dbf' resize 20m;

Database altered.

SQL&gt; insert into eygle select * from eygle;

50420 rows created.

SQL&gt; commit;

Commit complete.

SQL&gt; alter tablespace eygle offline;

Tablespace altered.

SQL&gt; exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options
</pre> </td></tr></tbody></table><br /><br /> 5. Transfer files from the file system to the bare equipment <br /><table><tbody><tr><td width=500 bgcolor=#999999> <pre>[oracle@danaly ~]$ rman target /

Recovery Manager: Release 10.2.0.1.0 - Production on Wed Nov 30 16:08:51 2005

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

connected to target database: DANALY (DBID=3965153484)

RMAN&gt; copy datafile '/opt/oracle/eygle01.dbf' to '/dev/cciss/c0d0p11';

Starting backup at 30-NOV-05
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=135 devtype=DISK
channel ORA_DISK_1: starting datafile copy
input datafile fno=00002 name=/opt/oracle/eygle01.dbf
output filename=/dev/cciss/c0d0p11 tag=TAG20051130T160935 recid=3 stamp=575741376
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:01
Finished backup at 30-NOV-05

RMAN&gt; exit


Recovery Manager complete.
[oracle@danaly ~]$ sqlplus "/ as sysdba"

SQL*Plus: Release 10.2.0.1.0 - Production on Wed Nov 30 16:09:48 2005

Copyright (c) 1982, 2005, Oracle.  All rights reserved.


Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options

SQL&gt; alter database rename file '/opt/oracle/eygle01.dbf' to '/dev/cciss/c0d0p11';

Database altered.

SQL&gt; alter tablespace eygle online;

Tablespace altered.

SQL&gt; select count(*) from eygle; 

  COUNT(*)
----------
    100840

SQL&gt; 
</pre> </td></tr></tbody></table><br /> rman allows for the bare equipment greatly simplifies the operation.				<h5>Related Posts</h5>
		<div id="smilar">
		<ul>
					<li><a href="http://www.kods.net/sga-extended-the-principle-of-32bit-oracle/" title="SGA extended the principle of 32bit oracle">SGA extended the principle of 32bit oracle</a> 2009-03-31 09:48:01</li>
					<li><a href="http://www.kods.net/an-example-of-the-use-of-tkprof/" title="An example of the use of TKPROF">An example of the use of TKPROF</a> 2009-02-26 01:38:19</li>
					<li><a href="http://www.kods.net/diagnosis-and-principles-of-order/" title="Diagnosis and principles of order">Diagnosis and principles of order</a> 2009-02-25 20:27:28</li>
					<li><a href="http://www.kods.net/oracle-10g-dataguard-configuration-step-by-step/" title="ORACLE 10G dataguard configuration Step by Step">ORACLE 10G dataguard configuration Step by Step</a> 2009-02-16 01:13:55</li>
				</ul>
		</div>
		        ]]></content:encoded>
		<wfw:commentRss>http://www.kods.net/rman-to-bare-through-the-file-system-equipment-and-data-files-between-the-migration/</wfw:commentRss>
	</item>
		<item>
		<title>Oracle XDB relax resolve port conflict of 8080</title>
		<link>http://www.kods.net/oracle-xdb-relax-resolve-port-conflict-of-8080/</link>
		<comments>http://www.kods.net/oracle-xdb-relax-resolve-port-conflict-of-8080/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 16:47:42+0000</pubDate>
		<dc:creator>kods.net</dc:creator>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[oracle]]></category>
<category><![CDATA[sqlplus]]></category>
<category><![CDATA[java web development]]></category>
<category><![CDATA[database oracle]]></category>
<category><![CDATA[migration tools]]></category>
<category><![CDATA[oracle 9i]]></category>
<category><![CDATA[ftp port]]></category>
<category><![CDATA[startup configuration]]></category>
<category><![CDATA[database xml]]></category>
<category><![CDATA[ftp services]]></category>
<category><![CDATA[port settings]]></category>
<category><![CDATA[configuration change]]></category>
<category><![CDATA[database configuration]]></category>
<category><![CDATA[dispatchers]]></category>
<category><![CDATA[enterprise manager]]></category>
<category><![CDATA[listener]]></category>
<category><![CDATA[tomcat]]></category>
<category><![CDATA[configuration file]]></category>
<category><![CDATA[amendments]]></category>
<category><![CDATA[oem]]></category>
		<guid isPermaLink="true">http://www.kods.net/oracle-xdb-relax-resolve-port-conflict-of-8080/</guid>
		<description><![CDATA[In this paper, carried: http://www.enet.com.cn/article/2008/0306/A20080306175452.shtml Oracle 9i from the start, Oracle includes the installation of the default XDB. After starting the database, Oracle XDB&#39;s http service will automatically take u ...]]></description>
		<content:encoded><![CDATA[In this paper, carried: http://www.enet.com.cn/article/2008/0306/A20080306175452.shtml <br /> Oracle 9i from the start, Oracle includes the installation of the default XDB. After starting the database, Oracle XDB&#39;s http service will automatically take up a 8080 port, which give use or JBoss, Tomcat for java web development a lot of people cause unnecessary troubles. <br /><br /> This article will introduce amendments to the XDB port http and ftp services to the three kinds of methods. <br /><br /> 1. Dbms_xdb package using the modified port settings <br /><br /> Sys log in using sqlplus <br /><br /> sqlplus sys / syspassword as sysdba <br /><br /> The implementation of the script is as follows: <br /><br /> ============================ <br /><br /> - Change the HTTP / WEBDAV port from 8080 to 8081 <br /><br /> call dbms_xdb.cfg_update (updateXML ( <br /><br /> dbms_xdb.cfg_get () <br /><br /> , &#39;/ Xdbconfig / sysconfig / protocolconfig / httpconfig / http-port / text ()&#39; <br /><br /> , 8081)) <br /><br /> / <br /><br /> - Change the FTP port from 2100 to 2111 <br /><br /> call dbms_xdb.cfg_update (updateXML ( <br /><br /> dbms_xdb.cfg_get () <br /><br /> , &#39;/ Xdbconfig / sysconfig / protocolconfig / ftpconfig / ftp-port / text ()&#39; <br /><br /> , 2111)) <br /><br /> / <br /><br /> COMMIT; <br /><br /> EXEC dbms_xdb.cfg_refresh; <br /><br /> 2. The use of OEM console <br /><br /> Choose a database, XML Database, Configuration. Change the settings of the XDB. <br /><br /> 3. Modify SPFILE [SID name]. ORA file, remove the database initialization parameters: <br /><br /> This document is Oracle startup configuration file dispatchers = &#39;(PROTOCOL = TCP) (SERVICE = XDB)&#39;, will be prohibited XDB Service of http and ftp. <br /><br /> Now we come to restart the computer, or restart services at OracleService [SID] of this service. After the restart may not be able to use Enterprise Manager Console and other clients to connect, then please use Oracle&#39;s Configuration and Migration Tools / Net Configuration Assistant tool to delete the listener, and then create a new listener, and finally restart the listener.				<h5>Related Posts</h5>
		<div id="smilar">
		<ul>
					<li><a href="http://www.kods.net/sga-extended-the-principle-of-32bit-oracle/" title="SGA extended the principle of 32bit oracle">SGA extended the principle of 32bit oracle</a> 2009-03-31 09:48:01</li>
					<li><a href="http://www.kods.net/an-example-of-the-use-of-tkprof/" title="An example of the use of TKPROF">An example of the use of TKPROF</a> 2009-02-26 01:38:19</li>
					<li><a href="http://www.kods.net/diagnosis-and-principles-of-order/" title="Diagnosis and principles of order">Diagnosis and principles of order</a> 2009-02-25 20:27:28</li>
					<li><a href="http://www.kods.net/oracle-10g-dataguard-configuration-step-by-step/" title="ORACLE 10G dataguard configuration Step by Step">ORACLE 10G dataguard configuration Step by Step</a> 2009-02-16 01:13:55</li>
				</ul>
		</div>
		        ]]></content:encoded>
		<wfw:commentRss>http://www.kods.net/oracle-xdb-relax-resolve-port-conflict-of-8080/</wfw:commentRss>
	</item>
		<item>
		<title>[To] Oracle stored procedure to send mail, and to support user authentication. The Chinese title and content - to amend By-laws</title>
		<link>http://www.kods.net/to-oracle-stored-procedure-to-send-mail-and-to-support-user-authentication-the-chinese-title-and-content-to-amend-by-laws/</link>
		<comments>http://www.kods.net/to-oracle-stored-procedure-to-send-mail-and-to-support-user-authentication-the-chinese-title-and-content-to-amend-by-laws/#comments</comments>
		<pubDate>Tue, 10 Mar 2009 22:26:48+0000</pubDate>
		<dc:creator>kods.net</dc:creator>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[oracle]]></category>
<category><![CDATA[implementation]]></category>
<category><![CDATA[parameters]]></category>
<category><![CDATA[amendments]]></category>
<category><![CDATA[oracle 8]]></category>
<category><![CDATA[user authentication]]></category>
<category><![CDATA[e mail]]></category>
<category><![CDATA[google]]></category>
<category><![CDATA[oracle stored procedure]]></category>
<category><![CDATA[chinese title]]></category>
<category><![CDATA[mail recipient]]></category>
<category><![CDATA[tool kit]]></category>
<category><![CDATA[debugging]]></category>
<category><![CDATA[job involvement]]></category>
<category><![CDATA[attachments]]></category>
<category><![CDATA[all odds]]></category>
		<guid isPermaLink="true">http://www.kods.net/to-oracle-stored-procedure-to-send-mail-and-to-support-user-authentication-the-chinese-title-and-content-to-amend-by-laws/</guid>
		<description><![CDATA[Oracle stored procedure to send mail, and supports user authentication, the Chinese title and content Oracle stored procedure in the implementation, we may hope that its own e-mail to complete the implementation of the results, especially in the capt ...]]></description>
		<content:encoded><![CDATA[<a"http://www.blogjava.net/Unmi/archive/2009/02/06/253599.html"> <font color=#800080>Oracle stored procedure to send mail, and supports user authentication, the Chinese title and content</font> <br /><br /> Oracle stored procedure in the implementation, we may hope that its own e-mail to complete the implementation of the results, especially in the capture to the abnormal. Can not always rely on stored procedure calls an external procedure - After the call, according to the export parameters, send the results of the implementation. This need more pressing in the Oracle Job involvement Non-manual  call the case of stored procedure. <br /><br /> Fortunately, Oracle provides us with a tool kit to send mail UTL_SMTP, it first appeared in the Oracle 8.1.7 version. Here are my search from a network-related information, consolidate, a number of amendments to a number of debugging, against all odds and to write a stored procedure to send mail. To support the need to mail server user authentication, the Chinese title and content of non-English characters, not only support sending attachments, I believe this is the application of less need for Google, then click again, and after the reference in the text of the link. <br /><br /><ol><li> CREATE OR REPLACE PROCEDURE send_mail ( </li><li> p_recipient VARCHAR2, - e-mail recipient				<h5>Related Posts</h5>
		<div id="smilar">
		<ul>
					<li><a href="http://www.kods.net/sga-extended-the-principle-of-32bit-oracle/" title="SGA extended the principle of 32bit oracle">SGA extended the principle of 32bit oracle</a> 2009-03-31 09:48:01</li>
					<li><a href="http://www.kods.net/an-example-of-the-use-of-tkprof/" title="An example of the use of TKPROF">An example of the use of TKPROF</a> 2009-02-26 01:38:19</li>
					<li><a href="http://www.kods.net/diagnosis-and-principles-of-order/" title="Diagnosis and principles of order">Diagnosis and principles of order</a> 2009-02-25 20:27:28</li>
					<li><a href="http://www.kods.net/oracle-10g-dataguard-configuration-step-by-step/" title="ORACLE 10G dataguard configuration Step by Step">ORACLE 10G dataguard configuration Step by Step</a> 2009-02-16 01:13:55</li>
				</ul>
		</div>
		        ]]></content:encoded>
		<wfw:commentRss>http://www.kods.net/to-oracle-stored-procedure-to-send-mail-and-to-support-user-authentication-the-chinese-title-and-content-to-amend-by-laws/</wfw:commentRss>
	</item>
		<item>
		<title>Parameter file on the oracle</title>
		<link>http://www.kods.net/parameter-file-on-the-oracle/</link>
		<comments>http://www.kods.net/parameter-file-on-the-oracle/#comments</comments>
		<pubDate>Sat, 07 Jun 2008 13:22:01+0000</pubDate>
		<dc:creator>kods.net</dc:creator>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[oracle]]></category>
<category><![CDATA[oracle home]]></category>
<category><![CDATA[oracle database]]></category>
<category><![CDATA[sid]]></category>
<category><![CDATA[parameters]]></category>
<category><![CDATA[amendments]]></category>
<category><![CDATA[lt]]></category>
<category><![CDATA[unix]]></category>
<category><![CDATA[scope]]></category>
<category><![CDATA[rn]]></category>
<category><![CDATA[binary file]]></category>
<category><![CDATA[duration]]></category>
<category><![CDATA[windows platform]]></category>
<category><![CDATA[configuration changes]]></category>
<category><![CDATA[unix platform]]></category>
<category><![CDATA[line changes]]></category>
<category><![CDATA[manual configuration]]></category>
<category><![CDATA[homedatabase]]></category>
		<guid isPermaLink="true">http://www.kods.net/parameter-file-on-the-oracle/</guid>
		<description><![CDATA[rn Parameter file on the oracle rn rn In general, the default init.ora parameter file in the following directory: rn Unix platform: $ (ORACLE_HOME) / dbs rn Windows platform: $ ORACLE_HOMEdatabase rn rn Oralce start the process to read parameter file ...]]></description>
		<content:encoded><![CDATA[rn <br /> Parameter file on the oracle <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /?><br /><br /> rn <br /><br /> rn <br /> In general, the default init.ora parameter file in the following directory: <br /><br /> rn <br /> Unix platform: $ (ORACLE_HOME) / dbs <br /><br /> rn <br /> Windows platform: $ ORACLE_HOMEdatabase <br /><br /> rn <br /><br /> rn <br /> Oralce start the process to read parameter file, the default order is: <br /><br /> rn <br /> spfile &lt;SID&gt;. ora - oracle database is created automatically create the spfile file <br /><br /> rn <br /> spflie.ora - oracle default spfile file <br /><br /> rn <br /> init &lt;SID&gt;. ora - oracle database is created automatically create the pfile file <br /><br /> rn <br /> init.ora - oracle default pfile file <br /><br /> rn <br /><br /> rn <br /> pfile is a text file, spfile is a binary file <br /><br /> rn <br /> For the parameter configuration, pfile in a text editor can open the manual configuration, and spfile not, must be activated in the database by sql command line changes, pfile configuration changes, to use its entry into force, you must restart the database, spfile of configuration to take effect duration and scope to modify the parameters in the sql can be specified in the order, effective immediately, it may not take effect immediately. Of course, some parameters need to restart the database before the changes take effect; can create a sql command from the pfile spfile, you can create the spfile pfile; If it is to manually create the database, rather than through DBCA, then start creating the database, you can only define pfile, because it is a text format; oracle database using only one parameter file, either pfile, either spfile. <br /><br /> rn <br /> How to determine which database is currently using a parameter document? <br /><br /> rn <br /> One way is to create pfile had to identify, if not currently using spfile, then the appropriate format create pfile will produce an error. Another method is to show parameter spfile command to display the location of spfile, if the display is empty, then use the pfile <br /><br /> rn <br /><br /> rn <br /> Parameter file was modified method <br /><br /> rn <br /> Changes and amendments divided into manual online. <br /><br /> rn <br /> Manually modified to modify the pfile, pfile directly modified with a text editor to open. To use the changes to take effect, to restart the database. Online change is in the database is running, use the alter system command to modify the command as follows <br /><br /> rn <br /> sql&gt; alter system set job_queue_processed = 50 scope = MEMORY <br /><br /> rn <br /> Note, scope = MEMORY said application, values are as follows: <br /><br /> rn <br /> SPFILE: modify the SPFILE only effective, does not affect the current instance, need to restart the database to take effect; <br /><br /> rn <br /> MEMORY: changes effective only memory, or only the current examples of effective and immediate effect, but not saved to the SPFILE, this configuration is lost after restarting the database; BOTH: As the name suggests, contains the above two, effective immediately, and permanent. <br /><br /> rn <br /> Modify the parameters for the ALTER SYSTEM command, please note the following: <br /><br /> rn <br /> First, if the current instance using the pfile instead of spfile, then scope = spfile or scope = both will generate an error; <br /><br /> rn <br /> Second, if the instance with pfile start, the scope of the default value of MEMORY, if spfile is triggered, the default is BOTH; <br /><br /> rn <br /> Third, you can use the DEFERRED that the changes apply only to future sessions, you can also use the COMMENT written comments, such as: ALTER SYSTEM SET JOB_QUEUE_PROCESSES = 50 SCOPE = BOTH DEFERRED COMMENT = &quot;comment&quot; <br /><br /> rn <br /> Fourth, remove the parameters as follows: ALTER SYSTEM SET PARAMETER =&#39;&#39;; <br /><br /> rn <br /> Create parameter file <br /><br /> rn <br /> For pfile, you can use a text editor to edit a direct hand, you can also use the command create pfile from spfile created, such as: CREATE PFILE = &#39;C: \ PFILE \ MYPFILE.ORA&#39; FROM SPFILE = &#39;D: \ SPFILE \ MYSPFILE. ORA &#39;, or from the current instance is created using the spfile: create pfile =&#39; c: \ pfile \ mypfile.ora &#39;from spfile. <br /> Create spfile command is as follows: CREATE SPFILE FROM PFILE = &#39;C: \ PFILE \ MYPFILE&#39;. <br /><br /> rn <br /><br /> rn <br /><br /> rn <br /><br /> rn <br /><br /> rn				<h5>Related Posts</h5>
		<div id="smilar">
		<ul>
					<li><a href="http://www.kods.net/sga-extended-the-principle-of-32bit-oracle/" title="SGA extended the principle of 32bit oracle">SGA extended the principle of 32bit oracle</a> 2009-03-31 09:48:01</li>
					<li><a href="http://www.kods.net/an-example-of-the-use-of-tkprof/" title="An example of the use of TKPROF">An example of the use of TKPROF</a> 2009-02-26 01:38:19</li>
					<li><a href="http://www.kods.net/diagnosis-and-principles-of-order/" title="Diagnosis and principles of order">Diagnosis and principles of order</a> 2009-02-25 20:27:28</li>
					<li><a href="http://www.kods.net/oracle-10g-dataguard-configuration-step-by-step/" title="ORACLE 10G dataguard configuration Step by Step">ORACLE 10G dataguard configuration Step by Step</a> 2009-02-16 01:13:55</li>
				</ul>
		</div>
		        ]]></content:encoded>
		<wfw:commentRss>http://www.kods.net/parameter-file-on-the-oracle/</wfw:commentRss>
	</item>
	</channel>
</rss>
