View and Retrieve Oracle Database Link Details查看和检索Oracle数据库的连接细节

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.在Oracle中,数据库链接被命名为对象,建立在一个数据库,其中包含详细的指示,说明如何连接到另一台,完全不同,数据库。 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 * Plus或蟾蜍,或任何方便你和查询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回应“查看和检索的Oracle数据库连接的细节”

  1. Vivek Raman vivek拉曼
    July 15th, 2008 14:33 2008年7月15日14时33分
    1

    For Oracle 9i and Greater,为Oracle 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=""> <abbr title=""> <acronym title="">的<b> <blockquote cite=""> <cite>的<code> <删除日期时间= “ ” >的<em>的<i> <q cite=""> <strike>的<strong>

Subscribe without commenting订阅无评论


Custom Search

New Articles新的条款,

Incoming Search Terms for the Article传入的搜索条件文章

oracle dblink 甲骨文dblink - - Oracle DBLinks 甲骨文dblinks - - oracle show database links 甲骨文显示数据库链接 - - oracle list database links 甲骨文公司名单数据库链接 - - dblinks in oracle dblinks在Oracle - - view database links 查看数据库链接 - - database link view 数据库链接查看 - - oracle database link view Oracle数据库的连接的看法 - - dblinks Oracle dblinks甲骨文 - - show database link 显示数据库链接 - - Oracle Dblink view 甲骨文dblink的看法 - - list database links oracle 名单数据库链接甲骨文 - - oracle dblink table 甲骨文dblink表 - - oracle view dblink 甲骨文的看法dblink - - oracle view database links 甲骨文公司查看数据库链接 - - oracle show database link 甲骨文显示数据库链接 - - oracle database links view Oracle数据库链接的看法 - - show database in oracle 显示数据库在Oracle - - view dblink 鉴于dblink - - view database link oracle 查看数据库连接甲骨文 - - dblink table in oracle dblink表在Oracle - - show database links oracle 显示数据库链接甲骨文 - - find database links in oracle 找到数据库链接在Oracle - - database link view in oracle 数据库连接的看法在Oracle - - view database link 查看数据库连接 - - dblink view dblink的看法 - - oracle view database link 甲骨文公司查看数据库连接 - - view dblink oracle 鉴于dblink甲骨文 - - view database links oracle 查看数据库链接甲骨文 - - how to check dblink 如何检查dblink - - check dblink 检查dblink - - db_links oracle db_links甲骨文 - - oracle check database link 甲骨文检查数据库链接 - - oracle list dblink 甲骨文公司名单dblink - - oracle database link table Oracle数据库的连接表 - - DBLINKS+oracle dblinks +甲骨文 - - toad db link 蟾蜍分贝链接 - - oracle show dblink 甲骨文显示dblink - - list dblink oracle 名单dblink甲骨文 - - viewing database links 查看数据库链接 - - find dblink 找到dblink - - oracle show db links 甲骨文显示分贝链接 - - oracle db_link 甲骨文db_link - - check database link 检查数据库链接 - - oracle db_links 甲骨文db_links - - oracle db links view 甲骨文分贝链接查看 - - check database link in oracle 检查数据库连接在Oracle - - oracle view db links 甲骨文的看法分贝链接 - - database link password 数据库连接密码 - - show database link oracle 显示数据库连接甲骨文 - -