<?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>analogy</title>
	<atom:link href="http://www.kods.net/feed/tag/analogy/" rel="self" type="application/rss+xml" />
	<link>http://www.kods.net/</link>
	<description>analogy</description>
	<pubDate>Fri, 30 Jul 2010 04:00:55+0000</pubDate>
	<generator>http://www.kods.net/</generator>
	<language>en</language>
		<item>
		<title>oracle in exists, and in brief usage description</title>
		<link>http://www.kods.net/oracle-in-exists-and-in-brief-usage-description/</link>
		<comments>http://www.kods.net/oracle-in-exists-and-in-brief-usage-description/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 01:38:08+0000</pubDate>
		<dc:creator>kods.net</dc:creator>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[quot]]></category>
<category><![CDATA[oracle]]></category>
<category><![CDATA[implementation]]></category>
<category><![CDATA[expression]]></category>
<category><![CDATA[analogy]]></category>
<category><![CDATA[lt]]></category>
<category><![CDATA[efficiency]]></category>
<category><![CDATA[two tables]]></category>
<category><![CDATA[amp]]></category>
<category><![CDATA[t1]]></category>
<category><![CDATA[syntax error]]></category>
<category><![CDATA[t2]]></category>
<category><![CDATA[colored fonts]]></category>
<category><![CDATA[usage description]]></category>
<category><![CDATA[parentheses]]></category>
<category><![CDATA[brackets]]></category>
		<guid isPermaLink="true">http://www.kods.net/oracle-in-exists-and-in-brief-usage-description/</guid>
		<description><![CDATA[oracle in exists, and in brief usage description There are two simple examples to illustrate the &quot;exists&quot; and the &quot;in&quot; the efficiency of the 1) select * from T1 where exists (select 1 from T2 where T1. A = T2. A); T1 and T2 a smal ...]]></description>
		<content:encoded><![CDATA[<!-- Head start  --><br /><br /><!-- News content  --><br /><!-- The title information  --><br /><h1> oracle in exists, and in brief usage description </h1><br /><!-- News  --><br /><center></center><br /><br /> <font face= Tahoma  >There are two simple examples to illustrate the &quot;exists&quot; and the &quot;in&quot; the efficiency of the</font> <br /><br /> <font face= Tahoma  >1) select * from <font color=#0000ff>T1</font> where exists (select 1 from T2 where <font color=#0000ff>T1.</font> <font color=#ff0000>A</font> = T2. A);</font> <br /><br /> <font face= Tahoma  >T1 and T2 a small amount of data very large amounts of data, T1 &lt;&lt;T2, when, 1) the query efficiency.</font> <br /><br /> <font face= Tahoma  >2) <font color=#ff0000>select</font> * from T1 <font color=#ff0000>where</font> T1.a in (select T2.a from T2);</font> <br /><br /> <font face= Tahoma  >T1 and T2 the amount of data very large amount of data an hour, T1&gt;&gt; T2, when, 2) the query efficiency.</font> <br /><br /> <font color=#0000ff><font face= Tahoma  >exists Usage:</font></font> <br /><br /> <font face= Tahoma  >Please note that 1) sentence, part of colored fonts, to understand its meaning;</font> <br /><br /> <font face= Tahoma  >One &quot;select <font color=#0000ff>1</font> from T2 where <font color=#0000ff>T1.</font> <font color=#ff0000>A</font> = T2. A&quot; is equivalent to an association table query, which is equivalent</font> <br /><br /> <font face= Tahoma  >&quot;Select <font color=#0000ff>1</font> from <font color=#ff0000>T1, T2</font> where <font color=#ff0000>T1.</font> A = <font color=#ff0000>T2.</font> A&quot;</font> <br /><br /> <font face= Tahoma  >However, if you Dangdang the implementation of a) sentence of the statement in brackets, it will report a syntax error, which exists also used to note areas.</font> <br /><br /> <font face= Tahoma  >&quot;Exists (xxx)&quot; says that the statement in brackets can detect record, it is to check the record exists.</font> <br /><br /> <font face= Tahoma  >Therefore, &quot;select 1&quot; where &quot;a&quot; is actually irrelevant, replaced by &quot;*&quot; It&#39;s no problem, it only cares about the data in brackets can find out whether there is such a record, if it exists, this one) sentence The where condition is.</font> <br /><br /> <font face= Tahoma   color=#0000ff>in the usage:</font> <br /><br /> <font face= Tahoma  >To continue the example cited above,</font> <br /><br /> <font face= Tahoma  >&quot;2) <font color=#ff0000>select</font> * from T1 <font color=#ff0000>where</font> T1.a in (select T2.a from T2)&quot;</font> <br /><br /> <font face= Tahoma  >Here &quot;in&quot; in parentheses after the statement search out the contents of the field must correspond, in general, T1 and T2 the two tables of a field of significance of the expression should be the same, otherwise, check no sense that .</font> <br /><br /> <font face= Tahoma  >An analogy: T1, T2 table has a field, said the work order number, but the T1 indicated a single issue of the field work called &quot;ticketid&quot;, T2 was &quot;id&quot;, but the significance of the expression is the same, and the data format is the same. At this time, with 2) can be written like this:</font> <br /><br /> <font face= Tahoma  ><font color=#ff0000>&quot;Select</font> * from T1 <font color=#ff0000>where</font> T1.ticketid in (select T2.id from T2)&quot;</font> <br /><br /> <font face= Tahoma  >Of course, exists, and in other usage, do not be introduced here,</font>				<h5>Related Posts</h5>
		<div id="smilar">
		<ul>
					<li><a href="http://www.kods.net/sga-extended-the-principle-of-32bit-oracle/" title="SGA extended the principle of 32bit oracle">SGA extended the principle of 32bit oracle</a> 2009-03-31 09:48:01</li>
					<li><a href="http://www.kods.net/diagnosis-and-principles-of-order/" title="Diagnosis and principles of order">Diagnosis and principles of order</a> 2009-02-25 20:27:28</li>
					<li><a href="http://www.kods.net/oracle-10g-dataguard-configuration-step-by-step/" title="ORACLE 10G dataguard configuration Step by Step">ORACLE 10G dataguard configuration Step by Step</a> 2009-02-16 01:13:55</li>
				</ul>
		</div>
		        ]]></content:encoded>
		<wfw:commentRss>http://www.kods.net/oracle-in-exists-and-in-brief-usage-description/</wfw:commentRss>
	</item>
		<item>
		<title>64-bit linux oracle SGA is too large Baocuo</title>
		<link>http://www.kods.net/64-bit-linux-oracle-sga-is-too-large-baocuo/</link>
		<comments>http://www.kods.net/64-bit-linux-oracle-sga-is-too-large-baocuo/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 19:27:17+0000</pubDate>
		<dc:creator>kods.net</dc:creator>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[oracle]]></category>
