Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : Oracle

Oracle ListenerµÄTNS 12502´íÎó

ÿ¸ô¼¸ÃëÖÓlistenerÈÕÖ¾ÖоͳöÏÖÒ»´Î¸Ã´íÎóµÄ¼Ç¼£¬¼´Ê¹ÊÇÔÚûÓÐÈËʹÓõÄÇé¿öÏÂÒ²ÊÇÈç´Ë£¬²»¹ý²¢Ã»Óз¢ÏÖ¿Í»§¶Ë»úÆ÷²»ÄÜÕý³£Á¬½ÓÊý¾Ý¿âµÄÇé¿ö¡£
   Oracle¹ØÓÚTNS-12502´íÎóµÄ½âÊÍ:
Error: ORA-12502 / TNS-12502
Text: TNS:listener received no CONNECT_DATA from client
Cause: No CONNECT_DATA was passed to the listener.
Action: Check that the service name resolved from TNSNAMES.ORA has the CONNECT_DATA component of the connect descriptor.
¸ù¾ÝOracleµÄ˵·¨·ÖÎö,Ö»ÓÐÔÚTNSNAMES.ORAÎļþÖв»°üº¬CONNECT_DATAʱ²Å»á³öÏÖ´ËÎÊÌâ¡£ µ«Êµ¼ÊÉϵ±ÎÒÃÇͨ¹ýÒ»Ð©ÍøÂ繤¾ß»òHA¹¤¾ßµÈ¼à²âlistener¶Ë¿ÚµÄʱºò£¬ÈÕÖ¾ÖоͿÉÄÜ»á¼Ç¼¸Ã´íÎó¡£ÒÔÏÂÊÇÒ»¸öÄ£ÄâµÄʾÀý£¬ÔÚ¿Í»§¶Ëͨ¹ýtelnetÊý¾Ý¿â·þÎñÆ÷µÄ1521¶Ë¿Ú²âÊÔÁ¬Í¨ÐÔ:
C:>telnet 172.16.30.11 1521
´ËʱÔÚÈÕÖ¾Öоͻá¼Ç¼ÈçÏÂÐÅÏ¢:
TNS-12502: TNS:listener received no CONNECT_DATA from client
10-NOV-2009 13:11:03 * 12502
TNS-12502: TNS:listener received no CONNECT_DATA from client
10-NOV-2009 13:11:13 * 12502
TNS-12502: TNS:listener received no CONNECT_DATA fr ......

oracle exists and not exist


ÏÈ¿´ÏÂÃæµÄÀý×Ó:oracleÖÐÁ½¸öϵͳ±í.emp,dept.
example:
1:not exists(not in)
not exists:
   ÕâÌõÓï¾ä·µ»Øselect * from scott.dept d where e.deptno=d.deptno and d.deptno=10Ìõ¼þÂú×ãµÄ½á¹û¼¯.Ò²¾ÍÊÇ˵,
·µ»ØµÄ½á¹û¼¯Öв»´æÔÚd.deptno=10½á¹û¼¯µÄ¼Ç¼,¼´emp±íÖÐûÓÐdept±íÖÐd.deptno=10µÄ¼Ç¼.
SQL> select empno,ename,deptno from scott.emp e where not exists(select * from scott.dept d where e.deptno=d.deptno and d.deptno=10);
EMPNO ENAME      DEPTNO
----- ---------- ------
 7369 SMITH           20
 7499 ALLEN           30
 7521 WARD           30
 7566 JONES           20
 7654 MARTIN         30
 7698 BLAKE           30
 7788 SCOTT& ......

oracleµÄÂß¼­½á¹¹ºÍÎïÀí½á¹¹

1¡¢Êý¾Ý¿âµÄÂß¼­½á¹¹ºÍÎïÀí½á¹¹£º
   Oracle logically divides the database into a smaller units to manage ,store,and retreive
data efficently.
  Tablespace\Blocks\Extents\segment\
ÓÐËÄÖÖsegment:
data segment¡¢Index segment¡¢Temporay segment¡¢Rollback Segment
temporary segment:
Are created when Oracle needs a temporary work area,such as for sorting,during a query,
to complete execution of a SQL statement.These segments are freed when the execution completes.
Rollback segment£ºUsed to store undo information.When you roll back the changes madde to the
database,the information in the rollback segment is used to undo the changes.
 
   The physical daabase structure consists of three types of physcial files
   data files
   control files
   redo log files
The control file contains the database name and timestamp of database creation as well as the name and location of every data file and redo log file. ......

oracleµÄÄÚ´æ½á¹¹

Êý¾Ý¿âµÄÄÚ´æ½á¹¹£º
    Memory structures are allocated to the Oracle instance when the instance is started.
