Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Oracle 10G Êý¾Ý±Ãѧϰ¼ÍÒª£¨expdp/impdp£©

ʵÀý£º
    1¡¢Í¨¹ýDBLINKµÄ·½Ê½£º±í¿Õ¼ä²»Ò»Ñù
impdp logfile=DUP_MCMDB.LOG network_link=to_crm_7 schemas=MCMDB  REMAP_TABLESPACE=table_space11:table_space12,table_space21:table_space22
    2¡¢Í¨¹ýDBLINKµÄ·½Ê½£º·½°¸£¨schemas£©²»Ò»Ñù
impdp logfile=DUP_MCMDB.LOG network_link=to_crm_7 schemas=MCMDB  remap_schema=MCMDB:MCMDB1
    Ç°ÑÔ£º
    Oracle Database 10gÒýÈëÁË×îеÄÊý¾Ý±Ã£¨Data Dump£©¼¼Êõ£¬Ê¹DBA»ò¿ª·¢ÈËÔ±¿ÉÒÔ½«Êý¾Ý¿âÔªÊý¾Ý£¨¶ÔÏó¶¨Ò壩ºÍÊý¾Ý¿ìËÙÒƶ¯µ½ÁíÒ»¸öoracleÊý¾Ý¿âÖС£
    Êý¾Ý±Ãµ¼³öµ¼È루EXPDPºÍIMPDP£©µÄ×÷ÓÃ
    1£¬ÊµÏÖÂß¼­±¸·ÝºÍÂß¼­»Ö¸´¡£
    2£¬ÔÚÊý¾Ý¿âÓû§Ö®¼äÒƶ¯¶ÔÏó¡£
    3£¬ÔÚÊý¾Ý¿âÖ®¼äÒƶ¯¶ÔÏó
    4£¬ÊµÏÖ±í¿Õ¼ä°áÒÆ¡£
    Êý¾Ý±Ãµ¼³öµ¼ÈëÓ봫ͳµ¼³öµ¼ÈëµÄÇø±ð£ºÔÚ10g֮ǰ£¬´«Í³µÄµ¼³öºÍµ¼Èë·Ö±ðʹÓÃEXP¹¤¾ßºÍIMP¹¤¾ß£¬´Ó10g¿ªÊ¼£¬²»½ö±£ÁôÁËÔ­ÓеÄEXPºÍIMP¹¤¾ß£¬»¹ÌṩÁËÊý¾Ý±Ãµ¼³öµ¼È빤¾ßEXPDPºÍIMPDP.ʹÓÃEXPDPºÍIMPDPʱӦ¸Ã×¢ÒâµÄÊÂÏEXPºÍIMPÊÇ¿Í»§¶Î¹¤¾ß³ÌÐò£¬ËüÃǼȿÉÒÔÔÚ¿ÉÒÔ¿Í»§¶ËʹÓã¬Ò²¿ÉÒÔÔÚ·þÎñ¶ËʹÓá£
    EXPDPºÍIMPDPÊÇ·þÎñ¶ËµÄ¹¤¾ß³ÌÐò£¬ËûÃÇÖ»ÄÜÔÚORACLE·þÎñ¶ËʹÓ㬲»ÄÜÔÚ¿Í»§¶ËʹÓÃIMPÖ»ÊÊÓÃÓÚEXPµ¼³öÎļþ£¬²»ÊÊÓÃÓÚEXPDPµ¼³öÎļþ£»IMPDPÖ»ÊÊÓÃÓÚEXPDPµ¼³öÎļþ£¬¶ø²»ÊÊÓÃÓÚEXPµ¼³öÎļþ¡£
    Êý¾Ý±Ãµ¼³ö°üÀ¨µ¼³ö±í£¬µ¼³ö·½°¸£¬µ¼³ö±í¿Õ¼ä£¬µ¼³öÊý¾Ý¿â4ÖÖ·½Ê½¡£
    ½¨Ä¿Â¼Ó븳Ȩ£º
    SQL>create directory dump_dir as '/u01/dmdir'£»
    SQL>grant read£¬write on directory to test£»
    SQL>select * from dba_directories£» ——²é¿´Ä¿Â¼