<category><![CDATA[oracle sga]]></category>
<category><![CDATA[parameters]]></category>
<category><![CDATA[kernel]]></category>
<category><![CDATA[analogy]]></category>
<category><![CDATA[physical memory]]></category>
<category><![CDATA[target]]></category>
<category><![CDATA[memory segment]]></category>
<category><![CDATA[linux]]></category>
<category><![CDATA[memory pages]]></category>
<category><![CDATA[max size]]></category>
<category><![CDATA[memory usage]]></category>
<category><![CDATA[coordination]]></category>
<category><![CDATA[maximum size]]></category>
		<guid isPermaLink="true">http://www.kods.net/64-bit-linux-oracle-sga-is-too-large-baocuo/</guid>
		<description><![CDATA[ORACLE Start Times: SQL&gt; startup ORA-27102: out of memory Linux-x86_64 Error: 28: No space left on device kernel.shmall ---- kernel.shmall parameter is to control the shared memory pages. Linux shared memory page size is 4KB, the size of shared me ...]]></description>
		<content:encoded><![CDATA[ORACLE Start Times: <br /> SQL&gt; startup <br /> ORA-27102: out of memory <br /> Linux-x86_64 Error: 28: No space left on device <br /><br /> kernel.shmall ---- <br /><br /> kernel.shmall parameter is to control the shared memory pages. Linux shared memory page size is 4KB, the size of shared memory segment is shared memory page size of an integer multiple of. A shared memory segment has a maximum size is 16G, then the need to share memory pages is 16GB/4KB = 16777216KB/4KB = 4194304 (pages), which is under the 64Bit system <br /> 16GB of physical memory, set only to meet the requirements kernel.shmall = 4194304 (almost the original setting 2097152 <br /> The two times). Shmmax parameter can then be adjusted to 16G, and at the same time you can modify SGA_MAX_SIZE and <br /> SGA_TARGET for 12G (you want to set the maximum size of SGA, of course, can also be 2G ~ 14G, etc., but also the coordination of PGA <br /> Parameters and OS, and other memory usage, can not be set too full, for example 16G). Analogy <br /><br /> sysctl-p to make the kernel take effect!				<h5>Related Posts</h5>
		<div id="smilar">
		<ul>
					<li><a href="http://www.kods.net/sga-extended-the-principle-of-32bit-oracle/" title="SGA extended the principle of 32bit oracle">SGA extended the principle of 32bit oracle</a> 2009-03-31 09:48:01</li>
					<li><a href="http://www.kods.net/an-example-of-the-use-of-tkprof/" title="An example of the use of TKPROF">An example of the use of TKPROF</a> 2009-02-26 01:38:19</li>
					<li><a href="http://www.kods.net/diagnosis-and-principles-of-order/" title="Diagnosis and principles of order">Diagnosis and principles of order</a> 2009-02-25 20:27:28</li>
					<li><a href="http://www.kods.net/oracle-10g-dataguard-configuration-step-by-step/" title="ORACLE 10G dataguard configuration Step by Step">ORACLE 10G dataguard configuration Step by Step</a> 2009-02-16 01:13:55</li>
				</ul>
		</div>
		        ]]></content:encoded>
		<wfw:commentRss>http://www.kods.net/64-bit-linux-oracle-sga-is-too-large-baocuo/</wfw:commentRss>
	</item>
		<item>
		<title>Physically established under oracle data guard (8): Accident</title>
		<link>http://www.kods.net/physically-established-under-oracle-data-guard-8-accident/</link>
		<comments>http://www.kods.net/physically-established-under-oracle-data-guard-8-accident/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 19:39:12+0000</pubDate>
		<dc:creator>kods.net</dc:creator>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[oracle]]></category>
