Oracle Database Link Oracle database di link

In distributed Oracle environments, database links can be used to define a communications path between two databases. Oracle in ambienti distribuiti, database di link può essere utilizzato per definire un percorso di comunicazione tra le due basi di dati. 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. Un database di link definisce una connessione di rete, ed, eventualmente, un nome utente e una password, da utilizzare quando si accede a Oracle e stabilisce una banca dati della tornata nel database remoto a nome del locale applicazione richiesta.

Database link enable SQL statements to be isolated from the underlying physical network topology. Link database SQL consentire di dichiarazioni che dovranno essere isolati dal fisica di base topologia di rete. 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. Così, ogni volta che la posizione di un database remoto modifiche, solo il link necessario essere aggiornato, e non ogni query SQL, in maniera significativa i compiti del programmatore.

Oracle database link is defined in a specific database, and may be used only by users of that database. Oracle Database collegamento è definito in una specifica banca dati, e possono essere utilizzate solo dagli utenti di tale banca dati. 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. Se lo stesso database di link nome era destinato ad essere utilizzato da tutti i database della rete, i collegamenti devono essere definite con identico nome che in ciascuno di ogni database. For this scenario, the easier way is to be global database link. Per questo scenario, il modo più semplice è quello di essere banca dati globale e link.

Database Link Creation Creazione di database link

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: Login in database Oracle (con SQL * Plus, ad esempio) come un utente che ha il privilegio di creare una banca dati link e eseguire il seguente comando:

CREATE DATABASE LINK link_name Creare database di link link_name
CONNECT TO user_name IDENTIFIED BY password CONNECT A nome_utente IDENTIFIED BY password
USING ‘connection_string’; Usando '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. dove connection_string è una voce è tnsnames.ora (di solito si trova in $ ORACLE_HOME / network / admin), che consente di Oracle per conoscere il percorso di rete al database remoto.

connection_string has the following structure: connection_string ha la seguente struttura:

(DESCRIPTION = (Descrizione =
(ADDRESS = (Indirizzo =
(PROTOCOL = TCP) (Host = host_name/ip_address) (Port = 1521) (PROTOCOLLO = TCP) (Host = host_name / ip_address) (Port = 1521)
)
(CONNECT_DATA = (CONNECT_DATA =
(SERVER = DEDICATED) (Server = DEDICATO)
(SERVICE_NAME = database_name) (SERVICE_NAME = database_name)
)
)

Database Link Deletion Database di link soppressione

To delete a database link: Per eliminare un database di link:

DROP DATBASE LINK link_name; DROP DATBASE LINK link_name;

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANTE: Questa è una pagina tradotta macchina che è fornito "così com'è" senza alcuna garanzia. Machine translation may be difficult to understand. Traduzione automatica può essere difficile da capire. Please refer to Si prega di fare riferimento a original English article articolo originale inglese whenever possible. quando possibile.

Share and contribute or get technical support and help at Condividere e contribuire o ottenere supporto tecnico e assistenza in My Digital Life Forums La mia vita digitale Forum .



One Response to “Oracle Database Link” Una risposta a "Oracle Database Link"

  1. Ru
    June 6th, 2008 05:19 6 giugno 2008 05:19
    1

    Need help : Hai bisogno di aiuto:
    I want to access my SQL server 2005 database from Oracle 10G, but I have a problem. Voglio accedere al mio SQL Server 2005 database Oracle 10g, ma ho un problema. Could you guide me how to do it? Potrebbe mi guida come farlo?
    Thank you Grazie

Leave a Reply Lasciare una risposta

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> È possibile utilizzare questi tag: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q Cite=""> <strike> <strong>

Subscribe without commenting Iscriviti senza commentare


Custom Search

New Articles Nuovi articoli

Incoming Search Terms for the Article Cerca in arrivo Condizioni per l'articolo

oracle dblink Oracle dblink - -- Oracle database link Oracle Database link - -- dblink oracle dblink di Oracle - -- database link oracle collegamento banca dati Oracle - -- dblink in oracle dblink in Oracle - -- create database link oracle creare database Oracle link - -- delete dblink eliminare dblink - -- oracle create dblink Oracle creare dblink - -- CREATE DBLINK ORACLE Creare DBLINK ORACLE - -- drop database link drop database link - -- oracle create db link Oracle DB creare link - -- remove database link rimuovere database di link - -- oracle link Oracle link - -- database link in oracle link nel database Oracle - -- link oracle Oracle link - -- create DBLINK in oracle creare DBLINK in Oracle - -- oracle db link Oracle DB link - -- Oracle Create Database Link Oracle database creare link - -- delete dblink oracle eliminare dblink di Oracle - -- DELETE DB LINK PB eliminare link - -- remove dblink rimuovere dblink - -- delete db_link eliminare db_link - -- oracle database links Oracle database di link - -- oracle dblink command Oracle dblink comando - -- Create link Oracle Creare link Oracle - -- create dblink command creare dblink comando - -- oracle dblink delete Oracle dblink eliminare - -- oracle databaselink Oracle databaselink - -- DB link creation in oracle PB collegamento creazione in Oracle - -- dblink+oracle dblink + Oracle - -- all tutto - -- create database link creare database di link - -- "link Oracle database" "link database Oracle" - -- how to delete dblink come eliminare dblink - -- oracle DBLink Oracle DBLink - -- create database link in oracle creare link nel database Oracle - -- DELETE DB_LINK ORACLE Eliminare DB_LINK ORACLE - -- datbase link datbase link - -- Orcale DBLINK Orcale DBLINK - -- dblink delete dblink eliminare - -- database links oracle Oracle database link - -- dblink creation dblink creazione - -- command to create DB link in oracle comando per creare PB collegamento in Oracle - -- create Database Link + oracle creare database Oracle Link + - -- ORACLE CREATE LINK ORACLE creare link - -- oracle, dblink Oracle, dblink - -- oracle megaupload Oracle MEGAUPLOAD - -- database link oracle example collegamento banca dati Oracle esempio - -- delete db link oracle eliminare DB Oracle link - -- oracle "database link" Oracle "banca dati link" - --