Oracle Êý¾Ý¿âµÄ±¸·ÝÓë»Ö¸´£¨Âß¼¡¢Àä¡¢ÈÈ£©
½ñÌì¿´µ½Ò»Æª¹ØÓÚORCLEµÄÂß¼±¸·Ý£¬Àä¡¢Èȱ¸·ÝµÄÌû×Ó½²µÄͦºÃµÄ£¬²»¹ýÕâƪÎÄÕÂÊÇÒÔORACLE 7ΪÀý×Ó£¬ËäÈ»ÏÖÔÚÒѾÓкܺúÜÇ¿´óµÄRMAN£¬µ«»¹ÊǾõµÃÓбØҪת¹ýÀ´£¬²»ÄÜϲÐÂÑá¾ÉÂï¡£
==================================================================================
OracleÊý¾Ý¿âµÄ±¸·ÝÓë»Ö¸´
---- µ±ÎÒÃÇʹÓÃÒ»¸öÊý¾Ý¿âʱ£¬×ÜÏ£ÍûÊý¾Ý¿âµÄÄÚÈÝÊÇ¿É¿¿µÄ¡¢ÕýÈ·µÄ£¬µ«ÓÉÓÚ¼ÆËã»úϵͳµÄ¹ÊÕÏ£¨°üÀ¨»úÆ÷¹ÊÕÏ¡¢½éÖʹÊÕÏ¡¢Îó²Ù×÷µÈ£©£¬Êý¾Ý¿âÓÐʱҲ¿ÉÄÜÔâµ½ÆÆ»µ£¬ÕâʱÈçºÎ¾¡¿ì»Ö¸´Êý¾Ý¾Í³ÉΪµ±ÎñÖ®¼±¡£Èç¹ûƽʱ¶ÔÊý¾Ý¿â×öÁ˱¸·Ý£¬ÄÇô´Ëʱ»Ö¸´Êý¾Ý¾ÍÏԵúÜÈÝÒס£Óɴ˿ɼû£¬×öºÃÊý¾Ý¿âµÄ±¸·ÝÊǶàôµÄÖØÒª£¬ÏÂÃæ±ÊÕß¾ÍÒÔORACLE7ΪÀý£¬À´½²ÊöÒ»ÏÂÊý¾Ý¿âµÄ±¸·ÝºÍ»Ö¸´¡£ORACLE Êý¾Ý¿âÓÐÈýÖÖ±ê×¼µÄ±¸·Ý·½·¨£¬ËüÃÇ·Ö±ðΪµ¼³ö/µ¼È루EXPORT/IMPORT£©¡¢À䱸·Ý¡¢Èȱ¸·Ý¡£µ¼³ö±¸·ÝÊÇÒ»ÖÖÂß¼±¸·Ý£¬À䱸·ÝºÍÈȱ¸·ÝÊÇÎïÀí±¸·Ý¡£
---- Ò»¡¢ µ¼³ö/µ¼È루Export/Import£©
---- ÀûÓÃExport¿É½«Êý¾Ý´ÓÊý¾Ý¿âÖÐÌáÈ¡³öÀ´£¬ÀûÓÃImportÔò¿É½«ÌáÈ¡³öÀ´µÄÊý¾ÝËÍ»ØOracleÊý¾Ý¿âÖÐÈ¥¡£
---- 1. ¼òµ¥µ¼³öÊý¾Ý£¨Export£©ºÍµ¼ÈëÊý¾Ý£¨Import£©
---- OracleÖ§³ÖÈýÖÖÀàÐ͵ÄÊä³ö£º
---- £¨1£©±í·½Ê½£¨T·½Ê½£©£¬½«Ö¸¶¨±íµÄÊý¾Ýµ¼³ö¡£
---- £¨2£©Óû§·½Ê½£¨U·½Ê½£©£¬½«Ö¸¶¨Óû§µÄËùÓжÔÏó¼°Êý¾Ýµ¼³ö¡£
---- £¨3£©È«¿â·½Ê½£¨Full·½Ê½£©£¬½«Êý¾Ý¿âÖеÄËùÓжÔÏóµ¼³ö¡£
---- Êý¾Ýµ¼³ö£¨Import£©µÄ¹ý³ÌÊÇÊý¾Ýµ¼È루Export£©µÄÄæ¹ý³Ì£¬ËüÃǵÄÊý¾ÝÁ÷Ïò²»Í¬¡£
---- 2. ÔöÁ¿µ¼³ö/µ¼Èë
---- ÔöÁ¿µ¼³öÊÇÒ»ÖÖ³£ÓõÄÊý¾Ý±¸·Ý·½·¨£¬ËüÖ»ÄܶÔÕû¸öÊý¾Ý¿âÀ´ÊµÊ©£¬²¢ÇÒ±ØÐë×÷ΪSYSTEMÀ´µ¼³ö¡£ÔÚ½øÐдËÖÖµ¼³öʱ£¬ÏµÍ³²»ÒªÇó»Ø´ðÈκÎÎÊÌâ¡£µ¼³öÎļþÃûȱʡΪexport.dmp£¬Èç¹û²»Ï£Íû×Ô¼ºµÄÊä³öÎļþ¶¨ÃûΪexport.dmp£¬±ØÐëÔÚÃüÁîÐÐÖÐÖ¸³öÒªÓõÄÎļþÃû¡£
---- ÔöÁ¿µ¼³ö°üÀ¨Èý¸öÀàÐÍ£º
---- £¨1£©“ÍêÈ«”ÔöÁ¿µ¼³ö£¨Complete£©
---- ¼´±¸·ÝÕû¸öÊý¾Ý¿â£¬±ÈÈ磺
---- ¡çexp system/manager inctype=complete file=990702.dmp
---- £¨2£© “ÔöÁ¿ÐÍ”ÔöÁ¿µ¼³ö
---- ±¸·ÝÉÏÒ»´Î±¸·Ýºó¸Ä±äµÄÊý¾Ý¡£±ÈÈ磺
---- ¡çexp system/manager inctype=incremental file=990702.dmp
---- £¨3£© “ÀÛ¼ÆÐÍ”ÔöÁ¿µ¼³ö£¨Cumulative£©
---- ÀÛ¼ÆÐ͵¼³ö·½Ê½Ö»Êǵ¼³ö×ÔÉϴΓÍêÈ«” µ¼³öÖ®ºóÊý¾Ý¿âÖб仯Á˵ÄÐÅÏ¢¡£±ÈÈ磺
---- ¡çexp system/manager inctype=cumul
Ïà¹ØÎĵµ£º
oracle±í¿Õ¼ä²Ù×÷Ïê½â
1
2
3×÷Õߣº À´Ô´£º ¸üÐÂÈÕÆÚ£º2006-01-04
5
6
7½¨Á¢±í¿Õ¼ä
8
9CREATE TABLESPACE data01
10DATAFILE '/ora ......
1.µ±ÄãÃÍÈ»¼äÍü¼Çͨ¹ýʲôÊÓͼ¿ÉÒԲ鿴procedureÄÚÈÝʱ£¬ÒþÔ¼¼ÇµÃËùÐèµÄÊÓͼ°üº¬“SOUR”×ֶΣ¬´Ëʱ²éѯdict/dictionaryÊÓͼÊÇ×îºÃµÄÑ¡Ôñ
sys@ora10g> col COMMENTS for a78
sys@ora10g>select * from dict where TABLE_NAME like '%SOUR%';
TABLE_NAME   ......
Ò». °²×°Ç°µÄ×¼±¸
1.ÔÚÊý¾Ý¿â·þÎñÆ÷ÉÏÒÔAdministratorÉí·ÝµÇ¼µ½Windows
2.Í£Ö¹ËùÓÐOracleÏà¹ØµÄ·þÎñ¡£ÕâЩ·þÎñÃû³Æͨ³£ÊÇÒÔOracle´òÍ·
3.Í£Ö¹Distributed Transaction Coordinator·þÎñ
4.±¸·ÝÓëOracleÊý¾Ý¿âÏà¹ØµÄËùÓÐÎļþ£¨°üÀ¨OracleÊý¾Ý¿âÈí¼þ¼°Êý¾ÝÎļþ£©£¬°ÑÕâЩÎļþ°´ÔÓеÄĿ¼½á¹¹¸´ÖƵ½°²È«µÄµØ·½£¬²¢× ......
¶ÔÓÚx$µÄÇé¿ö
SQL> grant select on sys.x$bh to t1;
grant select on sys.x$bh to t1
ERROR at line 1:
ORA-02030: can only select from fixed tables/views
¶ÔÓÚfixed tables/viewsÖ»ÄÜselect
Èç¹ûÏë°Ñx$bhµÄselectȨÏÞgrant¸øÆäËûÓû§Ôõô°ìÄØ,¿ÉÒÔ±äͨһÏÂ
SQL> create view xbh as select * from sys.x$ ......