The two major memory structures are known as the System Global Area(Also called the shared
Global Area)and the Program Global Area(also called the Private Global Area or the Process
Global Area)
SGA:
 The System Global Area(SGA) is a shared memory area.All users of the database share the
 information maintained in this area.The SGA and the backgroud processes constitute an Oracle instance.Oracle allocates memory for the SGA when an Oracle instance is started and de-allocates it when the istance is shut down.The information stored in the SGA is divided into multiple memory structures that are allocated fixed space when the instance started.
     DATABASE Buffer Cache:
     The database buffer cache is the area of memory that caches the database area,holding blocks
from the data files that have been read re ......

Èç¹û»ñÈ¡ÄãÃÎÏëµÄOracle DBAְλ


How to land your dream Oracle DBA job
By Don Burleson, Contributor
14 Jan 2010
If you look at the Help Wanted ads, some Oracle DBA jobs look very appealing, with salaries that rival those of engineers and other professionals. Some have starting salaries as high as $85,000, with senior Oracle DBAs commonly earning more than $130,000 and with Oracle superstars earning more than $250,000.
There are two major reasons for higher salaries among Oracle professionals. First, Oracle DBAs manage databases that are worth billions of dollars, and with big responsibilities come big salaries. Second, Oracle’s database is the world’s most robust and flexible in the industry, and it often takes years to learn all of its nuances.
Learn more about how to get an Oracle DBA job
Read about how to get a high-paying Oracle job
Read this three-part series to learn more about becoming an Oracle professional
Oracle Corp. recently published its 2009 Oracle salary su ......

oracleÁ½ÖÖÓû§ÈÏÖ¤·½Ê½


ORACLEÊý¾Ý¿âͨ¹ýsqlnet.oraÎļþÖеIJÎÊýsqlnet.authentication_services,²ÎÊýÎļþÖеÄremote_login_passwordfileºÍ¿ÚÁîÎļþpwdsid.oraÈýÕßЭͬ×÷ÓÃʵÏÖÉí·ÝÈÏÖ¤.
Sqlnet.authentication_services=(NTS)|(NONE)
NTS:²Ù×÷ϵͳÈÏÖ¤·½Ê½,²»Ê¹ÓÿÚÁîÎļþ;
NONE:¿ÚÁîÎļþÈÏÖ¤·½Ê½
Remote_login_passwordfile=(NONE)|(EXCLUSIVE)|(SHARED)
NONE:²»Ê¹ÓÿÚÁîÎļþ,²Ù×÷ϵͳÈÏÖ¤;
EXCLUSIVE:¿ÚÁîÎļþÈÏÖ¤·½Ê½,µ«Ö»ÓÐÒ»¸öÊý¾Ý¿âʵÀý¿ÉÒÔʹÓôËÎļþ;
SHARED:¿ÚÁîÎļþÈÏÖ¤·½Ê½,¿ÉÒÔÓжà¸öÊý¾Ý¿âʵÀý¿ÉÒÔʹÓôËÎļþ,µ«´ËÉèÖÃÏÂÖ»ÓÐSYSÕʺÅÄܱ»Ê¶±ð,¼´Ê¹ÎļþÖдæÔÚÆäËûÓû§µÄÐÅÏ¢,Ò²²»ÔÊÐíËûÃÇÒÔSYSOPER/SYSDBAµÇ¼.
(1).sqlnet.authentication_services=(NTS)
ͬʱRemote_login_passwordfile=(NONE),´ËʱΪ²Ù×÷ϵͳÈÏÖ¤·½Ê½.
µ±ÒÔoracle_dba×éϵÄÓû§µÇ¼½øÈë±¾µØµÄ²Ù×÷ϵͳºó,½øÐÐÒÔϲÙ×÷:
sqlplus /nolog
SQL>conn /assysdba
¿ÉÒÔÒÔsysdbaÉí·ÝµÇ¼³É¹¦,½øÐÐÊý¾Ý¿â·½ÃæµÄ²Ù×÷.
µ±ÒÔÔ¶³Ì½øÐеǼʱ,Ö´ÐÐ:
sqlplus /nolog
SQL>conn /assysdba
Ôò»áÏÔʾ:
ERROR:ORA-01031:insufficient privileges
¼´²»ÔÊÐíÒÔsysdbaÉí·ÝÔ¶³ÌµÇ¼ϵͳ,ÕâÒ²ÊÇOSÈÏÖ¤ÕâËùÒÔ³ÆÎª±¾µØÈ ......
×ܼǼÊý:3994; ×ÜÒ³Êý:666; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [321] [322] [323] [324] 325 [326] [327] [328] [329] [330]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