View and Retrieve Oracle Database Link Details ÀÌ ¹®¼­°¡ Àû¿ëµÇ´Â ¿À¶óŬ µ¥ÀÌÅͺ£À̽º¸¦ ¿¬°á ¼¼ºÎ Á¤º¸ ¹× °Ë»ö

In Oracle, database links are named objects that are created in one database which contains detail and instruction that describes how to connect to another, entirely different, database. ÀÌ ¿À¶óŬ, µ¥ÀÌÅͺ£À̽º ¸µÅ©ÀÇ À̸§Àº °³Ã¼°¡ ¸¸µé¾î ¼¼ºÎ Á¤º¸ ¹× ÁöħÀ» Æ÷ÇÔÇÏ´Â ÇÑ µ¥ÀÌÅͺ£À̽º¿¡ ¿¬°áÇÏ´Â ¹æ¹ý¿¡ ´ëÇØ ¼³¸íÇÕ´Ï´Ù ¶Ç ´Ù¸¥, ¿ÏÀüÈ÷ ´Ù¸¥, µ¥ÀÌÅͺ£À̽ºÇÕ´Ï´Ù. Database links are is a mean of performing distributed database processing, and can be used to retrieve data from a remote database of different version, or running on different operating system. µ¥ÀÌÅͺ£À̽º ¸µÅ©´Â ¶æÀÇ °ø¿¬Àº ºÐ»ê µ¥ÀÌÅͺ£À̽º¸¦ ó¸® ¹× µ¥ÀÌÅ͸¦ °Ë»öÇÒ ¼öÀÖ´Â ¿ø°Ý µ¥ÀÌÅͺ£À̽º¸¦ »ç¿ëÇÏ¿© ´Ù¸¥ ¹öÀüÀ¸·Î, ¶Ç´Â ´Ù¸¥ ¿î¿µ üÁ¦¿¡¼­ ½ÇÇàÇÕ´Ï´Ù.

If you want to know whether any database links exist in data dictionary views, and where the database links connect to, you can get the information from DBA_DB_LINKS view. ¸ðµç µ¥ÀÌÅͺ£À̽º¿Í ¿¬°áÇÏ´Â °æ¿ì¿¡ Á¸Àç ¿©ºÎ¸¦ ¾Ë°í ½Í´Ù µ¥ÀÌÅ͸¦ »çÀü Á¶È¸, ±×¸®°í µ¥ÀÌÅͺ£À̽º ¸µÅ©°¡ ¾îµð¿¡ ¿¬°áÇÏ¿©,ÀÌ ¹®¼­°¡ Àû¿ëµÇ´Â dba_db_linksÀÖ´Â Á¤º¸¸¦ ¾òÀ» ¼öÀÖ½À´Ï´Ù.

Just launch your SQL*Plus or Toad, or whatever convenient to you and query the dba_db_links table. ´ç½ÅÀÇ À̾߱⸦ ½ÃÀÛ sql * Ç÷¯½º ¶Ç´Â µÎ²¨ºñ, ¶Ç´Â ¾î¶² dba_db_links Å×À̺íÀ» Äõ¸®ÇÏ´Â ´ç½Å°ú Æí¸®ÇϰÔÇÕ´Ï´Ù. For example: ¿¹¸¦ µé¸é :

SQL> select * from dba_db_links; sql>À» ¼±Åà * dba_db_links;

And you will be seeing listing of database links defined, with details of OWNER, DB_LINK, USERNAME, HOST, and CREATED, which the column name itself is more or less self-explanatory. ±×¸®°í ´ç½ÅÀº µ¥ÀÌÅͺ£À̽º¸¦ ¸µÅ© ¸ñ·ÏÀ» º¼ ¼ö Á¤ÀÇ¿¡ ´ëÇÑ ÀÚ¼¼ÇÑÀÇ ¼ÒÀ¯ÀÚ, db_link, »ç¿ëÀÚ À̸§, È£½ºÆ®, »ý¼º, ¾î´À Á¤µµÀÇ ¿­ À̸§ ÀÚü°¡ ÀÚ±â - ¼³¸íÇÕ´Ï´Ù.

Normally the OWNER of the database link is the person who created it, unless it was created as a public link, in which case a pseudo-user called PUBLIC is said to own it. ÀϹÝÀûÀ¸·Î µ¥ÀÌÅͺ£À̽ºÀÇ ¼ÒÀ¯ÀÚ°¡ ¸¸µç ¸µÅ©°¡ÀÖ´Â »ç¶÷ÀÌ ¾Æ´Ï¶ó¸é °ø°ø ¸µÅ©·Î ¸¸µé¾îÁø °ÍÀÌÁö¸¸,ÀÌ °æ¿ì °ø°øÀ̶ó°í ºÒ¸®´Â °¡Â¥ - »ç¿ëÀÚ°¡ ¼ÒÀ¯ÇϰíÀÖ½À´Ï´Ù.

