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 私のデジタルライフフォーラム .です。
Related Articles関連記事
- Oracle Database Import Error 3113/3114 Oracleデータベースにインポートエラーが発生3114分の3113
- View and Retrieve Oracle Database Link Details Oracleデータベースのリンクを表示し、取得の詳細
- Change Oracle Database User Password Oracleデータベースのユーザのパスワードを変更
- Check Oracle Version Oracleのバージョンを確認
- How Drop Tablespace and Recover Oracle Database When Accidentally Delete DatafileどのようドロップOracleデータベースのテーブルスペースを回復DATAFILEのときに誤って削除
- Oracle EXP-00091 Error When Export Database Oracleの輸出- 00091エラーが発生する輸出データベース
- Manual and Clean Uninstall Oracle for Windowsオラクル、 Windowsのマニュアルおよび清潔度をアンインストール
- Create, Add or Split Oracle Database Partition Fails with ORA-14080 Error作成、追加、またはOracleデータベースのパーティション分割が失敗するのOra - 14080エラーが発生
- Oracle JDeveloper Reviewsオラクルjdeveloperレビュー
- Oracle ORA-01658 Unable to Create INITIAL Extent for Segment in Tablespace ErrorオラクルのOra - 01658の範囲の最初のセグメントを作成できない場合は、テーブルスペースのエラーが発生













June 6th, 2008 05:19 2008年6月6日05:19
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ありがとうございました