Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ORACLEµÄ¼¸ÖÖÆô¶¯·½Ê½


[¾«»ª] ORACLEµÄ¼¸ÖÖÆô¶¯·½Ê½
http://www.chinaunix.net ×÷Õß:wuwenlong  ·¢±íÓÚ£º2003-07-27 16:58:57
¡¾·¢±íÆÀÂÛ¡¿ ¡¾²é¿´Ô­ÎÄ¡¿ ¡¾OracleÌÖÂÛÇø¡¿¡¾¹Ø±Õ¡¿
1¡¢startup nomount 
   ·Ç°²×°Æô¶¯£¬ÕâÖÖ·½Ê½Æô¶¯Ï¿ÉÖ´ÐУºÖؽ¨¿ØÖÆÎļþ¡¢Öؽ¨Êý¾Ý¿â 
   ¶ÁÈ¡init.oraÎļþ£¬Æô¶¯instance£¬¼´Æô¶¯SGAºÍºǫ́½ø³Ì£¬ÕâÖÖÆô¶¯Ö»ÐèÒªinit.oraÎļþ¡£ 
    
2¡¢startup mount dbname 
   °²×°Æô¶¯£¬ÕâÖÖ·½Ê½Æô¶¯Ï¿ÉÖ´ÐУº 
   Êý¾Ý¿âÈÕÖ¾¹éµµ¡¢ 
   Êý¾Ý¿â½éÖʻָ´¡¢ 
   Ê¹Êý¾ÝÎļþÁª»ú»òÍÑ»ú£¬ 
   ÖØж¨Î»Êý¾ÝÎļþ¡¢ÖØ×öÈÕÖ¾Îļþ¡£ 
   Ö´ÐГnomount”£¬È»ºó´ò¿ª¿ØÖÆÎļþ£¬È·ÈÏÊý¾ÝÎļþºÍÁª»úÈÕÖ¾ÎļþµÄλÖ㬠
   µ«´Ëʱ²»¶ÔÊý¾ÝÎļþºÍÈÕÖ¾Îļþ½øÐÐУÑé¼ì²é¡£ 
3¡¢startup open dbname 
   ÏÈÖ´ÐГnomount”£¬È»ºóÖ´ÐГmount”£¬ÔÙ´ò¿ª°üÀ¨Redo logÎļþÔÚÄÚµÄËùÓÐÊý¾Ý¿âÎļþ£¬ 
   ÕâÖÖ·½Ê½Ï¿ɷÃÎÊÊý¾Ý¿âÖеÄÊý¾Ý¡£ 
4¡¢startup£¬µÈÓÚÒÔÏÂÈý¸öÃüÁî 
   startup nomount 
   alter database mount 
   alter database open 
5¡¢startup restrict 
   Ô¼Êø·½Ê½Æô¶¯ 
   ÕâÖÖ·½Ê½Äܹ»Æô¶¯Êý¾Ý¿â£¬µ«Ö»ÔÊÐí¾ßÓÐÒ»¶¨ÌØȨµÄÓû§·ÃÎÊ 
   ·ÇÌØȨÓû§·ÃÎÊʱ£¬»á³öÏÖÒÔÏÂÌáʾ£º 
   ERROR£º 
   ORA-01035: ORACLE Ö»ÔÊÐí¾ßÓРRESTRICTED SESSION È¨ÏÞµÄÓû§Ê¹Óà
6¡¢startup force 
   Ç¿ÖÆÆô¶¯·½Ê½ 
   µ±²»ÄܹرÕÊý¾Ý¿âʱ£¬¿ÉÒÔÓÃstartup forceÀ´Íê³ÉÊý¾Ý¿âµÄ¹Ø±Õ 
   ÏȹرÕÊý¾Ý¿â£¬ÔÙÖ´ÐÐÕý³£Æô¶¯Êý¾Ý¿âÃüÁî 
7¡¢startup pfile=²ÎÊýÎļþÃû 
   ´ø³õʼ»¯²ÎÊýÎļþµÄÆô¶¯·½Ê½ 
   ÏȶÁÈ¡²ÎÊýÎļþ£¬ÔÙ


Ïà¹ØÎĵµ£º

¹ØÓÚMSSQL¼°OracleÊý¾Ý¿âÖеÄËøÓë²¢·¢µÄС½á

      ×î½ü£¬¹¤×÷µÄÉÏÐèÒª´¦ÀíÒ»ÏÂÏîÄ¿Öеļ«ÉÙÁ¿Êý¾ÝµÄÖظ´ÎÊÌâ¡£¾­¹ý·ÖÎö£¬½á¹û·¢ÏÖÊdzÌÐò²¢·¢Ã»Óд¦ÀíºÃ¶øµ¼Öµġ£¾­¹ýÒ»·¬ÃþË÷£¬¶ÔÊý¾Ý¿âÖеÄËø¼°³ÌÐòµÄ²¢·¢ÓÐÁËÒ»µãµãСµÄÐĵá£ÌØдµ½´ËÀ´Óë´ó¼Ò·ÖÏíһϡ£
      Ê×ÏÈ£¬ÎÒÃÇÀ´Á˽âÒ»ÏÂʲô½Ð×öËø¡£
   ......

JavaÁ¬½ÓOracleÎÊÌâ

JavaÖ´ÐÐstm.executeQuery(sql); ʱ×ÜÊÇÌáʾ£ºjava.sql.SQLException: ORA-00911: ÎÞЧ×Ö·û£¬ÅªÁË°ëÌ컹Êdzö´í£¬ÎÞÄΣ¬ÄóöɱÊÖïµ£¬Googleһϣ¬Ôε¹£¬·¢ÏÖÎÒµÄString  sql = “select detail from test.result where person_id = 4; "£¬Ã²ËÆû´íÎó°É£¬½á¹ûÎÒÎÒ±ØÐëÈ¥µô×îºó·ÖºÅ£¬±¾À´ÊÇÏë¸ãµÃרҵµã£¬¾Í¼Û¼Ó¸ö·Ö ......

oracleÊý¾Ý¿âжÔز½Öè

жÔØOracle £º
1¡¢Í£Ö¹ËùÓÐOracle·þÎñ£¬µãUniversal InstallerжÔØ
2¡¢É¾³ý×¢²á±íÖеÄËùÓйØÓÚOracleÏî
£¨1£©ÔÚHKEY_LOCAL_MACHINE\SOFTWAREÏ£¬É¾³ýOracleĿ¼
£¨2£©ÔÚHKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\ServicesÏ£¬É¾³ýËùÓÐOracleÏî
£¨3£©ÔÚHKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\ServicesÏ£¬É¾³ýË ......

°²×°Oracle¼ì²âlinuxÄں˲ÎÊý

Checking kernel parameters
Checking for semmsl=250; found semmsl=250.    Passed
Checking for semmns=32000; found semmns=32000.    Passed
Checking for semopm=100; found semopm=32.    Failed <<<<
Checking for semmni=128; found semmni=128.&nb ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