Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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 ÉÏ£¬±£³Ö±»É¾³ý±íµÄÍêÕû¶ÔÏ


Ïà¹ØÎĵµ£º

ÈçºÎ½â¾ö¾ÖÓòÍøÖÐWindows·À»ðǽ²»ÄÜ·ÃÎÊOracleÎÊÌâ!


Èç¹ûÄãÊÇWINXP»òWIN2003µÄϵͳÖÐ×Ô´øµÄ·À»ðǽ,¿ÉÒÔÊÔÒ»ÏÂÒÔÏ·½·¨:
1.ÔÚ·À»ðǽµÄÀýÍâÖÐ,Ìí¼ÓORACLE.EXEÔËÐгÌÐò.(ÔÚoracle°²×°Ä¿Â¼ÕÒµ½binÎļþ¼ÐÖÐ)
2.ÔÙÔÚ·À»ðǽÀýÍâÖУ¬Ìí¼Ó¶Ë¿Ú1521¶Ë¿Ú¾ÍÑù¾ÖÓòÍøÄÚµÄÆäËû»úÆ÷¾Í¿ÉÒÔ·ÃÎÊÄãµÄORACLEÁË.
»òÕßÔڸ߼¶ÖÐ,Ñ¡Öе±Ç°Ê¹ÓõÄÍø¿¨,Ìí¼ÓIP,¶Ë¿ÚºÅ(1521),ÕâÑù,ÆäËû»úÆ÷Ò²¿ÉÒÔ·ÃÎ ......

oracleÖеÄrownumαÁÐÉî²ã·ÖÎö

¶ÔÓÚ Oracle µÄ rownum ÎÊÌ⣬ºÜ¶à×ÊÁ϶¼Ëµ²»Ö§³Ö>,>=,=,between...and£¬Ö»ÄÜÓÃÒÔÉÏ·ûºÅ(<¡¢<=¡¢!=)£¬²¢·Ç˵ÓÃ>,>=,=,between..and ʱ»áÌáʾSQLÓï·¨´íÎ󣬶øÊǾ­³£ÊDz鲻³öÒ»Ìõ¼Ç¼À´£¬»¹»á³öÏÖËƺõÊÇĪÃûÆäÃîµÄ½á¹ûÀ´£¬ÆäʵÄúÖ»ÒªÀí½âºÃÁËÕâ¸ö rownum αÁеÄÒâÒå¾Í²»Ó¦¸Ã¸Ðµ½¾ªÆ棬ͬÑùÊÇαÁУ¬rownum Ó ......

Oracle ²ÎÊý·ÖÀà ºÍ ²ÎÊýµÄ²é¿´·½·¨


OracleÊý¾Ý¿âϵͳ¸ù¾Ý³õʼ»¯²ÎÊýÎļþinit.oraÖÐÉèÖõIJÎÊýÀ´ÅäÖÃ×ÔÉíµÄÆô¶¯£¬Ã¿¸öʵÀýÔÚÆô¶¯Ö®Ç°£¬Ê×ÏȶÁÈ¡ÕâЩ²ÎÊýÎļþÖÐÉèÖõIJ»Í¬²ÎÊý¡£
OracleϵͳÖеIJÎÊý£¬¸ù¾ÝϵͳʹÓÃÇé¿ö¿ÉÒÔ¼òµ¥·ÖΪÁ½´óÀࣺ
ÆÕͨ²ÎÊý£ºÒ²¾ÍÊÇOracleϵͳÕý³£Ê¹ÓõÄһЩ²ÎÊý£¬
·Ç·²²ÎÊý£º°üÀ¨ÈýÖÖ£¬¹ýʱ²ÎÊý¡¢Ç¿µ÷²ÎÊýºÍÒþ²Ø²ÎÊý¡£
Ëæ×ÅOrac ......

oracle ²éѯ¼Æ»®ÖлùÊýÎÊÌâ

×î½ü·¢ÏÖÒ»¸ö±È½ÏÓÐÒâ˼µÄÎÊÌ⣺
µ±ÎÒÃÇÔÚÖ´ÐÐÒ»Ìõ²éѯÓï¾äʱ£¬Èç¹ûÌõ¼þν´ÊÖк¬Óк¯Êý£¬Èç abs(age)<10£¬´Ëʱ£¬Í¨¹ý²éѯ¼Æ»®¿´µ½µÄ½á¹û¼¯µÄ»ùÊýÖµÓëʵ¼ÊµÄÖµÏà²îºÜ´ó¡£µ±ÎÒÃǸıä²éѯÌõ¼þʱ£¬Èçabs(age)<20£¬ÕâʱµÄ»ùÊýÖµ²»»á¸Ä±ä£¬ºÍabs(age)<10µÃµ½µÄ»ùÊýÖµÒ»Ñù¡£
µ«ÏÖÔÚ»¹Ã»ÕÒµ½ÎÊÌâµÄÔ­Òò£¬searching... ......

ÉîÈëÁ˽âoracleµÄ¸ßˮ루HWM£©

˵µ½HWM,ÎÒÃÇÊ×ÏÈÒª¼òÒªµÄ̸̸ORACLEµÄÂß¼­´æ´¢¹ÜÀí.ÎÒÃÇÖªµÀ,ORACLEÔÚÂß¼­´æ´¢ÉÏ·Ö4¸öÁ£¶È:±í¿Õ¼ä,¶Î,ÇøºÍ¿é.
(1)¿é:ÊÇÁ£¶È×îСµÄ´æ´¢µ¥Î»,ÏÖÔÚ±ê×¼µÄ¿é´óСÊÇ8K,ORACLEÿһ´ÎI/O²Ù×÷Ò²ÊÇ°´¿éÀ´²Ù×÷µÄ,Ò²¾ÍÊÇ˵µ±ORACLE´ÓÊý¾ÝÎļþ¶ÁÊý¾Ýʱ,ÊǶÁÈ¡¶àÉÙ¸ö¿é,¶ø²»ÊǶàÉÙÐÐ.
(2)Çø:ÓÉһϵÁÐÏàÁڵĿé¶ø×é³É,ÕâÒ²ÊÇORACLE¿Õ¼ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