<?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>2009/06</title>
	<atom:link href="http://www.kods.net/feed/archive/2009/06/" rel="self" type="application/rss+xml" />
	<link>http://www.kods.net/</link>
	<description>Oracle Jobs, Oracle Database, Oracle 9i, Oracle SQL, Oracle at Delphi, Oracle Greek, Learn Oracle, Oracle ERP</description>
	<pubDate>Sat, 13 Mar 2010 07:10:36+0000</pubDate>
	<generator>http://www.kods.net/</generator>
	<language>en</language>
		<item>
		<title>Disk Management Part asm</title>
		<link>http://www.kods.netwww.kods.net/disk-management-part-asm/</link>
		<comments>http://www.kods.netwww.kods.net/disk-management-part-asm/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 22:55:03+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[data mining]]></category>
<category><![CDATA[init]]></category>
<category><![CDATA[device boot]]></category>
<category><![CDATA[fdisk]]></category>
<category><![CDATA[redundancy]]></category>
<category><![CDATA[rn]]></category>
<category><![CDATA[disk management]]></category>
<category><![CDATA[partition table entries]]></category>
<category><![CDATA[partition number]]></category>
<category><![CDATA[skiping]]></category>
<category><![CDATA[group root]]></category>
<category><![CDATA[sdd]]></category>
<category><![CDATA[ioctl]]></category>
<category><![CDATA[localhost]]></category>
<category><![CDATA[asm]]></category>
<category><![CDATA[number 1]]></category>
		<guid isPermaLink="true">http://www.kods.netwww.kods.net/disk-management-part-asm/</guid>
		<description><![CDATA[asm add linux on the disk into the disk method [root @ localhost init.d] # fdisk / dev / sdd rn Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1  ...]]></description>
		<content:encoded><![CDATA[asm add linux on the disk into the disk method <BR> [root @ localhost init.d] # fdisk / dev / sdd <br /><br /> rn <br /> Command (m for help): n <BR> Command action <BR> e extended <BR> p primary partition (1-4) <BR> p <BR> Partition number (1-4): 1 <BR> First cylinder (1-261, default 1): 130 <BR> Last cylinder or + size or + sizeM or + sizeK (130-261, default 261): <BR> Using default value 261 <br /><br /> rn <br /> Command (m for help): n <BR> Command action <BR> e extended <BR> p primary partition (1-4) <BR> p <BR> Partition number (1-4): 2 <BR> First cylinder (1-261, default 1): <BR> Using default value 1 <BR> Last cylinder or + size or + sizeM or + sizeK (1-129, default 129): <BR> Using default value 129 <br /><br /> rn <br /> Command (m for help): w <BR> The partition table has been altered! <br /><br /> rn <br /> Calling ioctl () to re-read partition table. <BR> Syncing disks. <BR> [root @ localhost init.d] # fdisk-l <BR> skiping ................ <BR> Disk / dev / sdd: 2147 MB, 2147483648 bytes <BR> 255 heads, 63 sectors / track, 261 cylinders <BR> Units = cylinders of 16065 * 512 = 8225280 bytes <br /><br /> rn <br /> Device Boot Start End Blocks Id System <BR> / dev/sdd1 130 261 1060 290 83 Linux <BR> / dev/sdd2 1 129 1036161 83 Linux <br /><br /> rn <br /> Partition table entries are not in disk order <BR> [root @ localhost init.d] # <BR> Create asm disk <br /><br /> rn <br /> [root @ localhost init.d] #. / oracleasm createdisk VOL5 / dev/sdd1 <BR> Marking disk &quot;VOL5&quot; as an ASM disk: [OK] <BR> [root @ localhost init.d] #. / oracleasm createdisk VOL6 / dev/sdd2 <BR> Marking disk &quot;VOL6&quot; as an ASM disk: [OK] <br /><br /> rn <br /> Create a disk group <BR> [root @ localhost init.d] # su - oracle <BR> [oracle @ localhost ~] $ export ORACLE_SID = + ASM <BR> [oracle @ localhost ~] $ sqlplus &quot;/ as sysdba&quot; <br /><br /> rn <br /> SQL * Plus: Release 10.2.0.1.0 - Production on Tue Jun 30 10:31:42 2009 <br /><br /> rn <br /> Copyright (c) 1982, 2005, Oracle. All rights reserved. <br /><br /> rn <br /><BR> Connected to: <BR> Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production <BR> With the Partitioning, OLAP and Data Mining options <br /><br /> rn <br /> SQL&gt; create diskgroup disk_group_3 normal redundancy <BR> 2 failgroup VOL6 disk &#39;ORCL: VOL6&#39; name VOL6 <BR> 3 failgroup VOL5 disk &#39;ORCL: VOL5&#39; name vol5; <br /><br /> rn <br /> Diskgroup created. <br /><br /> rn <br /> SQL&gt; drop diskgroup disk_group_3 including contents; to delete the disk group <br /><br /> rn <br /> Diskgroup dropped. <br /><br /> rn <br /> SQL&gt; <br /><br /> rn <br /> - Add to asm disk into the disk group already exists, the <br /><br /> rn <br /> SQL&gt; l <BR> 1 * alter diskgroup disk_group_1 add disk &#39;ORCL: VOL5&#39; <BR> SQL&gt; / <br /><br /> rn <br /> Diskgroup altered. <br /><br /> rn <br /> Add to delete the disk <br /><br /> rn <br /> SQL&gt; l <BR> 1 select group_number, disk_number, name, label, path from v $ asm_disk <BR> 2 * <BR> SQL&gt; / <br /><br /> rn <br /> GROUP_NUMBER DISK_NUMBER NAME LABEL PATH <BR> ------------ ----------- ----- ----- ---------- <BR> 0 0 VOL6 ORCL: VOL6 <BR> 1 0 VOL1 VOL1 ORCL: VOL1 <BR> 1 1 VOL2 VOL2 ORCL: VOL2 <BR> 2 0 VOL3 VOL3 ORCL: VOL3 <BR> 2 1 VOL4 VOL4 ORCL: VOL4 <BR> 1 2 VOL5 VOL5 ORCL: VOL5 <BR> SQL&gt; alter diskgroup disk_group_1 drop disk VOL5; <br /><br /> rn <br /> Diskgroup altered. <br /><br /> rn <br /> select group_number, disk_number, bytes_written/1024/1024 from v $ asm_disk_stat <BR> 1 0 79.74072265625 <BR> 1 1 77.85791015625 <BR> 2 0 41.99072265625 <BR> 2 1 41.99072265625 <BR> 1 2 3.8515625 <BR> Disk2 in vol5 which can be reduced to 4MB; <BR> Can also write a resize, if small, will be the following error <br /><br /> rn <br /> SQL&gt; alter diskgroup disk_group_1 resize disk VOL5 size 3M; <BR> alter diskgroup disk_group_1 resize disk VOL5 size 3M <BR> * <BR> ERROR at line 1: <BR> ORA-15032: not all alterations performed <BR> ORA-15037: disk &#39;ORCL: VOL5&#39; is smaller than mimimum of 4 MBs <br /><br /> rn <br /><BR> SQL&gt; c / 3 / 4 <BR> 1 * alter diskgroup disk_group_1 resize disk VOL5 size 4M <BR> SQL&gt; / <br /><br /> rn <br /> Diskgroup altered. <br /><br /> rn <br /> The second group are 41MB, so the first set to 50MB; <br /><br /> rn <br /> SQL&gt; alter diskgroup disk_group_2 resize all size 50M; <br /><br /> rn <br /> Diskgroup altered. <br /><br /> rn <br /><br /> rn				<h5>Related Posts</h5>
		<div id="smilar">
		<ul>
					<li><a href="http://www.kods.netwww.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.netwww.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.netwww.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.netwww.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.netwww.kods.net/disk-management-part-asm/</wfw:commentRss>
	</item>
		<item>
		<title>Change apps, the statements appear to run error, pl / sql to the normal landing</title>
		<link>http://www.kods.netwww.kods.net/change-apps-the-statements-appear-to-run-error-pl-sql-to-the-normal-landing/</link>
		<comments>http://www.kods.netwww.kods.net/change-apps-the-statements-appear-to-run-error-pl-sql-to-the-normal-landing/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 21:04:42+0000</pubDate>
		<dc:creator>kods.net</dc:creator>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[pl sql]]></category>
<category><![CDATA[invalid username]]></category>
<category><![CDATA[change apps]]></category>
<category><![CDATA[remen]]></category>
<category><![CDATA[first impression]]></category>
<category><![CDATA[running time]]></category>
<category><![CDATA[expert advice]]></category>
<category><![CDATA[reply]]></category>
<category><![CDATA[normal landing]]></category>
		<guid isPermaLink="true">http://www.kods.netwww.kods.net/change-apps-the-statements-appear-to-run-error-pl-sql-to-the-normal-landing/</guid>
		<description><![CDATA[Today at the Forum to help users to solve a problem of a complicated, more or less as follows: To change the apps, the statements appear to run error, pl / sql to the normal landing erp version 11.5.1 ...]]></description>
		<content:encoded><![CDATA[Today at the Forum to help users to solve a problem of a complicated, more or less as follows: <br /> To change the apps, the statements appear to run error, pl / sql to the normal landing <br /><br /> erp version 11.5.10.2 <br /> 1, to change the apps password, pl / sql can use the new password, but an error running statements; <br /> 2, change the method of FNDCPASS tools, change the file wdbsvr.app, CGIcmd.dat; <br /> 3, error as follows: <br /> REP-0501: Unable to connect to the specified database <br /> ORA-01017: invalid username / password; logon denied <br /> 4, I would like to ask is not where there is no change to it? Expert advice, please, thank you! <br /><br /> Here are some replies to other users, but never answered the question on Recommendation 1: Kin intended to run after you restart autoconfig.sh <br /> Recommendation 2: The running time is FNDCPASS concurrent manager need to stop <br /><br /> See the problem first impression is that wonder where the dat file, based on experience, which generally does not require altering the document, but he had clearly told him here revised! <br /> So he replies as follows: <br /> Paste your files to see dat <br /><br /> Reply to post # 4 remen <br /><br /> dat file is as follows: <br /> [applprod @ dba server] $ more CGIcmd.dat <br /> # <br /> # $ Header: CGIcmd.dat 115.6 2003/07/10 08:41:16 skghosh ship $ <br /> # <br /> # ################################################# ############## <br /> # <br /> # This file is automatically generated by AutoConfig. It will be read and <br /> # Overwritten. If you were instructed to edit this file, or if you are not <br /> # Able to use the settings created by AutoConfig, refer to Metalink document <br /> # 165195.1 for assistance. <br /> # <br /> # ################################################# ############## <br /><br /> # <br /> PROD_APPS: server = REP60_PROD userid = APPS/ps07r618 @ PROD destype = cache desformat = h <br /> tml% * <br /><br /> PROD_APPS_NO_DESFORMAT: server = REP60_PROD userid = APPS/ps07r618 @ PROD destype = cach <br /> e% * <br /><br /> Thanks! <br /><br /><font>
</font><br /> CGIcmd.dat you modify it? CGIcmd.dat it useful to you? <br /> Do not have a backup? So, go back and try to restore! <br /><br /> There are not FNDCPASS.log error? <br /> Dat file which is only in Oracle Reports integrated with Portal when used to amend, it is estimated that this step is superfluous, you had! <br /><br /><center><br /> QUOTE: <hr> With the original 2009-6-30 14:08 by <i>remen</i> published in screen.width * 0.7) (this.resized = true; this.width = screen.width * 0.7; this.alt = &#39;Click here to open new window \ nCTRL + Mouse wheel to zoom in / out&#39;;}&quot;&quot; if (this.width&gt; screen.width * 0.7) (this.resized = true; this.width = screen.width * 0.7; this.style.cursor = &#39;hand &#39;; this.alt =&#39; Click here to open new window \ nCTRL + Mouse wheel to zoom in / out &#39;;) &quot;onmousewheel =&quot; return imgzoom (this); &quot;alt =&quot; &quot;border =&quot; 0 &quot;&gt; <br /> There are not FNDCPASS.log error? <hr><br /></center><br /> normal log file, dat file is in the process of change over! <br /><br /><center><br /> QUOTE: <hr> With the original 2009-6-30 14:13 by <i>remen</i> published in screen.width * 0.7) (this.resized = true; this.width = screen.width * 0.7; this.alt = &#39;Click here to open new window \ nCTRL + Mouse wheel to zoom in / out&#39;;}&quot;&quot; if (this.width&gt; screen.width * 0.7) (this.resized = true; this.width = screen.width * 0.7; this.style.cursor = &#39;hand &#39;; this.alt =&#39; Click here to open new window \ nCTRL + Mouse wheel to zoom in / out &#39;;) &quot;onmousewheel =&quot; return imgzoom (this); &quot;alt =&quot; &quot;border =&quot; 0 &quot;&gt; <br /> Dat file which is only in Oracle Reports integrated with Portal when used to amend, it is estimated that this step is superfluous, you had! <hr><br /></center><br /> Positive Solutions, knot front, very grateful, it is proposed that a version should be remem book on oracle ERP-specific optimization of the book! <br /><br /> Oh, like to solve the problem! As for the book, the lack of personal feeling too much, we all learn from each other to! <br /><br /> Thus, the issue is resolved <br /><br /> The original with the following address: <br /> http://www.itpub.net/viewthread.php?tid=1183856&amp;extra=&amp;page=2				<h5>Related Posts</h5>
		<div id="smilar">
		<ul>
					<li><a href="http://www.kods.netwww.kods.net/oracle-s-role-in-the-password-file-and-notes/" title="Oracle's role in the password file and notes">Oracle's role in the password file and notes</a> 2009-04-08 23:33:46</li>
					<li><a href="http://www.kods.netwww.kods.net/oracle-structure/" title="Oracle structure">Oracle structure</a> 2009-04-07 10:22:13</li>
					<li><a href="http://www.kods.netwww.kods.net/oracle-basic-concepts-and-terminology/" title="oracle basic concepts and terminology">oracle basic concepts and terminology</a> 2009-04-06 22:17:39</li>
					<li><a href="http://www.kods.netwww.kods.net/oracle-pl-sql-examples-of-practice/" title="oracle pl / sql examples of practice">oracle pl / sql examples of practice</a> 2009-04-06 04:35:08</li>
					<li><a href="http://www.kods.netwww.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>
				</ul>
		</div>
		        ]]></content:encoded>
		<wfw:commentRss>http://www.kods.netwww.kods.net/change-apps-the-statements-appear-to-run-error-pl-sql-to-the-normal-landing/</wfw:commentRss>
	</item>
		<item>
		<title>Oracle Certification skillfully taking outside designated records associated with the alternative in / not in query</title>
		<link>http://www.kods.netwww.kods.net/oracle-certification-skillfully-taking-outside-designated-records-associated-with-the-alternative-in-not-in-query/</link>
		<comments>http://www.kods.netwww.kods.net/oracle-certification-skillfully-taking-outside-designated-records-associated-with-the-alternative-in-not-in-query/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 17:52:58+0000</pubDate>
		<dc:creator>kods.net</dc:creator>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[oracle]]></category>
<category><![CDATA[rownum]]></category>
<category><![CDATA[sql statement]]></category>
<category><![CDATA[lt]]></category>
<category><![CDATA[efficiency]]></category>
<category><![CDATA[inquiries]]></category>
<category><![CDATA[key value]]></category>
<category><![CDATA[oracle certification]]></category>
<category><![CDATA[query table]]></category>
<category><![CDATA[value int]]></category>
<category><![CDATA[gt 5]]></category>
<category><![CDATA[alternative methods]]></category>
<category><![CDATA[fragment]]></category>
<category><![CDATA[half an hour]]></category>
<category><![CDATA[assumptions]]></category>
		<guid isPermaLink="true">http://www.kods.netwww.kods.net/oracle-certification-skillfully-taking-outside-designated-records-associated-with-the-alternative-in-not-in-query/</guid>
		<description><![CDATA[Oracle Certification skillfully taking outside designated records associated with the alternative in / not in query Table 1 to obtain the first 6 to Article 10 of the value of records 1.1 The first me ...]]></description>
		<content:encoded><![CDATA[Oracle Certification skillfully taking outside designated records associated with the alternative in / not in query <br /><br /> Table 1 to obtain the first 6 to Article 10 of the value of records <br /><br /> 1.1 The first method, the use of minus statement <br /><br /> Ddl statement assumptions are as follows: <br /><br /> CREATE TABLE T (ID VARCHAR2 (4) PRIMARY KEY, VALUE INT) <br /><br /> The first method is then removed before the 5, and then removed before 10, and then using the method of computing a collection of the former 10 minus 5 on the OK before the, SQL statement is as follows <br /><br /> The following is a quoted fragment: <br /> SELECT * FROM T WHERE ROWNUM &lt;= 10 <br /> MINUS <br /> SELECT * FROM T WHERE ROWNUM &lt;= 5; <br /><br /> 1.2 In addition a method of using subquery <br /><br /> This kind of subquery approach is relatively complex, but a collection of performance than just subtract better. This method first subquery to be 10 before the data has also been made way before the 10 data rownum, and then once again just made inquiries when rownum query the data of more than 5. SQL statement is as follows <br /><br /> The following is a quoted fragment: <br /> SELECT ID, VALUE FROM <br /> (SELECT ID, VALUE, ROWNUM R FROM T WHERE R &lt;= 10) <br /> WHERE <br /> R&gt; 5; <br /><br /> Through the above statement, it has been 6 to Article 10 of the data. <br /><br /> 2 the use of an alternative not in outer join statement <br /><br /> in statements are not in the statement of the efficiency is very poor, because the database in the face of these two statements, when data is to a more than a right, if in or not in the amount of data on both sides in the last million of the time, to compare the number of the million is very likely a simple sql statement to be performed for more than half an hour. This efficiency can not be sure that customers are acceptable. Then we can consider two alternative methods, the first statement is based on the exist and not exist statement, which we should be more familiar with. Another is outside the associated statement Using this method may not be familiar with everyone, I came to talk about a little. Hypothetical data table DDL statements to build tables for the <br /><br /> CREATE TABLE T1 (ID VARCHAR2 (4) PRIMARY KEY, VALUE INT) <br /><br /> And in the table or not in the building table for DDL statements <br /><br /> CREATE TABLE T2 (VALUE INT) <br /><br /> Oracle is used by Chinese and foreign association (+) symbol outside the association, that is to say a logo (+) symbols of value can not find the time corresponding to NULL. The following is a statement of when to replace in the SQL statement <br /><br /> The following is a quoted fragment: <br /> SELECT T1.ID, T1.VALUE <br /> FROM T1, T2 <br /> WHERE T1.VALUE = T2.VALUE (+) <br /> AND T2.VALUE IS NOT NULL; <br /><br /> And similar. Alternative not in the SQL statement of the statement when compared with <br /><br /> The following is a quoted fragment: <br /> SELECT T1.ID, T1.VALUE <br /> FROM T1, T2 <br /> WHERE T1.VALUE = T2.VALUE (+) <br /> AND T2.VALUE IS NULL; <br /><br /> We can test, in the amount of data and more time than the use of external linkages in or not in the implementation of the efficiency of many, many higher.				<h5>Related Posts</h5>
		<div id="smilar">
		<ul>
					<li><a href="http://www.kods.netwww.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.netwww.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.netwww.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.netwww.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.netwww.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.netwww.kods.net/oracle-certification-skillfully-taking-outside-designated-records-associated-with-the-alternative-in-not-in-query/</wfw:commentRss>
	</item>
		<item>
		<title>Database training a sense of</title>
		<link>http://www.kods.netwww.kods.net/database-training-a-sense-of/</link>
		<comments>http://www.kods.netwww.kods.net/database-training-a-sense-of/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 16:40:02+0000</pubDate>
		<dc:creator>kods.net</dc:creator>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[oracle]]></category>
<category><![CDATA[rn]]></category>
<category><![CDATA[database permissions]]></category>
<category><![CDATA[database industry]]></category>
<category><![CDATA[humorous style]]></category>
<category><![CDATA[database training]]></category>
<category><![CDATA[teaching effectiveness]]></category>
<category><![CDATA[ministry of information]]></category>
<category><![CDATA[doze]]></category>
<category><![CDATA[comrade]]></category>
<category><![CDATA[love story]]></category>
<category><![CDATA[gimmicks]]></category>
<category><![CDATA[information industry]]></category>
<category><![CDATA[yuan]]></category>
<category><![CDATA[merits]]></category>
<category><![CDATA[heart]]></category>
<category><![CDATA[money]]></category>
		<guid isPermaLink="true">http://www.kods.netwww.kods.net/database-training-a-sense-of/</guid>
		<description><![CDATA[rn Recently had the honor of the Ministry of Information Industry took part in a training organized by oracle, the teacher lectures, Yuan Baohua, to 30 years old, more than ten years in database indus ...]]></description>
		<content:encoded><![CDATA[rn <br /> <FONT size=3><FONT face="Times New Roman">       </FONT> Recently had the honor of the Ministry of Information Industry took part in a training organized by <FONT face="Times New Roman">oracle,</font> the teacher lectures, Yuan Baohua, to 30 years old, more than ten years in database industry, although much older, but the teaching can be a vivid, lively way. After listening to the entire five-day course, I did not even play a doze,</font> a <FONT size=3>record since the record since I go to school, so, regardless of the final database of knowledge to learn how many aspects of teaching that he is powerful enough.</font> <br /><br /> rn <br /> <FONT size=3><FONT face="Times New Roman">       </FONT> Said the lively lecture because he likes to play when for instance, using the database permissions for the chapter, he would go to the bank by a person, such as money,</font> etc. <FONT size=3>so for example, because the process is similar to one it is easy to understand than simply teaching more lively.</font> <br /><br /> rn <br /> <FONT size=3><FONT face="Times New Roman">       </FONT> Speaking of lively because he is very humorous style of speaking,</font> for <FONT size=3>example, to teach <FONT face="Times New Roman">rman</font> would like to introduce before the merits of <FONT face="Times New Roman">rman,</font> he would jokingly said, &quot;I would like to introduce one of the advantages of the <FONT face="Times New Roman">rman,</font> you want to listen to, I said next, does not want to listen Even if &quot;; introduction he asked us,&quot; You felt you <FONT face="Times New Roman">rman,</font> ah want to continue to listen to. &quot;We</font> see <FONT size=3>no response, he went on to say that&quot; such a good thing, you are not tempted?? that One of the advantages I have to say, look at your heart at every turn &quot;; If so, he introduced the <FONT face="Times New Roman">rman</font> of <FONT face="Times New Roman">5, 6</font> advantages. In fact, the content of a professor teaching with almost ordinary, but because of his lecture on the gimmicks and more people can always find new ideas. This lecture can be attractive, it is not surprising.</font> <br /><br /> rn <br /> <FONT size=3><FONT face="Times New Roman">       </FONT> In addition, I found a way to improve teaching effectiveness, that is, story-telling. Comrade Yuan special love story (do not know this story is true or false), his work will take place in the middle of things,</font> for <FONT size=3>example, who encountered谁谁what kind of things,</font> and <FONT size=3>finally found the reasons for that,</font> and <FONT size=3>so on and so on. These stories have taken place in the well-known inside the company, but behind each story there is a specific database knowledge, and so he finished the story, well, not only to remember the story, the story behind it to remember the knowledge. This seems to simply point a professor of knowledge more effective. From, I also found a reason, a regular person who engaged in technology,</font> it <FONT size=3>should be from time to time onto the platform can not only sort out their own knowledge into the system, it can happen to them to educate other people&#39;s things.</font> <br /><br /> rn <br /> <FONT size=3><FONT face="Times New Roman">       </FONT> Five-day course is over, even if the databases do not have much technical progress, but at least be considered in regard to lectures to learn a lot.袁老师wish our visit to Hangzhou.</font>				<h5>Related Posts</h5>
		<div id="smilar">
		<ul>
					<li><a href="http://www.kods.netwww.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.netwww.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.netwww.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.netwww.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.netwww.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.netwww.kods.net/database-training-a-sense-of/</wfw:commentRss>
	</item>
		<item>
		<title>Oracle10g - The regular expression</title>
		<link>http://www.kods.netwww.kods.net/oracle10g-the-regular-expression/</link>
		<comments>http://www.kods.netwww.kods.net/oracle10g-the-regular-expression/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 16:31:54+0000</pubDate>
		<dc:creator>kods.net</dc:creator>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[sql]]></category>
<category><![CDATA[substr]]></category>
<category><![CDATA[several times]]></category>
<category><![CDATA[appendix]]></category>
<category><![CDATA[occurrence]]></category>
<category><![CDATA[sensitive search]]></category>
<category><![CDATA[model position]]></category>
<category><![CDATA[string pattern]]></category>
<category><![CDATA[regular expression]]></category>
<category><![CDATA[regexp]]></category>
<category><![CDATA[position search]]></category>
<category><![CDATA[alibaba]]></category>
<category><![CDATA[search string]]></category>
<category><![CDATA[search mode]]></category>
<category><![CDATA[instr]]></category>
<category><![CDATA[layman]]></category>
<category><![CDATA[regular expressions]]></category>
		<guid isPermaLink="true">http://www.kods.netwww.kods.net/oracle10g-the-regular-expression/</guid>
		<description><![CDATA[On the basis of regular expressions that can refer to &quot;layman&#39;s language of regular expressions&quot;, Oracle10g achieved with the regular expression is basically the same, the details can re ...]]></description>
		<content:encoded><![CDATA[On the basis of regular expressions that can refer to &quot;layman&#39;s language of regular expressions&quot;, Oracle10g achieved with the regular expression is basically the same, the details can refer to &quot;10g in regular expressions.&quot; Oracle10g provides four regular expressions can use the function: <br /><br /><ul><li> regexp_like </li><li> regexp_substr </li><li> regexp_instr </li><li> regexp_replace </li></ul><br /><br /> Sys.standard in the package can be seen from these functions (see appendix). Here the main function of these four to do some small tests. <br /><br /> <strong>1. Regexp_like</strong> <br /><br /> REGEXP_LIKE (srcstr, pattern, modifier) <br /><br /> __srcstr: Search String <br /><br /> __pattern: matching model <br /><br /> __modifier: Search mode ( &#39;i&#39; is not case-sensitive search; &#39;c&#39; is case-sensitive search. The default is&#39; c &#39;.) <br /><br /> __return type: boolean <br /><br /> eg: <br /><br /><table bordercolor="#000000" cellspacing="0" cellpadding="2" width="100%" bgcolor="#c0c0c0" border="0"><tbody><tr><td width="100%"> <font face="Verdana" size="2"><br /><br /> SQL&gt; select 1 from dual where</font> regexp_like <font face="Verdana" size="2">( &#39;Alibaba-13930471222&#39;, &#39;^ alibaba-[139 | 135 | 152] [0-9] + (8</font> }$&#39;); <font face="Verdana" size="2"><br /><br /> 1 <br /><br /> ---------- <br /><br /> SQL&gt; select 1 from dual where</font> regexp_like <font face="Verdana" size="2">( &#39;Alibaba-13930471222&#39;, &#39;^ alibaba-[139 | 135 | 152] [0-9] + (8) $&#39;, &#39;c&#39;); <br /><br /> 1 <br /><br /> ---------- <br /><br /> SQL&gt; select 1 from dual where</font> regexp_like <font face="Verdana" size="2">( &#39;Alibaba-13930471222&#39;, &#39;^ alibaba-[139 | 135 | 152] [0-9] + (8) $&#39;, &#39;i&#39;); <br /><br /> 1 <br /><br /> ---------- <br /><br /> 1 <br /><br /></font> </td></tr></tbody></table><br /><br /> <strong>2. Regexp_substr</strong> <br /><br /> REGEXP_SUBSTR (srcstr, pattern, position, occurrence, modifier) <br /><br /> __srcstr: Search String <br /><br /> __pattern: matching model <br /><br /> __position: Search srcstr starting position (default is 1) <br /><br /> __occurrence: search the first matching pattern appears several times in the string (defaults to 1) <br /><br /> __modifier: Search mode ( &#39;i&#39; is not case-sensitive search; &#39;c&#39; is case-sensitive search. The default is&#39; c &#39;.) <br /><br /> eg: <br /><br /><table bordercolor="#000000" cellspacing="0" cellpadding="2" width="100%" bgcolor="#c0c0c0" border="0"><tbody><tr><td width="100%"> <font face="Verdana" size="2"><br /><br /> SQL&gt; select</font> regexp_substr <font face="Verdana" size="2">( &#39;http://blog.chinaunix.net/u/30637/showart_1009927.html&#39;, &#39;[0-9] +&#39;) from dual; <br /><br /> REGEXP_SUBSTR ( &#39;HTTP: / / BLOG.CHI <br /><br /> ------------------------------ <br /><br /> 30637 <br /><br /> SQL&gt; select</font> regexp_substr <font face="Verdana" size="2">( &#39;http://blog.chinaunix.net/u/30637/showart_1009927.html&#39;, &#39;[0-9] +&#39;, 1) from dual; <br /><br /> REGEXP_SUBSTR ( &#39;HTTP: / / BLOG.CHI <br /><br /> ------------------------------ <br /><br /> 30637 <br /><br /> SQL&gt; select</font> regexp_substr <font face="Verdana" size="2">( &#39;http://blog.chinaunix.net/u/30637/showart_1009927.html&#39;, &#39;[0-9] +&#39;, 35) from dual; <br /><br /> REGEXP_SUBSTR ( &#39;HTTP: / / BLOG.CHI <br /><br /> ------------------------------ <br /><br /> 1009927 <br /><br /> SQL&gt; select</font> regexp_substr <font face="Verdana" size="2">( &#39;http://blog.chinaunix.net/u/30637/showart_1009927.html&#39;, &#39;[0-9] +&#39;, 1, 2) from dual; <br /><br /> REGEXP_SUBSTR ( &#39;HTTP: / / BLOG.CHI <br /><br /> ------------------------------ <br /><br /> 1009927 <br /><br /> SQL&gt; select</font> regexp_substr <font face="Verdana" size="2">( &#39;http://blog.chinaunix.net/u/30637/showart_1009927.html&#39;, &#39;[a-z_0-9] +&#39;, 35) from dual; <br /><br /> REGEXP_SUBSTR ( &#39;HTTP: / / BLOG.CHI <br /><br /> ------------------------------ <br /><br /> showart_1009927 <br /><br /> SQL&gt; select</font> regexp_substr <font face="Verdana" size="2">( &#39;http://blog.chinaunix.net/u/30637/Showart_1009927.html&#39;, &#39;[a-z_0-9] +&#39;, 35) from dual; <br /><br /> REGEXP_SUBSTR ( &#39;HTTP: / / BLOG.CHI <br /><br /> ------------------------------ <br /><br /> howart_1009927 <br /><br /> SQL&gt; select</font> regexp_substr <font face="Verdana" size="2">( &#39;http://blog.chinaunix.net/u/30637/Showart_1009927.html&#39;, &#39;[a-z_0-9] +&#39;, 35, 1, &#39;c&#39;) from dual; <br /><br /> REGEXP_SUBSTR ( &#39;HTTP: / / BLOG.CHI <br /><br /> ------------------------------ <br /><br /> howart_1009927 <br /><br /> SQL&gt; select</font> regexp_substr <font face="Verdana" size="2">( &#39;http://blog.chinaunix.net/u/30637/Showart_1009927.html&#39;, &#39;[a-z_0-9] +&#39;, 35, 1, &#39;i&#39;) from dual; <br /><br /> REGEXP_SUBSTR ( &#39;HTTP: / / BLOG.CHI <br /><br /> ------------------------------ <br /><br /> Showart_1009927 <br /><br /></font> </td></tr></tbody></table><br /><br /> <strong>3. Regexp_instr</strong> <br /><br /> REGEXP_INSTR (srcstr, pattern, position, occurrence, returnparam, modifier) <br /><br /> __srcstr: Search String <br /><br /> __pattern: matching model <br /><br /> __position: Search srcstr starting position (default is 1) <br /><br /> __occurrence: search the first matching pattern appears several times in the string (defaults to 1) <br /><br /> __returnparam: return to the substring position in srcstr (0 that the first position, a position that the end of +1, the default is 0.) <br /><br /> __modifier: Search mode ( &#39;i&#39; is not case-sensitive search; &#39;c&#39; is case-sensitive search. The default is&#39; c &#39;.) <br /><br /><table bordercolor="#000000" cellspacing="0" cellpadding="2" width="100%" bgcolor="#c0c0c0" border="0"><tbody><tr><td width="100%"> <font face="Verdana" size="2"><br /><br /> SQL&gt; select</font> regexp_instr <font face="Verdana" size="2">( &#39;http://shop35741645.taobao.com/shop/xshop/wui_page-16115021.htm&#39;, &#39;[0-9] +&#39;) from dual; <br /><br /> REGEXP_INSTR ( &#39;HTTP: / /</font> SHOP35741 <font face="Verdana" size="2"><br /><br /> ------------------------------ <br /><br /> 12 <br /><br /> SQL&gt; select</font> regexp_instr <font face="Verdana" size="2">( &#39;http://shop35741645.taobao.com/shop/xshop/wui_page-16115021.htm&#39;, &#39;[0-9] +&#39;, 21) from dual; <br /><br /> REGEXP_INSTR ( &#39;HTTP: / /</font> SHOP35741 <font face="Verdana" size="2"><br /><br /> ------------------------------ <br /><br /> 52 <br /><br /> SQL&gt; select</font> regexp_instr <font face="Verdana" size="2">( &#39;http://shop35741645.taobao.com/shop/xshop/wui_page-16115021.htm&#39;, &#39;[0-9] +&#39;, 1, 2) from dual; <br /><br /> REGEXP_INSTR ( &#39;HTTP: / /</font> SHOP35741 <font face="Verdana" size="2"><br /><br /> ------------------------------ <br /><br /> 52 <br /><br /> SQL&gt; select</font> regexp_instr <font face="Verdana" size="2">( &#39;http://shop35741645.taobao.com/shop/xshop/wui_page-16115021.htm&#39;, &#39;[0-9] +&#39;, 1, 1, 0) from dual; <br /><br /> REGEXP_INSTR ( &#39;HTTP: / /</font> SHOP35741 <font face="Verdana" size="2"><br /><br /> ------------------------------ <br /><br /> 12 <br /><br /> SQL&gt; select</font> regexp_instr <font face="Verdana" size="2">( &#39;http://shop35741645.taobao.com/shop/xshop/wui_page-16115021.htm&#39;, &#39;[0-9] +&#39;, 1, 1, 1) from dual; <br /><br /> REGEXP_INSTR ( &#39;HTTP: / /</font> SHOP35741 <font face="Verdana" size="2"><br /><br /> ------------------------------ <br /><br /> 20 <br /><br /> SQL&gt; select</font> regexp_instr <font face="Verdana" size="2">( &#39;http://shop35741645.taobao.com/shop/xshop/wui_page-16115021.htm&#39;, &#39;[0-9] +&#39;, 1, 2, 0) from dual; <br /><br /> REGEXP_INSTR ( &#39;HTTP: / /</font> SHOP35741 <font face="Verdana" size="2"><br /><br /> ------------------------------ <br /><br /> 52 <br /><br /> SQL&gt; select</font> regexp_instr <font face="Verdana" size="2">( &#39;http://shop35741645.taobao.com/shop/xshop/wui_page-16115021.htm&#39;, &#39;[0-9] +&#39;, 1, 2, 1) from dual; <br /><br /> REGEXP_INSTR ( &#39;HTTP: / /</font> SHOP35741 <font face="Verdana" size="2"><br /><br /> ------------------------------ <br /><br /> 60 <br /><br /> SQL&gt; select</font> regexp_instr <font face="Verdana" size="2">( &#39;http://shop35741645.taobao.com/shop/xshop/wui_page-16115021.htm&#39;, &#39;[az] * [0-9] +&#39;, 1, 1, 0) from dual; <br /><br /> REGEXP_INSTR ( &#39;HTTP: / /</font> SHOP35741 <font face="Verdana" size="2"><br /><br /> ------------------------------ <br /><br /> 8 <br /><br /> SQL&gt; select</font> regexp_instr <font face="Verdana" size="2">( &#39;http://Shop35741645.taobao.com/shop/xshop/wui_page-16115021.htm&#39;, &#39;[az] * [0-9] +&#39;, 1, 1, 0) from dual; <br /><br /> REGEXP_INSTR ( &#39;HTTP: / /</font> SHOP35741 <font face="Verdana" size="2"><br /><br /> ------------------------------ <br /><br /> 9 <br /><br /> SQL&gt; select</font> regexp_instr <font face="Verdana" size="2">( &#39;http://Shop35741645.taobao.com/shop/xshop/wui_page-16115021.htm&#39;, &#39;[az] * [0-9] +&#39;, 1, 1, 0, &#39;i&#39;) from dual; <br /><br /> REGEXP_INSTR ( &#39;HTTP: / /</font> SHOP35741 <font face="Verdana" size="2"><br /><br /> ------------------------------ <br /><br /> 8 <br /><br /> SQL&gt; select</font> regexp_instr <font face="Verdana" size="2">( &#39;http://Shop35741645.taobao.com/shop/xshop/wui_page-16115021.htm&#39;, &#39;[az] * [0-9] +&#39;, 1, 1, 0, &#39;c&#39;) from dual; <br /><br /> REGEXP_INSTR ( &#39;HTTP: / /</font> SHOP35741 <font face="Verdana" size="2"><br /><br /> ------------------------------ <br /><br /> 9 <br /><br /></font> </td></tr></tbody></table><br /><br /> <strong>4. Regexp_replace</strong> <br /><br /> function REGEXP_REPLACE (srcstr, pattern, replacestr, position, occurrence, modifier) <br /><br /> __srcstr: Search String <br /><br /> __pattern: matching model <br /><br /> __replacestr: new substring (default is NULL) <br /><br /> __position: srcstr retrieval start position (default is 1) <br /><br /> __occurrence: there several times to replace the first string match pattern (default is 0) <br /><br /> __modifier: Search mode ( &#39;i&#39; is not case-sensitive search; &#39;c&#39; is case-sensitive search. The default is&#39; c &#39;.) <br /><br /><table bordercolor="#000000" cellspacing="0" cellpadding="2" width="100%" bgcolor="#c0c0c0" border="0"><tbody><tr><td width="100%"> <font face="Verdana" size="2"><br /><br /> SQL&gt; select</font> regexp_replace <font face="Verdana" size="2">( &#39;http://Shop35741645.taobao.com/shop/xshop/wui_page-16115021.htm&#39;, &#39;[az] * [0-9] +&#39;, &#39;YCT&#39;) from dual; <br /><br /> REGEXP_REPLACE ( &#39;HTTP: / /</font> SHOP357 <font face="Verdana" size="2"><br /><br /> -------------------------------------------------- <br /><br /> http://SYCT.taobao.com/shop/xshop/wui_page-YCT.htm <br /><br /> SQL&gt; select</font> regexp_replace <font face="Verdana" size="2">( &#39;http://Shop35741645.taobao.com/shop/xshop/wui_page-16115021.htm&#39;, &#39;[az] * [0-9] +&#39;, &#39;YCT&#39;, 20) from dual; <br /><br /> REGEXP_REPLACE ( &#39;HTTP: / /</font> SHOP357 <font face="Verdana" size="2"><br /><br /> -------------------------------------------------- -------- <br /><br /> http://Shop35741645.taobao.com/shop/xshop/wui_page-YCT.htm <br /><br /> SQL&gt; select</font> regexp_replace <font face="Verdana" size="2">( &#39;http://Shop35741645.taobao.com/shop/xshop/wui_page-16115021.htm&#39;, &#39;[az] * [0-9] +&#39;, &#39;YCT&#39;, 1, 2) from dual ; <br /><br /> REGEXP_REPLACE ( &#39;HTTP: / /</font> SHOP357 <font face="Verdana" size="2"><br /><br /> -------------------------------------------------- -------- <br /><br /> http://Shop35741645.taobao.com/shop/xshop/wui_page-YCT.htm <br /><br /> SQL&gt; select</font> regexp_replace <font face="Verdana" size="2">( &#39;http://Shop35741645.taobao.com/shop/xshop/wui_page-16115021.htm&#39;, &#39;[az] * [0-9] +&#39;, &#39;YCT&#39;, 1, 1) from dual ; <br /><br /> REGEXP_REPLACE ( &#39;HTTP: / /</font> SHOP357 <font face="Verdana" size="2"><br /><br /> -------------------------------------------------- ----- <br /><br /> http://SYCT.taobao.com/shop/xshop/wui_page-16115021.htm <br /></font><br /> SQL&gt; select regexp_replace ( &#39;http://Shop35741645.taobao.com/shop/xshop/wui_page-16115021.htm&#39;, &#39;[az] * [0-9] +&#39;, &#39;YCT&#39;, 1, 1, &#39;i &#39;) from dual; <br /><br /> REGEXP_REPLACE ( &#39;HTTP: / / SHOP357 <br /><br /> -------------------------------------------------- ---- <br /><br /> http://YCT.taobao.com/shop/xshop/wui_page-16115021.htm <br /><br /> SQL&gt; select regexp_replace ( &#39;http://Shop35741645.taobao.com/shop/xshop/wui_page-16115021.htm&#39;, &#39;[az] * ([0-9 ])+&#39;,&#39; \ 1 &#39;, 1, 1 , &#39;i&#39;) from dual; <br /><br /> REGEXP_REPLACE ( &#39;HTTP: / / SHOP357 <br /><br /> -------------------------------------------------- -- <br /><br /> http://5.taobao.com/shop/xshop/wui_page-16115021.htm <br /><br /> SQL&gt; select regexp_replace ( &#39;http://Shop35741645.taobao.com/shop/xshop/wui_page-16115021.htm&#39;, &#39;[az] * ([0-9 ]+)&#39;,&#39; \ 1 &#39;, 1, 1 , &#39;i&#39;) from dual; <br /><br /> REGEXP_REPLACE ( &#39;HTTP: / / SHOP357 <br /><br /> -------------------------------------------------- --------- <br /><br /> http://35741645.taobao.com/shop/xshop/wui_page-16115021.htm <br /><br /></td></tr></tbody></table><br /><br /> <strong>5. Appendix</strong> <br /><br /><table bordercolor="#ffff80" cellspacing="0" cellpadding="2" width="100%" bgcolor="#ffff80" border="0"><tbody><tr><td width="100%"> <font face="Verdana" size="2"><br /><br /> <font color="#800080">- REGEXP_LIKE --</font> <br /><br /> function REGEXP_LIKE (srcstr VARCHAR2 CHARACTER SET ANY_CS, <br /><br /> pattern VARCHAR2 CHARACTER SET srcstr% CHARSET, <br /><br /> modifier VARCHAR2 DEFAULT NULL) <br /><br /> return BOOLEAN; <br /><br /> pragma FIPSFLAG ( &#39;REGEXP_LIKE&#39;, 1452); <br /><br /> function REGEXP_LIKE (srcstr CLOB CHARACTER SET ANY_CS, <br /><br /> pattern VARCHAR2 CHARACTER SET srcstr% CHARSET, <br /><br /> modifier VARCHAR2 DEFAULT NULL) <br /><br /> return BOOLEAN; <br /><br /> pragma FIPSFLAG ( &#39;REGEXP_LIKE&#39;, 1452); <br /><br /> <font color="#800080">- REGEXP_INSTR --</font> <br /><br /> function REGEXP_INSTR (srcstr VARCHAR2 CHARACTER SET ANY_CS, <br /><br /> pattern VARCHAR2 CHARACTER SET srcstr% CHARSET, <br /><br /> position PLS_INTEGER: = 1, <br /><br /> occurrence PLS_INTEGER: = 1, <br /><br /> returnparam PLS_INTEGER: = 0, <br /><br /> modifier VARCHAR2 DEFAULT NULL) <br /><br /> return PLS_INTEGER; <br /><br /> pragma FIPSFLAG ( &#39;REGEXP_INSTR&#39;, 1452); <br /><br /> function REGEXP_INSTR (srcstr CLOB CHARACTER SET ANY_CS, <br /><br /> pattern VARCHAR2 CHARACTER SET srcstr% CHARSET, <br /><br /> position INTEGER: = 1, <br /><br /> occurrence INTEGER: = 1, <br /><br /> returnparam PLS_INTEGER: = 0, <br /><br /> modifier VARCHAR2 DEFAULT NULL) <br /><br /> return INTEGER; <br /><br /> pragma FIPSFLAG ( &#39;REGEXP_INSTR&#39;, 1452); <br /><br /> <font color="#800080">- REGEXP_SUBSTR --</font> <br /><br /> function REGEXP_SUBSTR (srcstr VARCHAR2 CHARACTER SET ANY_CS, <br /><br /> pattern VARCHAR2 CHARACTER SET srcstr% CHARSET, <br /><br /> position PLS_INTEGER: = 1, <br /><br /> occurrence PLS_INTEGER: = 1, <br /><br /> modifier VARCHAR2 DEFAULT NULL) <br /><br /> return VARCHAR2 CHARACTER SET srcstr% CHARSET; <br /><br /> pragma FIPSFLAG ( &#39;REGEXP_SUBSTR&#39;, 1452); <br /><br /> function REGEXP_SUBSTR (srcstr CLOB CHARACTER SET ANY_CS, <br /><br /> pattern VARCHAR2 CHARACTER SET srcstr% CHARSET, <br /><br /> position INTEGER: = 1, <br /><br /> occurrence INTEGER: = 1, <br /><br /> modifier VARCHAR2 DEFAULT NULL) <br /><br /> return CLOB CHARACTER SET srcstr% CHARSET; <br /><br /> pragma FIPSFLAG ( &#39;REGEXP_SUBSTR&#39;, 1452); <br /><br /> <font color="#800080">- REGEXP_REPLACE --</font> <br /><br /> function REGEXP_REPLACE (srcstr VARCHAR2 CHARACTER SET ANY_CS, <br /><br /> pattern VARCHAR2 CHARACTER SET srcstr% CHARSET, <br /><br /> replacestr VARCHAR2 CHARACTER SET srcstr% CHARSET <br /><br /> DEFAULT NULL, <br /><br /> position PLS_INTEGER: = 1, <br /><br /> occurrence PLS_INTEGER: = 0, <br /><br /> modifier VARCHAR2 DEFAULT NULL) <br /><br /> return VARCHAR2 CHARACTER SET srcstr% CHARSET; <br /><br /> pragma FIPSFLAG ( &#39;REGEXP_REPLACE&#39;, 1452); <br /><br /> function REGEXP_REPLACE (srcstr CLOB CHARACTER SET ANY_CS, <br /><br /> pattern VARCHAR2 CHARACTER SET srcstr% CHARSET, <br /><br /> replacestr CLOB CHARACTER SET srcstr% CHARSET <br /><br /> DEFAULT NULL, <br /><br /> position INTEGER: = 1, <br /><br /> occurrence INTEGER: = 0, <br /><br /> modifier VARCHAR2 DEFAULT NULL) <br /><br /> return CLOB CHARACTER SET srcstr% CHARSET; <br /><br /> pragma FIPSFLAG ( &#39;REGEXP_REPLACE&#39;, 1452); <br /><br /> function REGEXP_REPLACE (srcstr CLOB CHARACTER SET ANY_CS, <br /><br /> pattern VARCHAR2 CHARACTER SET srcstr% CHARSET, <br /><br /> replacestr VARCHAR2 CHARACTER SET srcstr% CHARSET <br /><br /> DEFAULT NULL, <br /><br /> position INTEGER: = 1, <br /><br /> occurrence INTEGER: = 0, <br /><br /> modifier VARCHAR2 DEFAULT NULL) <br /><br /> return CLOB CHARACTER SET srcstr% CHARSET; <br /><br /> pragma FIPSFLAG ( &#39;REGEXP_REPLACE&#39;, 1452); <br /><br /> <font color="#800080">- End REGEXP Support --</font> <br /><br /></font> </td></tr></tbody></table>				<h5>Related Posts</h5>
		<div id="smilar">
		<ul>
					<li><a href="http://www.kods.netwww.kods.net/oracle-sysdba-certification-authority-management/" title="Oracle Sysdba certification authority management">Oracle Sysdba certification authority management</a> 2009-04-06 23:37:06</li>
					<li><a href="http://www.kods.netwww.kods.net/oracle-database-exp-imp-import-export-by-user-examples/" title="Oracle Database exp imp Import Export by user examples">Oracle Database exp imp Import Export by user examples</a> 2009-04-06 18:58:52</li>
					<li><a href="http://www.kods.netwww.kods.net/oracle10g-asm-database-table-space-maintenance/" title="Oracle10g ASM database table space maintenance">Oracle10g ASM database table space maintenance</a> 2009-03-31 17:51:25</li>
					<li><a href="http://www.kods.netwww.kods.net/merge-the-use-of-1/" title="Merge the use of (1)">Merge the use of (1)</a> 2009-03-31 09:48:55</li>
					<li><a href="http://www.kods.netwww.kods.net/dbms-obfuscation-toolkit-use-of-oracle-s-encryption-and-decryption-of-data-to/" title="Dbms_obfuscation_toolkit use of Oracle's encryption and decryption of data (to)">Dbms_obfuscation_toolkit use of Oracle's encryption and decryption of data (to)</a> 2009-03-13 18:19:14</li>
				</ul>
		</div>
		        ]]></content:encoded>
		<wfw:commentRss>http://www.kods.netwww.kods.net/oracle10g-the-regular-expression/</wfw:commentRss>
	</item>
		<item>
		<title>How do I enable AutoTrace features of sqlplus</title>
		<link>http://www.kods.netwww.kods.net/how-do-i-enable-autotrace-features-of-sqlplus/</link>
		<comments>http://www.kods.netwww.kods.net/how-do-i-enable-autotrace-features-of-sqlplus/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 13:46:27+0000</pubDate>
		<dc:creator>kods.net</dc:creator>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[oracle]]></category>
<category><![CDATA[implementation]]></category>
<category><![CDATA[statistics]]></category>
<category><![CDATA[sql]]></category>
<category><![CDATA[statistical information]]></category>
<category><![CDATA[line 1]]></category>
<category><![CDATA[sqlplus nolog]]></category>
<category><![CDATA[oracle corporation]]></category>
<category><![CDATA[sys]]></category>
<category><![CDATA[optimizer]]></category>
<category><![CDATA[rdbms]]></category>
<category><![CDATA[default mode]]></category>
<category><![CDATA[synonym]]></category>
<category><![CDATA[report generation]]></category>
<category><![CDATA[implementa]]></category>
<category><![CDATA[june 3]]></category>
<category><![CDATA[synonyms]]></category>
		<guid isPermaLink="true">http://www.kods.netwww.kods.net/how-do-i-enable-autotrace-features-of-sqlplus/</guid>
		<description><![CDATA[Through the following methods can Autotrace granted permission to Everyone, Autotrace If you need to restrict the authority of the public can be re-authorized user on a specific authorization. D: / or ...]]></description>
		<content:encoded><![CDATA[Through the following methods can Autotrace granted permission to Everyone, <br /><br /> Autotrace If you need to restrict the authority of the public can be re-authorized user on a specific authorization. <br /><br /><table"BORDER-RIGHT: #999 1px solid; BORDER-TOP: #999 1px solid; FONT-SIZE: 12px; BORDER-LEFT: #999 1px solid; WIDTH: 80%; BORDER-BOTTOM: #999 1px solid" align=left><tbody><tr><td><br /> D: / oracle/ora92&gt; sqlplus / nolog <br /><br /> SQL * Plus: Release 9.2.0.1.0 - Production on Tuesday, June 3 15:16:03 2003 <br /><br /> Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved. <br /><br /> SQL&gt; connect sys as sysdba <br /> Please enter password: <br /> Is connected. <br /> SQL&gt; @? / Rdbms / admin / utlxplan <br /><br /> Table has been created. <br /><br /> SQL&gt; create public synonym plan_table for plan_table; <br /><br /> Synonyms have been created. <br /><br /> SQL&gt; grant all on plan_table to public; <br /><br /> Successful authorization. <br /><br /> SQL&gt; @? / Sqlplus / admin / plustrce <br /> SQL&gt; <br /> SQL&gt; drop role plustrace; <br /> drop role plustrace <br /> * <br /> ERROR at line 1: <br /> ORA-01919: the role of &#39;PLUSTRACE&#39; does not exist <br /><br /> SQL&gt; create role plustrace; <br /><br /> Role has been created <br /> SQL&gt; <br /> SQL&gt; grant select on v_ $ sesstat to plustrace; <br /><br /> Successful authorization. <br /><br /> SQL&gt; grant select on v_ $ statname to plustrace; <br /><br /> Successful authorization. <br /><br /> SQL&gt; grant select on v_ $ session to plustrace; <br /><br /> Successful authorization. <br /><br /> SQL&gt; grant plustrace to dba with admin option; <br /><br /> Successful authorization. <br /><br /> SQL&gt; <br /> SQL&gt; set echo off <br /><br /></td></tr></tbody></table><br /><br /> DBA user plustrace the first to be awarded the role, and then we can plustrace given public <br /><br /> So that all users will have the authority plustrace role. <br /><br /><table"BORDER-RIGHT: #999 1px solid; BORDER-TOP: #999 1px solid; FONT-SIZE: 12px; BORDER-LEFT: #999 1px solid; WIDTH: 80%; BORDER-BOTTOM: #999 1px solid" align=left><tbody><tr><td><br /> SQL&gt; grant plustrace to public; <br /><br /> Successful authorization. <br /><br /></td></tr></tbody></table><br /><br /> Then we can use the functions of the AutoTrace. <br /><br /><table"BORDER-RIGHT: #999 1px solid; BORDER-TOP: #999 1px solid; FONT-SIZE: 12px; BORDER-LEFT: #999 1px solid; WIDTH: 80%; BORDER-BOTTOM: #999 1px solid" align=left><tbody><tr><td><br /> SQL&gt; connect eqsp / eqsp <br /> Is connected. <br /> SQL&gt; set autotrace on <br /> SQL&gt; set timing on <br /> SQL&gt; <br /><br /></td></tr></tbody></table><br /><br /> On several commonly used Autotrace options: <br /><br /> SET AUTOTRACE OFF ---------------- not AUTOTRACE report generation, which is the default mode <br /> SET AUTOTRACE ON EXPLAIN ------ AUTOTRACE optimizer only shows the report of the implementation of the path <br /> SET AUTOTRACE ON STATISTICS - displays only the implementation of statistical information <br /> SET AUTOTRACE ON ----------------- includes the implementation of plans and statistical information <br /> SET AUTOTRACE TRACEONLY ------ with set autotrace on, but it does not show the query output <br /><br /><table"BORDER-RIGHT: #999 1px solid; BORDER-TOP: #999 1px solid; FONT-SIZE: 12px; BORDER-LEFT: #999 1px solid; WIDTH: 80%; BORDER-BOTTOM: #999 1px solid" align=left><tbody><tr><td><br /> SQL&gt; set autotrace traceonly <br /> SQL&gt; select table_name from user_tables; <br /><br /> 98 firms have chosen. <br /><br /> Has spent time: 00: 00: 00.04 <br /><br /> Execution Plan <br /> -------------------------------------------------- -------- <br /> 0 SELECT STATEMENT Optimizer = CHOOSE <br /> 1 0 NESTED LOOPS <br /> 2 1 NESTED LOOPS (OUTER) <br /> 3 2 NESTED LOOPS (OUTER) <br /> 4 3 NESTED LOOPS (OUTER) <br /> 5 4 NESTED LOOPS (OUTER) <br /> 6 5 NESTED LOOPS <br /> 7 6 TABLE ACCESS (BY INDEX ROWID) OF &#39;OBJ $&#39; <br /> 8 7 INDEX (RANGE SCAN) OF &#39;I_OBJ2&#39; (UNIQUE) <br /> 9 6 TABLE ACCESS (CLUSTER) OF &#39;TAB $&#39; <br /> 10 9 INDEX (UNIQUE SCAN) OF &#39;I_OBJ #&#39; (NON-UNIQUE) <br /> 11 5 TABLE ACCESS (BY INDEX ROWID) OF &#39;OBJ $&#39; <br /> 12 11 INDEX (UNIQUE SCAN) OF &#39;I_OBJ1&#39; (UNIQUE) <br /> 13 4 INDEX (UNIQUE SCAN) OF &#39;I_OBJ1&#39; (UNIQUE) <br /> 14 3 TABLE ACCESS (CLUSTER) OF &#39;USER $&#39; <br /> 15 14 INDEX (UNIQUE SCAN) OF &#39;I_USER #&#39; (NON-UNIQUE) <br /> 16 2 TABLE ACCESS (CLUSTER) OF &#39;SEG $&#39; <br /> 17 16 INDEX (UNIQUE SCAN) OF &#39;I_FILE # _BLOCK #&#39; (NON-UNIQUE) <br /> 18 1 TABLE ACCESS (CLUSTER) OF &#39;TS $&#39; <br /> 19 18 INDEX (UNIQUE SCAN) OF &#39;I_TS #&#39; (NON-UNIQUE) <br /><br /> Statistics <br /> -------------------------------------------------- -------- <br /> 0 recursive calls <br /> 0 db block gets <br /> 1389 consistent gets <br /> 0 physical reads <br /> 0 redo size <br /> 2528 bytes sent via SQL * Net to client <br /> 569 bytes received via SQL * Net from client <br /> 8 SQL * Net roundtrips to / from client <br /> 0 sorts (memory) <br /> 0 sorts (disk) <br /> 98 rows processed <br /><br /> SQL&gt; <br /><br /></td></tr></tbody></table><br /><br /> == THE END				<h5>Related Posts</h5>
		<div id="smilar">
		<ul>
					<li><a href="http://www.kods.netwww.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.netwww.kods.net/using-sql-trace-and-tkprof/" title="Using SQL TRACE and TKPROF">Using SQL TRACE and TKPROF</a> 2009-02-26 21:36:37</li>
					<li><a href="http://www.kods.netwww.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.netwww.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.netwww.kods.net/how-do-i-enable-autotrace-features-of-sqlplus/</wfw:commentRss>
	</item>
		<item>
		<title>SQL interview a subject of transnational corporations</title>
		<link>http://www.kods.netwww.kods.net/sql-interview-a-subject-of-transnational-corporations/</link>
		<comments>http://www.kods.netwww.kods.net/sql-interview-a-subject-of-transnational-corporations/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 12:36:41+0000</pubDate>
		<dc:creator>kods.net</dc:creator>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[match]]></category>
<category><![CDATA[transnational corporations]]></category>
<category><![CDATA[cartesian product]]></category>
<category><![CDATA[ibid]]></category>
		<guid isPermaLink="true">http://www.kods.netwww.kods.net/sql-interview-a-subject-of-transnational-corporations/</guid>
		<description><![CDATA[inner join left outer join right outer join full outer join A difference between the four is a cross join is a Cartesian product of the number of rows in table another table multiplied by the number o ...]]></description>
		<content:encoded><![CDATA[inner join <br /> left outer join <br /> right outer join <br /> full outer join <br /> A difference between the four <br /> is a cross join is a Cartesian product of the number of rows in table another table multiplied by the number of rows <br /> a left join b: to return to a full line - &quot;b in the line to meet and b in the line does not meet (with null instead of) <br /> a right join b: ibid change what is ab <br /> to return to full join two lines in the table left join + right join <br /> inner join table to connect only to return two out of the match <br /><br /> a table <br /> 1, &#39;x&#39; <br /> 2, &#39;y&#39; <br /> 3, &#39;z&#39; <br /><br /> b Table <br /> 1, &#39;a&#39; <br /> 4, &#39;b&#39; <br /> 5, &#39;c&#39; <br /><br /> connect with inner join: <br /> select a.id, a.name, b.id, b.name from a, b <br /> where a.id = b.id <br /><br /> 1, &#39;x&#39;, 1, &#39;a&#39; <br /><br /> left outer join left connected <br /> select a.id, a.name, b.id, b.name from a <br /> left outer join b on a.id = b.id <br /> 1, &#39;x&#39;, 1, &#39;a&#39; <br /> 2, &#39;y&#39;, null, null <br /> 3, &#39;z&#39;, null, null <br /><br /> right outer join right connections <br /> select a.id, a.name, b.id, b.name from a <br /> right outer join b on a.id = b.id <br /> 1, &#39;x&#39;, 1, &#39;a&#39; <br /> null, null, 4, &#39;b&#39; <br /> null, null, 5, &#39;c&#39; <br /><br /> outer join full outer join <br /> select a.id, a.name, b.id, b.name from a <br /> full outer join b on a.id = b.id <br /> 1, &#39;x&#39;, 1, &#39;a&#39; <br /> 2, &#39;y&#39;, null, null <br /> 3, &#39;z&#39;, null, null <br /> null, null, 4, &#39;b&#39; <br /> null, null, 5, &#39;c&#39;				<h5>Related Posts</h5>
		<div id="smilar">
		<ul>
					<li><a href="http://www.kods.netwww.kods.net/oracle-pl-sql-management-command-1/" title="ORACLE PL / SQL Management Command 1">ORACLE PL / SQL Management Command 1</a> 2009-12-28 11:10:45</li>
					<li><a href="http://www.kods.netwww.kods.net/sql-connection-to-connect-the-left-and-right-connections-fully-connected-internal-connections-cross-connect-self-connection/" title="SQL Connection to connect the left and right connections, fully connected, internal connections, cross-connect, self-connection">SQL Connection to connect the left and right connections, fully connected, internal connections, cross-connect, self-connection</a> 2009-10-09 22:30:29</li>
					<li><a href="http://www.kods.netwww.kods.net/merge/" title="MERGE">MERGE</a> 2009-07-09 01:04:58</li>
					<li><a href="http://www.kods.netwww.kods.net/joins/" title="Joins">Joins</a> 2009-07-06 02:12:24</li>
					<li><a href="http://www.kods.netwww.kods.net/block-db-block-size-the-reasons-for-the-operating-system/" title="Block db_block_size the reasons for the operating system?">Block db_block_size the reasons for the operating system?</a> 2009-04-22 21:35:02</li>
				</ul>
		</div>
		        ]]></content:encoded>
		<wfw:commentRss>http://www.kods.netwww.kods.net/sql-interview-a-subject-of-transnational-corporations/</wfw:commentRss>
	</item>
		<item>
		<title>Son of discrete pieces of work resulted in a single stock is negative</title>
		<link>http://www.kods.netwww.kods.net/son-of-discrete-pieces-of-work-resulted-in-a-single-stock-is-negative/</link>
		<comments>http://www.kods.netwww.kods.net/son-of-discrete-pieces-of-work-resulted-in-a-single-stock-is-negative/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 08:52:14+0000</pubDate>
		<dc:creator>kods.net</dc:creator>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[parameters]]></category>
<category><![CDATA[job]]></category>
<category><![CDATA[consumption]]></category>
<category><![CDATA[value measures]]></category>
<category><![CDATA[interface operation]]></category>
<category><![CDATA[negative balances]]></category>
<category><![CDATA[backflush]]></category>
<category><![CDATA[discrete pieces]]></category>
<category><![CDATA[hand inventory]]></category>
<category><![CDATA[child ratio]]></category>
<category><![CDATA[transaction form]]></category>
<category><![CDATA[stock quot]]></category>
<category><![CDATA[user error]]></category>
<category><![CDATA[neg]]></category>
<category><![CDATA[override]]></category>
		<guid isPermaLink="true">http://www.kods.netwww.kods.net/son-of-discrete-pieces-of-work-resulted-in-a-single-stock-is-negative/</guid>
		<description><![CDATA[Reasons: BOM in the definition of recent users, we had pieces of the parent / child ratio of 1:1 parts consumption may be due to user error, the results of the parent items / sub-items for the consump ...]]></description>
		<content:encoded><![CDATA[<strong><font size=4>Reasons:</font></strong> <br /><br /> <font size=4>BOM in the definition of recent users,</font> we <font size=4>had pieces of the parent / child ratio of 1:1 parts consumption may be due to user error, the results of the parent items / sub-items for the consumption of more than 1:1000, single work in the completion of discrete sub-pieces lead to a negative value.</font> <br /><br /><font size=4></font><br /><br /> <font size=4><strong>Measures:</strong> Move Transaction Form the job done for the return interface operation, which used to solve the problem of negative inventory. BOM table and then modify</font> the <font size=4>new discrete work orders, re-completion of work order</font> <br /><br /><font size=4></font><br /><br /> <font size=4><strong>Analysis:</strong> <font color=#cc3333><u>why in the analysis until the parameters of the Organization &quot;Allow negative Stock&quot; has not been checked, why such matters can lead to negative stock it?</u></font></font> <br /><br /><font size=4></font><br /><br /> <font size=4>Check information provided by: INV: Override Neg for Backflush for Yes</font> <br /><br /><font size=4></font><br /><br /> <strong><font size=4>INV: Override Neg for Backflush</font></strong> <br /><br /> <font size=4>Indicates whether backflush transactions can drive <font color=#cc3333>the inventory</font> negative <font color=#cc3333>even if</font> the inventory <font color=#cc3333>organization parameter Allow Negative Balances is unchecked.</font> Inventory <font color=#cc3333>predefines</font> a value of <font color=#cc3333>Yes</font> for this profile option upon installation. A value of No does not allow backflush transactions to drive on-hand inventory negative even when the inventory <br /> organization parameter Allow Negative Balances is unchecked.</font> <br /><br /> <font size=4><br /> This profile is updateable at all levels.</font>				<h5>Related Posts</h5>
		<div id="smilar">
		<ul>
					<li><a href="http://www.kods.netwww.kods.net/database-tuning-problem-parameter-binding-histogram-analysis/" title="Database tuning problem (parameter binding, Histogram Analysis)">Database tuning problem (parameter binding, Histogram Analysis)</a> 2009-04-03 23:53:10</li>
					<li><a href="http://www.kods.netwww.kods.net/setting-to-discuss-filing-oracle10g/" title="setting to discuss filing oracle10g">setting to discuss filing oracle10g</a> 2009-04-02 05:19:08</li>
					<li><a href="http://www.kods.netwww.kods.net/listener-and-ezconnect/" title="LISTENER and EZCONNECT">LISTENER and EZCONNECT</a> 2009-04-01 21:42:20</li>
					<li><a href="http://www.kods.netwww.kods.net/oracle10g-asm-database-table-space-maintenance/" title="Oracle10g ASM database table space maintenance">Oracle10g ASM database table space maintenance</a> 2009-03-31 17:51:25</li>
					<li><a href="http://www.kods.netwww.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>
				</ul>
		</div>
		        ]]></content:encoded>
		<wfw:commentRss>http://www.kods.netwww.kods.net/son-of-discrete-pieces-of-work-resulted-in-a-single-stock-is-negative/</wfw:commentRss>
	</item>
		<item>
		<title>Profiles Used in Form Personalization</title>
		<link>http://www.kods.netwww.kods.net/profiles-used-in-form-personalization/</link>
		<comments>http://www.kods.netwww.kods.net/profiles-used-in-form-personalization/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 07:14:03+0000</pubDate>
		<dc:creator>kods.net</dc:creator>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[profiles]]></category>
<category><![CDATA[option controls]]></category>
<category><![CDATA[menu entry]]></category>
		<guid isPermaLink="true">http://www.kods.netwww.kods.net/profiles-used-in-form-personalization/</guid>
		<description><![CDATA[The profile controlling this follows 1 Utilities: Diagnostics = Yes / No This profile option controls whether users can use the examine utility. 2 Hide Diagnostics Menu entry = Yes / No This profile o ...]]></description>
		<content:encoded><![CDATA[<font color=#990000 size=4>The profile controlling this follows</font> <br /><br /><font color=#990000 size=4></font><br /><br /> <font color=#990000 size=4>1 Utilities: Diagnostics = Yes / No <br /> This profile option controls whether users can use the examine utility.</font> <br /><br /><font color=#990000 size=4></font><br /><br /> <font color=#990000><font size=4>2 Hide Diagnostics Menu entry = Yes / No <br /> This profile option controls the availability of Diagnostics utility.</font> <br /></font>				<h5>Related Posts</h5>
		<div id="smilar">
		<ul>
					<li><a href="http://www.kods.netwww.kods.net/oracle-user-profile-is-used/" title="oracle user profile is used">oracle user profile is used</a> 2009-08-05 23:45:04</li>
					<li><a href="http://www.kods.netwww.kods.net/database-users-to-create-and-modify-user-information/" title="Database users to create and modify user information">Database users to create and modify user information</a> 2009-06-23 04:52:17</li>
				</ul>
		</div>
		        ]]></content:encoded>
		<wfw:commentRss>http://www.kods.netwww.kods.net/profiles-used-in-form-personalization/</wfw:commentRss>
	</item>
		<item>
		<title>Oracle memory structure of-PGA</title>
		<link>http://www.kods.netwww.kods.net/oracle-memory-structure-of-pga/</link>
		<comments>http://www.kods.netwww.kods.net/oracle-memory-structure-of-pga/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 05:49:14+0000</pubDate>
		<dc:creator>kods.net</dc:creator>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[oracle]]></category>
<category><![CDATA[pool]]></category>
<category><![CDATA[parameters]]></category>
<category><![CDATA[target]]></category>
<category><![CDATA[pga]]></category>
<category><![CDATA[global area]]></category>
<category><![CDATA[memory area]]></category>
<category><![CDATA[memory structure]]></category>
<category><![CDATA[hash]]></category>
<category><![CDATA[automatic memory management]]></category>
<category><![CDATA[connection mode]]></category>
<category><![CDATA[management mode]]></category>
<category><![CDATA[management models]]></category>
<category><![CDATA[automatic management]]></category>
<category><![CDATA[mode control]]></category>
<category><![CDATA[server connection]]></category>
<category><![CDATA[management user]]></category>
<category><![CDATA[shared server]]></category>
<category><![CDATA[uga]]></category>
		<guid isPermaLink="true">http://www.kods.netwww.kods.net/oracle-memory-structure-of-pga/</guid>
		<description><![CDATA[I. Overview SGA, PGA, UGA is Oracle&#39;s memory management. SGA (System Global Area), that is, the overall situation of the district system, Oracle the most important area of memory. PGA (Process Glo ...]]></description>
		<content:encoded><![CDATA[I. Overview <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p><br /><br /> <font face=宋体>SGA,</font> <font face="Times New Roman"><font face=宋体>PGA,</font> UGA</font> <font face=宋体>is</font> <font face="Times New Roman">Oracle&#39;s</font> <font face=宋体>memory management.</font> <o:p></o:p><br /><br /><o:p></o:p><br /><br /> SGA <font face="Times New Roman"><font face=宋体>(System</font> Global <font face=宋体>Area),</font></font> <font face=宋体>that is, the overall situation of the district system,</font> <font face="Times New Roman">Oracle</font> <font face=宋体>the most important area of memory.</font> <o:p></o:p><br /><br /> PGA <font face="Times New Roman"><font face=宋体>(Process</font> Global <font face=宋体>Area),</font></font> <font face=宋体>that is, the overall district program, a process-specific memory area.</font> <o:p></o:p><br /><br /> UGA <font face="Times New Roman"><font face=宋体>(User</font> Global <font face=宋体>Area),</font></font> <font face=宋体>and the user global areas, with a particular session is associated.</font> <o:p></o:p><br /><br /> Dedicated server connection mode, <font face="Times New Roman">UGA</font> <font face=宋体>allocated in the <font face="Times New Roman">PGA.</font></font> <o:p></o:p><br /><br /> Shared server connection mode, <font face="Times New Roman">UGA</font> <font face=宋体>in the</font> <font face="Times New Roman">SGA</font> <font face=宋体>in the distribution of</font> <font face="Times New Roman">Large <font face=宋体>Pool.</font></font> <o:p></o:p><br /><br /><o:p></o:p><br /><br /> If the dedicated server connection mode, <font face="Times New Roman">PGA</font> <font face=宋体>contain <font face="Times New Roman">UGA,</font> is used to sort other regions, the combined hash and bitmap.</font> <o:p></o:p><br /><br /> Simply put, <font face="Times New Roman">PGA = UGA +</font> <font face=宋体>sort</font> <font face="Times New Roman">+</font> <font face=宋体>area</font> <font face="Times New Roman">+</font> <font face=宋体>hash area bitmap merge area.</font> <o:p></o:p><br /><br /><o:p></o:p><br /><br /><o:p></o:p><br /><br /> Second, <font face="Times New Roman">PGA</font> <font face=宋体>management mode.</font> <o:p></o:p><br /><br /> PGA <font face=宋体>of two management models:</font> <o:p></o:p><br /><br /> 1) manually <font face="Times New Roman">PGA</font> <font face=宋体>memory management, user-specified sort and hash area of memory used by the district, each connected to use the same memory.</font> <o:p></o:p><br /><br /> 2) automatic <font face="Times New Roman">PGA</font> <font face=宋体>memory management,</font> <font face="Times New Roman">Oracle</font> <font face=宋体>can be used to tell the total amount of</font> <font face="Times New Roman">PGA</font> <font face=宋体>by</font> <font face="Times New Roman">Oraclce</font> <font face=宋体>decision in accordance with the specific distribution of the system load.</font> <o:p></o:p><br /><br /><o:p></o:p><br /><br /> l 9iR1 <font face=宋体>when</font> <font face="Times New Roman">PGA</font> <font face=宋体>defaults to manual memory management,</font> 9iR2 <font face=宋体>after the default for the automatic management of</font> <font face="Times New Roman">PGA</font> <font face=宋体>memory.</font> <o:p></o:p><br /><br /> l PGA <font face=宋体>memory can be expanded and recovery dynamic.</font> <o:p></o:p><br /><br /><o:p></o:p><br /><br /> PGA <font face=宋体>memory management mode control by <font face="Times New Roman">WORKAREA_SIZE_POLICY.</font></font> <o:p></o:p><br /><br /> 1) is set to <font face=宋体><font face="Times New Roman">MANUAL,</font> manual memory management is enabled.</font> <o:p></o:p><br /><br /> 2) is set to <font face=宋体><font face="Times New Roman">AUTO,</font> and</font> 0:00 <font face=宋体>for</font> <font face="Times New Roman">PGA_AGGREGATE_TARGET</font> <font face=宋体>not enable automatic memory management.</font> <o:p></o:p><br /><br /><o:p></o:p><br /><br /><o:p></o:p><br /><br /> Third, manual <font face=宋体>memory management</font> <font face="Times New Roman">PGA</font> <o:p></o:p><br /><br /> There are three <font face=宋体>most influential</font> parameters on the <font face="Times New Roman"><font face=宋体>PGA.</font></font> <o:p></o:p><br /><br /> <font face=宋体>SORT_AREA_SIZE: sort of information the total memory used</font> <o:p></o:p><br /><br /> <font face=宋体>SORT_AREA_RETAINED_SIZE: Sort in memory after the sort of information to preserve the total amount of memory.</font> <o:p></o:p><br /><br /> <font face=宋体>HASH_AREA_SIZE: store hash list the amount of memory used.</font> <o:p></o:p><br /><br /><o:p></o:p><br /><br /> The following description of these three parameters: <o:p></o:p><br /><br /> 1) <font face=宋体>SORT_AREA_SIZE:</font> <o:p></o:p><br /><br /> 1) PGA_AGGREGATE_TARGET <font face=宋体>is a target. When connecting a few of the actual allocation of</font> <font face="Times New Roman">PGA</font> <font face=宋体>memory than it is to small. A few more times to connect the actual allocation of</font> <font face="Times New Roman">PGA</font> <font face=宋体>memory than it is to big, but</font> <font face="Times New Roman">Oracle</font> <font face=宋体>will work hard to keep the total</font> <font face="Times New Roman">PGA</font> <font face=宋体>keep</font> <font face="Times New Roman">PGA_AGGREGATE_TARGET</font> <font face=宋体>value.</font> <o:p></o:p><br /><br /><o:p></o:p><br /><br /> For <font face="Times New Roman">example,</font> PGA_AGGREGATE_TARGET <font face=宋体>set to <font face="Times New Roman">300MB. 5</font> users connected, each user may be allocated</font> <font face="Times New Roman">10MB</font> <font face=宋体>of</font> <font face="Times New Roman">PGA</font> <font face=宋体>memory, a total of</font> <font face="Times New Roman">50MB</font> <font face=宋体>of</font> <font face="Times New Roman">PGA</font> <font face=宋体>memory allocation. <font face="Times New Roman">300</font> user connections per user at the</font> <font face="Times New Roman">PGA</font> <font face=宋体>may be allocation of</font> <font face="Times New Roman">1.3MB</font> <font face=宋体>of memory,</font> a <font face=宋体>total of</font> <font face="Times New Roman">390MB</font> <font face=宋体>of</font> <font face="Times New Roman">PGA</font> <font face=宋体>memory allocation. When a user connects a long time,</font> <font face="Times New Roman">Oracle</font> <font face=宋体>will reduce the per-user usage of</font> <font face="Times New Roman">PGA</font> <font face=宋体>memory.</font> <o:p></o:p><br /><br /> 2) a serial query (non-parallel query) may include a number of sort <font face="Times New Roman">/</font> <font face=宋体>hash operation, each sort</font> <font face="Times New Roman">/</font> <font face=宋体>hash operation using up to</font> <font face="Times New Roman">5%</font> <font face=宋体>of the</font> <font face="Times New Roman">PGA</font> <font face=宋体>memory.</font> <o:p></o:p><br /><br /> 3) a parallel query can be used up to <font face="Times New Roman">30%</font> <font face=宋体>of the</font> <font face="Times New Roman">PGA</font> <font face=宋体>memory, no matter how many parallel processes.</font> <o:p></o:p><br /><br /><o:p></o:p><br /><br /><o:p></o:p><br /><br /> 5, manual <font face=宋体>memory management and automatic</font> <font face="Times New Roman">PGA</font> <font face=宋体>memory management</font> <font face="Times New Roman">PGA</font> <o:p></o:p><br /><br /> Automatic <font face="Times New Roman">PGA</font> <font face=宋体>memory management</font> <font face="Times New Roman">PGA</font> <font face=宋体>compared with the manual memory management there are many advantages</font> <o:p></o:p><br /><br /> 1, when a user is connected is low <o:p></o:p><br /><br /> a) manually <font face="Times New Roman">PGA</font> <font face=宋体>memory management can be used regardless of the number of memory are allocated in accordance with the default value. For example, the current free memory to <font face="Times New Roman">300MB,</font> connections need to be sorted</font> <font face="Times New Roman">10MB</font> <font face=宋体>of memory, and we set the sort area size <font face="Times New Roman">5MB,</font> lead free although there is sufficient memory is not allocated to the current connection, resulting in inefficient implementation.</font> <o:p></o:p><br /><br /> b) automatic <font face="Times New Roman">PGA</font> <font face=宋体>memory management will be based on the current distribution of free memory. When free memory to <font face="Times New Roman">300MB,</font> the current user needs</font> <font face="Times New Roman">10MB</font> <font face=宋体>memory sort,</font> <font face="Times New Roman">Oracle</font> <font face=宋体>will be allocated</font> <font face="Times New Roman">10MB</font> <font face=宋体>of memory to the current user.</font> <o:p></o:p><br /><br /> 2, when a user is connected for a long time <o:p></o:p><br /><br /> a) manually <font face="Times New Roman">PGA</font> <font face=宋体>memory management will be fully in accordance with the default memory allocation. If the total amount of physical memory <font face="Times New Roman">1G,</font> sort area as <font face="Times New Roman">5MB,</font> when there are <font face="Times New Roman">300</font> users connected,</font> <font face="Times New Roman">Oracle</font> <font face=宋体>will be the allocation of</font> <font face="Times New Roman">1.5G</font> <font face=宋体>of memory, which has more than our actual physical memory!</font> <o:p></o:p><br /><br /> b) automatic <font face="Times New Roman">PGA</font> <font face=宋体>memory management will be conducted in accordance with the distribution of the current connection. If the total amount of physical memory <font face="Times New Roman">1G,</font> PGA_AGGREGATE_TARGET to <font face="Times New Roman">300MB,</font> when the number of users rose to</font> <font face="Times New Roman">300</font> <font face=宋体>from <font face="Times New Roman">10,</font> each user connects the memory will gradually meet the needs of</font> <font face="Times New Roman">10MB</font> <font face=宋体>reduced to <font face="Times New Roman">1.3MB,</font> while the final total will be more than</font> <font face="Times New Roman"><font face=宋体>PGA_AGGREGATE_TARGET,</font> PGA</font> <font face=宋体>compared with manual memory management a lot better.</font> <o:p></o:p><br /><br /><o:p></o:p><br /><br /> When using automatic <font face="Times New Roman">PGA</font> <font face=宋体>memory management?</font> <font face="Times New Roman">PGA</font> <font face=宋体>when using manual memory management?</font> <o:p></o:p><br /><br /> During the day when the normal operation of the system suitable for the use of automatic <font face="Times New Roman">PGA</font> <font face=宋体>memory management, so that</font> <font face="Times New Roman">Oracle</font> <font face=宋体>automatically based on the current load management, distribution of</font> <font face="Times New Roman">PGA</font> <font face=宋体>memory.</font> <o:p></o:p><br /><br /> The night the number of users less time to maintain the current session can be set manually using <font face="Times New Roman">PGA</font> <font face=宋体>memory management, so that the maintenance of the current operation of the memory access to as much as possible</font> to <font face=宋体>speed up the execution.</font> <o:p></o:p><br /><br /><o:p></o:p><br /><br /> Such as: server usually runs on automatic <font face="Times New Roman">PGA</font> <font face=宋体>memory management mode, there is a task of the night, to a large table to update sort connected,</font> you <font face=宋体>can operate in the interim to change the</font> <font face="Times New Roman">session</font> <font face=宋体>in the</font> <font face="Times New Roman">PGA</font> <font face=宋体>memory management manually, and then the distribution of large</font> <font face="Times New Roman">SORT_AREA_SIZE</font> <font face=宋体>and</font> <font face="Times New Roman">HASH_AREA_SIZE</font> <font face=宋体>(</font> <font face="Times New Roman">50%</font> <font face=宋体>or even</font> <font face="Times New Roman">80%</font> <font face=宋体>of memory,</font> it is necessary <font face=宋体>to ensure that no other users), this will greatly accelerate the speed of the system without affecting the peak period during the day and the impact on the system.</font> <o:p></o:p><br /><br /><o:p></o:p><br /><br /><o:p></o:p><br /><br /> 6, the operation command <o:p></o:p><br /><br /> System-level changes: <o:p></o:p><br /><br /> ALTER SYSTEM SET WORKAREA_SIZE_POLICY = (AUTO | <font face=宋体>MANAUL);</font> <o:p></o:p><br /><br /> ALTER SYSTEM SET PGA_AGGREGATE_TARGET = 100000000; <o:p></o:p><br /><br /> ALTER SYSTEM SET SORT_AREA_SIZE = 65536 SCOPE = <font face=宋体>SPFILE;</font> <o:p></o:p><br /><br /> ALTER SYSTEM SET HASH_AREA_SIZE = 65536 SCOPE = <font face=宋体>SPFILE;</font> <o:p></o:p><br /><br /><o:p></o:p><br /><br /> Conversation-level changes <o:p></o:p><br /><br /> ALTER SESSION SET WORKAREA_SIZE_POLICY = (AUTO | <font face=宋体>MANAUL);</font> <o:p></o:p><br /><br /> ALTER SESSION SET SORT_AREA_SIZE = <font face=宋体>65536;</font> <o:p></o:p><br /><br /> ALTER SESSION SET HASH_AREA_SIZE = <font face=宋体>65536;</font> <o:p></o:p><br /><br /><o:p></o:p><br /><br /><o:p></o:p><br /><br /> 7, to apply their knowledge <o:p></o:p><br /><br /> <font face=宋体>1, sorting areas:</font> <o:p></o:p><br /><br /> pga_aggregate_target for <font face=宋体><font face="Times New Roman">100MB,</font> a single query can be used to</font> <font face="Times New Roman">5%</font> <font face=宋体>when the order is the time required for</font> <font face="Times New Roman">5MB</font> <o:p></o:p><br /><br /><o:p></o:p><br /><br /> SQL&gt; create table sorttable as select * from all_objects; <o:p></o:p><br /><br /><o:p></o:p><br /><br /> Table has been created. <o:p></o:p><br /><br /><o:p></o:p><br /><br /> SQL&gt; insert into sorttable (select * from sorttable); <o:p></o:p><br /><br /><o:p></o:p><br /><br /> <font face="Times New Roman">49735</font> <font face=宋体>line</font> has been <font face=宋体>created.</font> <o:p></o:p><br /><br /><o:p></o:p><br /><br /> SQL&gt; insert into sorttable (select * from sorttable); <o:p></o:p><br /><br /><o:p></o:p><br /><br /> <font face="Times New Roman">99470</font> <font face=宋体>line</font> has been <font face=宋体>created.</font> <o:p></o:p><br /><br /><o:p></o:p><br /><br /> SQL&gt; set timing on; <o:p></o:p><br /><br /> SQL&gt; set autotrace traceonly; <o:p></o:p><br /><br /> SQL&gt; select * from sorttable order by object_id; <o:p></o:p><br /><br /><o:p></o:p><br /><br /> Have chosen to 198,940 <font face=宋体>lines.</font> <o:p></o:p><br /><br /><o:p></o:p><br /><br /> Has spent <font face="Times New Roman">time: 00: 00: 50.49</font> <o:p></o:p><br /><br /><o:p></o:p><br /><br /> Session <font face=宋体>class to sort the district to amend the time needed for the</font> <font face="Times New Roman">30mb</font> <o:p></o:p><br /><br /> SQL&gt; ALTER SESSION SET WORKAREA_SIZE_POLICY = MANUAL; <o:p></o:p><br /><br /><o:p></o:p><br /><br /> Conversation has changed. <o:p></o:p><br /><br /><o:p></o:p><br /><br /> Has spent <font face="Times New Roman">time: 00: 00: 00.02</font> <o:p></o:p><br /><br /> SQL&gt; ALTER SESSION SET SORT_AREA_SIZE = 30000000; <o:p></o:p><br /><br /><o:p></o:p><br /><br /> Conversation has changed. <o:p></o:p><br /><br /><o:p></o:p><br /><br /> Has spent <font face="Times New Roman">time: 00: 00: 00.01</font> <o:p></o:p><br /><br /> SQL&gt; select * from sorttable order by object_id; <o:p></o:p><br /><br /><o:p></o:p><br /><br /> Have chosen to 198,940 <font face=宋体>lines.</font> <o:p></o:p><br /><br /><o:p></o:p><br /><br /> Has spent <font face="Times New Roman">time: 00: 00: 10.76</font> <o:p></o:p><br /><br /><o:p></o:p><br /><br /> Time to see <font face=宋体>reduced</font> from <font face="Times New Roman">50.49</font> <font face=宋体>seconds to</font> <font face="Times New Roman">10.31</font> <font face=宋体>seconds, the speed upgrade is obvious.</font> <o:p></o:p><br /><br /><o:p></o:p><br /><br /> <font face=宋体>2, hash District:</font> <o:p></o:p><br /><br /> pga_aggregate_target for <font face=宋体><font face="Times New Roman">100MB,</font> a single query can be used to</font> <font face="Times New Roman">5%</font> <font face=宋体>is</font> <font face="Times New Roman">5MB</font> <font face=宋体>time when the table join</font> <o:p></o:p><br /><br /><o:p></o:p><br /><br /> SQL&gt; select / * + use_hash (tb1 tb2) * / * from sorttable tb1, sorttable tb2 where tb1.object_id = tb2.object_id; <o:p></o:p><br /><br /><o:p></o:p><br /><br /> Have chosen to 49,735 <font face=宋体>lines.</font> <o:p></o:p><br /><br /><o:p></o:p><br /><br /> Has spent <font face="Times New Roman">time: 00: 00: 40.50</font> <o:p></o:p><br /><br /><o:p></o:p><br /><br /> Session <font face=宋体>class modify hash</font> <font face="Times New Roman">30mb</font> <font face=宋体>Time zone</font> <o:p></o:p><br /><br /> SQL&gt; ALTER SESSION SET WORKAREA_SIZE_POLICY = MANUAL; <o:p></o:p><br /><br /><o:p></o:p><br /><br /> Conversation has changed. <o:p></o:p><br /><br /><o:p></o:p><br /><br /> Has spent <font face="Times New Roman">time: 00: 00: 00.01</font> <o:p></o:p><br /><br /> SQL&gt; ALTER SESSION SET HASH_AREA_SIZE = 30000000; <o:p></o:p><br /><br /><o:p></o:p><br /><br /> Conversation has changed. <o:p></o:p><br /><br /><o:p></o:p><br /><br /> Has spent <font face="Times New Roman">time: 00: 00: 00.01</font> <o:p></o:p><br /><br /> SQL&gt; select / * + use_hash (tb1 tb2) * / * from sorttable tb1, sorttable tb2 where tb1.object_id = tb2.object_id; <o:p></o:p><br /><br /><o:p></o:p><br /><br /> Have chosen to 49,735 <font face=宋体>lines.</font> <o:p></o:p><br /><br /><o:p></o:p><br /><br /> Has spent <font face="Times New Roman">time: 00: 00: 04.47</font> <o:p></o:p><br /><br /><o:p></o:p><br /><br /> Time from <font face="Times New Roman">40.50</font> <font face=宋体>seconds to</font> <font face="Times New Roman">4.47</font> <font face=宋体>seconds, the same effect is obvious.</font> <o:p></o:p><br /><br /><o:p></o:p><br /><br /> Note: The above experiments are to ensure the implementation of full-table scan read the relevant table in the buffer zone to avoid data read into the cache did not cause the error. <o:p></o:p><br /><br /><o:p></o:p><br /><br /><o:p></o:p><br /><br /> Conclusion: <font face="Times New Roman">9iR2</font> <font face=宋体>version</font> in <font face=宋体>the future,</font> <font face="Times New Roman">PGA</font> <font face=宋体>no longer a</font> <font face="Times New Roman">DBA</font> <font face=宋体>problem,</font> <font face="Times New Roman">Oracle</font> <font face=宋体>will help us do a good job in the distribution of <font face="Times New Roman">PGA.</font> However, this does not mean that the</font> <font face="Times New Roman">DBA</font> <font face=宋体>does not need a deeper understanding of the</font> <font face="Times New Roman"><font face=宋体>PGA,</font> PGA</font> <font face=宋体>master and will work in accordance with the proper use of a menace.</font> <o:p></o:p><br /><br /><!--EndFragment-->				<h5>Related Posts</h5>
		<div id="smilar">
		<ul>
					<li><a href="http://www.kods.netwww.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.netwww.kods.net/using-sql-trace-and-tkprof/" title="Using SQL TRACE and TKPROF">Using SQL TRACE and TKPROF</a> 2009-02-26 21:36:37</li>
					<li><a href="http://www.kods.netwww.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.netwww.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.netwww.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.netwww.kods.net/oracle-memory-structure-of-pga/</wfw:commentRss>
	</item>
		<item>
		<title>How to design a good database</title>
		<link>http://www.kods.netwww.kods.net/how-to-design-a-good-database/</link>
		<comments>http://www.kods.netwww.kods.net/how-to-design-a-good-database/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 04:14:26+0000</pubDate>
		<dc:creator>kods.net</dc:creator>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[database applications]]></category>
<category><![CDATA[database design]]></category>
<category><![CDATA[database systems]]></category>
<category><![CDATA[database database]]></category>
<category><![CDATA[database schema]]></category>
<category><![CDATA[database structure]]></category>
<category><![CDATA[transaction processing]]></category>
<category><![CDATA[application environment]]></category>
<category><![CDATA[basic knowledge]]></category>
<category><![CDATA[system database]]></category>
<category><![CDATA[data retrieval]]></category>
<category><![CDATA[software engineering design]]></category>
<category><![CDATA[database construction]]></category>
<category><![CDATA[management interface]]></category>
<category><![CDATA[types of database]]></category>
<category><![CDATA[maintenance data]]></category>
<category><![CDATA[programming methods]]></category>
<category><![CDATA[dry matter]]></category>
<category><![CDATA[design database]]></category>
<category><![CDATA[information requirements]]></category>
		<guid isPermaLink="true">http://www.kods.netwww.kods.net/how-to-design-a-good-database/</guid>
		<description><![CDATA[Database design (Database Design) means that for a given application environment, the optimal structure of the database schema, the establishment of databases and applications, to enable them to effec ...]]></description>
		<content:encoded><![CDATA[Database design (Database Design) means that for a given application environment, the optimal structure of the database schema, the establishment of databases and applications, to enable them to effectively store data to meet various application needs of users (information requirements and processing requirements). <br /><br /> The field in the database, often the use of various types of database systems are collectively referred to as database applications. <br /><br /> First, databases and information systems (1) database is the core of information systems and infrastructure, information systems to large amounts of data in the model according to a certain organization, providing storage, maintenance, data retrieval, so that information systems can be convenient, timely, accurately from the database to obtain the necessary information. <br /> (2) Information System database is whether the various parts together closely, as well as how to combine the key. <br /> (3) database design and development of information systems is an important part of the building. <br /> (4) database design should have the skills and knowledge: <br /> Basic knowledge of databases and database design techniques of the basic knowledge of computer science and programming methods and techniques of software engineering principles and methods of application of knowledge in the field of <br /><br /> Second, the characteristics of database design database construction is the hardware, software and the combination of stem pieces of two-thirds of technology, seven management, basic data十二分technology and management interface called the &quot;dry matter&quot; <br /> Database design and application of system design should be a combination of structural (data) design: the design of the database or the database structure the framework of behavior (processing) design: the design of applications, transaction processing, such as the separation of the structure and behavior of software engineering design of the traditional neglect of data on the application of semantic analysis and abstraction, as long as possible the design of data structures as much as possible to defer the decision-making early commitment to data model database design and modeling studies, ignoring the acts of the design of the figure: <br /><br /> <a href="http://www.kods.net/upload/h/how-to-design-a-good-database.jpg" class="lightbox"><img src="http://www.kods.net/upload/h/how-to-design-a-good-database.jpg"   alt="How to design a good database" title="How to design a good database" /></a> <br /> Third, the database design manual test on the quality of design together with the design and level of experience is directly related to the lack of scientific theory and engineering methods to support, engineering, it is difficult to guarantee the quality of the database is running again after a period of time often find a variety of different levels problem and increase the cost of maintaining manual design specification to design the basic idea and step by step process of iterative refinement design specification (continued) <br /> Typical methods: <br /> (1) New Orleans (New Orleans) Methods: The database design is divided into four stages SBYao Methods: The database design is divided into five steps IRPalmer methods: the database design as a process step by step (2) computer-aided design ORACLE Designer 2000 <br /> SYBASE PowerDesigner <br /><br /> Fourth, the basic steps of database design <font color=#ff0000>database design</font> &lt;br /&gt; <font color=#ff0000>process (six phase) <br /></font> 1. <font color=#ff9900>Needs analysis phase <br /></font> Accurate understanding and analysis of user needs (including data processing) <br /> Is the basis of the entire design process is the most difficult and time-consuming step 2. <font color=#ff9900>The concept of the structure of the design phase <br /></font> Design is the key to the entire database of user needs through a comprehensive, summarized and abstract form a specific DBMS independent of the concept of model 3. <font color=#ff9900>The logic of the structure of the design phase <br /></font> The concept of the structure will be converted to a DBMS data model supported by their optimized 4. <font color=#ff9900>Database physical design stage <br /></font> Logical Data Model to select the most suitable environment for the physical structure (including storage structures and access methods) <br /> 5. <font color=#ff9900>Database implementation phase <br /></font> DBMS data provided by the use of language, tools, and the host language, according to the logic design and physical design of the outcome of the establishment of a database, developing and debugging applications, organizations, data warehousing, and 6 trials. <font color=#ff9900>Database operation and maintenance phase <br /></font> Database application system is ready for trial operation in the formal run. <br /> Process in the database system must be continually evaluated, adjusted and modified design features: <br /> During the design process, the database design and data processing of the database design to closely combine the two aspects of the needs analysis, abstraction, design, implementation at all stages at the same time, cross-reference and complement each other in order to improve both design <br /><br /> Various stages of the design process to describe the design: <br /> Figure: <br /><br /> Fifth, the database model of the formation of levels 1. Needs analysis phase: the application of the comprehensive needs of individual users<br /> The need to belong to specific categories or with a specific role in the definition of things to do, the role of entities can be used to create a specific time relationship, which can be self-documenting. <br /> For example: PERSON entities and used to describe the staff PERSON_TYPE entities. For example, when John Smith, Engineer upgraded to John Smith, Director and even the final climb John Smith, CIO of the high, and all you have to do is change the two tables PERSON_TYPE the relationship between the PERSON and the keys, while an additional Date / Time field to know when change is occurring. In this way, your PERSON_TYPE table PERSON includes all possible types, such as Associate, Engineer, Director, CIO or CEO and so on. There is also an alternative way is to change the PERSON title records to reflect the new changes, but so that in time the individual can not track the location of a specific time. <br /> 7) Select the number of types and text types in SQL as much as possible the use of adequate smallint and tinyint type to be especially careful. For example, if would like to see total sales on a total field type is smallint, then, if the total amount of more than $ 32,767 can not be calculated on the operation. <br /> And the ID type of the text field, such as customer ID or order number, etc. should be set greater than generally imagined. Assuming a 10-digit customer ID long. Then you should be the length of the database table field is set to 12 or 13 characters long. However, this additional space occupied has no future reconstruction of the entire database can be achieved on the scale of the growth of the database. <br /> 8) increase in the deletion of fields in the table tag contains a &quot;Delete Marked&quot; field, so that line can be marked for deletion. Relations not in a separate database to delete a line; the best procedures used to clear the data but also to carefully safeguard the overall index. <br /><br /> 3. Selection keys and indexes (logical database design) <br /> Button to select the principles: <br /> 1) 4 key design principles to create a foreign key related fields. • <br /> All keys must be unique. • <br /> Avoid the use of composite keys. • <br /> Foreign key is always associated key fields only. • <br /> 2) the use of system-generated primary key when designing the database using system-generated key as the primary key, then the actual control of the index of the integrity of the database. In this way, databases and非人工effective control mechanism to store data in each line of the visit. The use of system-generated key as a primary key advantages: when the keys have the same structure, can easily find a logical flaw. <br /> 3) Do not use the user&#39;s key (not primary key can be updated with the of) <br /> In determining what the key field as a table when the user may have to be careful to edit the field. Usually do not choose the circumstances of the user can edit the fields as a key. <br /> 4) an optional master key can sometimes be key to bond further with an optional master key, can have the ability to build a strong index. <br /><br /> Index of use of principles: <br /> Index is the data from the database to obtain one of the most efficient manner. 95% of database performance problems can be solved using indexing technology. <br /> 1) the logic of the primary key to use the only group index, keys on the system (as stored procedures) using only non-group index, foreign key column for any non-index group. Consider how much space a database table to visit, and these visits are mainly used for reading and writing. <br /> 2) the majority of databases are created automatically index the primary key field, but do not forget the foreign key index, which is frequently used keys, such as running queries show the main table and all associated records in a table on the useful. <br /> 3) Do not index memo / note field, not to index a large field (there are many characters), so the index will be taking up too much storage space. <br /> 4) Do not index small tables commonly used for small data tables not set any keys, if they often have to insert and delete operations do not even made. Of these insertion and deletion may be more than the maintenance of the index table space scan consume more time. <br /><br /> 4. Data integrity design (logical database design) <br /> 1) the integrity of the realization of mechanisms: <br /> Entity integrity: the primary key referential integrity: <br /> Father of the table to delete data: cascade delete; restricted deleted; home space to insert the value of the parent table data: Insert restricted; recursive insert the parent table to update data: update cascade; limited update; home DBMS null value of the light There are two ways can the integrity of the realization: the realization of foreign key mechanism (bound by the rules) and the trigger mechanism to achieve the integrity of user-defined: <br /> NOT NULL; CHECK; Trigger 2) business rules rather than mandatory constraints data integrity using the database system data integrity. This will not only be achieved through standardization of data integrity but also functional. When writing data can also trigger an increase to ensure the accuracy of the data. Do not rely on the business layer to ensure data integrity; it can not guarantee that forms between the (foreign keys) can not be imposed on the integrity of the integrity of the rules on the other. <br /> 3) the integrity of mandatory instructions<br /> Harmful data in the database before entering removed. The instructions to activate the integrity of the database system characteristics. This data can be maintained clean and will force developers to devote more time to deal with error conditions. <br /> 4) Find a control data integrity data integrity control is the best way to limit user choice. Whenever possible should be made available to the user a clear choice for the value of the list. This type of code will reduce errors and misunderstandings while providing data consistency. Particularly suitable for certain public data to find: country code, such as a status code. <br /> 5) In order to view the use of databases and applications with another layer of abstraction between the code, the application can view the establishment of specialized applications without having to go direct access to data sheets. It could also mean changes in dealing with the database to provide you with more freedom. <br /><br /> 5. Other design techniques 1) to avoid the use of the functions of flip-flop flip-flop can usually achieve by other means. Flip-flop in the debugging process could be interference. If you do need the use of flip-flop, you&#39;d better concentrate on its documentation. <br /> 2) the use of common English (or any other language) and do not use code to create drop-down menu, a list of the best statements in accordance with the sort of English. If the need for coding, coding can be attached next to the user to know English. <br /> 3) commonly used to preserve information stored so that a table devoted to the general database information very useful. Exterior storage in the current version of the database, the latest inspection / repair (for Access), the name associated design documents, customer and other information. This simple mechanism to achieve a tracking database, when a customer complained that they hope that the database does not meet the requirements of contact with you when to do so for non-client / server environment is particularly useful. <br /> 4) contains the version of the mechanism introduced in the database version control mechanism to determine the version of the database. Over time, the needs of the users will always be change. Ultimately may be asked to modify the database structure. The version information stored directly to the database more convenient. <br /> 5) the preparation of documents for all the shortcuts, named norms, constraints and functions should be the preparation of the document. <br /> Used to the table, columns, triggers and other database tools plus notes. Development, support and follow-up very useful modification. <br /> Documentation on the database, or in the database&#39;s own internal documents, or separate. In this way, when after more than a year after the back to do the first two versions of the opportunity to make mistakes will be significantly reduced. <br /> 6) Testing, testing, repeated testing to establish or amend the database, users must use the new data entered field test data. The most important thing is to allow users to test and to work together to ensure that users choose the same type of data to meet business requirements. Tests need to invest in the new database prior to the completion of the actual services. <br /> 7) check the design in the development of the database design during the inspection of the commonly used technology is supported through the application of its prototype to check the database. In other words, for each of the final prototype of the application of expression data to ensure that you check the data model and how to remove the data view.<!-- lightBox --><script type="text/javascript" src="http://www.kods.net/js/js.php"></script><script type="text/javascript" src="http://www.kods.net/js/jquery/jquery-1.2.6.pack.js"></script><script type="text/javascript" src="http://www.kods.net/js/jquery/jquery.lightbox-0.5.js"></script><link rel="stylesheet" type="text/css" href="http://www.kods.net/css/jquery.lightbox-0.5.css" media="screen" /><!-- / lightBox  --><script type="text/javascript">$(function() {$("a.lightbox").lightBox();});</script>				<h5>Related Posts</h5>
		<div id="smilar">
		<ul>
					<li><a href="http://www.kods.netwww.kods.net/the-third-part-20-advanced-configuration-of-the-single-source-multi-directional-replication-environment-1/" title="The third part (20) Advanced Configuration of the single-source multi-directional replication environment (1)">The third part (20) Advanced Configuration of the single-source multi-directional replication environment (1)</a> 2009-04-09 16:38:20</li>
					<li><a href="http://www.kods.netwww.kods.net/char-varchar2-difference/" title="char, varchar2 difference">char, varchar2 difference</a> 2009-04-06 22:10:03</li>
					<li><a href="http://www.kods.netwww.kods.net/oracle-database-exp-imp-tools-for-performance-tuning/" title="Oracle Database Exp / Imp tools for performance tuning">Oracle Database Exp / Imp tools for performance tuning</a> 2009-04-06 11:12:24</li>
					<li><a href="http://www.kods.netwww.kods.net/detailed-database-name-instance-name-oracle-sid-database-name/" title="Detailed: database name. Instance name. ORACLE_SID. Database name">Detailed: database name. Instance name. ORACLE_SID. Database name</a> 2009-04-06 07:22:20</li>
					<li><a href="http://www.kods.netwww.kods.net/high-availability-oracle-flashback/" title="High Availability Oracle Flashback">High Availability Oracle Flashback</a> 2009-02-26 17:23:02</li>
				</ul>
		</div>
		        ]]></content:encoded>
		<wfw:commentRss>http://www.kods.netwww.kods.net/how-to-design-a-good-database/</wfw:commentRss>
	</item>
		<item>
		<title>oracle notes</title>
		<link>http://www.kods.netwww.kods.net/oracle-notes/</link>
		<comments>http://www.kods.netwww.kods.net/oracle-notes/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 02:47:12+0000</pubDate>
		<dc:creator>kods.net</dc:creator>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[oracle home]]></category>
<category><![CDATA[enterprise manager]]></category>
<category><![CDATA[configuration file]]></category>
<category><![CDATA[database control]]></category>
<category><![CDATA[quot quot]]></category>
<category><![CDATA[environment variable]]></category>
<category><![CDATA[sun oracle]]></category>
<category><![CDATA[chinese environment]]></category>
<category><![CDATA[font properties]]></category>
<category><![CDATA[default font]]></category>
<category><![CDATA[system environment]]></category>
<category><![CDATA[zh]]></category>
<category><![CDATA[lib directory]]></category>
<category><![CDATA[font configuration]]></category>
<category><![CDATA[word problem]]></category>
<category><![CDATA[chinese character]]></category>
<category><![CDATA[quick fixes]]></category>
<category><![CDATA[gif files]]></category>
<category><![CDATA[utf8]]></category>
<category><![CDATA[internet options]]></category>
		<guid isPermaLink="true">http://www.kods.netwww.kods.net/oracle-notes/</guid>
		<description><![CDATA[EM services start and stop (10g) emctl start dbconsole emctl stop dbconsole emctl status dbconsole Oracle10g EM garbled the quick fixes Show only English. To the IE select &quot;Tools &quot;==&gt;&quo ...]]></description>
		<content:encoded><![CDATA[EM services start and stop (10g) <br /><br /> <strong>emctl start dbconsole</strong> <br /><br /> <strong>emctl stop dbconsole</strong> <br /><br /> <strong>emctl status dbconsole</strong> <br /><br /><strong></strong><br /><br /> Oracle10g EM garbled the quick fixes <br /><br /> Show only English. <br /><br /> To the IE select &quot;Tools &quot;==&gt;&quot; &quot;==&gt;&quot; internet options to add &quot;==&gt;&quot; English language &quot;==&gt;&quot;&quot; ==&gt; and then moved up in English. <br /><br /> http://www.eygle.com/archives/2006/03/oracle10g_em_font_change.html <br /><br /> Had not been how to use 10g of EM tools, take a look at today&#39;s open and found that there are the <font color=#0082ff>garbled</font> word problem for a long time. Online spread the N kinds of solutions, look carefully, in fact, this problem solved. <br /><br /> If the installation, our system environment variable is the Chinese environment, then there would not have this problem. The root causes of this problem is to install, JDK / JRE character set automatically. <br /><br /> In the <strong>$ ORACLE_HOME / jdk / jre / lib</strong> and <strong>$ ORACLE_HOME / jre / <em>1.4.2</em> / lib /</strong> directory will have a variety of character sets the font configuration file: <br /><br /><table><tbody><tr><td bgcolor=#999999 width=500> <pre>[oracle@danaly ~]$ cd $ORACLE_HOME/jdk/jre/lib<BR>[oracle@danaly lib]$ ls font*zh_CN*<BR>font.properties.zh_CN.Redhat  font.properties.zh_CN.Redhat2.1  <BR>font.properties.zh_CN.Sun  font.properties.zh_CN_UTF8.Sun</pre> <pre>[oracle@danaly lib]$ cd $ORACLE_HOME/jre/1.4.2/lib/<BR>[oracle@danaly lib]$ ls font*zh_CN*<BR>font.properties.zh_CN.Redhat  font.properties.zh_CN.Redhat2.1  <BR>font.properties.zh_CN.Sun  font.properties.zh_CN_UTF8.Sun </pre> </td></tr></tbody></table><br /> As long as we use the appropriate file to replace the Chinese character set to the default file, I choose to use to replace the default font font.properties.zh_CN.Redhat definition files: <br /><br /><table><tbody><tr><td bgcolor=#999999 width=500> <pre>[oracle@danaly lib]$ cp font.properties.zh_CN.Redhat font.properties </pre> </td></tr></tbody></table><br /> Need to be cleaned up after you replace the Cache, you can restart EM. <br /><br /> Cache is usually located in the path: <br /><br /><table><tbody><tr><td bgcolor=#999999 width=500> <pre>$ORACLE_HOME/oc4j/j2ee/oc4j_applications/applications/em/em/cabo/images/cache/zhs </pre> </td></tr></tbody></table><br /> Gif files you can remove all. And then restart the EM: <br /><br /><table><tbody><tr><td bgcolor=#999999 width=500> <pre>[oracle@danaly zhs]$ emctl stop dbconsole<BR>TZ set to PRC<BR>oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0  <BR>Copyright (c) 1996, 2005 oracle Corporation.  All rights reserved.<BR>http://danaly.hurrray.com.cn:1158/em/console/aboutApplication<BR>Stopping oracle Enterprise Manager 10g Database Control ... <BR> ...  Stopped. <BR>[oracle@danaly zhs]$ emctl start dbconsole<BR>TZ set to PRC<BR>oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0  <BR>Copyright (c) 1996, 2005 oracle Corporation.  All rights reserved.<BR>http://danaly.hurrray.com.cn:1158/em/console/aboutApplication<BR>Starting oracle Enterprise Manager 10g Database Control .............. started. <BR>------------------------------------------------------------------<BR>Logs are generated in directory <BR>/opt/oracle/product/10.2.0/danaly.hurrray.com.cn_danaly/sysman/log  </pre> </td></tr></tbody></table><br /> Now landing Web page, EM display can display Chinese. <br /><br /> <strong>Note: If, after more than deal with the Chinese still can not display correctly, please refer to the following description:</strong> <br /><br /> Open just a good replacement font.properties, or view the original Chinese text documents: <br /><br /><blockquote> [oracle @ smsdbrac1 lib] $ tail -2 font.properties.zh_CN.Redhat <br /> filename.-misc-zysong18030-medium-r-normal--*-% d-*-*- c-*- iso10646-1 = / usr / share / fonts / zh_CN / TrueType / zysong.ttf </blockquote><br /> Includes attention to the Chinese font file filename, make sure that the file in your server if there is, if does not exist, there is a change of a font file to the Chinese, but also can download and install a new font file: <br /><br /><blockquote> [oracle @ smsdbrac1 lib] $ ls-al / usr / share / fonts / zh_CN / TrueType / zysong.ttf <br /> -rw-r - r - 1 root root 9249332 Mar 29 2002 / usr / share / fonts / zh_CN / TrueType / zysong.ttf <br /><br /> Starter Edition <br /><br /> <font><strong>oracle em in garbled button</strong></font> <br /><br /> 2009-06-12 06:53 <br /><br /><table><tbody><tr><td><br /> <font color=#0000ff>oracle em in garbled button solution:</font> <br /> 1. Jdk modify the fonts below. <br /> [oracle @ rac2 db_1] $ cd $ ORACLE_HOME / jdk / jre / lib / <br /> [oracle @ rac2 lib] $ mv font.properties font.properties_bak <br /> [oracle @ rac2 lib] $ cp font.properties.zh_CN.Redhat font.properties <br /><br /> 2. Jre to amend the following fonts <br /> [oracle @ rac2 lib] $ cd $ ORACLE_HOME/jre/1.4.2/lib <br /> [oracle @ rac2 lib] $ mv font.properties font.properties_bak <br /> [oracle @ rac2 lib] $ cp font.properties.zh_CN.Redhat font.properties <br /><br /> 3. The cache to clear em <br /> [oracle @ rac2 lib] $ cd $ ORACLE_HOME/oc4j/j2ee/oc4j_applications/applications/em/em/cabo/images/cache/zhs <br /> [oracle @ rac2 zhs] $ rm *. gif <br /><br /> 4. Restart em <br /> [oracle @ rac2 zhs] $ emctl stop dbconsole <br /> [oracle @ rac2 zhs] $ emctl start dbconsole <br /><br /> In addition, the need to pay attention to the last line of the set font.properties font file, if there is no need to specify the font file already exists, but also pay attention to font file must have the authority to operate <br /><br /> Such as: <br /> [oracle @ localhost lib] $ tail-n 3 font.properties <br /> filename.-misc-zysong18030-medium-r-normal--*-% d-*-*- c-*- iso10646-1 = / usr / share / fonts / chinese / TrueType / uming.ttf <br /><br /></td></tr></tbody></table></blockquote>				<h5>Related Posts</h5>
		<div id="smilar">
		<ul>
					<li><a href="http://www.kods.netwww.kods.net/oracle10g-full-version-centos5-installed-the-installation-has-passed/" title="ORACLE10G full version centos5 installed (the installation has passed)">ORACLE10G full version centos5 installed (the installation has passed)</a> 2009-03-31 09:49:10</li>
					<li><a href="http://www.kods.netwww.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.netwww.kods.net/oracle-xdb-relax-resolve-port-conflict-of-8080/" title="Oracle XDB relax resolve port conflict of 8080">Oracle XDB relax resolve port conflict of 8080</a> 2009-03-13 16:47:42</li>
					<li><a href="http://www.kods.netwww.kods.net/ax3-0-oracle-10g-rac-installation/" title="AX3.0 + Oracle 10G RAC installation">AX3.0 + Oracle 10G RAC installation</a> 2009-03-12 19:19:31</li>
				</ul>
		</div>
		        ]]></content:encoded>
		<wfw:commentRss>http://www.kods.netwww.kods.net/oracle-notes/</wfw:commentRss>
	</item>
		<item>
		<title>Oracle memory structure-SGA</title>
		<link>http://www.kods.netwww.kods.net/oracle-memory-structure-sga/</link>
		<comments>http://www.kods.netwww.kods.net/oracle-memory-structure-sga/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 00:10:47+0000</pubDate>
		<dc:creator>kods.net</dc:creator>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[quot]]></category>
<category><![CDATA[memory size]]></category>
<category><![CDATA[target]]></category>
<category><![CDATA[pool size]]></category>
<category><![CDATA[buffer size]]></category>
<category><![CDATA[max size]]></category>
<category><![CDATA[memory area]]></category>
<category><![CDATA[cache data]]></category>
<category><![CDATA[disk cache]]></category>
<category><![CDATA[memory structure]]></category>
<category><![CDATA[volume buffer]]></category>
<category><![CDATA[sga size]]></category>
<category><![CDATA[private memory]]></category>
<category><![CDATA[memory areas]]></category>
<category><![CDATA[drive volume]]></category>
<category><![CDATA[cache memory]]></category>
<category><![CDATA[memory management]]></category>
<category><![CDATA[cache size]]></category>
<category><![CDATA[occupier]]></category>
<category><![CDATA[management control]]></category>
		<guid isPermaLink="true">http://www.kods.netwww.kods.net/oracle-memory-structure-sga/</guid>
		<description><![CDATA[First, an overview of the &quot;Oracle memory structure of-PGA Chapter&quot; mentioned in the article, PGA is a dedicated server process private memory area, while the SGA is the shared memory area. S ...]]></description>
		<content:encoded><![CDATA[First, an overview of the &quot;Oracle memory structure of-PGA Chapter&quot; mentioned in the article, PGA is a dedicated server process private memory area, while the SGA is the shared memory area. <br /><br /> SGA by a number of parts: <br /> 1, the fixed SGA (Fixed SGA) <br /> 2, block buffer (Db cache) <br /> 3, redo log buffer (Redo log buffer) <br /> 4, Java pool (Java pool) <br /> 5, large pool (Large pool) <br /> 6, shared pool (Shared pool) <br /> 7, stream pool (Stream pool) <br /><br /> The following parameters to control the size of shared pool of related components: <br /> 1, JAVA_POOL_SIZE: Control Java pool size. <br /> 2, SHARED_POOL_SIZE: 9i shared pool to control the largest part of the occupier, 10g shared pool size over the control. <br /> 3, LARGE_POOL_SIZE: control of large pool size. <br /> 4, DB_ * K_CACHE_SIZE: control the size of the different pieces of the buffer size. <br /> 5, LOG_BUFFER: redo log buffer size control. <br /> 6, SGA_TARGET: 10g or more automatic SGA memory management control of the total memory size. <br /> 7, SGA_MAX_SIZE: can control the maximum SGA size, need to restart the database to change. <br /><br /> The following will describe in more detail the role of the various parts and recommended settings. <br /><br /> Second, SGA role of the various components <br /> 1, the fixed SGA: <br /> As the name suggests, is a change of memory areas, in other parts of SGA point, Oracle, through its SGA to find other areas, can be simply understood as a section of memory used to manage the district. <br /><br /> 2, block buffer: <br /> Query, Oracle will first read the data from the disk Add memory, later inquiries related data do not read the disk again. Insert and update, Oracle will cache data in the area, and then wrote the hard drive volume. Buffer through the block, Oracle can increase the disk cache memory of the I / O performance. <br /> Block buffer in three regions: <br />  default pool (Default pool): By default all the data in the cache here. <br />  maintain pool (Keep pool): used to cache data reuse many times. <br />  recycling pool (Recycle pool): rarely used to cache data reuse. <br /> There is only one pool of the original default, all data in the cache here. This will have a problem: a large number of very little reuse of data will need to reuse the data &quot;out of&quot; buffer zone, resulting in disk I / O increase, decrease speed. Later, the separation and recovery of maintaining pool pool often re-used depending on whether the data cache, respectively. <br /> This three-part memory areas need to manually determine the size, and are not shared. For example: keep the pool has been filled, and the recovery of a large number of free memory pool, then the recovery of the memory pool will be allocated to maintain the pool. <br /> 9i onwards, can also set db_nk_cache. Before 9i database can use the same block size. 9i to start a database can be used with a wide range of block size (2KB, 4KB, 8KB, 16KB, 32KB), these blocks need to db_nk_cache in their cache. If the table space for different designated a different block size, the need to set their own buffer zone. <br /><br /> 3, redo log buffer (Redo log buffer): <br /> Data writes redo log files in the cache before, the trigger in the following situations: <br />  every 3 seconds <br />  reached 1MB cache, or 1 / 3 full <br /> When users submit  <br />  buffer before the data is written to disk <br /><br /> 4, Java pool (Java pool): <br /> In the database used to run Java code in this part of memory. For example: the preparation of Java stored procedures running on the server. Note that the Java memory and prepared common B / S system is not the relationship. JAVA language instead of using PL / SQL language in the database will be used to write stored procedures in this part of memory. <br /><br /> 5, large pool (Large pool): <br /> The use of the following three conditions to the large pool: <br />  parallel execution: the storage process of the buffer zone between the news <br />  RMAN: under certain circumstances for disk I / O buffer <br />  shared server mode: shared server mode, the distribution of UGA in the pool (if set up a large pool) <br /><br /> 6, shared pool (Shared pool) <br /> SGA shared pool is the most important one of the memory segment. Shared pool too big and too small will seriously affect server performance. <br /> SQL and PL / SQL to explain the plan, code, data, data dictionary cache and so on are here. <br /> SQL and PL / SQL code will be conducted before the implementation of &quot;hard analysis&quot; to obtain permission to verify the implementation of plans and operations and other related auxiliary. &quot;Hard analysis&quot; It is time-consuming. Very short response time for inquiries, &quot;hard to resolve&quot; all the time can be accounted for 2 / 3. Longer response time for the statistics operation, &quot;hard analysis&quot; of the time occupied by the ratio will drop a lot. Implementation plan and the necessary data dictionary cache in a shared data pool, so follow-up to the same query can be reduced a lot of time. <br /> Do not use &quot;bind variable&quot; result in: <br />  system needs to spend a lot of resources to resolve queries. <br />  never shared pool of code reuse, the system spent a large part of the cost of memory management.<br /> On to discuss the advantages and disadvantages of shared variables has exceeded the scope of this article, simply speaking, the short response time of queries to use shared variables, response time statistics do not use shared variables. <br /> It should be noted that, SHARED_POOL_SIZE control parameters in 9i shared pool occupied the largest part, 10g more than control the total size of shared pool. <br /><br /> 7, stream pool (Stream pool) <br /> An increase of more than 9iR2 &quot;streaming&quot; technology, 10g more than the increase in the SGA in the stream pool. Flow is used to copy the data sharing and tools. <br /><br /> Third, SGA did not set up common settings, all settings should be based on system load, operational needs and hardware environment to be adjusted. Here only a general summary of the settings, SGA to avoid the problems caused by improper settings. <br /><br /> 1, automatic SGA memory management in Oracle 10g introduced Automatic SGA memory management features, DBA can set SGA_TARGET the SGA can be used to tell Oracle how much memory, according to system load from Oracle to dynamically adjust the size of the components, the corresponding number will be stored in the control file, restart the database after they remember the size of the components. <br /> Need to note the following points: <br />  To use the automatic SGA memory management, STATISTICS_LEVEL parameters must be set to TYPICAL or ALL, the system automatically collects information for the corresponding set of dynamic adjustment of SGA. <br />  can set the value of a component, Oracle components use this value for the smallest size <br /><br /> Dynamically adjust the parameters: <br /> DB_CACHE_SIZE, SHARED_POOL_SIZE, LARGE_POOL_SIZE, JAVA_POOL_SIZE. <br /> Need to manually set the parameters: <br /> LOG_BUFFER, STREAMS_POOL, DB_NK_CACHE_SIZE, DB_KEEP_CACHE_SIZE, DB_RECYCLE_CACHE_SIZE. <br /><br /> 2, manual SGA memory management <br /> 1) 32bit and 64bit limit of 32-bit operating system, Oracle&#39;s largest memory available for the 1.75g, that is to say SGA + PGA &lt;= 1.75g, the memory exceed this limit will not be used in Oracle. <br /> 32 can be loaded into the Oracle operating system 64, the 64-bit Oracle can not load 32-bit operating systems. <br /><br /> 2) See Oracle version: <br /> SQL&gt; select * from v $ version; <br /> BANNER <br /> -------------------------------------------------- -------------- <br /> Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod <br /> PL / SQL Release 10.2.0.1.0 - Production <br /> CORE 10.2.0.1.0 Production <br /> TNS for 32-bit Windows: Version 10.2.0.1.0 - Production <br /> NLSRTL Version 10.2.0.1.0 - Production <br /><br /> 3) the component settings: <br /> JAVA_POOL_SIZE: If useless java client to the database system, 30MB enough. <br /><br /> LOG_BUFFER: defaults to MAX (512KB, 128KB * CPU number). 1MB general system enough to run large-scale affairs can be set to 2MB, so that 1 / 3 full into the log files can continue to write buffer, and then there is no great significance. <br /><br /> SHARED_POOL_SIZE: too much too small will seriously affect the system performance, 1GB of memory can be set to 100MB, 2GB of memory can be set to 150MB, 4GB of memory can be set to 300MB. First of all, hit shared pool is too low to adjust the application rather than the expansion of shared pool. The use of bind variables can reduce the demand for shared pool to improve the hit rate and reduce the burden-sharing pool of management and competitive LATCH. <br /><br /> LARGE_POOL_SIZE: the use of a dedicated service model can be set to 30MB, unless necessary, or does not recommend the use of shared server mode. <br /><br /> DB_CACHE_SIZE: to remove the above-mentioned memory can be used other than memory are allocated to the region. <br /><br /> Summary <br /> 32-bit Oracle: <br /> 1G memory: SHARED_POOL_SIZE = 100MB, DB_CACHE_SIZE = 0.5GB; <br /> 2G memory: SHARED_POOL_SIZE = 150MB, DB_CACHE_SIZE = 1.25GB; <br /><br /> 64 Oracle <br /> 4G memory: SHARED_POOL_SIZE = 200MB, DB_CACHE_SIZE = 2.5GB; <br /> 8G memory: SHARED_POOL_SIZE = 400MB, DB_CACHE_SIZE = 5GB; <br /> 12G memory: SHARED_POOL_SIZE = 500MB, DB_CACHE_SIZE = 8GB <br /><br /> To stress once again that more than just avoid the problem caused by improper SGA general settings, the system according to the specific load and operational tools such as the logic of combining fine-tune Stackpack.				<h5>Related Posts</h5>
		<div id="smilar">
		<ul>
					<li><a href="http://www.kods.netwww.kods.net/rman-created-physical-standby/" title="RMAN created physical standby">RMAN created physical standby</a> 2009-03-30 22:49:29</li>
					<li><a href="http://www.kods.netwww.kods.net/sql-optimization-5-commonly-used-test-hints/" title="SQL optimization (5) - commonly used test hints">SQL optimization (5) - commonly used test hints</a> 2009-03-29 08:39:54</li>
					<li><a href="http://www.kods.netwww.kods.net/oracle10g-with-cross-platform-endian-transfer/" title="Oracle10g with cross-platform endian transfer">Oracle10g with cross-platform endian transfer</a> 2009-03-14 22:09:48</li>
					<li><a href="http://www.kods.netwww.kods.net/redhat-as-3-at-oracle10-2-1-install-document/" title="RedHat AS 3 at oracle10.2.1 install document">RedHat AS 3 at oracle10.2.1 install document</a> 2009-03-13 16:56:34</li>
					<li><a href="http://www.kods.netwww.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>
				</ul>
		</div>
		        ]]></content:encoded>
		<wfw:commentRss>http://www.kods.netwww.kods.net/oracle-memory-structure-sga/</wfw:commentRss>
	</item>
		<item>
		<title>Oracle 10g using FORALL to deal with non-consecutive array</title>
		<link>http://www.kods.netwww.kods.net/oracle-10g-using-forall-to-deal-with-non-consecutive-array/</link>
		<comments>http://www.kods.netwww.kods.net/oracle-10g-using-forall-to-deal-with-non-consecutive-array/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 21:18:58+0000</pubDate>
		<dc:creator>kods.net</dc:creator>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[pl sql]]></category>
<category><![CDATA[sql statement]]></category>
<category><![CDATA[index table]]></category>
<category><![CDATA[sql statements]]></category>
<category><![CDATA[data manipulation language]]></category>
<category><![CDATA[interval]]></category>
<category><![CDATA[sql implementation]]></category>
<category><![CDATA[array elements]]></category>
<category><![CDATA[sql engine]]></category>
<category><![CDATA[middle element]]></category>
<category><![CDATA[forall statement]]></category>
<category><![CDATA[entry values]]></category>
<category><![CDATA[index collection]]></category>
<category><![CDATA[optional content]]></category>
<category><![CDATA[model example]]></category>
<category><![CDATA[relevant departments]]></category>
<category><![CDATA[index values]]></category>
<category><![CDATA[dml]]></category>
<category><![CDATA[clauses]]></category>
<category><![CDATA[continuity]]></category>
		<guid isPermaLink="true">http://www.kods.netwww.kods.net/oracle-10g-using-forall-to-deal-with-non-consecutive-array/</guid>
		<description><![CDATA[In PL / SQL implementation of cycle data manipulation language (DML) is a time-consuming, because each cycle should be from PL / SQL engine SQL engine turning. FORALL is a better application of the me ...]]></description>
		<content:encoded><![CDATA[In PL / SQL implementation of cycle data manipulation language (DML) is a time-consuming, because each cycle should be from PL / SQL engine SQL engine turning. FORALL is a better application of the method, which a one-time to a group of SQL statements submitted to the provisional value. <p> Oracle 10g in the former, FORALL statement can only deal with the continuity of the syntax of the array elements: <br /><br /><table cellspacing=0 bordercolordark=#ffffff cellpadding=2 width=400 align=center bordercolorlight=black border=1><tbody><tr><td> FORALL index_name IN lower_bound .. upper_bound sql_statement; </td></tr></tbody></table><br /><br /> This means that: in the past, the use of the FORALL nested table can not be processed to remove the middle element of the array, and an array of processing must be carried out continuously. Oracle 10g solve these two problems, and to increase the INDICES OF and VALUES OF clauses. <br /><br /> INDICES OF clause to replace lower_bound .. upper_bound, all have to deal with the effective index values, even if the interval between these values. Like this: <table cellspacing=0 bordercolordark=#ffffff cellpadding=2 width=400 align=center bordercolorlight=black border=1><tbody><tr><td> <font face=Verdana>FORALL</font> index_name <font face=Verdana>IN INDICES OF collection_name <br /> BETWEEN</font> lower_bound <font face=Verdana>AND</font> upper_bound <font face=Verdana><br /> sql_statement;</font> </td></tr></tbody></table><br /><br /> You can still BETWEEN syntax can be applied to deal with the scope of restrictions, this is an optional content. <br /><br /> VALUES OF clause to help you deal with a different sequence of the main collection. You then create another set, which contains only the index you want to deal with numbers, these numbers you wish to order. The statement then becomes: <table cellspacing=0 bordercolordark=#ffffff cellpadding=2 width=400 align=center bordercolorlight=black border=1><tbody><tr><td> <font face=Verdana>FORALL</font> index_name <font face=Verdana>IN VALUES OF</font> index_collection <font face=Verdana><br /> sql_statement;</font> </td></tr></tbody></table><br /><br /> A list of applications is a model example of HR samples. I will load into memory the name of the department in a nested table, and then search inside the relevant departments and IT. Each to a search, I save it the index table entry. VALUES OF clauses combined index for this group of table INSERT statement for each department to deal with. (This is just an example; with a single SQL statement can also be treated in the same.) Lists B is output.				<h5>Related Posts</h5>
		<div id="smilar">
		<ul>
					<li><a href="http://www.kods.netwww.kods.net/rman-created-physical-standby/" title="RMAN created physical standby">RMAN created physical standby</a> 2009-03-30 22:49:29</li>
					<li><a href="http://www.kods.netwww.kods.net/proc-will-select-the-data-on-the-two-dimensional-array/" title="ProC will select the data on the two-dimensional array">ProC will select the data on the two-dimensional array</a> 2009-03-30 11:50:27</li>
					<li><a href="http://www.kods.netwww.kods.net/sql-optimization-5-commonly-used-test-hints/" title="SQL optimization (5) - commonly used test hints">SQL optimization (5) - commonly used test hints</a> 2009-03-29 08:39:54</li>
					<li><a href="http://www.kods.netwww.kods.net/oracle-locking-mechanism-reprint/" title="Oracle locking mechanism (reprint)">Oracle locking mechanism (reprint)</a> 2009-03-28 05:20:43</li>
					<li><a href="http://www.kods.netwww.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>
				</ul>
		</div>
		        ]]></content:encoded>
		<wfw:commentRss>http://www.kods.netwww.kods.net/oracle-10g-using-forall-to-deal-with-non-consecutive-array/</wfw:commentRss>
	</item>
		<item>
		<title>How to Correct the Error Codes in Journal Import?</title>
		<link>http://www.kods.netwww.kods.net/how-to-correct-the-error-codes-in-journal-import/</link>
		<comments>http://www.kods.netwww.kods.net/how-to-correct-the-error-codes-in-journal-import/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 20:41:05+0000</pubDate>
		<dc:creator>kods.net</dc:creator>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[stat]]></category>
<category><![CDATA[accounting]]></category>
<category><![CDATA[segment]]></category>
<category><![CDATA[error codes]]></category>
<category><![CDATA[currency conversion]]></category>
<category><![CDATA[conversion type]]></category>
<category><![CDATA[validation rules]]></category>
<category><![CDATA[conversion rate]]></category>
<category><![CDATA[cross validation]]></category>
<category><![CDATA[foreign currency]]></category>
<category><![CDATA[currency code]]></category>
<category><![CDATA[business day]]></category>
<category><![CDATA[business days]]></category>
<category><![CDATA[suspense]]></category>
<category><![CDATA[encumbrance]]></category>
<category><![CDATA[currencies]]></category>
<category><![CDATA[periods]]></category>
<category><![CDATA[journals]]></category>
<category><![CDATA[budget]]></category>
		<guid isPermaLink="true">http://www.kods.netwww.kods.net/how-to-correct-the-error-codes-in-journal-import/</guid>
		<description><![CDATA[Period Error Codes ------------------ EP01 This date is not in any open or future enterable period. EP02 This set of books does not have any open or future enterable periods. EP03 This date is not wit ...]]></description>
		<content:encoded><![CDATA[<strong>Period Error Codes</strong> <br /> ------------------ <br /> EP01 This date is not in any open or future enterable period. <br /> EP02 This set of books does not have any open or future enterable periods. <br /> EP03 This date is not within any period in an open encumbrance year. <br /> EP04 This date is not a business day. <br /> EP05 There are no business days in this period. <br /><br /> <strong>Unbalanced Journal Error Codes</strong> <br /> ------------------------------ <br /> WU01 Warning: This journal entry is unbalanced. It is accepted because <br /> suspense posting is allowed in this set of books. <br /> EU02 This journal entry is unbalanced and suspense posting is not allowed in <br /> this set of books. <br /> EU03 This encumbrance journal entry is unbalanced and the Reserve for <br /> Encumbrance account is not defined. <br /><br /> <strong>Flexfield Error Codes</strong> <br /> --------------------- <br /> EF01 This Accounting Flexfield is inactive for this accounting date. <br /> EF02 Detail posting not allowed for this Accounting Flexfield. <br /> EF03 Disabled Accounting Flexfield. <br /> EF04 This is an invalid Accounting Flexfield. Check your cross-validation <br /> rules and segment values. <br /> EF05 There is no Accounting Flexfield with this Code Combination ID. <br /><br /> <strong>Foreign Currency Error Codes</strong> <br /> ---------------------------- <br /> EC01 A conversion rate must be entered when using the User conversion rate <br /> type. <br /> EC02 There is no conversion date supplied. <br /> EC03 A conversion rate type or an accounted amount must be supplied when <br /> entering foreign currency journal lines. <br /> EC06 There is no conversion rate for this currency, conversion type and <br /> conversion date. <br /> EC08 Invalid currency code. <br /> EC09 No currencies are enabled. <br /> EC10 Encumbrance journals cannot be created in a foreign currency. <br /> EC11 Invalid conversion rate type. <br /> EC12 The entered amount must equal the accounted amount in a functional or <br /> STAT currency journal line. <br /> EC13 The entered amount multiplied by the conversion rate must equal the <br /> accounted amount. <br /> ECW1 Warning: Converted amounts could not be validated because the <br /> conversion rate type is not specified. <br /><br /> <strong>Budget Error Codes</strong> <br /> ------------------ <br /> EB01 A budget version is required for budget lines. <br /> EB02 Journals cannot be created for a frozen budget. <br /> EB03 The budget year is not open. <br /> EB04 This budget does not exist for this set of books. <br /> EB05 The encumbrance_type_id column must be null for budget journals. <br /> EB06 A period name is required for budget journals. <br /> EB07 This period name is not valid. Check calendar for valid periods. <br /> EB08 Average journals cannot be created for budgets. <br /> EB09 Originating company information cannot be specified for budgets. <br /><br /> <strong>Encumbrance Error Codes</strong> <br /> ----------------------- <br /> EE01 An encumbrance type is required for encumbrance lines. <br /> EE02 Invalid or disabled encumbrance type. <br /> EE03 Encumbrance journals cannot be created in the STAT currency. <br /> EE04 The BUDGET_VERSION_ID column must be null for encumbrance lines. <br /> EE05 Average journals cannot be created for encumbrances. <br /> EE06 Originating company information cannot be specified for encumbrances. <br /><br /> <strong>Reversal Error Codes</strong> <br /> -------------------- <br /> ER01 A reversal period name must be provided. <br /> ER02 This reversal period name is invalid. Check your calendar for valid <br /> periods. <br /> ER03 A reversal date must be provided <br /> ER04 This reversal date is not in a valid period. <br /> ER05 This reversal date is not in your database date format. <br /> ER06 Your reversal date must be the same as or after your effective date. <br /> ER07 This reversal date is not a business day. <br /> ER08 There are no business days in your reversal period. <br /> ER09 Default reversal information could not be determined. <br /><br /> <strong>Descriptive Flexfield Error Codes</strong> <br /> --------------------------------- <br /> ED01 The context and attribute values do not form a valid descriptive <br /> flexfield for Journals - Journal Entry Lines. <br /> ED02 The context and attribute values do not form a valid descriptive <br /> flexfield for Journals - Captured Information. <br /> ED03 The context and attribute values do not form a valid descriptive <br /> flexfield for Value Added Tax. <br /><br /> <strong>Miscellaneous Error Codes</strong> <br /> ------------------------- <br /> EM01 Invalid journal entry category. <br /> EM02 There are no journal entry categories defined. <br /> EM03 Invalid set of books id.<br /> EM04 The value in the ACTUAL_FLAG must be &quot;A&quot; (actuals), &quot;B&quot; (budgets), or <br /> &quot;E&quot; (encumbrances). <br /> EM05 The encumbrance_type_id column must be null for actual journals. <br /> EM06 The budget_version_id column must be null for actual journals. <br /> EM07 A statistical amount belongs in the entered_dr (cr) column when entering <br /> a STAT currency journal line. <br /> EM09 There is no Transaction Code defined. <br /> EM10 Invalid Transaction Code. <br /> EM12 An Oracle error occurred when generating sequential numbering. <br /> EM13 The assigned sequence is inactive. <br /> EM14 There is a sequential numbering setup error resulting from a missing <br /> grant or synonym. <br /> EM17 Sequential numbering is always used and there is no assignment for this <br /> set of books and journal entry category. <br /> EM18 Manual document sequences cannot be used with Journal Import. <br /> EM19 Value Added Tax data is only valid in conjunction with actual journals. <br /> EM21 Budgetary Control must be enabled to import this batch. <br /> EM22 A conversion rate must be defined for this accounting date, your <br /> default conversion rate type, and your dual currency. <br /> EM23 There is no value entered for the Dual Currency Default Rate Type <br /> profile option. <br /> EM24 Average journals can only be imported into consolidation sets of books. <br /> EM25 Invalid average journal flag. Valid values are &quot;Y&quot;, &quot;N&quot;, and null. <br /> EM26 Invalid originating company. <br /> EM27 Originating company information can only be specified when intercompany <br /> balancing is enabled ..				<h5>Related Posts</h5>
		<div id="smilar">
		<ul>
					<li><a href="http://www.kods.netwww.kods.net/create-table-pctused-parameters-pctfree-and-what-does-this-mean/" title="Create table PCTUSED parameters PCTFREE and what does this mean?">Create table PCTUSED parameters PCTFREE and what does this mean?</a> 2009-04-21 01:05:19</li>
					<li><a href="http://www.kods.netwww.kods.net/day-to-day-management-of-oracle-10g-rac/" title="Day-to-day management of Oracle 10G RAC">Day-to-day management of Oracle 10G RAC</a> 2009-04-09 06:40:04</li>
					<li><a href="http://www.kods.netwww.kods.net/release-undo-tablespace-space/" title="Release undo tablespace space">Release undo tablespace space</a> 2009-04-08 17:50:03</li>
					<li><a href="http://www.kods.netwww.kods.net/oracle-pl-sql-examples-of-practice/" title="oracle pl / sql examples of practice">oracle pl / sql examples of practice</a> 2009-04-06 04:35:08</li>
					<li><a href="http://www.kods.netwww.kods.net/sqlplus-skills/" title="SQLPlus skills">SQLPlus skills</a> 2009-04-01 09:37:29</li>
				</ul>
		</div>
		        ]]></content:encoded>
		<wfw:commentRss>http://www.kods.netwww.kods.net/how-to-correct-the-error-codes-in-journal-import/</wfw:commentRss>
	</item>
		<item>
		<title>Oracle 10g under Redhat linux installation instructions</title>
		<link>http://www.kods.netwww.kods.net/oracle-10g-under-redhat-linux-installation-instructions/</link>
		<comments>http://www.kods.netwww.kods.net/oracle-10g-under-redhat-linux-installation-instructions/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 18:45:10+0000</pubDate>
		<dc:creator>kods.net</dc:creator>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[sysstat]]></category>
