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

Oracle±í¿Õ¼ä»Ö¸´ÈÃÄã²»ÔÙµ£ÐÄÊý¾Ý¿â³öÏÖ´íÎó

ѧϰOracleʱ£¬Äã¿ÉÄÜ»áÓöµ½oracle±í¿Õ¼ä»Ö¸´ÎÊÌ⣬ÕâÀォ½éÉÜOracle±í¿Õ¼ä»Ö¸´ÎÊÌâµÄ½â¾ö·½·¨£¬ÔÚÕâÀïÄóöÀ´ºÍ´ó¼Ò·ÖÏíһϡ£
Oracle±í¿Õ¼ä»Ö¸´·½°¸
Ò».Óû§±í¿Õ¼ä
´íÎó:
ÔÚÆô¶¯Êý¾Ý¿âʱ³öÏÖora-01157,ora-01110»ò²Ù×÷ϵͳ¼¶´íÎóÀýÈçora-07360, ÔڹرÕÊý¾Ý¿â(ʹÓÃshutdown normal»òshutdown immediate) ʱ½«µ¼Ö´íÎóora -01116,ora-01110ÒÔ¼°²Ù×÷ϵͳ¼¶´íÎóora-07368
ÒÔÏÂÓÐÁ½ÖÖ½â¾ö·½°¸:
1.Óû§µÄ±í¿Õ¼ä¿ÉÒÔ±»ÇáÒ×µØÖؽ¨ ¼´×î½üµ¼³öµÄ¶ÔÏóÊÇ¿ÉÓõĻò±í¿Õ¼äÖеĶÔÏó¿ÉÒÔ±»ÇáÒ×µØÖؽ¨µÈ.ÔÚ ÕâÖÖÇé¿öÏÂ,×î¼òµ¥µÄ·½·¨ÊÇoffline²¢É¾³ý¸ÃÊý¾ÝÎļþ,ɾ³ý±í¿Õ¼ä²¢ Öؽ¨±í¿Õ¼äÒÔ¼°ËùÓеĶÔÏó.
svrmgrl> startup mount
svrmgrl> alter database datafile filename offline drop;
svrmgrl> alter database open;
svrmgrl> drop tablespace tablespace_name including contents;
Öؽ¨±í¿Õ¼ä¼°ËùÓжÔÏó.
2.Óû§µÄ±í¿Õ¼ä²»Äܹ»±»ÇáÒ×µØÖؽ¨ÔÚ´ó¶àÊýÇé¿öÏÂ,Öؽ¨±í¿Õ¼äÊDz»¿ÉÄܼ°Ì«ÐÁ¿àµÄ¹¤×÷.·½·¨Êǵ¹±¸·Ý¼°×ö½éÖʻָ´.Èç¹ûÄúµÄϵͳÔËÐÐÔÚnoarchivelogģʽÏÂ,ÔòÖ»ÓжªÊ§µÄÊý¾Ý ÔÚonline redo logÖз½¿É±»»Ö¸´¡£
²½ÖèÈçÏÂ:
1)restore the lost datafile from a backup
2)svrmgrl> startup mount
3)svrmgrl> select v1.group#,member,sequence#,first_change# > from v$log v1,v$logfile v2 > where v1.group#=v2.group#;
4)Èç¹ûÊý¾Ý¿âÔËÐÐÔÚnoarchivelogģʽÏÂÔò: svrmgrl> select file#,change# from v$recover_file;
Èç¹û change# ´óÓÚ×îСµÄfirst_change#ÔòÊý¾ÝÎļþ¿ÉÒÔ±»»Ö¸´¡£ Èç¹û change# СÓÚ×îСµÄfirst_change#ÔòÊý¾ÝÎļþ²»¿É»Ö¸´¡£ »Ö¸´×î½üÒ»´ÎµÄÈ«±¸·Ý»ò²ÉÓ÷½°¸Ò».
5)svrmgrl> recover datafile filename;
6)È·ÈÏOracle±í¿Õ¼ä»Ö¸´³É¹¦
7)svrmgrl> alter database open resetlogs;
3.Ö»¶Á±í¿Õ¼äÎÞÐè×ö½éÖʻָ´,Ö»Òª½«±¸·Ý»Ö¸´¼´¿É.ΨһµÄÀýÍâÊÇ:
±í¿Õ¼äÔÚ×îºóÒ»´Î±¸·Ýºó±»¸ÄΪread-write ģʽ
±í¿Õ¼äÔÚ×îºóÒ»´Î±¸·Ýºó±»¸ÄΪread-only ģʽ
ÔÚÕâÖÖÇé¿öÏÂ,¾ùÐè½øÐнéÖʻָ´
¶þ.ÁÙʱ±í¿Õ¼ä
ÁÙʱ±í¿Õ¼ä²¢²»°üº¬ÕæÕýµÄÊý¾Ý,»Ö¸´µÄ·½·¨ÊÇɾ³ýÁÙʱ±í¿Õ¼ä²¢Öؽ¨¼´¿É.
Èý.ϵͳ±í¿Õ¼ä
Èç¹û±¸·Ý²»¿ÉÓÃ,ÔòÖ»ÄܲÉÓÃÖؽ¨Êý¾Ý¿âµÄ·½·¨
ËÄ.»Ø¹ö±í¿Õ¼ä
ÓÐÁ½ÖÖÇé¿ö:
1¡¢Êý¾Ý¿âÒѾ­ÍêÈ«¹Ø±Õ(ʹÓÃshutdown immediate»òshutdownÃüÁî)
1) È·ÈÏÊý¾Ý¿âÍêÈ«¹Ø±Õ
2) ÐÞ¸Äinit


