oracle ½éÖʻָ´¼ò½é
Èç¹ûÊý¾ÝÎļþË𻵣¬»áÓöµ½1157 ºÍ 1110µÄ´íÎó¡£ÕâʱºòÐèÒª½éÖʻָ´Êý¾Ý¿â¡£
»Ö¸´Êý¾Ý¿âÐèÒªÓÐÏàÓ¦µÄ±¸·ÝºÍ±¸·ÝÒÔÀ´²úÉúµÄËùÓеĹ鵵ÈÕÖ¾ÎļþºÍÁª»úÈÕÖ¾Îļþ¡£
Èç¹ûÔÚmountµ½openµÄʱºò·¢ÏÖÆÕͨµÄÊý¾ÝÎļþË𻵣¬Êý¾Ý¿â»áÍ£ÁôÔÚmount״̬Ï£¬Õâʱºò¿ÉÒÔÖ´ÐÐalter database datafile x offline drop ºÍalter database open ÃüÁîʹÊý¾Ý¿â´¦ÓÚopen״̬¡£È»ºócopy±¸·ÝµÄÊý¾ÝÎļþ£¬ÔÚÖ´ÐÐrecover datafile x£¨Èç¹ûÊÇÈ˹¤¸ÉÔ¤µÄ±¸·Ý£©¡£ »òÓÃrmanÖ´ÐÐresotre datafile x;recover datafile x;×îºó²»ÒªÍüÁË°ÑÊý¾ÝÎļþÁª»úalter dabase datafile x online;µ±È»£¬Äã²»¿ÉÄÜʹÓÃÕâÖÖ·½·¨À´»Ö¸´ÏµÍ³Êý¾ÝÎļþ¡£
Èç¹ûÔÚopen״̬ÏÂij¸öÆÕͨµÄÊý¾ÝÎļþ¶ªÊ§£¬Ò²¿ÉÒÔʹÓÃÉÏÊö·½·¨¡£²»¹ýÈç¹ûÔÚopen״̬ÏÂsystem±í¿Õ¼äË𻵣¬Êý¾Ý¿â¾Í±Àµô£¬Õâʱºò¿ÉÒÔÖØÆôÊý¾Ý¿âÔÚmountÏ»ָ´¡£ Ò²¾ÍÊÇ˵mount״̬ÏÂÊÇ¿ÉÒÔ»Ö¸´ÆÕͨµÄ±í¿Õ¼äÒ²¿ÉÒÔ»Ö¸´system±í¿Õ¼äµÄ¡£
»¹ÓУ¬ÓÐʱºòÄ㶪ʧÁ˶à¸öÊý¾ÝÎļþ£¬µ«sqlplusÖ»»áÌáʾµÚÒ»¸öËð»µÊý¾Ý¿âÎļþ¡£µ±Äã°ÑµÚÒ»¸öÊý¾ÝÎļþ»Ö¸´ÍêÒÔºó£¬Ëû»áÌáʾµÚ¶þ¸öÊý¾ÝÎļþÐèÒª»Ö¸´¡£Îª±ÜÃâÕâÖÖÂé·³£¬ÎÒÃÇ¿ÉÒÔ²éѯselect * from v$recover_file À´²é¿´¼¸¸öÊý¾ÝÎļþÐèÒª»Ö¸´£¬»òÕßµ½¸æ¾¯ÈÕÖ¾ÎļþÖв鿴ÏêϸµÄÐÅÏ¢¡£
Ïà¹ØÎĵµ£º
´ó¼Ò¶¼ÖªµÀ£¬ÓÃPL/SQLÁ¬½ÓOracle£¬ÊÇÐèÒª°²×°Oracle¿Í»§¶ËÈí¼þµÄ¡£ÓÐûҪÏë¹ý²»°²×°Oracle¿Í»§¶ËÖ±½ÓÁ¬½ÓOracleÄØ£¿
ÆäʵÎÒÒ»Ö±ÏëÕâÑù×ö£¬ÒòΪÕâ¸ö¿Í»§¶ËʵÔÚÌ«ÈÃÈËÌÖÑáÁË£¡£¡£¡²»µ«»á°²×°Ò»¸öJDK£¬¶øÇÒ»¹»á°Ñ×Ô¼º·ÅÔÚ»·¾³±äÁ¿µÄ×îÇ°Ã棬»áÔì³É²»Ð ......
ÔÎÄ:http://www.blogjava.net/Unmi/archive/2009/01/05/249956.html
ÔÚ Oracle Êý¾Ý¿âÖУ¬ÎÒÃÇͨ³£ÔÚ²»Í¬Êý¾Ý¿âµÄ±í¼ä¼Ç¼½øÐи´ÖÆ»òǨÒÆʱ»áÓÃÒÔϼ¸ÖÖ·½·¨£º
1. A ±íµÄ¼Ç¼µ¼³öΪһÌõÌõ·ÖºÅ¸ô¿ªµÄ insert Óï¾ä£¬È»ºóÖ´ÐвåÈëµ½ B ±íÖÐ
2. ½¨Á¢Êý¾Ý¿â¼äµÄ dblink£¬È»ºóÓà create table B as select * from A ......
1¡¢²é¿´±í¿Õ¼äµÄÃû³Æ¼°´óС
¡¡¡¡select t.tablespace_name, round(sum(bytes/(1024*1024)),0) ts_size
¡¡¡¡from dba_tablespaces t, dba_data_files d
¡¡¡¡where t.tablespace_name = d.tablespace_name
¡¡¡¡group by t.tablespace_name;
¡¡¡¡
¡¡¡¡2¡¢²é¿´±í¿Õ¼äÎïÀíÎļþµÄÃû³Æ¼°´óС
¡¡¡¡select tablespace_ ......
ÓÐһЩûÓÐʹÓÃÊý¾Ý¿âÖмä¼þµÄÈí¼þ¿ÉÄÜ»áÅöµ½ÔÚ²»Í¬µÄÓ¦Óó¡¾°ÐèÒªÓò»Í¬µÄÊý¾Ý¿â£¬ÕâÑù¿ÉÄܾÍÐèÒª½«Êý¾Ý¿â´úÂë×öÒÆÖ²£¬ÎÒÕâÀïÕûÀíÁËһЩ´Óoracleµ½mysqlµÄÒÆÖ²¹ý³ÌÖеÄ×¢ÒâÊÂÏ
1¡£sequenceÉú³É
¿ÉÒÔÓÃÀàËƵĶ«Î÷À´×ö,ÈçÏ£º
create table myseq ( &nb ......
http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96524/c21cnsis.htm#2937
Types of Locks
Oracle automatically uses different types of locks to control concurrent access to data and to prevent destructive interaction between users. Oracle automatically locks a resource on behalf of a tran ......