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

Oracle¹éµµÃüÁתÔØ£©

Ê×ÏȲ鿴Êý¾Ý¿âÏÖÓÐģʽ¿ÉʹÓÃÒÔÏÂÓï¾ä
select name,log_mode from v$database;
Ò²¿ÉÒÔÓÃÏÂÃæµÄÓï¾ä
archive log list£»(¸Ã·½·¨ÐèÒªas sysdba)
¶ÔÓڷǹ鵵ģʽµÄÊý¾Ý¿â¸ÃΪ¹éµµÄ£Ê½£¨Ö÷ÒªÒÔOracle 10gΪ²Î¿¼£©Ê¹ÓÃÒÔϲ½Ö裺
1. SQL> alter system set log_archive_dest_1='location=/oracle/oracle10g/log/archive_log';
¸ÃÓï¾äº¬ÒåÊÇÈ·¶¨¹éµµÈÕÖ¾µÄ·¾¶£¬Êµ¼ÊÉÏOracle 10g¿ÉÒÔÉú³É¶à·ÝÒ»ÑùµÄÈÕÖ¾£¬±£´æ¶à¸öλÖã¬ÒÔ·À²»²â
ÀýÈçÔÙÌí¼ÓÒ»¸öÈÕ־λÖÿÉʹÓÃÒÔÏÂÓï¾ä
SQL>alter system set log_archive_dest_2='location=/oracle/oracle10g/log2/archive_log';
²é¿´¹éµµÈÕÖ¾µÄ·¾¶
SQL>show parameter db_recovery_file_dest
»òÕß
SQL>archive log list;
2.¹Ø±ÕÊý¾Ý¿â
SQL> shutdown immediate
3.Æô¶¯Êý¾Ýmount״̬£º
SQL> startup mount;
4¡¢ÐÞ¸ÄÊý¾Ý¿âΪ¹éµµÄ£Ê½£º
SQL> alter database archivelog;
5¡¢´ò¿ªÊý¾Ý¿â£¬²éѯ£º
SQL> alter database open;
ÐÞ¸ÄÈÕÖ¾ÎļþÃüÃû¸ñʽ£º
SQL> alter system set log_archive_max_processes = 5;
SQL> alter system set log_archive_format = "archive_%t_%s_%r.log" scope=spfile;


Ïà¹ØÎĵµ£º

oracle Êý¾Ý¿â¸Äoracle_sidµÄ²Ù×÷·½·¨

ÐÞ ¸Ä SID
°¸Àý: ¾ÉÊý¾Ý¿â(OLDDB)
        Îļþ´æ·Å(data files,redo files,control files,temp files, undo files)Ŀ¼ÊÇ
(/u01/OLDDB)
dumpÎļþĿ¼ÊÇ(/u01/dump)
       ÐÂÊý¾Ý¿â(NEWDB)
   ......

ORACLE EXP/IMP ²ÎÊýÏê½â

ORACLE EXP/IMP ²ÎÊýÏê½â2010-03-22 17:53OracleÊý¾Ý¿âʹÓÃIMP/EXP¹¤¾ß½øÐÐÊý¾Ýµ¼ÈëÓëµ¼³ö½éÉÜ£º
1.ʹÓÃÃüÁîÐУº
Êý¾Ýµ¼³ö£º
1.½«Êý¾Ý¿âTESTÍêÈ«µ¼³ö,Óû§ÃûsystemÃÜÂëmanagerµ¼³öµ½D:\Test_bak.dmpÖÐ
exp system/manager@ora10 file=d:\Test_bak.dmp full=y
ora10±íʾÊý¾Ý¿âÃû
2.½«Êý¾Ý¿âÖÐsystemÓû§ÓësysÓû§µÄ±íµ ......

JAVA¶ÁÈ¡OracleÖеÄblobͼƬ×ֶβ¢ÏÔʾ

½üÆÚ£¬ÔÚ¸ø¿Í»§×öÒ»¸öDemoÒ³Ãæʱ£¬ÐèÒªÓÃJAVA¶ÁÈ¡OracleÖеÄblobͼƬ×ֶβ¢ÏÔʾ£¬Ôڴ˹ý³ÌÖУ¬Óöµ½Ò»Ð©ÎÊÌ⣬ÀýÈ磺Á¬½ÓOracleÊý¾Ý¿â¶ÁÈ¡blob×Ö¶ÎÊý¾Ý£¬¶ÔͼƬbyteÊý¾Ý½øÐÐËõ·ÅµÈ£»Ìش˼Ǽ£¬¸ø×Ô¼º±¸Íü£¬¸ø´ó¼Ò²Î¿¼¡£
Õû¸öÁ÷³Ì·ÖΪËIJ½£¬Á¬½ÓoracleÊý¾Ý¿â -> ¶ÁÈ¡blobͼƬ×ֶΠ-> ¶ÔͼƬ½øÐÐËõ·Å ->°ÑͼƬչʾÔÚ ......

oracle dg µÄ»ù±¾ÃüÁî

1£¬²é¿´µ±Ç°µÄ±£»¤Ä£Ê½
 select DATABASE_ROLE,PROTECTION_MODE,PROTECTION_LEVEL from v$database;
2£¬²é¿´ÈÕÖ¾µÄ´«ËÍ·½Ê½£»
 select dest_name,archiver from v$archive_dest;
3£¬Í£Ö¹standbyµÄ×Ô¶¯»Ö¸´×´Ì¬
 alter database recover manager standby database finish;
4£¬Ìí¼Óstandby logfile
&nb ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