Beside, if you define connection host string as an entry (alias) from tnsnames.ora when creating the database links, the HOST column will show the tnsnameas alias, and not the host or remote server name that the database link is connecting to. ¿·ÀÇ, È£½ºÆ® ¹®ÀÚ¿­·Î ¿¬°áÇÏ´Â Ç׸ñÀ» Á¤ÀÇÇÏ´Â °æ¿ì (º°Äª)¿¡¼­ tnsnames.ora¸¦ ¸¸µé ¶§ µ¥ÀÌÅͺ£À̽º¸¦ ¿¬°á, º°ÄªÀ» tnsnameasÀÇ È£½ºÆ® ¿­Àº Ç¥½Ã°¡ ¾Æ´Ñ È£½ºÆ® ¶Ç´Â ¿ø°Ý ¼­¹ö¿¡ À̸§ÀÌ µ¥ÀÌÅͺ£À̽º¸¦ ¿¬°áÇÏ´Â ¸µÅ©°¡ÀÖ½À´Ï´Ù. You have to check tnsnames.ora to get the connection details. tnsnames.ora¸¦ ´ç½ÅÀÇ ¿¬°á ¼¼ºÎ »çÇ×À» Á¡°ËÇÕ´Ï´Ù.

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. Áß¿ä »çÇ× : À̰ÍÀº ±â°è ¹ø¿ª ÆäÀÌÁö´Â "ÀÖ´Â ±×´ë·Î"Á¦°øÇÏÁö ¾Ê°í º¸ÁõÇÕ´Ï´Ù. Machine translation may be difficult to understand. ±â°è ¹ø¿ªÀ» ÀÌÇØÇϱ⠾î·Á¿ï ¼öÀÖ½À´Ï´Ù. Please refer to ¸¦ ÂüÁ¶ÇϽñ⠹ٶø´Ï´Ù original English article ±âÁ¸ ¿µ¾î ÀÚ·á whenever possible. ¾ðÁ¦ ¼öÀÖ½À´Ï´Ù.

Share and contribute or get technical support and help at ¸¦ °øÀ¯ÇÏ°í ±â¼ú Áö¿ø ¹× µµ¿òÀ» °øÇåÇÏÁö ¾Ê´Â´Ù¸é My Digital Life Forums ³» µðÁöÅÐ ¶óÀÌÇÁ °ø°³ Åä·Ð . ÇÕ´Ï´Ù.



One Response to ¡°View and Retrieve Oracle Database Link Details¡± ÇϳªÀÇ ´ëÀÀÃ¥À» "ÀÌ ¹®¼­°¡ Àû¿ëµÇ´Â ¿À¶óŬ µ¥ÀÌÅͺ£À̽º¸¦ ¿¬°áÇÏ°í °Ë»ö ¼¼ºÎ »çÇ×"

  1. Vivek Raman ¶ó¸¸ vivek
    July 15th, 2008 14:33 2008³â 7¿ù 15ÀÏ 14:33
    1

    For Oracle 9i and Greater, ¿¡ ´ëÇÑ ¿À¶óŬ 9i ÀÌ»ó,

    Use »ç¿ë
    Select * from ALL_DB_LINKS *¸¦ ¼±ÅÃÇϽʽÿÀ all_db_links

    This view is present in the SYS Schema ÀÌ ¹®¼­°¡ Àû¿ëµÇ´Â ½Ã½ºÅÛ¿¡¼­ ½ºÅ°¸¶°¡ Á¸Àç

    RvK rvk

Leave a Reply ³²±æ ȸ½Å

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> ÀÌ·¯ÇÑ Å±׸¦ »ç¿ëÇÒ ¼öÀÖ½À´Ï´Ù : <a href="" title=""> <acronym title=""> <abbr title=""> <blockquote cite=""> <b> <cite> <code> <µ¨ ³¯Â¥ = ""> <em> <i> <strike> '<q cite="">

Subscribe without commenting ³íÆò¾øÀÌ ±¸µ¶ ½Åû
À̸ÞÀÏ


Custom Search

New Articles »õ·Î¿î ±â»ç

Incoming Search Terms for the Article ÀÌ ¹®¼­¿¡ ´ëÇÑ °Ë»ö¾î¸¦ ¼ö½Å