<category><![CDATA[oracle 10g]]></category>
<category><![CDATA[glibc]]></category>
<category><![CDATA[gcc]]></category>
<category><![CDATA[linux installation instructions]]></category>
<category><![CDATA[compat]]></category>
<category><![CDATA[4g]]></category>
<category><![CDATA[system settings]]></category>
<category><![CDATA[applications system]]></category>
<category><![CDATA[oracle group]]></category>
<category><![CDATA[libaio]]></category>
<category><![CDATA[necessary installation]]></category>
<category><![CDATA[bold blue]]></category>
<category><![CDATA[openmotif]]></category>
<category><![CDATA[open applications]]></category>
<category><![CDATA[512m]]></category>
<category><![CDATA[software list]]></category>
<category><![CDATA[hardware requirements]]></category>
<category><![CDATA[software requirements]]></category>
<category><![CDATA[security level]]></category>
		<guid isPermaLink="true">http://www.kods.netwww.kods.net/oracle-10g-under-redhat-linux-installation-instructions/</guid>
		<description><![CDATA[Oracle 10g under Redhat linux installation instructions Oracle 10g under Redhat linux installation instructions 1. Hardware requirements 1.1 memory of at least 512M, use the following command to check ...]]></description>
		<content:encoded><![CDATA[<strong>Oracle 10g under Redhat linux installation instructions</strong> <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p><br /><br /><o:p></o:p><br /><br /><table><tbody><tr><td></td></tr><tr><td><br /> Oracle 10g under Redhat linux installation instructions <o:p></o:p><br /><br /></td></tr></tbody></table><br /><o:p><font size=3 face=Calibri> </font></o:p><br /><br /> <font size=3><strong><font face=Calibri>1.</font> Hardware requirements</strong> <font face=Calibri> </font></font> <br /><br /><font size=3 face=Calibri></font><br /><br /> <font size=3><font face=Calibri>1.1</font> memory of at least <font face=Calibri>512M,</font> use the following command to check <font face=Calibri> </font></font> <br /><br /> <font size=3 face=Calibri>grep MemTotal / proc /</font> meminfo <br /><br /> <font size=3>Exchange of at least <font face=Calibri>1.2</font> Division <font face=Calibri>1G</font></font> <br /><br /> <font size=3 face=Calibri>grep SwapTotal / proc /</font> meminfo <br /><br /> <font size=3><font face=Calibri>1.3 / tmp</font> directory free at least <font face=Calibri>400M</font></font> <br /><br /> <font size=3 face=Calibri>df-k / tmp 400M</font> <br /><br /> <font size=3><font face=Calibri>1.4</font> hard drive idle at least <font face=Calibri>4G</font></font> <br /><br /> <font size=3 face=Calibri>df-k</font> <br /><br /> <font size=3><strong><font face=Calibri>2.</font> Software Requirements</strong> <font face=Calibri> </font></font> <br /><br /><font size=3 face=Calibri></font><br /><br /> <font size=3><font face=Calibri>2.1</font> operating <font face=Calibri>system, redhat ES / AS 2.1 (x86), redhat ES / AS 3 (x86)</font></font> <br /><br /> <font size=3>I have a <font face=Calibri>redhat AS 4.1.</font> Can use the following command to check <font face=Calibri> </font></font> <br /><br /> <font size=3 face=Calibri>cat / etc / issue</font> <br /><br /><o:p><font size=3 face=Calibri> </font></o:p><br /><br /> <font size=3><font face=Calibri>2.2</font> need to install the following packages <font face=Calibri>(in bold blue of the general system installed by default)</font></font> <br /><br /><o:p><font size=3 face=Calibri> </font></o:p><br /><br /> <font color=#000000><font face=Calibri><font size=3>binutils-2.17.50.0.6-6.el5</font></font></font> <o:p></o:p><br /><br /> <font color=#000000><font face=Calibri><font size=3>compat-libstdc + + -33-3.2.3-61</font></font></font> <o:p></o:p><br /><br /> <font color=#000000><font face=Calibri><font size=3>compat-libstdc + + -296-2.96-138</font></font></font> <o:p></o:p><br /><br /> <font color=#000000><font face=Calibri><font size=3>compat-gcc-34-3.4.6-4</font></font></font> <o:p></o:p><br /><br /> <font color=#000000><font face=Calibri><font size=3>compat-gcc-34-c + + -3.4.6-4</font></font></font> <o:p></o:p><br /><br /> <b><font face=Calibri><font size=3>compat-db-4.2.52-5.1</font></font></b> <o:p></o:p><br /><br /> <font color=#000000><font face=Calibri><font size=3>elfutils-libelf-0.125-3.el5</font></font></font> <o:p></o:p><br /><br /> <font color=#000000><font face=Calibri><font size=3>elfutils-libelf-devel-0.125-3.el5</font></font></font> <o:p></o:p><br /><br /> <b><font face=Calibri><font size=3>glibc-2.5-24</font></font></b> <o:p></o:p><br /><br /> <b><font face=Calibri><font size=3>glibc-common-2.5-24</font></font></b> <o:p></o:p><br /><br /> <b><font face=Calibri><font size=3>glibc-devel-2.5-24</font></font></b> <o:p></o:p><br /><br /> <font color=#000000><font face=Calibri><font size=3>gcc-4.1.2-42.el5</font></font></font> <o:p></o:p><br /><br /> <font color=#000000><font face=Calibri><font size=3>gcc-c + +-4.1.2-42.el5</font></font></font> <o:p></o:p><br /><br /> <b><font face=Calibri><font size=3>libaio-0.3.106-3.2</font></font></b> <o:p></o:p><br /><br /> <font color=#000000><font face=Calibri><font size=3>libaio-devel-0.3.106-3.2</font></font></font> <o:p></o:p><br /><br /> <b><font face=Calibri><font size=3>libgcc-4.1.2-42.el5</font></font></b> <o:p></o:p><br /><br /> <b><font face=Calibri><font size=3>libstdc + +-4.1.2-42.el5</font></font></b> <o:p></o:p><br /><br /> <b><font face=Calibri><font size=3>libstdc + +-devel-4.1.2-42.el5</font></font></b> <o:p></o:p><br /><br /> <b><font face=Calibri><font size=3>make-3.81-3.el5</font></font></b> <o:p></o:p><br /><br /> <font color=#000000><font face=Calibri><font size=3>openmotif-2.3.0-0.5.el5</font></font></font> <o:p></o:p><br /><br /> <font color=#000000><font face=Calibri><font size=3>sysstat-7.0.2-1.el5</font></font></font> <o:p></o:p><br /><br /> <b><font face=Calibri><font size=3>setarch-2.0-1.1</font></font></b> <o:p></o:p><br /><br /><o:p><font size=3 face=Calibri> </font></o:p><o:p><font size=3 face=Calibri> </font></o:p><o:p><font size=3 face=Calibri> </font></o:p><br /><br /> <font size=3>Can use the following command to <font face=Calibri>check:</font></font> <br /><br /> <font size=3 face=Calibri>rpm-q package_name</font> <br /><br /> <font size=3><font face=Calibri>Package_name</font> Note here that does not contain any version <font face=Calibri>number,</font></font> for <font size=3><font face=Calibri>example,</font> to check <font face=Calibri>make-3.79</font></font> <br /><br /> <font size=3 face=Calibri>rpm-q make</font> <br /><br /> <font size=3>If the above software is not <font face=Calibri>installed,</font> please <font face=Calibri>install.</font></font> <br /><br /><font size=3 face=Calibri></font><br /><br /> <font size=3 face=宋体>Can be installed online:</font> <br /><br /><o:p> <font color=#000000><font size=3 face=Calibri><font face=宋体>yum list | grep</font> package_name --- See software list</font></font> </o:p><br /><br /><o:p> <font color=#000000 size=3 face=Calibri>yum install package_name --- download and install</font> </o:p><br /><br /><o:p><font size=3 face=Calibri></font></o:p><br /><br /> <font size=3><font face=Calibri>2.3</font> firewall software <font face=Calibri> </font></font> <br /><br /> <font size=3>If you do not know how to <font face=Calibri>configure, disable.</font> How to <font face=Calibri>disable:</font></font> <br /><br /> <font size=3>Open Applications <font face=Calibri>/</font> System Settings <font face=Calibri>/</font> Security Level <font face=Calibri> </font></font> <br /><br /><o:p><font size=3 face=Calibri> </font></o:p><br /><br /> <font size=3><strong><font face=Calibri>3.</font> To create the necessary installation of <font face=Calibri>oracle</font> group and user</strong> <font face=Calibri> </font></font> <br /><br /><font size=3 face=Calibri></font><br /><br /> <font size=3>The needs of the user is <font face=Calibri>oracle,</font> group <font face=Calibri>dba,</font></font> osinstall <br /><br /> <font size=3>Approach can be used to add the interface can also be a way to use the command line <font face=Calibri> </font></font> <br /><br /> <font size=3 face=Calibri>groupadd osinstall</font> <br /><br /> <font size=3 face=Calibri>groupadd dba</font> <br /><br /> <font size=3 face=Calibri>useradd-g osinstall-G dba oracle</font> <br /><br /> <font size=3 face=Calibri>passwd oracle</font> <br /><br /><o:p><font size=3 face=Calibri> </font></o:p><br /><br /> <strong><font size=3><font face=Calibri>4.</font> To create the installation directory to install the required</font></strong> <br /><br /> <font size=3><strong></strong><font face=Calibri></font></font> <br /><br /> <font size=3><font face=Calibri>4.1 Oracle Base</font> directory <font face=Calibri>/ u01/app/oracle</font></font> <br /><br /> <font size=3 face=Calibri>mkdir-p / u01/app/oracle</font> <br /><br /> <font size=3 face=Calibri>chown-R oracle:</font> osinstall <font size=3 face=Calibri>/ u01/app/oracle</font> <br /><br /> <font size=3 face=Calibri>chmod-R 755 / u01/app/oracle</font> <br /><br /> <font size=3><font face=Calibri>4.2 Oracle</font> database file storage <font face=Calibri>directory.</font> This can <font face=Calibri>not.</font> General is set to <font face=Calibri>/ u02/oradata</font></font> <br /><br /> <font size=3 face=Calibri>mkdir-p / u02/oradata</font> <br /><br /> <font size=3 face=Calibri>chown-R oracle:</font> osinstall <font size=3 face=Calibri>/ u02/oradata</font> <br /><br /> <font size=3 face=Calibri>chmod-R 755 / u02/oradata</font> <br /><br /><font size=3 face=Calibri></font><br /><br /> <font size=3><strong><font face=Calibri>5.</font> Configure the kernel parameters</strong> <font face=Calibri> </font></font> <br /><br /><font size=3 face=Calibri></font><br /><br /> <font size=3><font face=Calibri>5.1</font> Using a text editor, create or edit <font face=Calibri>/ etc / sysctl.conf</font> file, add or modify the following line <font face=Calibri> </font></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>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><font face=Calibri>5.2</font> change the current value of kernel parameters <font face=Calibri> </font></font> <br /><br /> <font size=3 face=Calibri>sysctl-p</font> <br /><br /><font size=3 face=Calibri></font><br /><br /> <font size=3><strong><font face=Calibri>6.</font> Check your <font face=Calibri>/ etc / host.conf</font> whether it contains the following entries</strong> <font face=Calibri> </font></font> <br /><br /><font size=3 face=Calibri></font><br /><br /> <font size=3 face=Calibri>127.0.0.1 localhost</font> <br /><br /> <font size=3>If <font face=Calibri>not, oracle</font> can not start the listener <font face=Calibri> </font></font> <br /><br /><o:p> <font size=3 face=Calibri><strong> </strong></font> </o:p><br /><br /> <strong><font size=3><font face=Calibri>7.</font> In order to improve the software in the <font face=Calibri>linux</font> system performance, <font face=Calibri>oracle</font> user settings must be limited to the following <font face=Calibri>shell.</font></font></strong> <br /><br /> <font size=3><font face=Calibri></font></font> <br /><br /> <font size=3><font face=Calibri>7.1</font> open a file and processes a number of restrictions on the number of <font face=Calibri> </font></font> <br /><br /> <font size=3>By adding the following line to the file <font face=Calibri>/ etc / security / limits.conf</font></font> <br /><br /> <font face=Calibri><font size=3>* Soft nproc 2047</font></font> <br /><br /> <font face=Calibri><font size=3>* Hard nproc 16384</font></font> <br /><br /> <font face=Calibri><font size=3>* Soft nofile 1024</font></font> <br /><br /> <font face=Calibri><font size=3>* Hard nofile 65536</font></font> <br /><br /> <font size=3><font face=Calibri>*</font> Refers to all the restrictions on users and <font face=Calibri>groups, Oracle</font> official documentation is <font face=Calibri>required,</font> I recommend that the <font face=Calibri>*</font> replace <font face=Calibri>oracle,</font></font> <br /><br /> <font size=3>That the <font face=Calibri>oracle</font> user <font face=Calibri>only. *</font> If <font face=Calibri>set,</font> will be likely to impact on other services <font face=Calibri>(such</font> as the <font face=Calibri>Sybase</font> Service to <font face=Calibri>me)</font></font> <br /><br /> <font size=3><font face=Calibri>7.2</font> by adding the following line to the file <font face=Calibri>/ etc / pam.d / login,</font> if it does not exist <font face=Calibri> </font></font> <br /><br /> <font size=3 face=Calibri>session required / lib / security / pam_limits.so</font> <br /><br /> <font size=3><font face=Calibri>Oracle</font> says the official <font face=Calibri>website,</font> but it has been found that this <font face=Calibri>influence.</font></font> <br /><br /> <font size=3>Version of my operating system is <font face=Calibri>Redhat AS 4.1,</font> to remove this line is no <font face=Calibri>problem.</font></font> <br /><br /> <font size=3><font face=Calibri>7.3</font> In accordance with <font face=Calibri>oracle</font> user&#39;s default <font face=Calibri>shell,</font> the default <font face=Calibri>shell start-up</font> file changes as <font face=Calibri>follows.</font></font> <br /><br /> <font size=3>If the <font face=Calibri>Bourne, Bash, or Korn shell,</font> modify environment variables <font face=Calibri>/ etc / profile</font> file as <font face=Calibri>follows:</font></font> <br /><br /> <font size=3 face=Calibri>if [\ $ USER = &quot;oracle&quot;]; then</font> <br /><br /> <font face=Calibri><font size=3>if [\ $ SHELL = &quot;/ bin / ksh&quot;]; then</font></font> <br /><br /> <font face=Calibri><font size=3>ulimit-p 16384</font></font> <br /><br /> <font face=Calibri><font size=3>ulimit-n 65536</font></font> <br /><br /> <font face=Calibri><font size=3>else</font></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 /><o:p><font size=3 face=Calibri> </font></o:p><br /><br /> <font size=3>If it is <font face=Calibri>c shell,</font> the environment variable file <font face=Calibri>/ etc / csh.login</font> value changes as <font face=Calibri>follows:</font></font> <br /><br /> <font size=3 face=Calibri>if ($ USER == &quot;oracle&quot;) then</font> <br /><br /> <font face=Calibri><font size=3>limit maxproc 16384</font></font> <br /><br /> <font face=Calibri><font size=3>limit descriptors 65536</font></font> <br /><br /> <font size=3 face=Calibri>endif</font> <br /><br /><o:p><font color=#000000 size=3 face=Calibri> </font></o:p><br /><br /> <font color=#000000><strong><font size=3><font face=Calibri>8.</font> For the <font face=Calibri>oracle</font> user environment variable <font face=Calibri>settings,</font> note the following command as <font face=Calibri>oracle</font> user must be logged in as</font></strong></font> <br /><br /> <font color=#000000><font size=3><strong></strong></font></font> <o:p></o:p><br /><br /> <font color=#000000><font size=3>● <font face=Calibri>Bash shell, change. Bash_profile,</font> add the following line</font></font> <o:p></o:p><br /><br /> <font color=#000000><font size=3><font color=#000000>　　</font> <font face=Calibri>ORACLE_BASE = / u01/app/oracle</font></font></font> <o:p></o:p><br /><br /> <font color=#000000><font face=Calibri><font size=3>ORACLE_SID =**********</font></font></font> <o:p></o:p><br /><br /> <font size=3><font color=#000000>　　</font> <font color=#000000><font face=Calibri>export</font></font></font> ORACLE_BASE ORACLE_SID <o:p></o:p><br /><br /> <font size=3>● <font face=Calibri>c shell, change. Login file,</font> add the following line <font face=Calibri> </font></font> <br /><br /> <font face=Calibri><font size=3>setenv</font></font> ORACLE_BASE <font face=Calibri><font size=3>/ u01/app/oracle</font></font> <br /><br /> <font face=Calibri><font size=3>setenv</font></font> ORACLE_SID <font face=Calibri><font size=3>**********</font></font> <br /><br /><o:p><font size=3 face=Calibri> </font></o:p><br /><br /> <strong><font size=3><font face=Calibri>9.</font> Recognizing the <font face=Calibri>ORACLE_HOME and</font></font></strong> TNS_ADMIN <font size=3><strong>environment variables are not user settings</strong> <font face=Calibri> </font></font> <br /><br /><font size=3 face=Calibri></font><br /><br /> <font size=3>Do not because the installation process of other <font face=Calibri>errors,</font> and set these values <font face=Calibri> </font></font> <br /><br /> <font size=3>● <font face=Calibri>Bash shell</font></font> <br /><br /> <font face=Calibri><font size=3>unset ORACLE_HOME</font></font> <br /><br /> <font face=Calibri><font size=3>unset</font></font> TNS_ADMIN <br /><br /> <font size=3>● <font face=Calibri>c shell</font></font> <br /><br /> <font size=3 face=Calibri>unsetenv ORACLE_HOME</font> <br /><br /> <font face=Calibri><font size=3>unsetenv</font></font> TNS_ADMIN <br /><br /><o:p><font size=3 face=Calibri> </font></o:p><br /><br /> <font size=3><strong><font face=Calibri>10.</font> Ready to install media</strong> <font face=Calibri> </font></font> <br /><br /><font size=3 face=Calibri></font><br /><br /> <font size=3><font face=Calibri>10.1</font> general I think it is <font face=Calibri>downloaded.</font> First extract</font> to <font size=3>ensure that, after extracting a <font face=Calibri>directory,</font> owned by <font face=Calibri>oracle: oinstall,</font> and has execute permission <font face=Calibri> </font></font> <br /><br /> <font size=3><font face=Calibri>10.2</font> If the <font face=Calibri>CD-ROM,</font></font> it is necessary <font size=3>to <font face=Calibri>mount,</font> the general operating system is automatically <font face=Calibri>mount the.</font></font> <br /><br /><o:p><font size=3 face=Calibri> </font></o:p><br /><br /> <font size=3><font face=Calibri>11.</font> In order to visit the <font face=Calibri>oracle</font> identity <font face=Calibri>xwindow,</font> under the installation directory to run <font face=Calibri>runInstaller</font></font> <br /><br /><o:p><font size=3 face=Calibri> </font></o:p><br /><br /> <font size=3><font face=Calibri>12.</font> The installation <font face=Calibri>process,</font> specify the database user&#39;s <font face=Calibri>password,</font> a warning we must not contain <font face=Calibri>&quot;@&quot; symbol,</font> in my blog, there are detailed explanation <font face=Calibri>why.</font></font> <br /><br /><o:p><font size=3 face=Calibri> </font></o:p><br /><br /> <font size=3><font face=Calibri>13.</font> The final stage of the installation must be in accordance with the instructions <font face=Calibri>oui</font> to <font face=Calibri>root</font> user ID to run the two script <font face=Calibri>files.</font></font> <o:p></o:p><br /><br /><o:p></o:p><h2> <font face=Cambria>FAQ (to</font> install <font face=Cambria>Oracle</font> in <font face=Cambria>Linux</font> platform for the more common <font face=Cambria>problems)</font> <o:p></o:p></h2><h2> <font face=Cambria>1.</font> Can not start the installation interface <o:p></o:p></h2><br /> <font face=宋体>Run</font> runInstaller <font face=宋体>message similar to the following:</font> <o:p></o:p><br /><br /> <pre><FONT size=3><FONT face=宋体>xlib:connection to "localhost:0.0" refused by server <o:p></o:p></FONT></FONT></pre> <pre><FONT size=3><FONT face=宋体>xlib:client is not authorized to connect to server <o:p></o:p></FONT></FONT></pre> <pre><o:p><FONT size=3 face=宋体> </FONT></o:p></pre> <pre><FONT size=3><FONT face=宋体>Exception in thread "main" java.lang.InternalError:<o:p></o:p></FONT></FONT></pre> <pre><FONT size=3><FONT face=宋体>can't connect to x11 window server using "localhost:0.0" at ....... <o:p></o:p></FONT></FONT></pre> <br /> <font face=宋体>The solution: Set your</font> DISPLAY <font face=宋体>environment parameters.</font> <o:p></o:p><br /><br /> <pre><FONT size=3><FONT face=宋体># export DISPLAY= your_IPaddress :0.0<o:p></o:p></FONT></FONT></pre> <br /> Your_IPaddress <font face=宋体>you to change the</font> IP. <font face=宋体>Or</font> root <font face=宋体>of the implementation of a simple click</font> # xhost + <font face=宋体>(to the attention of such a security risk will be)</font> <o:p></o:p><br /><br /><h2> <font face=Cambria>2.</font> The installation of the interface shows a lot of <font face=Cambria>&quot;mouth&quot;</font> look like garbled <o:p></o:p></h2><br /> <font face=宋体>Solution: See</font> locale <font face=宋体>output</font> <o:p></o:p><br /><br /> <pre><FONT size=3><FONT face=宋体># locale<o:p></o:p></FONT></FONT></pre> <pre><FONT size=3><FONT face=宋体>LANG=en_US.UTF-8<o:p></o:p></FONT></FONT></pre> <pre><FONT size=3><FONT face=宋体>LC_CTYPE=zh_CN.GB18030<o:p></o:p></FONT></FONT></pre> <pre><FONT size=3><FONT face=宋体>LC_NUMERIC="en_US.UTF-8"<o:p></o:p></FONT></FONT></pre> <pre><FONT size=3><FONT face=宋体>LC_TIME="en_US.UTF-8"<o:p></o:p></FONT></FONT></pre> <pre><FONT size=3><FONT face=宋体>LC_COLLATE="en_US.UTF-8"<o:p></o:p></FONT></FONT></pre> <pre><FONT size=3><FONT face=宋体>LC_MONETARY="en_US.UTF-8"<o:p></o:p></FONT></FONT></pre> <pre><FONT size=3><FONT face=宋体>LC_MESSAGES="en_US.UTF-8"<o:p></o:p></FONT></FONT></pre> <pre><FONT size=3><FONT face=宋体>LC_PAPER="en_US.UTF-8"<o:p></o:p></FONT></FONT></pre> <pre><FONT size=3><FONT face=宋体>LC_NAME="en_US.UTF-8"<o:p></o:p></FONT></FONT></pre> <pre><FONT size=3><FONT face=宋体>LC_ADDRESS="en_US.UTF-8"<o:p></o:p></FONT></FONT></pre> <pre><FONT size=3><FONT face=宋体>LC_TELEPHONE="en_US.UTF-8"<o:p></o:p></FONT></FONT></pre> <pre><FONT size=3><FONT face=宋体>LC_MEASUREMENT="en_US.UTF-8"<o:p></o:p></FONT></FONT></pre> <pre><FONT size=3><FONT face=宋体>LC_IDENTIFICATION="en_US.UTF-8"<o:p></o:p></FONT></FONT></pre> <pre><FONT size=3><FONT face=宋体>LC_ALL=<o:p></o:p></FONT></FONT></pre>				<h5>Related Posts</h5>
		<div id="smilar">
		<ul>
					<li><a href="http://www.kods.netwww.kods.net/oracle10g-full-version-centos5-installed-the-installation-has-passed/" title="ORACLE10G full version centos5 installed (the installation has passed)">ORACLE10G full version centos5 installed (the installation has passed)</a> 2009-03-31 09:49:10</li>
					<li><a href="http://www.kods.netwww.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.netwww.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.netwww.kods.net/oracle-10g-under-redhat-linux-installation-instructions/</wfw:commentRss>
	</item>
		<item>
		<title>oracle create tasks (to)</title>
		<link>http://www.kods.netwww.kods.net/oracle-create-tasks-to/</link>
		<comments>http://www.kods.netwww.kods.net/oracle-create-tasks-to/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 18:35:02+0000</pubDate>
		<dc:creator>kods.net</dc:creator>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[oracle]]></category>
<category><![CDATA[implementation]]></category>
<category><![CDATA[sql procedure]]></category>
<category><![CDATA[pl sql]]></category>
<category><![CDATA[test test]]></category>
<category><![CDATA[sql command]]></category>
<category><![CDATA[set job]]></category>
<category><![CDATA[job queue]]></category>
<category><![CDATA[nextval]]></category>
<category><![CDATA[task queue]]></category>
<category><![CDATA[cessation]]></category>
<category><![CDATA[mandate]]></category>
<category><![CDATA[timer]]></category>
<category><![CDATA[jobs]]></category>
		<guid isPermaLink="true">http://www.kods.netwww.kods.net/oracle-create-tasks-to/</guid>
		<description><![CDATA[rn rn http://www.cnblogs.com/tohen/archive/2008/11/17/1335186.html rn First, create a PLSQL table: rn create table HWQY.TEST (CARNO VARCHAR2 (30), CARINFOID NUMBER) rn rn rn Second, create a PLSQL sto ...]]></description>
		<content:encoded><![CDATA[rn <br /> rn <br /> <FONT face=Verdana>http://www.cnblogs.com/tohen/archive/2008/11/17/1335186.html</font> <br /><br /> rn <br /> <FONT face=Verdana>First, create a PLSQL table: <br /><br /> rn <br /></font> <!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--> <FONT face=Verdana>create table</font> HWQY.TEST <FONT face=Verdana>(CARNO VARCHAR2 (30),</font> CARINFOID <FONT face=Verdana>NUMBER) <br /> rn <br /><br /> rn <br /><br /> rn <br /> Second, create a PLSQL stored procedure: <br /><br /> rn <br /></font> <!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--> <FONT face=Verdana>create or replace procedure</font> pro_test <FONT face=Verdana><BR> AS <BR> carinfo_id number; <BR> BEGIN <BR> select</font> s_CarInfoID.nextval <FONT face=Verdana>into</font> carinfo_id <FONT face=Verdana>from dual; <BR> insert into test (test.carno, test.carinfoid) values (carinfo_id,&#39;123 &#39;); <BR> commit; <BR> end pro_test; <br /> rn <br /><br /> rn <br /><br /> rn <br /> Third, in the SQL command window to start the task: <BR> In SQL&gt; execute: <br /><br /> rn <br /></font> <!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--> <FONT face=Verdana>VARIABLE jobno number; <BR> begin <BR> DBMS_JOB.SUBMIT (: jobno, &#39;pro_test;&#39;, SYSDATE, &#39;sysdate +1/24/12&#39;); <BR> commit; <BR> end; <BR> / <br /> rn <br /><br /> rn <br /><br /> rn <br /> Fourth, the case of tracking tasks (see task queue): <br /><br /> rn <br /></font> <!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--> <FONT face=Verdana>SQL&gt; select job, next_date, next_sec, failures, broken from user_jobs; <BR><BR> JOB</font> NEXT_DATE NEXT_SEC <FONT face=Verdana>FAILURES BROKEN <BR> ---------- ----------- ---------------- ---------- --- --- <BR> 1 2008-2-22? 01:00:00 0 N <br /> rn <br /><BR> That has a role to exist. <BR> Implementation of select * from test t see the results of tasks regularly. As can be seen from time to time is normal for the implementation of the mandate of the. <br /><br /> rn <br /><br /> rn <br /> Fifth, stop the timer has started tasks: <br /><br /> rn <br /> Before the implementation of select job, next_date, next_sec, failures, broken from user_jobs; to view its regular task of the job. <BR> In the SQL&gt; statement in the implementation of the following has been launched to stop a timing tasks: <br /><br /> rn <br /></font> <!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--> <FONT face=Verdana>begin <BR> dbms_job.remove (1); <BR> commit; <BR> end; <BR> / <br /> rn <br /><BR> That the cessation of the task of job 1. <BR> After the implementation is shown below: PL / SQL procedure successfully completed <br /><br /> rn <br /><br /> rn <br /> 6, view the process of a few: <br /><br /> rn <br /></font> <!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--> <FONT face=Verdana>show parameter job_queue_processes; <BR> - Must be&gt; 0, otherwise, run the following modifications: <BR> alter system set</font> job_queue_processes <FONT face=Verdana>= 5; <br /> rn <br /><br /> rn <br /><br /> rn <br /> Seven,</font> and <FONT face=Verdana>then create a task (once every 5 minutes): <br /><br /> rn <br /></font> <!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--> <FONT face=Verdana>variable jobno number; <BR> begin <BR> dbms_job.submit (: jobno, &#39;pro_test;&#39;, sysdate, &#39;sysdate +1/24/12&#39;); <BR> commit; <BR> end; <BR> / <br /> rn <br /><br /> rn <br /> The establishment of a regular mission, in PLSQL view JOB, it is similar to the sql statement is as follows: <br /><br /> rn <br /></font> <!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--> <FONT face=Verdana>begin <BR> sys.dbms_job.submit (job =&gt;: jobno, <BR> what =&gt; &#39;pro_test;&#39;, <BR> next_date =&gt; to_date (&#39;21-02-2008</font> 17:37:26 <FONT face=Verdana>&#39;,&#39; dd-mm-yyyy hh24: mi: ss&#39;), <BR> interval =&gt; &#39;sysdate +1/24/12&#39;); <BR> commit; <BR> end; <BR> / <br /> rn <br /><br /> rn <br /> Therefore,</font> the <FONT face=Verdana>task of creating a complete format is: <br /><br /> rn <br /></font> <!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--> <FONT face=Verdana>variable jobno number; <BR> begin <BR> sys.dbms_job.submit (job =&gt;: jobno, <BR> what =&gt; &#39;pro_test;&#39;, <BR> next_date =&gt; to_date (&#39;21-02-2008</font> 17:37:26 <FONT face=Verdana>&#39;,&#39; dd-mm-yyyy hh24: mi: ss&#39;), <BR> interval =&gt; &#39;sysdate +1/24/12&#39;); <BR> commit; <BR> end; <BR> / <BR> - The system will automatically assign a task</font> No. <FONT face=Verdana>jobno. <br /> rn <br /><br /> rn <br /><br /> rn <br /> 8, the implementation of the results: <br /><br /> rn <br /></font> <!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--> <FONT face=Verdana>select job, next_date, next_sec, failures, broken from user_jobs; <BR><BR> JOB</font> NEXT_DATE NEXT_SEC <FONT face=Verdana>FAILURES BROKEN <BR> 1 1 2008-2-22 AM 01:00:00 01:00:00 0 N <BR> 2 2 2008-2-21 PM</font> 05:42:45 17:42:45 <FONT face=Verdana>0 N <BR> 3 3 2008-2-21 PM</font> 05:42:45 17:42:45 <FONT face=Verdana>0 N <BR><br /></font> <br /> rn<br /> rn <STYLE>rn    tdrn    {rn        font-size: 12px;rn    }rn    .commentTextBoxrn    {rn        font-family: Verdana;rn        font-size: 13px;rn    }rn    a.blue:visited, a.blue:active, a.blue:link, a.blue:hoverrn    {rn        color: blue;rn    }rn</STYLE> rn <!--Beging Temp Save--> rn <STYLE>rn    .userDatarn    {rn        behavior: url(#default#userdata);rn    }rn</STYLE> rnrn <br /><br /> rnrn <!--Ene TempSave-->				<h5>Related Posts</h5>
		<div id="smilar">
		<ul>
					<li><a href="http://www.kods.netwww.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.netwww.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.netwww.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.netwww.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.netwww.kods.net/oracle-create-tasks-to/</wfw:commentRss>
	</item>
		<item>
		<title>Truncate Table is used when no matter drop storage or reuse storage will</title>
		<link>http://www.kods.netwww.kods.net/truncate-table-is-used-when-no-matter-drop-storage-or-reuse-storage-will/</link>
		<comments>http://www.kods.netwww.kods.net/truncate-table-is-used-when-no-matter-drop-storage-or-reuse-storage-will/#comments</comments>
		<pubDate>Fri, 26 Jun 2009 21:20:02+0000</pubDate>
		<dc:creator>kods.net</dc:creator>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[index data]]></category>
<category><![CDATA[index table]]></category>
<category><![CDATA[table space]]></category>
<category><![CDATA[two tables]]></category>
<category><![CDATA[hwm]]></category>
<category><![CDATA[matter drop]]></category>
<category><![CDATA[cwj]]></category>
<category><![CDATA[p3e]]></category>
<category><![CDATA[n8s]]></category>
<category><![CDATA[first position]]></category>
<category><![CDATA[7z]]></category>
<category><![CDATA[hrn]]></category>
<category><![CDATA[rnp]]></category>
<category><![CDATA[y0]]></category>
<category><![CDATA[uly]]></category>
<category><![CDATA[personal space]]></category>
<category><![CDATA[g0]]></category>
<category><![CDATA[jz]]></category>
<category><![CDATA[n0]]></category>
<category><![CDATA[c0]]></category>
		<guid isPermaLink="true">http://www.kods.netwww.kods.net/truncate-table-is-used-when-no-matter-drop-storage-or-reuse-storage-will/</guid>
		<description><![CDATA[Truncate Table is used when no matter drop storage or reuse storage will be re-instated to the first HWM From: http://space.itpub.net/13165828/viewspace-607258 A, B for the two Table. 6g3n ~ Hrn ^ J9o ...]]></description>
		<content:encoded><![CDATA[<h1> Truncate Table is used when no matter drop storage or reuse storage will be re-instated to the first HWM </h1><br /> From: http://space.itpub.net/13165828/viewspace-607258 <br /><br /> <font size="2" face="Verdana">A, B for the two Table. <br /> 6g3n ~</font> Hrn <font size="2" face="Verdana">^ J9o0A, B, respectively, the data on the space under the table erp_data <br /> k3 @</font> 8o9Z6 <font size="2" face="Verdana">[4F4Y0A, B, respectively, on the index table space erp_indx personal ITPUB space under X! A u [7Z B <br /><br /> ! nk @ n8s&#39;t WH K &amp; T $) 0 then ITPUB personal space (rnV $</font> ArnW <font size="2" face="Verdana">* D, m (I <br /> We use the following two statements to delete data in two tables ITPUB personal space \! ^</font> Rnq R8x <font size="2" face="Verdana">(U! X h / I <br /> Truncate table A drop storage; <br /> . z P1F)? / m n5W%]</font> 0Truncate <font size="2" face="Verdana">table B reuse storage; ITPUB Personal Space | &amp; G3s) 1? 0 ~ b W k <br /><br /> rnP / w&#39;v d N0 results would be: <br /> 6vrn [I C7A, r ^ 0 <br /> i8s a! l5 [0Truncate table A drop storage; <br /> 0S h # D&#39;l% I, X y3Q $ \) y0 - data: data on the extent where some of the space will be released (the release of personal space minextentsITPUB recovery to O &amp; N jz</font> h&#39;e <font size="2" face="Verdana">x <br /> Of extent), the space can be freed up for use of other segment. <br /> : O) Y + | _</font> t2u knbx <font size="2" face="Verdana">d0 - index: B form part of the index will delete data, extent has also been part of the release of</font> the <font size="2" face="Verdana">remaining first extentITPUB personal space P9q H Jrnt TH (QT <br /> - hwm: will be re-instated HWM to the first position of Block&#39;s (hwm will change). ITPUB personal space 0z% C / _ C k <br /> ITPUB personal space e + M8 ^ &quot;E f RO <br /> ITPUB personal space $ @ ornd% K! N; i s&#39;? T) <br /> Truncate table B reuse storage; <br /> r &quot;VG&quot; ^ CWJ R0 - data: data on the extent where some of the space will not be recovered (only data will be deleted <br /> 3 \ d7 | V G0 in addition), after deletion of data freespace space only for the use of this table can not be <br /> b K mN k P3e u0 for the use of other segment. <br /> _, j + c ULY C0 - index: B form part of the index data will be deleted, but retain some extent personal ITPUB space [4h Y w $ D <br /> - hwm: will be re-instated HWM to the first position of Block&#39;s (hwm will change).</font> <br /><br /> LA z ( `x (P _7b + R0 <br /> `# s% a _ s.? rnp v N/q0 <font size="2" face="Verdana">1, <strong><u>testing</u></strong> began to build two tables</font> <font size="2"><font face="Verdana"><font size="2" face="Verdana">A,</font> B and the corresponding index inx_A, idx_B <br /> + ~ R (YB F6t0ITPUB personal space; o O) V, t Q &quot;UU g2n <br /><br /> f x6Q s0w y: ri @ s0 <strong><u>SQL&gt;</u></strong> show user <br /> k + w &amp; T v (E2X I0 <br /> # bk &quot;UX $ A l?!</font></font> CrnN <font size="2"><font face="Verdana">w l0USER is&quot;</font></font> QIUYB <font size="2"><font face="Verdana">&quot;; <br /> nj T &quot;z&quot; wl X0 <br /> &quot;z5Q xa` 0SQL&gt; create table A (col number); ITPUB personal space 4h * K D # x K <br /> ITPUB personal space, l G ^ / ny D ~</font></font> rnW <font size="2"><font face="Verdana"><br /> Table created. <br /> 6X M7F IOA: W |</font></font> 0ITPUB <font size="2"><font face="Verdana">personal space * s (drn ^</font></font> A1Q <font size="2"><font face="Verdana">\ b <br /><br /> -uu l &amp; d ^ 6s0SQL&gt; insert into A values (1); ITPUB personal space 4n4 ~ 4R (N N9J v; K * ^ <br /> ITPUB personal space 9R K0f Q bi IE <br /> 1 row created. <br /> \</font></font> rnn <font size="2"><font face="Verdana">Z; ~ ( `0h qpi Q3u0SQL&gt; insert into A select * from A; <br /> X</font></font> Y5y.Qrny <font size="2"><font face="Verdana">(~ Y01 row created. <br /> L &quot;O c J j&quot;</font></font> M1e <font size="2"><font face="Verdana">a0 <br /> &#39;bo _ G r Z P0SQL&gt; / <br /> T a-X &#39; `rnw e m2B [# S02 rows created. <br /> g @: B</font></font> _0v <font size="2"><font face="Verdana">| - ^-g, b5 (0 <br /> , P nb) s</font></font> v.X <font size="2"><font face="Verdana">&#39;| g Q0SQL&gt; / <br /> rnm</font></font> A&#39;_ <font size="2"><font face="Verdana">&quot;);</font></font> z8r <font size="2"><font face="Verdana">&amp; B ^ M Q0ITPUB personal space 6T% m QBS!</font></font> t2P <font size="2"><font face="Verdana"><br /> 4 rows created. <br /> / zm! L &amp; s *</font></font> A0ITPUB <font size="2"><font face="Verdana">personal space: T Orn (&amp;</font></font> SrnE <font size="2"><font face="Verdana">`e <br /> SQL&gt; / ITPUB personal space J6 @-XZ (9u <br /><br /> $ _5 `. T f * Y c08 rows created. <br /> (y! n B2 ^ b \ o q0ITPUB personal space + ~ M ek B `D5G q <br /> SQL&gt; / <br /> : \ 2I xZ-U o0 <br /> $ | E d G3U p B? C $</font></font> i016 <font size="2"><font face="Verdana">rows created. ITPUB personal space, itz) A + i: y1 ^ <br /><br /> Q7q v6 @ `(p0SQL&gt; / <br /> ! e L) a! r F t Z0D0v b0ITPUB personal space * t p8R% @ &quot;l% V w2` <br /> 32 rows created. ITPUB personal space [1 \ 8 `9z</font></font> SrnX <font size="2"><font face="Verdana">c) Z <br /> ITPUB personal space \ KY \ [5Z sb <br /> SQL&gt; / <br /> rno N7 `Q $ l / E +</font></font> QrnE <font size="2"><font face="Verdana">/ VrnE!</font></font> b064 <font size="2"><font face="Verdana">rows created. <br /> !</font></font> r4O <font size="2"><font face="Verdana">IG, R2R (f (S @ 0 <br /> (XPA) w &amp; m &amp; [M k0SQL&gt; / <br /> 3a5 ^ &#39;X W1R @</font></font> b3A9P0ITPUB <font size="2"><font face="Verdana">personal space)? ^&#39; Mn | b O @</font></font><br /> 128 rows <font size="2"><font face="Verdana">created. ITPUB personal space + o X wn prnQ (B <br /><br /> ; k &amp; `; bg (O $ L&#39;t WrnK Y q0SQL&gt; / <br /> rno% ~ $</font></font> LrnX <font size="2"><font face="Verdana">X0 <br /> Z) S5 (i4 \</font></font> rnX5s <font size="2"><font face="Verdana">\ (0256 rows created. ITPUB personal space &quot;s (N p $ a.A &#39;Z &amp; P L <br /> ITPUB personal space tl #</font></font> WEKB <font size="2"><font face="Verdana"><br /><br /> rn ~ @. ( &#39;O7E l B) a0SQL&gt; / <br /> 5I4L # (w H g0 <br /> $ x [1o0z hv V0512 rows created. <br /> p LM # S /)</font></font> s3H0ITPUB <font size="2"><font face="Verdana">personal space \ vy</font></font> V.Q4C <font size="2"><font face="Verdana"># _ T <br /> SQL&gt; / <br /> ]</font></font> Ugy D2Z <font size="2"><font face="Verdana">Q f J. `0 <br /> .</font></font> crnU <font size="2"><font face="Verdana">BV * e #] T z3X i @ 8K? 01024 rows created. ITPUB personal space) EZJ _ M3S&#39;_ <br /> ITPUB personal space J urng @ z ZX f $ A9b <br /> SQL&gt; / ITPUB personal space rn? N / E</font></font> ,`&amp;?* <font size="2"><font face="Verdana">d <br /> 2048 rows created. ITPUB personal space RS _ (_8j.G <br /> ITPUB personal space x S? Ru / ` <br /> SQL&gt; / <br /> @ $ y $) 7V] (e r04096 rows created. <br /> gn N xE; D w0 <br /> . g M4U / `-] B0SQL&gt; / <br /> ?</font></font> C3Z <font size="2"><font face="Verdana">o5) * `# r U j08192 rows created. ITPUB personal space e0F H y &amp; L8 ^ <br /> ITPUB personal space e H # F &quot;G y; h! Y <br /> SQL&gt; / ITPUB personal space rn (j D () hv%</font></font> v9G <font size="2"><font face="Verdana">b <br /> 16384 rows created. <br /> &quot;KBY</font></font> mrnd <font size="2"><font face="Verdana">C $ @ j yA \ 0 <br /> # A) C ~ yq ( `$ B0SQL&gt; / ITPUB personal space #`</font></font> N5c <font size="2"><font face="Verdana">H r T # d T. ( <br /><br /> #</font></font> trnT0Y <font size="2"><font face="Verdana">d ~ rnz)</font></font> J032768 <font size="2"><font face="Verdana">rows created. <br /> 4q ~ OW f) c/u0ITPUB personal space # m7T, [rnT (Y e &amp; @ * N <br /> SQL&gt; / <br /> b) e Y ernJ1F) * u0 <br /> ms U-_ t M Q065536 rows created. <br /> A-N4L s $</font></font> C0ITPUB <font size="2"><font face="Verdana">personal space X.A7f m / H c5 [L <br /> SQL&gt; commit; <br /> $ XBRV)</font></font> Urnp0 <font size="2"><font face="Verdana"><br /> o! B g J j: w? mp M z8Y0Commit complete. <br /> k3Krn_ G C6j)</font></font> t0ITPUB <font size="2"><font face="Verdana">personal space * J2 [y @ T7F m <br /> ITPUB personal space (Q4q c3j3y;</font></font> g7E <font size="2"><font face="Verdana">$ [ &#39;rr X n <br /> SQL&gt; create table B as select * from A; ITPUB personal space q Qt t (t &quot;x <br /> ITPUB personal space t A r T3b Trnd T <br /> Table created. <br /> Z ~? Q db Z e ~ 1T (E0ITPUB personal space? &quot;? @ 1? $</font></font> IrnCrn <font size="2"><font face="Verdana">@ <br /><br /> i5 ~ a YW (b0SQL&gt; create index</font></font> idx_A <font size="2"><font face="Verdana">on A (col); <br /> rnB; d J? \ 0 <br /> + A * m T h +</font></font> r0Index <font size="2"><font face="Verdana">created. ITPUB personal space YJZ rrnr ^ <br /> ITPUB personal space O; t</font></font> b1n.F <font size="2"><font face="Verdana"><br /> ITPUB personal space 0w; Z # a.lrnC Z, ^ <br /> SQL&gt; create index</font></font> idx_B <font size="2"><font face="Verdana">on B (col); <br /> 6l2c T &quot;(rnB0ITPUB personal space s W d HT ( <br /> Index <font size="2" face="Verdana">created.</font></font></font> <font size="2" face="Verdana"><br /> P t /?</font> P2M <font size="2" face="Verdana">c0 <br /> ]: b A3a | 3L m, |</font> 0ITPUB <font size="2" face="Verdana">personal space 1A, QZ! ga Z $</font> H3F5H <font size="2" face="Verdana"><br /><br /> # R (EZ * TN _</font> L8O0 <font size="2"><font face="Verdana">2, look for the extent of these four paragraphs of the use. ITPUB personal space (s8b3 (D PP &quot;[(f7N <br /> ITPUB personal space m%</font></font> urnj <font size="2"><font face="Verdana">* t Prns ( ` <br /> ITPUB personal space GT f-u0H p V f / [5U <br /> SQL&gt; select segment_name, extent_id, bytes <br /> 9I S M5F% p W) M0 <br /> &amp;</font></font> l8M7S <font size="2"><font face="Verdana">od K9j o0 2 from</font></font> user_extents <font size="2"><font face="Verdana"><br /> b:? 2r: x2E7V! c8_0 <br /> &amp; ( &#39;h5a z *</font></font> pxee <font size="2"><font face="Verdana">| E0 3 where segment_name like&#39;% A% &#39;OR segment_name like&#39;% B% &#39; <br /> Pv pu) p0 <br /> _ N _</font></font> W0r <font size="2"><font face="Verdana">V0 4 order by 1,</font></font> <font size="2" face="Verdana">2 <br /> 8t Q-_1J n &amp;</font> b0ITPUB <font size="2" face="Verdana">personal space g l1BrnS RP i! G <br /> 5 / <br /> Q6E xNS B!] 0 <br /> Q] o V &amp; @. N, d q0 <br /> ; olz; GTT z. \ 0</font> SEGMENT_NA EXTENT_ID <font size="2" face="Verdana">BYTESITPUB personal space! ib &quot;R [@</font> 6W2m <font size="2" face="Verdana"><br /> ---------- ---------- ---------- <br /> |</font> Mrn <font size="2" face="Verdana">| &amp;</font> I5X <font size="2" face="Verdana">&amp; c l0 A 0 65536 <br /> 6V e, f T c @</font> t0A <font size="2" face="Verdana">1 65536 <br /> | $</font> k7 <font size="2" face="Verdana">^ 2Q &amp; X) Brn_</font> Yrn <font size="2" face="Verdana">[\ 0A 2 65536ITPUB personal space; W rf L1w $) (kn] &#39;c!] <br /> A 3 65536 <br /> h; O s R wo W0A 4 65536 <br /> 2g2 [ &quot;KK K0A 5 65536 <br /> C2R E / n J (0A 6 65536</font><br /> T &amp; g V N6W0A 7 65536ITPUB personal space) * P u + (3G d] <br /> A 8 65536 <br /> % r) L% E, D, NIL%? 0A 9 65536ITPUB personal space Z8]; p! @ rn (-S3N &#39;N% A8i <br /> A 10 65536ITPUB personal space 1h G W4 `V1D to!? 6S <br /> A 11 65536 <br /> \ rn ^ 6Z: nrnW D y7J $ n9d3J% J0A 12 65536 <br /> g0e [1i w Z0A 13 65536ITPUB personal space 9] G v `6n [1v <br /> A 14 65536ITPUB personal space 8F, B); J! L u6O <br /> A 15 65536ITPUB personal space, \% | E4N * t T <br /> A 16 1048576ITPUB personal space P6crn (&amp; z b N # | E <br /> B 0 65536ITPUB personal space KFM p T0e <br /> B 1 65536 <br /> (T! G1c $ o H0B 2 65536 <br /> 4z qk UW # t2p; ~ 9H \ 3o0B 3 65536ITPUB personal space, B5r: _ f: u C3o) U \ <br /> B 4 65536ITPUB personal space &#39;y0O8 \ / F3_ <br /> B 5 65536 <br /> U () &#39;z # N &amp; C b0B 6 65536 <br /> A5 | 4R e&#39;L o z &amp; K o0B 7 65536 <br /> + x0n.o3 `7r.E0B 8 6553 <br /> H @ M0 [ &quot;Q # n6S0B 9 65536ITPUB personal space D y4K&#39;f R) N B1K.N $ r <br /> B 10 65536ITPUB personal space? 7? - | 5E (\ TrnH (# n B ob <br /> B 11 65536 <br /> ) HX xb% oz% p&#39;j8 | q K $ l p0B 12 65536ITPUB personal space &#39;HC o1S5g B3A <br /> B 13 65536 <br /> # H &quot;L m * N N0B 14 65536ITPUB personal space? R&#39;a e8u Y a! L $ Rrn] <br /> B 15 65536ITPUB personal space rny + W j W.R0 ~ R <br /> B 16 1048576ITPUB personal space] rnY-W $ qA! Zrnt (Drn_ F <br /> IDX_A 0 65536ITPUB personal space H5a1 `* i` <br /> IDX_A 1 65536ITPUB personal space KI _; o # df <br /> IDX_A 2 65536ITPUB personal space w J D9H R ^ <br /> IDX_A 3 65536ITPUB personal space KK (K6N TUL nV <br /> IDX_A 4 65536 <br /> L/U5q u DrnX,?. Y0IDX_A 5 65536ITPUB personal space 6O Q) @] # s7_ <br /> IDX_A 6 65536ITPUB personal space, Z! Q5q) f O&#39;M &quot;O) * N <br /> IDX_A 7 65536 <br /> i [Y @-p _0IDX_A 8 65536ITPUB personal space. j * w0t z J1P ( <br /> IDX_A 9 65536 <br /> A + o5E urg t0IDX_A 10 65536ITPUB personal space A2q% j (^ g Q k # X ( ` <br /> IDX_A 11 65536 <br /> J r V7v Z.A6L [^ vx K0IDX_A 12 65536ITPUB personal space] 9Z $ e D7h s S _ S ~ <br /> IDX_A 13 65536 <br /> \ R fe $ L Z0IDX_A 14 65536 <br /> f2h XN, c x4H * m9 `0IDX_A 15 65536ITPUB personal space u S (` I; ErnH (K5C <br /> IDX_A 16 1048576 <br /> 4M% _ si V) ^ z7j0IDX_A 17 1048576 <br /> (F &quot;J ~ w:? 0IDX_B 0 65536 <br /> g I * NA o0p je F, A Y0IDX_B 1 65536ITPUB personal space U? R # J (j6v3N # h.O + N <br /> IDX_B 2 65536ITPUB personal space f X6Y0G CrnH <br /> IDX_B 3 65536ITPUB personal space M8? 4k9 ^ ~ <br /> IDX_B 4 65536 <br /> 4) &amp; c9 ^ 6o n ns Lrn ~ (0IDX_B 5 65536 <br /> ! z c9P G # y: G0IDX_B 6 65536 <br /> W u OF u &quot;A &amp; s.v0IDX_B 7 65536ITPUB personal space an E` K v <br /> IDX_B 8 65536ITPUB personal space I / `R! L% z O &amp; Y1 @ <br /> IDX_B 9 65536ITPUB personal space 1 \ # z.) 9P f6i1l <br /> IDX_B 10 65536ITPUB personal space g8z! U c0 \ grn `y <br /> IDX_B 11 65536 <br /> ! | V _rn @ F @; pp L-(0IDX_B 12 65536ITPUB personal space: O0o% p G1F &quot;X5S <br /> IDX_B 13 65536ITPUB personal space l2v an (~: m R <br /> IDX_B 14 65536ITPUB personal space 6e8a l8 ~ ^ 9o) D <br /> IDX_B 15 65536ITPUB personal space rnh) G (i4T9p ^ \ 5f <br /> IDX_B 16 1048576 <br /> i Krno.h X/p0IDX_B 17 1048576ITPUB personal space \ / X7Y] I <br /> ITPUB personal space mrnb. @ RnO _: V2J x <br /> 70 rows <font size="2"><font face="Verdana">selected. <br /> F t ED)) u0 <br /> rnV. [h vrnqrnT * E</font></font> R&#39;o0 <font size="2"><font face="Verdana"><br /> h * V u FG! k: x0 <br /> 3a e ~ 7p G ^ &amp; [0 <br /> &amp; R W &amp; r-? T) d _</font></font> b6V0ITPUB <font size="2"><font face="Verdana">personal space /</font></font> g8y <font size="2"><font face="Verdana">APO z m&#39;n <br /> 3, View A, B List, HWM, formula HWM = total_blocks-empty_blocks, we can see A, B, respectively HWM of 232, 168 <br /> +</font></font> v2X l6O <font size="2"><font face="Verdana">(v! h *): r | f0SQL&gt; analyze table A compute statistics; ITPUB personal space 8c &amp; Q \ IY</font></font> t&#39;M <font size="2"><font face="Verdana"><br /> Table analyzed. ITPUB personal space sa F3 @ l <br /> ITPUB personal space (6s%? + M! W + LD <br /> SQL&gt; analyze table B compute statistics; ITPUB personal space,</font></font> q9g <font size="2"><font face="Verdana">q,</font></font> l2x <font size="2"><font face="Verdana">\) j3)</font></font><br /> Table <font size="2"><font face="Verdana">analyzed. ITPUB personal space; Z / d T [2m._ <br /> ITPUB personal space A + b B n (? (T <br /> SQL&gt; col table_name format a10ITPUB personal space V / t i4H a R i ^ <br /> ITPUB personal space% | t6e! E&#39;o v ^ g <br /> SQL&gt; SELECT TABLE_NAME, blocks, empty_blocks, blocks-empty_blocks</font></font> hwmITPUB <font size="2"><font face="Verdana">personal space n * BW</font></font> q6_ <font size="2"><font face="Verdana">h \, Y x K <br /> 2 FROM</font></font> user_tables <font size="2"><font face="Verdana"><br /> 1Z ~ p, t K, b0 3 WHERE table_name IN ( &#39;A&#39;, &#39;B&#39;) ITPUB personal space 1nrnr d2 ^ #</font></font> oJ <font size="2"><font face="Verdana">* J <br /> 4 / ITPUB personal space L v J / (I</font></font> _8J <font size="2"><font face="Verdana">@ O <br /><br /> -VV i ((* C \ G l n0ITPUB personal space 2g4Z J0c byq <br /> SQL&gt;</font></font> <font size="2" face="Verdana">set pagesize 10 ITPUB personal space 0 | Z $ I (B [3s ` <br /> SQL&gt; / ITPUB personal space c I `y, FT <br /><br /> -s! Uv h + L k Y, c0 TABLE_NAME BLOCKS</font> EMPTY_BLOCKS <font size="2" face="Verdana">HWMITPUB personal space 4? M9K8f3J! BH <br /> ---------- ---------- ------------ ---------- ITPUB `personal space (\:) ~ | # u (K) ZI <br /></font> <font size="2"><font face="Verdana">A 244 12 232 <br /> &quot;B6O uk T0B 212 44 168ITPUB personal space&quot; v6? ~</font></font> KrnP <font size="2"><font face="Verdana">Y / M) 6q) CX $ G <br /><br /> G9 \</font></font> rnS <font size="2"><font face="Verdana">l S7s6S (c N0 <br /> : ~</font></font> T2F <font size="2"><font face="Verdana">~-q! IF i B04, to DROP STORAGE, REUSE STORAGE on the two options A, B do see differences between different operating ITPUB personal space * `_ e + EHT K6 \ * j <br /><br /> C &quot;[% P S3a9G&quot; q0SQL&gt; truncate table A DROP STORAGE; ITPUB personal space) Kc z3 [RrnL4w d * ( <br /> ITPUB personal space: w +?</font></font> 9z <font size="2"><font face="Verdana">+ E w B <br /> Table truncated. ITPUB personal space S hh) ^ 9r! B / \ 2F (S <br /> ITPUB personal space). O #</font></font> drn <font size="2"><font face="Verdana">^ 7Z Q x)</font></font> t6C <font size="2"><font face="Verdana">* rp <br /> SQL&gt; truncate table B REUSE STORAGE; ITPUB personal space z; Q / A gq nx \ l <br /> Table truncated. <br /> arn | 2G: F z% c: f%</font></font> E0ITPUB <font size="2"><font face="Verdana">personal space 7f d? + m% @ S HG <br /> SQL&gt; SET PAGESIZE 300ITPUB personal space $ J, hrne) R&#39;E $ v <br /><br /> 5k Y) n Hrn] / z prnY u0SQL&gt; select segment_name, extent_id, bytes <br /> (1G @ O qe (0ITPUB personal space Q6] b V% v Q ht l &amp; u <br /> 2 from</font></font> user_extents <font size="2"><font face="Verdana">ITPUB personal space R g N (A) r <br /><br /> 2H.A8g M &quot;u A w E6j0 3 where segment_name like &#39;% A%&#39; OR segment_name like &#39;% B%&#39; ITPUB personal space # ^ &#39;Yf% k (rnw&quot;</font></font> p8L <font size="2"><font face="Verdana"><br /> ITPUB personal space / @ W y!] EE <br /> 4 order by 1,</font></font> 2ITPUB <font size="2" face="Verdana">personal space rnq</font> L3N&#39;q7K <font size="2" face="Verdana">(T</font> Urn_ <font size="2" face="Verdana">(drnP d V <br /><br /> I?-L-R3q) D @ (S0 5 / ITPUB personal space 2g9k I u9L B9X C <br /><br /> b-^ ~</font> e9x y3b0 <font size="2" face="Verdana"><br /> 4 ~ 4k z?</font> W0 <font size="2" face="Verdana"><br /> z% dx ((/ [a $ c &quot;j0 SEGMENT_NA EXTENT_ID</font> BYTESITPUB <font size="2" face="Verdana">Personal Space | S9q% Z #</font> w3u <font size="2" face="Verdana"><br /> ---------- ---------- ---------- <br /> + d _ ~ j $ _ * RB / Y u0 A 0 65536ITPUB personal space _ on; K + ^ 0B (~ $ v ~ <br /> B 0 65536ITPUB personal space / W wi W) `` K (U,</font> Z7b <font size="2" face="Verdana"><br /> B 1 65536ITPUB personal space% X (Bd Z f @ l S9h; t <br /> B 2 65536 <br /> h&#39;z y! e) GF ((- ~ 0B 3 65536 <br /> Y v irnN KR j i0B 4 65536ITPUB personal space _! H Srnt vt] j: m? B4 ^ <br /> B 5 65536ITPUB personal space rnV &quot;y T * z QF Rrn (H x% K <br /> B 6 65536ITPUB personal space O `;</font> J0Q g3I <font size="2" face="Verdana">n Q h N <br /> B 7 65536ITPUB personal space [ &quot;qC</font> W9i <font size="2" face="Verdana"><br /> B 8 65536 <br /> c1 | (F], D) e BN z0X0B 9 65536ITPUB personal space 8t&#39;r Z] e q2T z) <br /> B 10 65536 <br /> 7 (V KL m u4L `r0B 11 65536 <br /> [$</font> W0h3J1A <font size="2" face="Verdana">(+ n ^ Q (q0B 12 65536 <br /> ) y&#39;g% l Z z Q +</font> J0B <font size="2" face="Verdana">13 65536 <br /> rnc h # r4 `w ~: w * U E0B 14 65536ITPUB personal space si T | b1g <br /> B 15 65536ITPUB personal space \ * k D] z A [ <br /> B 16 1048576 <br /> &#39;i?;</font> ghg <font size="2" face="Verdana">T</font> s0IDX_A <font size="2" face="Verdana">0 65536 <br /> &amp; o L7X5o i (g): N</font> z0IX_B <font size="2" face="Verdana">0 65536 <br /> : (, o; ^ `)</font> s6j <font size="2" face="Verdana">$</font> zrnP <font size="2" face="Verdana">a0m2A0IDX_B 1 65536ITPUB personal space _2ernzrnh</font> f5B <font size="2" face="Verdana">I p X <br /> IDX_B 2 65536 <br /> 1f nx T3U P p-z0IDX_B 3 65536ITPUB personal space # A nb S9?: I P / I) <br /> IDX_B 4 65536ITPUB personal space \ b $ M G2J D&#39;h</font><br /> IDX_B 5 65536ITPUB personal space U a) FB Y&#39;e! Dk j6n r * et <br /> IDX_B 6 65536ITPUB personal space 9U A [_ c, S5l9 ^ 1_ <br /> IDX_B 7 65536 <br /> t! OX w y0IDX_B 8 65536 <br /> ) K I + J) G $ d, V N2) P0IDX_B 9 65536ITPUB personal space 9) &#39;q \) n5g E o <br /> IDX_B 10 65536ITPUB personal space 4Q% g * m&#39;u E ~ <br /> IDX_B 11 65536 <br /> ) YX \ n * h1W0IDX_B 12 65536ITPUB personal space: DX; H: @ E-\ \ z ( <br /> IX_B 13 65536ITPUB personal space @ 1u pj H, ($] <br /> IDX_B 14 65536 <br /> C (MF w F (] 9B C% T0IDX_B 15 65536 <br /> 2z jG (U j L;? 0IDX_B 16 1048576 <br /> v, ~ \-b X0 `m0 [* A [v0IDX_B 17 1048576 <br /> bv? m l0 <br /> (B?% [S3 [0ITPUB personal space. T2T ^ Q &amp; c ^ ob <br /> 37 rows <font size="2" face="Verdana">selected. ITPUB personal space 1 | 7 ~ (S $ dh <br /> ITPUB personal space GI / V $ I&#39;a _ <br /> ITPUB personal space w M; @</font> 6l4h <font size="2" face="Verdana">O # K, F6A <br /></font> <font size="2"><font face="Verdana">A table can see itself and its index are idx_A the extent of the release of all reservations to the first extent. ITPUB personal space% z R% A7G # k V + P <br /> SQL&gt; analyze table A compute statistics; <br /> X5 ^ &amp; @: Z / e O4H0ITPUB personal space 9k $ w&#39;g A7 |? 2d * ko <br /> Table analyzed. <br /> v ^ + r8r) B n C1? i C Q0 <br /> DX F7l6] N: y0SQL&gt; analyze table B compute statistics; ITPUB personal space% pi ^ x P7k + R <br /><br /> ! h T \ g + ~; AD u N2N0Table analyzed. <br /> 4P &quot;ji N c0 <br /> XL w M N4i N0SQL&gt; SELECT TABLE_NAME, blocks, empty_blocks, blocks-empty_blocks</font></font> hwm <font size="2"><font face="Verdana"><br /> r M, X p2d ~ L% U e0 <br /> 7l c8]</font></font> 4y1d q5 <font size="2"><font face="Verdana">@ 0 2 FROM</font></font> user_tables <font size="2"><font face="Verdana">ITPUB personal space c \ | q! Q.p + L Y6a <br /><br /> XT y NF (R &quot;^,</font></font> Irna0 <font size="2"><font face="Verdana">3 WHERE table_name IN ( &#39;A&#39;, &#39;B&#39;) <br /> rnS</font></font> Q/J3C <font size="2"><font face="Verdana">w) [7V [* (0s0ITPUB personal space 9l A y Y # B <br /> 4</font></font> <font size="2" face="Verdana">/ ITPUB personal space &quot;R r brnW6n Z&quot; H / K / y <br /><br /> | 1y, r $ \ &amp; Z) \</font> v0J0ITPUB <font size="2" face="Verdana">personal space Q t G | (v! E; U <br /><br /> , G * _: T $ n? I% N a0 TABLE_NAME BLOCKS</font> EMPTY_BLOCKS <font size="2" face="Verdana">HWM <br /> (% lp-z3p4? \ 0</font> <font size="2"><font face="Verdana">---------- ---------- ------------ ---------- <br /> J t P u% I KD f G / | 0A 0 8 -</font></font> 8ITPUB <font size="2"><font face="Verdana">personal space cm $ O1 (0d HO <br /> B 0 256 -</font></font> 256ITPUB <font size="2"><font face="Verdana">personal space S r9 \: Z + m</font></font> H0G.r <font size="2"><font face="Verdana"><br /><br /> : b6K.N, u * I u0ITPUB personal space, FU) \-xf O (_ <br /> ITPUB personal space 4n n +</font></font> Grnl <font size="2"><font face="Verdana">&amp; \, O h C u <br /> Can see that the two forms are returned to the hwm the first block. ITPUB personal space 5G (; (8G ~ <br /></font></font> <br /><br /> rn rn rn				<h5>Related Posts</h5>
		<div id="smilar">
		<ul>
					<li><a href="http://www.kods.netwww.kods.net/oracle-database-used-to-maintain-day-to-day-command/" title="Oracle database used to maintain day-to-day command">Oracle database used to maintain day-to-day command</a> 2009-04-06 16:46:33</li>
					<li><a href="http://www.kods.netwww.kods.net/oracle10g-asm-database-table-space-maintenance/" title="Oracle10g ASM database table space maintenance">Oracle10g ASM database table space maintenance</a> 2009-03-31 17:51:25</li>
					<li><a href="http://www.kods.netwww.kods.net/sql-optimization-5-commonly-used-test-hints/" title="SQL optimization (5) - commonly used test hints">SQL optimization (5) - commonly used test hints</a> 2009-03-29 08:39:54</li>
					<li><a href="http://www.kods.netwww.kods.net/sql-optimization-2-there-is-the-order-of-the-index-data/" title="SQL optimization (2) - there is the order of the index data">SQL optimization (2) - there is the order of the index data</a> 2009-03-28 08:01:36</li>
					<li><a href="http://www.kods.netwww.kods.net/block-oracle-paragraph-reprint/" title="Block Oracle paragraph (reprint)">Block Oracle paragraph (reprint)</a> 2009-03-26 17:41:14</li>
				</ul>
		</div>
		        ]]></content:encoded>
		<wfw:commentRss>http://www.kods.netwww.kods.net/truncate-table-is-used-when-no-matter-drop-storage-or-reuse-storage-will/</wfw:commentRss>
	</item>
		<item>
		<title>Adjustment oracle database connection pool connections</title>
		<link>http://www.kods.netwww.kods.net/adjustment-oracle-database-connection-pool-connections/</link>
		<comments>http://www.kods.netwww.kods.net/adjustment-oracle-database-connection-pool-connections/#comments</comments>
		<pubDate>Fri, 26 Jun 2009 20:37:43+0000</pubDate>
		<dc:creator>kods.net</dc:creator>
		<category><![CDATA[Oracle Database]]></category>
		<category><![CDATA[oracle]]></category>
<category><![CDATA[oracle home]]></category>
<category><![CDATA[oracle database]]></category>
<category><![CDATA[sid]]></category>
<category><![CDATA[target]]></category>
<category><![CDATA[sqlplus nolog]]></category>
<category><![CDATA[database connection]]></category>
<category><![CDATA[current value]]></category>
<category><![CDATA[scope]]></category>
<category><![CDATA[document c]]></category>
<category><![CDATA[connection pool]]></category>
<category><![CDATA[sessions]]></category>
		<guid isPermaLink="true">http://www.kods.netwww.kods.net/adjustment-oracle-database-connection-pool-connections/</guid>
		<description><![CDATA[First backup $ ORACLE_HOME \ dbs \ spfileSID.ora document c:&gt; set ORACLE_SID = xxx c:&gt; sqlplus / nolog sql&gt; connect / as sysdba - View the current value of the parameter sql&gt; show paramete ...]]></description>
		<content:encoded><![CDATA[First backup $ ORACLE_HOME \ dbs \ spfileSID.ora document <br /><br /> c:&gt; set ORACLE_SID = xxx <br /> c:&gt; sqlplus / nolog <br /> sql&gt; connect / as sysdba <br /><br /> - View the current value of the parameter <br /> sql&gt; show parameter processes; <br /> sql&gt; show parameter sessions; <br /> sql&gt; show parameter sga_target; <br /><br /> - Amend the number of connections <br /> sql&gt; alter system set processes = 500 scope = spfile; <br /> sql&gt; alter system set processes = 555 scope = spfile; / / session = process * 1.1 +5 <br /> Modified database can be restarted				<h5>Related Posts</h5>
		<div id="smilar">
		<ul>
					<li><a href="http://www.kods.netwww.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.netwww.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.netwww.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.netwww.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.netwww.kods.net/adjustment-oracle-database-connection-pool-connections/</wfw:commentRss>
	</item>
		<item>
		<title>oracle11g installation environment variable is set to adjust the kernel parameters</title>
		<link>http://www.kods.netwww.kods.net/oracle11g-installation-environment-variable-is-set-to-adjust-the-kernel-parameters/</link>
		<comments>http://www.kods.netwww.kods.net/oracle11g-installation-environment-variable-is-set-to-adjust-the-kernel-parameters/#comments</comments>
		<pubDate>Fri, 26 Jun 2009 17:15:28+0000</pubDate>
		<dc:creator>kods.net</dc:creator>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[quot]]></category>
<category><![CDATA[oracle]]></category>
<category><![CDATA[oracle home]]></category>
<category><![CDATA[base oracle]]></category>
<category><![CDATA[oracle export]]></category>
<category><![CDATA[ld library]]></category>
<category><![CDATA[library path]]></category>
<category><![CDATA[kernel parameters]]></category>
<category><![CDATA[alias]]></category>
<category><![CDATA[crs]]></category>
<category><![CDATA[environment variable]]></category>
<category><![CDATA[path path]]></category>
<category><![CDATA[kernel parameter]]></category>
<category><![CDATA[chinese taiwan]]></category>
<category><![CDATA[export path]]></category>
<category><![CDATA[ccdb]]></category>
<category><![CDATA[installation environment]]></category>
<category><![CDATA[startup programs]]></category>
<category><![CDATA[traditional chinese]]></category>
<category><![CDATA[aliases]]></category>
		<guid isPermaLink="true">http://www.kods.netwww.kods.net/oracle11g-installation-environment-variable-is-set-to-adjust-the-kernel-parameters/</guid>
		<description><![CDATA[1, to talk about the contents of environment variable wrote ~ oracle / .bash_profile or wrote. Bashrc, wrote this article ~ oracle / .bash_profile #. Bash_profile # Get the aliases and functions if [- ...]]></description>
		<content:encoded><![CDATA[1, to talk about the contents of environment variable wrote ~ oracle / .bash_profile or wrote. Bashrc, wrote this article ~ oracle / .bash_profile <br /> #. Bash_profile <br /><br /> # Get the aliases and functions <br /> if [-f ~ /. bashrc]; then <br /> . ~ /. Bashrc <br /> fi <br /><br /> # User specific environment and startup programs <br /><br /> PATH = $ PATH: $ HOME / bin <br /><br /> export PATH <br /><br /> # # For Oracle # # <br /> export EDITOR = vi <br /> export ORACLE_SID = ccdb <br /> export ORACLE_BASE = / oracle <br /> export ORACLE_HOME = $ ORACLE_BASE/product/11.1.0/db_1 <br /> export ORA_CRS_HOME = $ ORACLE_BASE/product/11.1.0/crs_1 <br /> export LD_LIBRARY_PATH = $ ORACLE_HOME / lib <br /> # export LD_LIBRARY_PATH = $ ORACLE_HOME / lib: / lib: / usr / lib <br /> # export LD_LIBRARY_PATH = $ ORACLE_HOME / lib: / lib64: / usr/lib64: / usr/local/lib64: / usr/X11R6/lib64 / <br /> export PATH = $ ORACLE_HOME / bin: $ ORA_CRS_HOME / bin: $ PATH <br /> umask 022 <br /><br /> # export NLS_LANG = &#39;AMERICAN_AMERICA.UTF8&#39; <br /> export NLS_LANG = AMERICAN_AMERICA.ZHS16CGB231280 <br /> # export NLS_LANG = AMERICAN_AMERICA.ZHT16BIG5 <br /> # export NLS_LANG = &quot;traditional chinese_taiwan.ZHT16BIG5&quot; <br /><br /> # export LC_CTYPE = en_US.UTF-8 <br /> export LANG = en_US <br /><br /> alias sqlplus = &quot;uniread sqlplus&quot; <br /> alias rman = &quot;uniread rman&quot; <br /> alias adrci = &quot;uniread adrci&quot; <br /> ################ <br /><br /> 2, the kernel parameter to adjust Edit / etc / sysctl.conf file, add the following content <br /><br /> # # For Oracle # # <br /> kernel.sem = 250 32000 100 128 <br /> net.ipv4.ip_local_port_range = 1024 65000 <br /> net.core.rmem_default = 4194304 <br /> net.core.rmem_max = 4194304 <br /> net.core.wmem_default = 262144 <br /> net.core.wmem_max = 262144 <br /> ################ <br /> fs.file-max = 6553600 <br /><br /> Note: If it is to start vnc remote installation must be run + xhost command				<h5>Related Posts</h5>
		<div id="smilar">
		<ul>
					<li><a href="http://www.kods.netwww.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.netwww.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.netwww.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.netwww.kods.net/oracle11g-installation-environment-variable-is-set-to-adjust-the-kernel-parameters/</wfw:commentRss>
	</item>
	</channel>
</rss>
