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

»Ö¸´oracleÖÐÓÃpl/sqlÎóɾ³ýdropµôµÄ±í


²é¿´»ØÊÕÕ¾Öбí
select object_name,original_name,partition_name,type,ts_name,createtime,droptime from recyclebin;
»Ö¸´±í
SQL>flashback table test_drop to before drop;»ò
SQL>flashback table "BIN$b+XkkO1RS5K10uKo9BfmuA==$0" to before drop;
×¢£º±ØÐë9i»ò10gÒÔÉϰ汾֧³Ö£¬flashbackÎÞ·¨»Ö¸´È«ÎÄË÷Òý
ÒÔÏÂΪ²Î¿¼×ÊÁÏ
 Ê¹Óà Oracle Database 10g ÖеÄÉÁ»Ø±íÌØÐÔ£¬¿ÉÒÔºÁ²»·ÑÁ¦µØ»Ö¸´±»ÒâÍâɾ³ýµÄ±í
¡¡¡¡ÒÔÏÂÊÇÒ»¸ö²»¸Ã·¢ÉúÈ´¾­³£·¢ÉúµÄÇé¿ö£ºÓû§É¾³ýÁËÒ»¸ö·Ç³£ÖØÒªµÄ±í ¨D µ±È»ÊÇÒâÍâµØÉ¾³ý ¨D ²¢ÐèÒª¾¡¿ìµØ»Ö¸´¡££¨ÔÚijЩʱºò£¬Õâ¸ö²»ÐÒµÄÓû§¿ÉÄܾÍÊÇ DBA£¡£©
¡¡¡¡Oracle9i Database ÍÆ³öÁËÉÁ»Ø²éѯѡÏîµÄ¸ÅÄÒÔ±ã¼ìË÷¹ýȥij¸öʱ¼äµãµÄÊý¾Ý£¬µ«Ëü²»ÄÜÉÁ»Ø DDL ²Ù×÷£¬Èçɾ³ý±íµÄ²Ù×÷¡£Î¨Ò»µÄ»Ö¸´·½·¨ÊÇÔÚÁíÒ»¸öÊý¾Ý¿âÖÐʹÓñí¿Õ¼äµÄʱ¼äµã»Ö¸´£¬È»ºóʹÓõ¼³ö/µ¼Èë»òÆäËû·½·¨£¬ÔÚµ±Ç°Êý¾Ý¿âÖÐÖØÐ´´½¨±í¡£ÕâÒ»¹ý³ÌÐèÒª DBA ½øÐдóÁ¿¹¤×÷²¢ÇҺķѱ¦¹óµÄʱ¼ä£¬¸ü²»ÓÃ˵»¹ÒªÊ¹ÓÃÁíÒ»¸öÊý¾Ý¿â½øÐпË¡¡£
¡¡¡¡ÇëʹÓà Oracle Database 10g ÖеÄÉÁ»Ø±íÌØÐÔ£¬ËüʹµÃ±»É¾³ý±íµÄ»Ö¸´¹ý³ÌÈçִͬÐм¸ÌõÓï¾äÒ»Ñù¼òµ¥¡£ÈÃÎÒÃÇÀ´¿´¸ÃÌØÐÔÊÇÈçºÎ¹¤×÷µÄ¡£
¡¡¡¡É¾³ýÄǸö±í£¡
¡¡¡¡Ê×ÏÈ£¬ÈÃÎÒÃDz鿴µ±Ç°Ä£Ê½ÖÐµÄ±í¡£
¡¡¡¡SQL> select * from tab;
¡¡¡¡TNAME
¡¡¡¡TABTYPE
¡¡¡¡CLUSTERID
¡¡¡¡--------------------- - -- -- --- ------
¡¡¡¡RECYCLETEST
¡¡¡¡TABLE
¡¡¡¡ÏÖÔÚ£¬ÎÒÃÇÒâÍâµØÉ¾³ýÁË¸Ã±í£º
¡¡¡¡SQL> drop table recycletest;
¡¡¡¡Table dropped.
¡¡¡¡ÏÖÔÚÈÃÎÒÃÇÀ´²é¿´¸Ã±íµÄ״̬¡£
¡¡¡¡SQL> select * from tab;
¡¡¡¡TNAME
¡¡¡¡TABTYPE
¡¡¡¡CLUSTERID
¡¡¡¡--------------------------- - -- -- --- ------
¡¡¡¡BIN$04LhcpndanfgMAAAAAANPw==$0 TABLE
¡¡¡¡±í RECYCLETEST ÒѲ»´æÔÚ£¬µ«ÊÇÇë×¢Òâ³öÏÖбí BIN$04LhcpndanfgMAAAAAANPw==$0¡£Õâ¾ÍÊÇËù·¢ÉúµÄÊÂÇ飺±»É¾³ýµÄ±í RECYCLETEST ²¢Ã»ÓÐÍêÈ«Ïûʧ£¬¶øÊÇÖØÃüÃûΪһ¸öÓÉϵͳ¶¨ÒåµÄÃû³Æ¡£Ëü´æÔÚÓÚͬһ¸ö±í¿Õ¼äÖУ¬¾ßÓÐÓëԭʼ±íÏàͬµÄ½á¹¹¡£Èç¹ûÔڸñíÉ϶¨ÒåÁËË÷Òý»ò´¥·¢Æ÷£¬ÔòËüÃÇÒ²±»ÖØÃüÃû£¬Ê¹ÓÃÓë±íÏàͬµÄÃüÃû¹æÔò¡£ÈκÎÏà¹ØÔ´£¨Èç¹ý³Ì£©¶¼Ê§Ð§£»Ô­Ê¼±íµÄ´¥·¢Æ÷ºÍË÷Òý±»¸ÄΪ·ÅÖÃÔÚÖØÃüÃûµÄ±í BIN$04LhcpndanfgMAAAAAANPw==$0 ÉÏ£¬±£³Ö±»É¾³ý±íµÄÍêÕû¶ÔÏó½á¹¹¡£
¡¡¡¡±í¼°ÆäÏà¹Ø¶ÔÏó±»·ÅÖÃÔ


