ORACLE°²×°Ö®ºóµÇ½Éí·ÝÖ¤Ã÷²»ÕýÈ·
2009-01-02 10:02
µÇ½Éí·ÝÖ¤Ã÷²»ÕýÈ·
OracleÊý¾Ý¿âÓÐÈýÖÖ±ê×¼µÄ±¸·Ý·½·¨£¬ËüÃÇ·Ö±ðΪµ¼³ö/µ¼È루EXPORT/IMPORT£©¡¢À䱸·Ý¡¢Èȱ¸·Ý¡£µ¼³ö±¸·ÝÊÇÒ»ÖÖÂß¼±¸·Ý£¬À䱸·ÝºÍÈȱ¸·ÝÊÇÎïÀí±¸·Ý¡£
Òª½øÐб¸·ÝºÍ»Ö¸´²Ý£¬±ØÐëÔÚÁ¬½Óµ½Oracle Manager Serverºó²ÅÄܽøÐС£Èç¹ûδ´´½¨×ÊÁϵµ°¸¿â£¬ÔÚʹÓÃOracle Management Serverʱ½«»á³öÏÖÈçÏ´íÎó:
µÇ½Éí·ÝÖ¤Ã÷²»ÕýÈ·
»òÕß
VTK-1000£ºÎÞ·¨Á¬½Óµ½Management server¡£ÇëÑéÖ¤ÄúÒÑÊäÈëOracle Management ServerµÄÕýÈ·Ö÷»úÃûºÍ״̬¡£
Òò´Ë£¬±ØÐëÏÈ´´½¨Oracle Enterprise Manager×ÊÁϵµ°¸¿â,ÒÔ±ãÄÜÁ¬½Óµ½Oracle Management Server¡£´´½¨Oracle Manager Server×ÊÁϵµ°¸¿âµÄ²½Ö裺
1¡¢“¿ªÊ¼→³ÌÐò→Oracle→OraHome92→Configuration and Migration”£¬Ê¹ÓÃÆäÖеēEnterprise Manager Configuration Assistant”³ÌÐòÅäÖñ¾»úµÄOracle Management Server£¬´´½¨Ò»¸öеĵµ°¸×ÊÁÏ¿â¡£
2¡¢µÇ¼Oracle Management Server
½¨Á¢Íê×ÊÁϵµ°¸¿âºó£¬¾Í¿ÉÒÔʹÓÃOEMÁË¡£Çë°´ÈçϲÙ×÷½øÐУº
“¿ªÊ¼→³ÌÐò→Oracle→OraHome92→Enterprise Manager Console”,µÇ¼·½Ê½²»Ñ¡Ôñ¶ÀÁ¢Æô¶¯£¬ÒªÑ¡ÔñµÇ¼µ½Oracle Management Server¡£¼¤»îOracle Enterprise Manager ConsoleµÄµÇ¼´°¿Úºó£¬Ôڸô°¿ÚÖÐÓû§ÒªÌṩÏàÓ¦µÄ¹ÜÀíÔ±Ãû³Æ¡¢¿ÚÁîºÍManagement Server¡£Enterprise ManagerÓÐһĬÈϹÜÀíÔ±sysman,¿ÚÁîΪoem_temp£¬Management ServerÇëÌîдÖ÷»úÃû»ò¼ÆËã»úIPµØÖ·¡£
3¡¢µÇ¼³É¹¦ºó£¬OracleÌáʾ¸ü¸ÄsysmanÓû§¿ÚÁî¡£Èç¹ûµÇ¼²»³É¹¦£¬Çë¼ì²éÔÚ¿ØÖÆÃæ°åÖГ·þÎñ”ÖÐOracle Management Server·þÎñÊÇ·ñÒÑÆô¶¯,ÈçδÆô¶¯ÇëÊÖ¶¯Æô¶¯¡£
4¡¢Á¬½Óµ½Òª²Ù×÷µÄÊý¾Ý¿â
ÔÚOEM×ó²àµÄĿ¼Ê÷ÖУ¬µ¥»÷Òª±¸·ÝµÄÊý¾Ý¿âÃû£¬ÔÚËæºó³öÏֵĵǼ¿òÖÐÊäÈëÕýÈ·µÄÓû§Ãû¡¢¿ÚÁî¼°Á¬½ÓÉí·Ý£¬´Ëʱ¸ÃÊý¾Ý¿âÒÑÓë¹ÜÀí·þÎñÆ÷Á¬½Ó¡£
5¡¢½¨Á¢Ê×Ñ¡Éí·ÝÖ¤Ã÷
Ê×Ñ¡Éí·ÝÖ¤Ã÷µÄ×÷ÓÃÊÇÅäÖÃÒ»¸öÊý¾Ý¿âÓû§Ö´ÐÐÊý¾Ý¿âά»¤²Ù×÷£¬ÔÚ¶ÔÊý¾Ý¿â½øÐб¸·ÝÓë»Ö¸´µÈ²Ù×÷µÄ¹ý³ÌÖУ¬Óû§²»±ØÊäÈëÓû§¼°¿ÚÁî¡£ÔÚOEMÖдò¿ªÅäÖò˵¥£¬Ñ¡Ôñ“Ê×Ñ¡Éí·ÝÖ¤Ã÷”Ñ¡Ï´ò¿ª“±à¼¹ÜÀíÔ±Ê×Ñ¡Ïî&r
Ïà¹ØÎĵµ£º
Ò»¡¢ÏµÍ³µÄĬÈÏÓû§
Java´úÂë
sys;//ϵͳ¹ÜÀíÔ±£¬ÓµÓÐ×î¸ßȨÏÞ
system;//±¾µØ¹ÜÀíÔ±£¬´Î¸ßȨÏÞ
scott;//ÆÕͨÓû§£¬ÃÜÂëĬÈÏΪtiger,ĬÈÏδ½âËø
¶þ¡¢µÇ½
Java´úÂë
sqlplus conn / as sysdba;//µÇ½sysÕÊ»§ ......
OracleϵÁУº¼Ç¼£¨Record£©
Ò»£¬Ê²Ã´ÊǼǼ£¨Record£©£¿
Óɵ¥ÐжàÁеıêÁ¿¹¹³ÉµÄ¸´ºÏ½á¹¹¡£¿ÉÒÔ¿´×öÊÇÒ»ÖÖÓû§×Ô¶¨ÒåÊý¾ÝÀàÐÍ¡£×é³ÉÀàËÆÓÚ¶àάÊý×é¡£
½«Ò»¸ö»ò¶à¸ö±êÁ¿·â×°³ÉÒ»¸ö¶ÔÏó½øÐвÙ×÷¡£ÊÇÒ»ÖÖÁÙʱ¸´ºÏ¶ÔÏóÀàÐÍ¡£
¼Ç¼¿ÉÒÔÖ±½Ó¸³Öµ¡£RECORD1 :=RECORD2£»
¼Ç¼²»¿ÉÒÔÕûÌå±È½Ï. ......
RMAN> startup nomount;
RMAN> sql 'alter session set nls_date_format=''yyyy-mm-dd hh24:mi:ss''";
--ÒòΪrmanĬÈÏÒÔ»·¾³±äÁ¿À´¶Áȡʱ¼ä¸ñʽ£¬ÓësqlplusµÄ¹Ì¶¨¸ñʽ²»Í¬£¬ËùÒÔ£¬´Ë´¦ÒªÉ趨ʱ¼ä¸ñʽ±äÁ¿¡£
RMAN> restore controlfile from autobackup until time '2009-03-10 18:15:00';
×¢Ò⣬ÈÔÈ»ÐèÒªÊʵ±µ ......
½ñÄêµÄOracleÈ«Çò´ó»áÓÚ10ÔÂ11ÈÕ£15ÈÕÔÚÃÀ¹ú¾É½ðɽµÄMosconeÖÐÐÄÒѾÀ¿ªÐòÄ»ÁË¡£
¡¡¡¡ Oracle¶ÔSun¹«Ë¾µÄ³¤Æڼƻ®ÎÞÒÉÊDZ¾´ÎOOW´ó»áµÄ½¹µã¡£µ«ÔÚ̸ÂÛÕâ¸ö»°Ìâ֮ǰ£¬ÎÒÃÇ×¼±¸ÁËÒ»×é´ó»áµÄÓÐȤÊý¾Ý£¬ÏÈÈôó¼Ò¶Ô±¾´Î´ó»áÓиöÕûÌåµÄÓ¡Ïó¡£
¡¡¡¡ÓйØÕû¸ö´ó»áµÄÊý×Ö£º
¡¡¡¡· ½ü4.3ÍòÈ˵½»á
¡¡¡¡· ΪÃÀ¹ ......
Ô´´ÓÚ2007Äê04ÔÂ12ÈÕ£¬2009Äê10ÔÂ15ÈÕǨÒÆÖÁ´Ë¡£
windows xp£¬Êý¾Ý¿âoracle 10.2.0¡£1
ûÓб¸·Ý£¬»ù±¾ÉÏÊÇĬÈÏ°²×°£¬ºÃÏñ»¹²»Êǹ鵵ģʽ
Ö¢×´£ºsqlplusÖ»ÓÐsysdbaÓû§ÄܽøÈ¥£¬ÆäËûÓû§½øÈ¥Ò»¸Å±¨£ºora-01033£ºoracleÕýÔÚ³õʼ»¯»ò¹Ø±Õ
¶øÇÒsysdbaÓû§½øÈ¥Ö®ºóÄÜÖ´ÐÐselect sysdate from dual£¬µ«ÊÇÖ´ÐÐselect use ......