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 .
Related Articles Articoli correlati
- Oracle Database Import Error 3113/3114 Database Oracle errore di importazione 3113/3114
- View and Retrieve Oracle Database Link Details Visualizzare e recuperare i database Oracle link dettagli
- Change Oracle Database User Password Cambia database Oracle Utente Password
- Check Oracle Version Verificare la versione di Oracle
- How Drop Tablespace and Recover Oracle Database When Accidentally Delete Datafile Come goccia tablespace e recuperare database Oracle quando accidentalmente eliminare archivio dei dati
- Oracle EXP-00091 Error When Export Database Oracle exp-00091 errore durante l'esportazione del database
- Manual and Clean Uninstall Oracle for Windows Pulizia manuale e la disinstallazione di Oracle per Windows
- Create, Add or Split Oracle Database Partition Fails with ORA-14080 Error Creare, aggiungere o Spalato Oracle Database partizione non riesce a ORA-14080 Errore
- Oracle JDeveloper Reviews Oracle JDeveloper recensioni
- Oracle ORA-01658 Unable to Create INITIAL Extent for Segment in Tablespace Error Oracle ORA-01658 Impossibile creare INIZIALE Estensione per il segmento in errore Tablespace

































June 6th, 2008 05:19 6 giugno 2008 05:19
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