<category><![CDATA[analogy]]></category>
<category><![CDATA[listener]]></category>
<category><![CDATA[oracle data]]></category>
<category><![CDATA[password file]]></category>
<category><![CDATA[tnsnames]]></category>
<category><![CDATA[database state]]></category>
<category><![CDATA[registration database]]></category>
<category><![CDATA[password files]]></category>
<category><![CDATA[configuration files]]></category>
<category><![CDATA[insufficient privileges]]></category>
<category><![CDATA[smooth case]]></category>
<category><![CDATA[input errors]]></category>
<category><![CDATA[awareness level]]></category>
<category><![CDATA[database model]]></category>
<category><![CDATA[internet registration]]></category>
<category><![CDATA[correct password]]></category>
<category><![CDATA[mody]]></category>
<category><![CDATA[life and death]]></category>
<category><![CDATA[fir]]></category>
		<guid isPermaLink="true">http://www.kods.net/physically-established-under-oracle-data-guard-8-accident/</guid>
		<description><![CDATA[The article mentioned earlier you start the static listener will start to mount a database model using the Internet registration database, it is more smooth case, before also encountered a relatively confused the issue, here to discuss the situation  ...]]></description>
		<content:encoded><![CDATA[The article mentioned earlier you start the static listener will start to mount a database model using the Internet registration database, it is more smooth case, before also encountered a relatively confused the issue, here to discuss the situation on the . <br /><br /> The success of configuration files before listening, TNS file, will also be launched to mount the database state, but the way life and death is not registered to the database through the network appears the error from the following: <br /><br /> ORA-01031: insufficient privileges <br /><br /> Tips do not have sufficient permissions, is there a mistake? I used the sys user login, sys not to have the highest authority Mody? And the password and there is no input errors. Carefully examined the listener.ora and the tnsnames.ora file, verify that there is no problem. Because in another environment is one such set. Try to look at a user has SYSDBA privileges: <br /><br /> SQL&gt; select * from v $ pwfile_users; <br /><br /> USERNAME SYSDB SYSOP <br /> ------------------------------ ----- ----- <br /><br /> no rows selected. <br /><br /> See here, the problem clearer, and the password file does not play a role. Because the registration database through the network is to read the password file, and SYS is the default with SYSDBA privileges, shown here not come out, indicating the password file has not been successfully read, and naturally can not be registered to the database. To play a simple analogy, Hsiao-ming before the final exam in a language you want to cheat, cheating way is by spending a point of silver to buy the answer, the results get a false answer, and that examination of the naturally Guobuliaoguan. Faced with this situation, roads lead to Rome. <br /><br /> After the recall system, building a database by default generates a correct password file, but my hand and I offered, to the deleted this file, re-created one and named orapw10gstandby.ora. The naming committed two errors, two errors let me re-examine password files to the awareness level of standardization. First of all, the password file is not. Ora suffix; Second, the suffix should be preceded by a standard &quot;orapwSID&quot; method name. As a result, I have deleted the password file named this error, re-establish the password file: <br /><br /> orapwd file = / home/db/oracle/10g/dbs/orapwora password = oracle entries = 10 <br /><br /> To re-query in the database has a SYSDBA user: <br /><br /> SQL&gt; select * from v $ pwfile_users; <br /><br /> USERNAME SYSDB SYSOP <br /> ------------------------------ ----- ----- <br /> SYS TRUE TRUE <br /><br /> This does not, come back again, and then check the network registration database, and all normal, so this issue can be considered came to an end. <br /><br /> The reason to write such a long one, or in order to emphasize the importance of password file is often out where exactly we ignore is the most worthy of attention.				<h5>Related Posts</h5>
		<div id="smilar">
		<ul>
					<li><a href="http://www.kods.net/sga-extended-the-principle-of-32bit-oracle/" title="SGA extended the principle of 32bit oracle">SGA extended the principle of 32bit oracle</a> 2009-03-31 09:48:01</li>
					<li><a href="http://www.kods.net/high-availability-oracle-flashback/" title="High Availability Oracle Flashback">High Availability Oracle Flashback</a> 2009-02-26 17:23:02</li>
					<li><a href="http://www.kods.net/an-example-of-the-use-of-tkprof/" title="An example of the use of TKPROF">An example of the use of TKPROF</a> 2009-02-26 01:38:19</li>
					<li><a href="http://www.kods.net/diagnosis-and-principles-of-order/" title="Diagnosis and principles of order">Diagnosis and principles of order</a> 2009-02-25 20:27:28</li>
					<li><a href="http://www.kods.net/oracle-10g-dataguard-configuration-step-by-step/" title="ORACLE 10G dataguard configuration Step by Step">ORACLE 10G dataguard configuration Step by Step</a> 2009-02-16 01:13:55</li>
				</ul>
		</div>
		        ]]></content:encoded>
		<wfw:commentRss>http://www.kods.net/physically-established-under-oracle-data-guard-8-accident/</wfw:commentRss>
	</item>
		<item>
		<title>Usage tracking errostack events</title>
		<link>http://www.kods.net/usage-tracking-errostack-events/</link>
		<comments>http://www.kods.net/usage-tracking-errostack-events/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 22:25:04+0000</pubDate>
		<dc:creator>kods.net</dc:creator>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[diagnosis]]></category>