oracle dblink ¿À¶óŬ dblink - - oracle list database links ¿À¶óŬ ¸ñ·Ï µ¥ÀÌÅͺ£À̽º¸¦ ¿¬°á - - Oracle DBLinks ¿À¶óŬ dblinks - - oracle show database links ¿À¶óŬ µ¥ÀÌÅͺ£À̽º¸¦ ¸µÅ© Ç¥½Ã - - dblinks in oracle ¿À¶óŬÀÇ dblinks - - oracle view database links ÀÌ ¹®¼­°¡ Àû¿ëµÇ´Â ¿À¶óŬ µ¥ÀÌÅͺ£À̽º¸¦ ¿¬°á - - view database links ÀÌ ¹®¼­°¡ Àû¿ëµÇ´Â µ¥ÀÌÅͺ£À̽º¸¦ ¿¬°á - - database link view ÀÌ ¹®¼­°¡ Àû¿ëµÇ´Â µ¥ÀÌÅͺ£À̽º¸¦ ¿¬°á - - oracle database link view ÀÌ ¹®¼­°¡ Àû¿ëµÇ´Â ¿À¶óŬ µ¥ÀÌÅͺ£À̽º¸¦ ¿¬°á - - dblinks Oracle ¿À¶óŬ dblinks - - Oracle Dblink view ÀÌ ¹®¼­°¡ Àû¿ëµÇ´Â ¿À¶óŬ dblink - - show database link µ¥ÀÌÅͺ£À̽º ¸µÅ©¸¦ Ç¥½Ã - - dblink view ÀÌ ¹®¼­°¡ Àû¿ëµÇ´Â dblink - - oracle view database link ÀÌ ¹®¼­°¡ Àû¿ëµÇ´Â ¿À¶óŬ µ¥ÀÌÅͺ£À̽º ¸µÅ© - - show database in oracle ¿À¶óŬ µ¥ÀÌÅͺ£À̽º¿¡¼­º¸±â - - oracle view dblink ÀÌ ¹®¼­°¡ Àû¿ëµÇ´Â ¿À¶óŬ dblink - - oracle show database link ¿À¶óŬ µ¥ÀÌÅͺ£À̽º ¸µÅ©¸¦ Ç¥½Ã - - list database links oracle ¸ñ·Ï µ¥ÀÌÅͺ£À̽º¸¦ ¿¬°á ¿À¶óŬ - - view database link ÀÌ ¹®¼­°¡ Àû¿ëµÇ´Â µ¥ÀÌÅͺ£À̽º ¸µÅ© - - oracle dblink table ¿À¶óŬ dblink Å×À̺íÀ» - - db_links oracle ¿À¶óŬ db_links - - oracle database links view ¿À¶óŬ µ¥ÀÌÅͺ£À̽º ¸µÅ©°¡ÀÌ ¹®¼­°¡ Àû¿ëµÇ´Â - - oracle list dblink ¿À¶óŬ¸®½ºÆ® dblink - - view dblink ÀÌ ¹®¼­°¡ Àû¿ëµÇ´Â dblink - - view database link oracle ÀÌ ¹®¼­°¡ Àû¿ëµÇ´Â ¿À¶óŬ µ¥ÀÌÅͺ£À̽º¸¦ ¿¬°á - - dblink table in oracle ¿À¶óŬ dblink Å×ÀÌºí¿¡ - - find database links in oracle ¿À¶óŬ µ¥ÀÌÅͺ£À̽º ¸µÅ©¸¦ ã¾Æ - - oracle show dblink ¿À¶óŬ dblinkº¸±â - - view dblink oracle ÀÌ ¹®¼­°¡ Àû¿ëµÇ´Â ¿À¶óŬ dblink - - oracle database link table ¿À¶óŬ µ¥ÀÌÅͺ£À̽º¸¦ ¿¬°á Å×À̺íÀ» - - show database links oracle ¿À¶óŬ µ¥ÀÌÅͺ£À̽º ¸µÅ©°¡ Ç¥½Ã - - oracle show db links ¿À¶óŬ dB ¸µÅ©°¡ Ç¥½Ã - - database link view in oracle ¿À¶óŬ µ¥ÀÌÅͺ£À̽º ¸µÅ©¸¦º¸±â¿¡ - - check database link µ¥ÀÌÅͺ£À̽º ¸µÅ©¸¦ È®ÀÎ - - oracle db links view dB ¸µÅ©°¡ÀÌ ¹®¼­°¡ Àû¿ëµÇ´Â ¿À¶óŬ - - oracle view db links ¿À¶óŬ dB ¸µÅ©°¡ÀÌ ¹®¼­°¡ Àû¿ëµÇ´Â - - view dblinks ÀÌ ¹®¼­°¡ Àû¿ëµÇ´Â dblinks - - check dblink üũ dblink - - find dblink dblink ã±â - - oracle check database link ¿À¶óŬ µ¥ÀÌÅͺ£À̽º ¸µÅ©¸¦ È®ÀÎ - - oracle find dblink ¿À¶óŬ dblink ã±â - - view database links oracle ÀÌ ¹®¼­°¡ Àû¿ëµÇ´Â ¿À¶óŬ µ¥ÀÌÅͺ£À̽º¸¦ ¿¬°á - - toad db link µÎ²¨ºñ dB ¸µÅ© - - oracle db_link ¿À¶óŬ db_link - - how to check dblink dblink¸¦ È®ÀÎÇÏ´Â ¹æ¹ý - - oracle db_links ¿À¶óŬ db_links - - check database link in oracle ¿À¶óŬ µ¥ÀÌÅͺ£À̽º ¸µÅ©¸¦ È®ÀÎ - - show database links ¼¼ºÎ Á¤º¸ µ¥ÀÌÅͺ£À̽º¸¦ ¿¬°á - - oracle database links ¿À¶óŬ µ¥ÀÌÅͺ£À̽º¸¦ ¿¬°á - - dblink views dblink Á¶È¸ - -