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 ³» µðÁöÅÐ ¶óÀÌÇÁ °ø°³ Åä·Ð . ÇÕ´Ï´Ù.
Related Articles °ü·Ã ±â»ç
- Oracle Database Link ¿À¶óŬ µ¥ÀÌÅͺ£À̽º ¸µÅ©
- Check Oracle Version ¿À¶óŬ ¹öÀü È®ÀÎ
- Oracle Database Import Error 3113/3114 ¿À¶óŬ µ¥ÀÌÅͺ£À̽º¸¦ ¼öÀÔ ¿À·ù 3,114ºÐÀÇ 3,113
- Change Oracle Database User Password ¿À¶óŬ µ¥ÀÌÅͺ£À̽º »ç¿ëÀÚ ºñ¹Ð ¹øÈ£ º¯°æ
- Create, Add or Split Oracle Database Partition Fails with ORA-14080 Error ¸¸µé°Å³ª, ¿À¶óŬ µ¥ÀÌÅͺ£À̽º ÆÄƼ¼Ç ºÐÇÒÀ» Ãß°¡Çϰųª ¿À¶ó - 14080 ¿À·ù¿Í ÇÔ²² ½ÇÆÐ
- How Drop Tablespace and Recover Oracle Database When Accidentally Delete Datafile ¿À¶óŬ µ¥ÀÌÅͺ£À̽º Å×ÀÌºí °ø°£ ¹× º¹±¸ÇÏ´Â ¹æ¹ýÀ» µå·Ó ½Ç¼ö·Î µ¥ÀÌÅÍ ÆÄÀÏÀ» »èÁ¦
- Oracle EXP-00091 Error When Export Database ¿À¶óŬ µ¥ÀÌÅͺ£À̽º¸¦ ¼öÃâ - 00091 ¿À·ù°¡ ¹ß»ýÇß½À´Ï´Ù ³»º¸³»±â
- Manual and Clean Uninstall Oracle for Windows ¿À¶óŬ¿¡ ´ëÇÑ ¸Å´º¾ó ¹× û¼Ò¸¦ Á¦°Å windows
- Oracle JDeveloper Reviews ¿À¶óŬÀÇ ¸®ºä jdeveloper
- Oracle ORA-01658 Unable to Create INITIAL Extent for Segment in Tablespace Error ¿À¶óŬ ¿À¶ó - 01,658 ¼¼±×¸ÕÆ® Å×ÀÌºí °ø°£À» ¸¸µé ¼ö¾ø½À´Ï´Ù ¿À·ù¿¡ ´ëÇÑ Ãʱ⠹üÀ§ ³»¿¡¼

































July 15th, 2008 14:33 2008³â 7¿ù 15ÀÏ 14:33
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