Oracle Database Link Oracleデータベースのリンク

In distributed Oracle environments, database links can be used to define a communications path between two databases.オラクル、分散環境では、データベースリンクを使用して2つのデータベース間の通信経路を定義する。 A database link defines a network connection, and, optionally, a username and password, to use when Oracle accesses and establishes a database session in the remote database on behalf of the local application request.ネットワークに接続するデータベース名を定義すると、オプションは、ユーザー名とパスワードを、オラクルにアクセスするときに使用するデータベースのセッションを確立すると、リモートデータベースに代わって、ローカルのアプリケーションの要求です。

Database link enable SQL statements to be isolated from the underlying physical network topology.データベースリンクを有効にするSQLステートメントを根底から単離される物理的なネットワークトポロジによって異なります。 Thus, whenever the location of a remote database changes, only the link need be updated, and not each and every SQL queries, significantly the tasks of programmer.それゆえ、ときにはいつでリモートデータベースの場所を変更する必要のリンクのみが更新されると、各SQLクエリではなく、プログラマのタスクを大幅にしています。

Oracle database link is defined in a specific database, and may be used only by users of that database. Oracleデータベースのリンクが定義され、特定のデータベース、および5月に、そのデータベースのユーザでのみ使用されています。 If the same database link name was to be used from all databases in the network, the links must be defined identically with that name in each of each databases.名前が同じ場合は、データベースリンクに使用するネットワーク上のすべてのデータベースから、同じ性のリンクを定義する必要がありますが、各データベースの名前を各します。 For this scenario, the easier way is to be global database link.このシナリオでは、もっと簡単な方法は、世界的なデータベースをリンクをクリックします。

Database Link Creation データベースのリンクを作成する

Login into Oracle database (with SQL*Plus, for example) as a user who has the privilege to create a database link and execute the following command:ログインするOracleデータベース( SQL * Plusで、たとえば) whoには、権限を持つユーザーとしてデータベースにリンクを作成するには、以下のコマンドを実行:

CREATE DATABASE LINK link_nameデータベースリンクを作成link_name
CONNECT TO user_name IDENTIFIED BY password user_nameのパスワードに接続して識別される
USING ‘connection_string’;を使用して' connection_string ' ;

where connection_string is an entry is tnsnames.ora (usually located in $ORACLE_HOME/network/admin), which enables the Oracle to know the network path to remote database. connection_stringはどこにエントリがtnsnames.ora (通常位置し$ oracle_home /ネットワーク/管理者) 、これを使用すると、 Oracleのを知って、ネットワークのパスをリモートデータベースです。

connection_string has the following structure: connection_stringには、以下の構造:

(DESCRIPTION = (説明書=
(ADDRESS = (アドレス=
(PROTOCOL = TCP) (Host = host_name/ip_address) (Port = 1521) (プロトコル= TCP )を(ホスト= host_nameの/ IPアドレス) (ポート= 1521 )
)
(CONNECT_DATA = ( connect_data =
(SERVER = DEDICATED) (サーバー=専用)
(SERVICE_NAME = database_name) (のservice_name = database_nameに)
)
)

Database Link Deletion データベースリンクの削除

To delete a database link:データベースリンクを削除するには:

DROP DATBASE LINK link_name;ドロップdatbaseリンクlink_name ;

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 “Oracle Database Link” 1つの応答を" Oracleデータベースのリンク"

  1. Ru ru
    June 6th, 2008 05:19 2008年6月6日05:19
    1

    Need help :お困りです:
    I want to access my SQL server 2005 database from Oracle 10G, but I have a problem.へのアクセスしたいマイSQL Server 2005データベースからOracle 10gへ、しかし、私には問題です。 Could you guide me how to do it?私があなたガイドを行う方法のことですか?
    Thank youありがとうございました

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= <blockquote cite=""> <cite> <acronymのtitle= <b>ダウンロードの<code> <デル日時= " " >の<em> <i>て<strike> <strong> <q cite="">

Subscribe without commenting登録なしのコメント


Custom Search

New Articles新しい記事

Incoming Search Terms for the Article検索用語を受信するには

oracle dblink オラクルdblink - - Oracle database link Oracleデータベースのリンク - - dblink oracle dblinkオラクル - - database link oracle データベースリンクのオラクル - - dblink in oracle dblinkのオラクル - - create database link oracle Oracleのデータベースリンクを作成 - - oracle create dblink Oracleの作成dblink - - CREATE DBLINK ORACLE 作成dblinkオラクル - - drop database link ドロップデータベースリンク - - delete dblink 削除dblink - - oracle create db link オラクルdBのリンクを作成 - - database link in oracle データベースのリンクをオラクル - - link oracle リンクオラクル - - create DBLINK in oracle オラクルdblinkを作成する - - oracle db link Oracleのデータベースリンク - - Oracle Create Database Link Oracleのデータベースリンクを作成 - - delete dblink oracle 削除dblinkオラクル - - remove dblink 削除dblink - - remove database link データベースリンクを削除 - - delete db_link 削除db_link - - oracle link Oracleのリンク - - oracle database links Oracleデータベースのリンク - - DELETE DB LINK dBのリンクを削除 - - Create link Oracle Oracleのリンクを作成 - - create dblink command dblinkコマンドを作成する - - oracle databaselink オラクルdatabaselink - - oracle dblink command オラクルdblinkコマンド - - DB link creation in oracle dBのリンクを作成するのオラクル - - oracle dblink delete オラクルdblink削除 - - "link Oracle database" "リンクをOracleデータベース" - - how to delete dblink dblinkを削除する方法 - - oracle DBLink オラクルdblink - - DELETE DB_LINK ORACLE 削除db_linkオラクル - - datbase link datbaseリンク - - Orcale DBLINK orcale dblink - - database links oracle データベースリンクのオラクル - - dblink creation dblinkの創作 - - create Database Link + oracle + Oracleのデータベースリンクを作成 - - dblink+oracle dblink +オラクル - - all すべての - - oracle megaupload オラクルmegaupload - - delete db link oracle dBのリンクを削除オラクル - - oracle "database link" Oracleの"データベースリンク" - - linking 2 DBS in Oracle リンク2 DBS銀行のオラクル - - oracle database link creation Oracleデータベースのリンクを作成する - - how to delete DB links in oracle Oracleのデータベース内のリンクを削除する方法 - - dblink oracle example dblink Oracleの例 - - drop db link ドロップdBのリンク - - oracle dblink view オラクルdblink対象 - - create global database link グローバルデータベースリンクを作成 - -