Ïà¹ØÎĵµ£º

²»ÊÇORACLEµÄÎÊÌâ

                                          ²»ÊÇORACLEµÄÎÊÌâ
2009-12-30 15:00
    ......

oracle¾Þ´ó±íµÄÊý¾Ýɾ³ýµÄ·½·¨£¬20·ÖÖӸ㶨


oracle¾Þ´ó±íµÄÊý¾Ýɾ³ýµÄ·½·¨£¬20·ÖÖӸ㶨 
 
Ò»¸ö¿Í»§µÄÈÕÖ¾±í£¬ÒѾ­ÓÐ3000¶àǧÍòµÄ¼Ç¼ÁË£¬ÈÝÁ¿´óÔ¼30G£¬´òËãά»¤Ò»Ï£¬¿´ÁËÒ»ÏÂ×ֶΣ¬·¢ÏÖÈÕÖ¾ÊÇ°´ÈÕÆڼǼµÄ£¬´òËãÖ»±£Áô3¸öÔµÄÈÕÖ¾¾ÍºÃÁË¡£
µÚÒ»¸ö˼·£º
°´Ìõ¼þ²é³öÀ´£¬Ö±½ÓDELETE
ÊÔÁËÒ»ÏÂ
delete from NTLS_LOGS  where to_char(START ......

ÔÚFedora 10ÉÏ°²×°Oracle£¨10.2.0£©[³­Ï®]

ÔÚFedora 10ÉÏ°²×°Oracle£¨10.2.0£©
ĬÈϵÄϵͳ²ÎÊýÏ£¬ÔÚFedora 10ÉÏÎÞ·¨°²×°Oracle£¬ÐèÒª½øÐÐÏÂÁÐÈô¸É´¦Àí£º
   1. Ñé֤ϵͳҪÇó
    ÒªÑé֤ϵͳÊÇ·ñÂú×ã Oracle 10g Êý¾Ý¿âµÄ×îµÍÒªÇó£¬ÒÔ root Óû§Éí·ÝµÇ¼²¢ÔËÐÐÒÔÏÂÃüÁî¡£
    Òª²é¿´¿ÉÓà RAM ºÍ½»»»¿Õ¼ä´óС£¬ÔËÐÐÒÔÏÂà ......

OracleÓû§±í¿Õ¼ä±¦µä

Oracle»¹ÊDZȽϳ£Óõģ¬ÓÚÊÇÎÒÑо¿ÁËÒ»ÏÂOracleÓû§±í¿Õ¼ä£¬ÔÚÕâÀïÄóöÀ´ºÍ´ó¼Ò·ÖÏíһϣ¬Ï£Íû¶Ô´ó¼ÒÓÐÓá£ÔÚÎÒÃÇΪ΢ÈíµÄNTFS·ÖÇø¸ñʽÖеÄÓû§´ÅÅÌÅä¶î¹ÄÕƵÄʱºò£¬OracleÊý¾Ý¿âÖÐÒ²ÒѾ­ÊµÏÖÁËÓû§´ÅÅÌÅä¶îµÄ¼¼Êõ¡£¿ÉÒÔ½èÖú±í¿Õ¼ä£¬À´¶ÔÓû§½øÐдÅÅÌÅä¶î¹ÜÀí¡£ÀûÓñí¿Õ¼äµÄÓû§´ÅÅÌÅä¶î£¬¿ÉÒÔʵÏֺܶ๦ÄÜ¡£
Èç¿ÉÒÔÀûÓÃÓÃ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