Oracle»ØÊÕÕ¾£¬ora 38301´íÎó
ora-38301´íÎó,»ØÊÕÕ¾
Ç°¼¸ÌìÓÐͬʸæËßÎÒ£¬ÓÐ̨·þÎñÆ÷Éϵıí¿Õ¼äÎÞ·¨É¾³ý£¬ÈÃÎÒ¿´¿´¡£µÇ¼µ½·þÎñÆ÷£¬É¾³ý±í¿Õ¼ä£¬Êý¾Ý¿âͬʱ±¨ora-00604ºÍora-38301´íÎó¡£Æð³õÒÔΪÊÇÓÐÊý¾Ý¿â¶ÔÏó±»Ëø¶¨£¬ÖØÆôÊý¾Ý¿âºó£¬·¢ÏÖ»¹ÊDZ¨Í¬ÑùµÄ´íÎó¡£Googleºó·¢ÏÖ¿ÉÄÜÓë10gµÄÒ»¸öÐÂÌØÐÔ»ØÊÕÕ¾Óйأ¬Çå¿Õ»ØÊÕÕ¾purge recyclebinºó£¬½øÐÐɾ³ý»¹ÊDZ¨Í¬ÑùµÄ´íÎó¡£½«±í¿Õ¼äofflineºó½øÐÐɾ³ýÒ²²»ÐУ¬Ïë¿ÉÄÜÊÇ»¹ÓÐʲô¹ØÁª¶ÔÏóûÓб»Çå¿Õ»òÒÀ¾É±»Õ¼Óá£ÏëÆðÒÔǰδɾ³ý±í¿Õ¼äǰɾ³ýÓû§Ê±£¬ÌáʾÊÇ·ñɾ³ý¹ØÁªµÄ¶ÔÏó¡£ÏÈɾ³ýÓû§£¬Ñ¡Ôñɾ³ýÓû§Ê±Í¬Ê±É¾³ý¹ØÁªµÄ¼¶Áª¶ÔÏó£¬ÔÙɾ³ý±í¿Õ¼äʱ£¬³É¹¦É¾³ý¡£Í¬Ê±Ò²ÖªµÀÁËoracle10gµÄÒ»¸öÐÂÌØÐÔ¡£
Oracle10gÌṩÁËÀàËƲÙ×÷ϵͳÖеĻØÊÕÕ¾¹¦ÄÜ¡£»ØÊÕÕ¾£¬´ÓÔÀíÉÏÀ´Ëµ¾ÍÊÇÒ»¸öÊý¾Ý×Öµä±í£¬·ÅÖÃÓû§DropµôµÄÊý¾Ý¿â¶ÔÏóÐÅÏ¢¡£µ±drop tableµÄʱºò£¬Êµ¼ÊÉÏÖ»Êǽ«ÆäÖØÃüÃû£¬²¢½«tableÒÔ¼°Ïà¹ØÁªµÄ¶ÔÏóÈçindex£¬constraintµÈ·Åµ½»ØÊÕÕ¾(RecycleBin)ÖУ¬ºóÐøÈç¹û·¢ÏÖdrop´íÁËtable£¬¿ÉÒÔʹÓÃflashback tableÃüÃû½«»ØÊÕÕ¾ÖеÄtable»¹Ô£¬Õâ¾ÍÊÇOracle10gµÄFlashback Drop¹¦ÄÜ¡£
1. ÆôÓÃ/½ûÓÃRecycleBin£º
ͨ¹ýÉèÖóõʼ»¯²ÎÊýrecyclebin£¬¿ÉÒÔ¿ØÖÆÊÇ·ñÆôÓûØÊÕÕ¾¹¦ÄÜ£¬Ä¬ÈÏÊÇ¿ªÆôµÄ¡£
;`:v | } h;w2?)L r B0SQL> alter system set recyclebin=off;
ϵͳÒѸü¸Ä¡£
SQL> alter system set recyclebin=on;
ϵͳÒѸü¸Ä¡£
SQL> alter session set recyclebin=off;
»á»°ÒѸü¸Ä¡£
SQL> alter session set recyclebin=on;
»á»°ÒѸü¸Ä¡£
2. ²é¿´»ØÊÕÕ¾£º
SQL> SHOW recyclebin;
»òÕß
SQL>select * from recyclebin;
³ý·ÇÓµÓÐsysdbaȨÏÞ£¬·ñÔòÿ¸öÓû§Ö»ÄÜ¿´µ½ÊôÓÚ×Ô¼ºµÄ¶ÔÏó¡£ËùÒÔ£¬¶ÔÓÚÓû§À´Ëµ£¬ºÃÏñÿ¸öÈ˶¼ÓµÓÐ×Ô¼ºµÄ»ØÊÕÕ¾¡£¼´Ê¹Óû§ÓÐɾ³ýÆäËûschema¶ÔÏóµÄȨÏÞ£¬Ò²Ö»ÄÜÔÚrecyclebinÖп´µ½ÊôÓÚ×Ô¼ºµÄ¶ÔÏó¡£
3. »ØÊÕÕ¾¶ÔÏóµÄ²Ù×÷£º
µ±Ò»¸ö±í±»É¾³ý²¢Òƶ¯µ½"»ØÊÕÕ¾"ÖУ¬ËüµÄÃû×ÖÒª½øÐÐһЩת»»¡£ÕâÑùµÄÄ¿µÄÊÇΪÁ˱ÜÃâͬÀà¶ÔÏóÃû³ÆµÄÖظ´¡£(ÕâÒ»µãºÍWindows²Ù×÷ϵͳµÄ»ØÊÕÕ¾²»Í¬£¬WindowsÖеĻØÊÕÕ¾¾¹ýÁËÌØÊâµÄ´¦Àí£¬²Ù×÷ϵͳÎļþ¿ÉÒÔÖØÃû¡£)ת»»ºóµÄÃû×Ö¸ñʽÈçÏÂ:
BIN$unique_id$versionÆäÖÐBIN´ú±íRecycleBin£¬unique_idÊÇÊý¾Ý¿âÖиöÔÏóµÄΨһ±êÖ¾£¬26¸ö×Ö·û³¤¶Èvers
Ïà¹ØÎĵµ£º
Linux ƽ̨ÏÂOracle Silent Installations(¾²Ä¬°²×°)£¬Ò»Ö±¶¼Ã»Óг¢ÊÔ¹ýÓÃÕâÖÖ·½·¨À´×°Êý¾Ý¿â¡£ ÒòΪÓи߼¶µÄ¹¤¾ß£¬¾ÍûÓбØÒªÔÚÀ´ÓÃÕâÖÖ·½·¨ÁË£¬Oracle µÄ½çÃ滹ÊDZȽϷ½±ã£¬¶øÇÒÎÒÃÇ»¹ÓÐXmanager ¹¤¾ß£¬ËùÒÔÔÚlinux ÏÂ×°Èí¼þ£¬»¹ÊǺܷ½±ãµÄ¡£
Òò´ËÒ²¾ÍûÓÐÌ«ÔÚÒâÕ ......
ÔÚlinuxÏ°²×°oracleÊǼþ·±ËöµÄÊÂÇé¡£¾ßÌåÀ´½²·ÖΪһϼ¸´ó²½£º
1.ÐÞ¸Äϵͳ°æ±¾
vi /etc/redhat-release
×¢Ê͵ôµÚÒ»ÐУ¬Ìí¼ÓÒ»ÐУºredhat-4
2.°²×°Èí¼þ°ü
rpm -Uvh setarch-2*
rpm -Uvh make-3*
rpm -Uvh glibc-2*
rpm -Uvh libaio-0*
rpm -Uvh compat-libstdc++-33-3*
rpm -Uvh compat-gcc-34-3*
rpm -Uvh comp ......
Èí¼þ»·¾³£º
1¡¢Windows 2000+ORACLE 8.1.7
2¡¢ORACLE°²×°Â·¾¶Îª£ºC:\ORACLE
ʵÏÖ·½·¨£º
1¡¢¿ªÊ¼££¾ÉèÖ㣾¿ØÖÆÃæ°å££¾¹ÜÀí¹¤¾ß££¾·þÎñ Í£Ö¹ËùÓÐOracle·þÎñ¡£
2¡¢¿ªÊ¼££¾³ÌÐò££¾Oracle - OraHome81££¾Oracle Installation Products££¾ Universal Installer жװËùÓÐOracle²úÆ·£¬µ«Universal Installer±¾Éí ......
SQLÖеĵ¥¼Ç¼º¯Êý
1.ASCII
·µ»ØÓëÖ¸¶¨µÄ×Ö·û¶ÔÓ¦µÄÊ®½øÖÆÊý;
SQL> select ascii('A') A,ascii('a') a,ascii('0') zero,ascii(' ') space from dual;
A A ZERO ......
Oracleʱ¼äÈÕÆÚ²Ù×÷
sysdate+(5/24/60/60) ÔÚϵͳʱ¼ä»ù´¡ÉÏÑÓ³Ù5Ãë
sysdate+5/24/60 ÔÚϵͳʱ¼ä»ù´¡ÉÏÑÓ³Ù5·ÖÖÓ
sysdate+5/24 ÔÚϵͳʱ¼ä»ù´¡ÉÏÑÓ³Ù5Сʱ
sysdate+5 ÔÚϵͳʱ¼ä»ù´¡ÉÏÑÓ³Ù5Ìì
add_months(sysdate,-5) ÔÚϵͳʱ¼ä»ù´¡ÉÏÑÓ³Ù5ÔÂ
add_months(sysdate,-5*12) ÔÚϵͳʱ¼ä»ù´¡ÉÏÑÓ³Ù5Äê
ÉÏÔÂÄ©µÄÈÕÆÚ£ºsel ......