<category><![CDATA[implementation]]></category>
<category><![CDATA[trc]]></category>
<category><![CDATA[analogy]]></category>
<category><![CDATA[test environment]]></category>
<category><![CDATA[sql statement]]></category>
<category><![CDATA[level 3]]></category>
<category><![CDATA[application error]]></category>
<category><![CDATA[test queries]]></category>
<category><![CDATA[omission]]></category>
<category><![CDATA[fatal error]]></category>
<category><![CDATA[negligence]]></category>
		<guid isPermaLink="true">http://www.kods.net/usage-tracking-errostack-events/</guid>
		<description><![CDATA[Sometimes, the application will report ORA-00904: &quot;ADSAF&quot;: invalid identifier This error, which means ADSAF can not find this field, but did not specify the table in the query when the error occurred, which was ranked difficulties brought a ...]]></description>
		<content:encoded><![CDATA[Sometimes, the application will report ORA-00904: &quot;ADSAF&quot;: invalid identifier This error, which means ADSAF can not find this field, but did not specify the table in the query when the error occurred, which was ranked difficulties brought about by a number of mistakes, if a lot of code, and even through the package with a number of tools, but also increased the difficulty of errors. <br /><br /> This time we can use to track events this errorstack diagnosis. Examples are as follows: <br /><br /> 1. Application of reported ORA-00904: &quot;ADSAF&quot;: invalid identifier error <br /><br /> 2. To stop the application of <br /><br /> 3. Sysdba with the registry, the implementation of <br /> SQL&gt; alter system set events&#39;904 trace name errorstack forever, level 3 &#39;; <br /><br /> 4. To start the implementation of the application error the application of the steps to reproduce the error, such error occurred, can udump directory, you should see a trc file generated up-to-date <br /><br /> 5. To open the file, we can see the contents of the following <br /><br /> *** 2009-07-16 19:37:11.983 <br /> ksedmp: internal or fatal error <br /> ORA-00904: &quot;ADSAF&quot;: invalid identifier <br /> Current SQL statement for this session: <br /> select adsaf from test <br /> Through the contents of the above, we can determine the form of test queries, but there is no test form adsaf this field, the error, so that we can quickly positioning error of <br /><br /> This situation occurred in the application of the majority of the upgrade, perhaps in a test environment to increase the field of the table, but the production of omission or negligence of the environment, and are prone to such errors. <br /><br /> errorstack this very useful to track events, you can trace a lot of other mistakes, we can learn by analogy use.				<h5>Related Posts</h5>
		<div id="smilar">
		<ul>
					<li><a href="http://www.kods.net/oracle-in-the-relationship-between-user-and-schema/" title="Oracle in the relationship between User and Schema">Oracle in the relationship between User and Schema</a> 2009-03-12 10:34:25</li>
					<li><a href="http://www.kods.net/an-example-of-the-use-of-tkprof/" title="An example of the use of TKPROF">An example of the use of TKPROF</a> 2009-02-26 01:38:19</li>
					<li><a href="http://www.kods.net/diagnosis-and-principles-of-order/" title="Diagnosis and principles of order">Diagnosis and principles of order</a> 2009-02-25 20:27:28</li>
				</ul>
		</div>
		        ]]></content:encoded>
		<wfw:commentRss>http://www.kods.net/usage-tracking-errostack-events/</wfw:commentRss>
	</item>
		<item>
		<title>Oracle in the relationship between User and Schema</title>
		<link>http://www.kods.net/oracle-in-the-relationship-between-user-and-schema/</link>
		<comments>http://www.kods.net/oracle-in-the-relationship-between-user-and-schema/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 10:34:25+0000</pubDate>
		<dc:creator>kods.net</dc:creator>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[oracle]]></category>