Ïà¹ØÎĵµ£º

½éÉÜORACLE DATA GUARD

¡¾IT168¼¼ÊõÎĵµ¡¿
     DATA GUARDµÄ×îÖ÷ÒªµÄ¹¦ÄÜÊÇÈßÔÖ¡£µ±È»¸ù¾ÝÅäÖõIJ»Í¬£¬DATA GUARD»¹¿ÉÒԾ߱¸ÒÔÏÂÌØµã£º¸ß¿ÉÓá¢ÐÔÄÜÌáÉý¡¢Êý¾Ý±£»¤ÒÔ¼°¹ÊÕϻָ´µÈ¡£
    DATA GUARD¿ÉÒÔ·ÖΪÎïÀíSTANDBYºÍÂß¼­STANDBYÁ½ÖÖ¡£¶þÕßµÄ×î´ó²î±ðÔÚÓÚ£¬ÎïÀíSTANDBYÓ¦ÓõÄÊÇÖ÷¿âµÄ¹éµµÈÕÖ¾£¬¶øÂ ......

OracleÓû§¹ÜÀí

 Ò»£¬OracleÊý¾Ý¿âÓû§¼ò½é
 ÔÚOracleÊý¾Ý¿âÖÐÈκζÔÏó¶¼ÊôÓÚÒ»¸öÌØ¶¨Óû§£¬»òÕß˵һ¸öÓû§ÓëͬÃûµÄģʽÏà¹ØÁª¡£
 ÒªÁ¬½Óµ½OracleÊý¾Ý¿âÐèÒªÒ»¸öÓû§ÕÊ»§£¬¸ù¾ÝÐèÒªÊÚÓèµÄ²Ù×÷ȨÏÞ¡£
 1£¬Ä¬ÈÏÊý¾Ý¿âÓû§Ä£Ê½£º
  Sys:Êý¾Ý¿â×ֵ䣨´æ´¢±»¹ÜÀí¶ÔÏóËùÓÐÐÅÏ¢£©ºÍÊÓͼ´æ´¢ÔÚ¸ÃģʽÖС£ÏµÍ³¼¶Óû§¡£ ......

OracleÍⲿ±íСÀý

1)½¨Á¢²Ù×÷ϵͳĿ¼e:\test£¬×¼±¸Êý¾ÝÎļþdept.txt²¢ÖÃÓÚe:\testÖ®ÏÂ
"10","ACCOUNTING","NEW
YORK"
"20","RESEARCH","DALLAS"
"30","SALES","CHICAGO"
"40","OPERATIONS","BOSTON"
2)´´ ......

ÈçºÎÕýȷɾ³ýORACLE¹éµµÈÕÖ¾Îļþ

 ÎÒÃǶ¼¶¼ÖªµÀÔÚcontrolfileÖмǼ×Åÿһ¸öarchivelogµÄÏà¹ØÐÅÏ¢£¬µ±È»ÃÇÔÚOSϰÑÕâЩÎïÀíÎļþdeleteµôºó£¬ÔÚÎÒÃǵÄ
controlfileÖÐÈÔÈ»¼Ç¼×ÅÕâЩarchivelogµÄÐÅÏ¢£¬ÔÚoracleµÄOEM¹ÜÀíÆ÷ÖÐÓпÉÊÓ»¯µÄÈÕÖ¾Õ¹ÏÖ³ö£¬µ±ÎÒÃÇÊÖ¹¤Çå³ýarchiveĿ¼ÏµÄÎļþºó£¬ÕâЩ¼Ç¼²¢Ã»Óб»ÎÒÃÇ´ÓcontrolfileÖÐÇå³ýµô£¬Ò²¾ÍÊÇoracle²¢²» ......

OracleÊý¾Ý¿â½µµÍHWMµÄ¼¸ÖÖ·½·¨

HWMÊÇoracleÖÐblockÓÐûÓÐʹÓõķֽçÏߣ¬Ëü»áËæ×ÅÊý¾ÝµÄinsert¶øÉÏÉý£¬µ«Ëü²¢²»»áËæÊý¾ÝµÄdelete¶øÏ½µ£¬Òò´ËÈ«±íɨÃèµÄʱ¼ä²¢²»ÒòÊý¾ÝµÄdelete¶ø¼õÉÙ£¬Ïà·´¿ÉÄÜÓÉÓÚ¿éÇå³ý·´¶øÈ«±íɨÃèʱ¼äÔö¼Ó£¬¿ÉÒÔÓÃÏÂÃæ·½·¨µÄÈÎÒ»Ò»ÖÖÀ´½µµÍHWM£º
µÚÒ»ÖÖ£ºshrink
ÊÊÓÃÓÚ10gÒÔºóµÄ°æ±¾£¬Ç°ÌáÊÇÕâ¸ö±í£¬Ë÷Òý£¬ÎﻯÊÓͼ»òÎﻯÊÓͼlogËùÔ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