EXPDPÃüÁîÐÐÑ¡Ïî
    1. ATTACH
    ¸ÃÑ¡ÏîÓÃÓÚÔÚ¿Í»§»á»°ÓëÒÑ´æÔÚµ¼³ö×÷ÓÃÖ®¼ä½¨Á¢¹ØÁª¡£Óï·¨ÈçÏÂ
    ATTACH=[schema_name.]job_name
    Schema_nameÓÃÓÚÖ¸¶¨·½°¸Ãû£¬job_nameÓÃÓÚÖ¸¶¨µ¼³ö×÷ÒµÃû¡£×¢Ò⣬Èç¹ûʹÓÃATTACHÑ¡ÏÔÚÃüÁîÐгýÁËÁ¬½Ó×Ö·û´®ºÍATTACHÑ¡ÏîÍ⣬²»ÄÜÖ¸¶¨ÈκÎÆäËûÑ¡ÏʾÀýÈçÏ£ºExpdp scott/tiger ATTACH=sco


Ïà¹ØÎĵµ£º

oracle¸´Ï°£¨Ò»£© Ö®OracleÌåϵ½á¹¹

      ѧϰOracle DBAÒ²°ë¸ö¶àѧÆÚÁË£¬½ñÌìÃÍÈ»²Å·¢ÏÖ£¬Ô­À´ÎÒµÄÊ黹ÊǺÜеģ¬ÉϿβÙ×÷ʱºòÒ²Ö»ÊÇÖªµÀ´ó¸ÅÔõô×ö£¬µ«ÊÇÒªÕæµÄÈ«²¿×Ô¼º×ö£¬¶ø²»È¥·­Ê黹ÊÇÓÐÒ»¶¨µÄÄѶȵģ¬ËùÒÔÄØ£¬½ñÌ쿪ʼ½«DBA´ÓÍ·¸´Ï°Ò»±é£¬Í¬Ê±ÔÙ²Ù×÷Ò»±é¡£
      µÚÒ»Õ£¬Ñ§µÄÊÇOracleµÄÌåϵ½á¹¹£ ......

oracleÊÂÎñµÄÖ´Ðйý³Ì

1.¿Í»§¶ËÁ¬½ÓÖÁoralce:
             Ê×ÏÈ¿Í»§¶ËÁ¬½ÓÖÁoracleµÄ¼àÌýÆ÷,È»ºó¼àÌýÆ÷·ÖÅäÒ»¸öÊý¾Ý¿âʵÀý(ÕâÀïµÄÊÇʵÀý)¸ø¿Í»§¶Ë,È»ºó¿Í»§¶ËÒÔºó¾ÍÖ±½ÓÓëÕâ¸öÊý¾Ý¿âʵÀý½øÐÐÁ¬½Ó,Ö±ÖÁ¶Ï¿ªÓëoracleµÄÁ¬½Ó.
 
2.Ìá½»sql:
  (1)¿Í»§¶ËÓû§Ìá½»Ò»¸ösql ......

Oracle Êý¾Ý¿âµÄ°ó¶¨±äÁ¿ÌØÐÔ¼°Ó¦ÓÃ

¹Ø¼ü´Ê:
°ó¶¨±äÁ¿(binding variable),¹²Ïí³Ø(shared buffer pool), SGA(system global area);
ÔÚ¿ª·¢Ò»¸öÊý¾Ý¿â
ϵͳǰ,ÓÐË­¶ÔOracle ϵͳÁ˽âºÜ¶à,ÓÈÆäÊÇËüµÄÌØÐÔ,ºÃÏóºÜÉÙ°É;¶Ô³õѧÕßÀ´½²,Õâ¸üÊDz»¿ÉÄܵÄÊÂÇé;½ö½ö¼òµ¥ÕÆÎÕÁËSQL
µÄд·¨,¾Í¿ªÊ¼ÁËÊý¾Ý¿âµÄ¿ª·¢,Æä½á¹ûÖ»ÄÜÊÇ¿ª·¢Ò»¸öûÓÐЧÂÊ,ҲûÓпÉÀ©Õ¹µÄϵͳ;
j8m ......

oracle ±í½á¹¹µÄÐÞ¸Ä

¸ü¸Ä±íµÄ½á¹¹
1.±à¼­±íµÄ×Ö¶Î
  ÐÞ¸ÄÒ»¸öÁеÄÊý¾ÝÀàÐÍ(Ò»°ãÏÞÓÚÐ޸ij¤¶È£¬ÐÞ¸ÄΪһ¸ö²»Í¬ÀàÐÍʱÓÐÖî¶àÏÞÖÆ):
  Óï·¨:
    ALTER TABLE ±íÃû MODIFY(ÁÐÃû Êý¾ÝÀàÐÍ);
 eg1:
   alter table skate_test modify (author number(10,0) )
   ÔÚÐÞ¸ÄÁеij¤¶Èʱºò,Ö»Äܱ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