<category><![CDATA[mapping schema]]></category>
<category><![CDATA[database warehouse]]></category>
<category><![CDATA[database operation]]></category>
<category><![CDATA[server2000]]></category>
<category><![CDATA[sleep at night]]></category>
<category><![CDATA[different concepts]]></category>
<category><![CDATA[room key]]></category>
<category><![CDATA[analogy]]></category>
<category><![CDATA[architecture]]></category>
<category><![CDATA[sleep]]></category>
<category><![CDATA[relationship]]></category>
		<guid isPermaLink="true">http://www.kods.net/oracle-in-the-relationship-between-user-and-schema/</guid>
		<description><![CDATA[If we want to know the database and the User What is the relationship between Schema, we must first know about User and Schema database What is the concept in the end. In SQL Server2000 in architecture because of the reason, User and Schema there is  ...]]></description>
		<content:encoded><![CDATA[If we want to know the database and the User What is the relationship between Schema, we must first know about User and Schema database What is the concept in the end. <br /><br /> In SQL Server2000 in architecture because of the reason, User and Schema there is a layer of the overall relationship between implied, let us realize that in fact rarely User and Schema are two completely different concepts, but at this architecture in SQL Server2005 break , User and Schema are also separated. <br /><br /> First of all, I make an analogy, what is a Database, What is a Schema, What is the Table, What is out, what is the line, what is the User? We can put Database can be seen as a big warehouse, the warehouse has a lot of hours a lot of room, Schema is one of the rooms, a Schema on behalf of a room, Table can be seen as a Schema in the bed each, Table (bed) was Add to each room, can not be placed outside the room, it would mean that the homeless sleep at night J. , Then a lot of items can be placed in bed, like a lot of Table can be placed on column and row, the data stored in the database are the basic unit of Table, in reality to place items in each warehouse is the basic unit of bed, User is the owner of each Schema , (Schema contains are so Object, rather than User), in fact, are the corresponding User and the database (that is, User is the owner of each of the corresponding database), there is now that the operation database (warehouse) the right, you certainly have every database operation In Schema (room) right, that is, each database has each User Mapping Schema (room) key, in other words, if he is the owner of a warehouse, then the right to use the warehouse and the warehouse all what are his (including the room), he has the right to complete the operation, you can not throw away things from each room, you can put some useful things to a room, huh, huh, and reality is too similar to you. User can also give me a specific distribution of authority, that is, to a room he can do is only look (Read-Only), or can be the same as the owner has control over all the (R / W), this on This depends on the role of User corresponding to a Role for the distribution rights of the question, I stay at a later detailed in a separate blog. Analogy here, I believe we all clear now. <br /><br /> SQL Server2000 at, if we create a database user Bosco, according to the background for you at this time we create a default default Schema】 【Bosco. Schema of the User Name and the same first name, which is poorly demarcated our users and the reasons for Schema. <br /><br /> In SQL Server2005 in for backwards compatibility, when you create a stored procedure with sp_adduser when a user, SQL Server2005 but also created a user name and the same Schema, but the stored procedure are retained only for backward compatibility, we should become familiar with the new language of DDL and Create User to Create Schema database operation. In SQL Server2005, when we use the Create User to create the database users, we can for the existence of a user-specified as the default Schema of Schema, if we do not specify, the default user of the Schema is dbo Schema, dbo room ( Schema) is like a big public room, in the current user does not log in under the premise of Schema default, if you are in some warehouse operations, such as Create Tabe, If you do not specify a particular room (Schema), then you had the goods on dbo into the public room (Schema) of the. However, if the current logged-on user has the default Schema, then the operation is done on the Schema by default (such as the current user log in login1, the user&#39;s default Schema for login1, so all operations are done at the login1 carried out on the default Schema. Experiments have proved true). Estimated at this time there will be a little halo you, Why? Dbo I have just said is a Schema, but you can view in the database, dbo is also a user, the halo bar, huh, huh. <br /><br /> SQL Server2005 in a database created when there will be some Schema to include, be included into the Schema has: dbo, INFORMATION_SCHEMA, guest, sys and so on (also some of the role of Schema, not to mention, there is a halo). <br /><br /> I have already mentioned above, in the SQL Server2005 stored procedure in sp_adduser When creating a user at the same time our SQL Server2005 also created a default user name and the same Schema, this time out of the question, when we create table A, if there is no specific prefix Schema to do, the A table created in the Schema on which, or which has entered the room? The answer is: <br /><br /> 1. If the current operation of the database users (Select current_user can be found out) there is the default Schema (in the creation of user-specified time), then Table A is created at the default on the Schema. <br /><br /> 2. If the current operation of the database user does not have the default Schema (that is, create a User at a time when the default is empty), but there is one and the same name, user name Schema, then Table A still be created in the dbo Schema on, even if there is one and Schema user name the same name exist, the user because it is not the default Schema, so the time to create the table are not considered as a general Schema to handle, Do not look the same first name, but oh no relationship. <br /><br /> 3. If at the time of the creation of Table A specific Schema specified prefix to do, then Table A is created at the specified Schema on (you have permission?) <br /><br /> Also out of the question now, in the current operation of the database user (with select current_user can see that the emphasis once again) not under the premise of Schema default, when we use the Create table A statement, A table will go looking for dbo Schema, and attempt to create a dbo Schema in on, but if you create A table dbo Schema users only read-only permissions, but not written in the power? A table at this time are not set up unsuccessful, this is what I will mention to the Login, User, Role and Schema of the relationship between the four. Here, in order to avoid confusion and improve the speed of operation of the database (in the framework of a small amount of data to our naked eye can not see the difference is almost), to operate at our best every time, when database objects are explicitly designated specific Schema most prefix. <br /><br /> If users log in now to Sue, the user has a default Schema for Sue, then if there is a query as Select * from mytable, then search each room (Schema) of the order, how are we doing? Sequence is as follows: <br /><br /> 1. First of all search sys.mytable (Sys Schema) <br /><br /> 2. And search Sue.mytable (Default Schema) <br /><br /> 3. Finally the search dbo.mytable (Dbo Schema) <br /><br /> Now that the U.S. implementation of the order clear, then query the database after the data in the table below, it is best to specify a specific prefix Schema, so the database will not take up the Sys Schema scan, of course, can improve the speed of the query. <br /><br /> In addition some of the tips are necessary for each database created, there are four essential Schema (can not delete are deleted), 4 Schema for this: dbo, guest, sys and INFORMATION_SCHEMA, the rest can be deleted Schema.				<h5>Related Posts</h5>
		<div id="smilar">
		<ul>
					<li><a href="http://www.kods.net/sga-extended-the-principle-of-32bit-oracle/" title="SGA extended the principle of 32bit oracle">SGA extended the principle of 32bit oracle</a> 2009-03-31 09:48:01</li>
					<li><a href="http://www.kods.net/high-availability-oracle-flashback/" title="High Availability Oracle Flashback">High Availability Oracle Flashback</a> 2009-02-26 17:23:02</li>
					<li><a href="http://www.kods.net/an-example-of-the-use-of-tkprof/" title="An example of the use of TKPROF">An example of the use of TKPROF</a> 2009-02-26 01:38:19</li>
					<li><a href="http://www.kods.net/diagnosis-and-principles-of-order/" title="Diagnosis and principles of order">Diagnosis and principles of order</a> 2009-02-25 20:27:28</li>
					<li><a href="http://www.kods.net/oracle-10g-dataguard-configuration-step-by-step/" title="ORACLE 10G dataguard configuration Step by Step">ORACLE 10G dataguard configuration Step by Step</a> 2009-02-16 01:13:55</li>
				</ul>
		</div>
		        ]]></content:encoded>
		<wfw:commentRss>http://www.kods.net/oracle-in-the-relationship-between-user-and-schema/</wfw:commentRss>
	</item>
	</channel>
</rss>
