datadump(impdp) ¼³¸í
ÀÛ¼ºÀÚ °ü¸®ÀÚ ÀÛ¼º½Ã°£ 2016-02-16 16:04:42
 

impdp °ü·Ã ÆĶó¹ÌÅÍ

impdp °ü·Ã ÆĶó¹ÌÅÍ´Â °ÅÀÇ expdp¿Í ºñ½ÁÇÑ °ÍÀÌ ¸¹¾Æ¼­ Áߺ¹¼³¸íÀº »ý·«ÇÏ°ÙÀ¸´Ï expdp¸¦ Âü°íÇϼ¼¿ä

content
include
exclude

table_exists_action : impdp ¿¡ ¸¸ ÀÖ´Â ¿É¼ÇÀ¸·Î µ¿ÀÏÇÑ À̸§ÀÇ Å×À̺íÀÌ Á¸ÀçÇÒ ¶§ Å×À̺íÀÇ µ¥ÀÌÅÍ°¡ ´Ù¸¦ °æ¿ì°¡  ÀÖ½À´Ï´Ù.

-skip : °°Àº Å×À̺íÀ» ¸¸³ª¸é °Ç³Ê¶Ù°í ´ÙÀ½Å×À̺íÀ» impdp ÇÔ
-append : °°Àº Å×À̺íÀ» ¸¸³ª¸é ±âÁ¸³»¿ë¿¡ µ¥ÀÌÅ͸¦ Ãß°¡
-truncate : °°Àº Å×À̺íÀ» ¸¸³ª¸é ±âÁ¸ Å×À̺íÀ» truncate ÇÏ°í »õ·Î impdp ÇÕ´Ï´Ù
-drop : ±âÁ¸ Å×À̺íÀ» dropÇÏ°í Å×À̺íÀ» »õ·Î ¸¸µé¾î¼­ »õ·Î¿î ³»¿ëÀ» impdp ÇÕ´Ï´Ù

remap_schema : scott user·Î expdp ¹ÞÀº Å×À̺íÀ» ´Ù¸¥ À¯Àú·Î impdp ÇÒ¶§ »ç¿ë

ex)impdp system/oracle directory=datapump dumpfile=scott.dmp schemas=scott \
    include=table:\"\=\'emp\'\" remap_schema=scott:hr
remap_datafile : ±âÁ¸ ¼­¹öÀÇ µ¥ÀÌÅÍÆÄÀÏ Á¤º¸¸¦ ÀÌÀü ÈÄ ¼­¹öÀÇ µ¥ÀÌÅÍÆÄÀÏ·Î ¸ÅÇÎÇØÁÖ´Â ÆĶó¹ÌÅÍ
                      expdp µÈ ´ýÇÁ ÆÄÀÏ ¾È¿¡ µ¥ÀÌÅÍ ÆÄÀÏ Á¤º¸¸¦ °¡Áö°í ÀÖ´Â °æ¿ì¸¸ »ç¿ë°¡´É
          ex)impdp system/oracle full=y  directory=datapump dumpflie=full01.dmp \
                remap_datafile='/data1/users01.dbf':'/data2/users01.dbf'

remap_tablespace : ±âÁ¸ Å×ÀÌºí½ºÆäÀ̽º¿¡¼­ ´Ù¸¥ Å×ÀÌºí½ºÆäÀ̽º·Î Å×À̺íÀ» impdp½Ãų¶§ »ç¿ë

ex) impdp system/oracle directory=datapump dumpfile=scott.dmp \

    remap_tablespace ='users':'example' schemas=scott
network_link

[Ãâó] datadump(impdp)|ÀÛ¼ºÀÚ oracleguy


¸ñ·Ï | ÀÔ·Â | ¼öÁ¤ | ´äº¯ | »èÁ¦