Oracle Database Link Oracle Database Nuoroda

In distributed Oracle environments, database links can be used to define a communications path between two databases. Pasklidųjų Oracle aplinkoje, duomenų bazės ryšiai gali būti naudojami siekiant nustatyti ryšių kelias tarp dviejų duomenų bazių. 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. Duomenų ryšys apibrėžia tinklo ryšį, ir, pasirinktinai, vartotojo vardą ir slaptažodį, kad naudojant "Oracle", kai atidaro ir nustato duomenų bazės sesijos nuotolinio duomenų bazės vardu vietinio taikymo straipsniuose.

Database link enable SQL statements to be isolated from the underlying physical network topology. Duomenų bazė leidžia susieti SQL būti izoliuotos nuo pagrindinės fizinės tinklų topologijos. 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. Taigi, kai dėl nuotolinio duomenų pokyčius vieta, tik nuorodą reikia atnaujinti, o ne kiekvieną SQL užklausų, žymiai programuotojas užduotis.

Oracle database link is defined in a specific database, and may be used only by users of that database. Oracle duomenų bazės ryšys yra apibrėžtas konkrečių duomenų bazę, ir gali būti naudojami tik vartotojams iš duomenų bazės. 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. Jei vienoje duomenų bazės ryšį vardas turėjo būti naudojamas iš visų tinklų, duomenų bazių, nuorodos, turi būti apibrėžtos vienodos ir kad kiekvienas kiekvienos duomenų bazės pavadinimą. For this scenario, the easier way is to be global database link. Šis scenarijus, paprastesnis būdas yra pasauline duomenų ryšį.

Database Link Creation Duomenų bazės ryšio sukūrimas

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: Prisijunkite prie "Oracle" duomenų bazių (SQL * Plus ", pavyzdžiui), kaip vartotojo, kuris turi privilegiją kurti duomenų bazę nuorodą ir įvykdykite šią komandą:

CREATE DATABASE LINK link_name CREATE DATABASE LINK link_name
CONNECT TO user_name IDENTIFIED BY password Ry user_name atpažįstamas slaptažodį
USING 'connection_string'; Naudojant "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. kur connection_string yra įrašas tnsnames.ora (paprastai esančių $ ORACLE_HOME / network / admin), kurie leidžia Oracle žinoti kelią tinklo nuotolinio duomenų bazės.

connection_string has the following structure: connection_string turi tokią struktūrą:

(DESCRIPTION = (Description =
(ADDRESS = (Address =
(PROTOCOL = TCP) (Host = host_name/ip_address) (Port = 1521) (Protocol = TCP) (host = host_name / adres_ip) (Port = 1521)
) )
(CONNECT_DATA = (CONNECT_DATA =
(SERVER = DEDICATED) (Server = dedicated)
(SERVICE_NAME = database_name) (SERVICE_NAME = database_name)
) )
) )

Database Link Deletion Database Nuoroda Naujausi

To delete a database link: Norėdami ištrinti duomenų bazę, nuoroda:

DROP DATBASE LINK link_name; DROP DATBASE LINK link_name;

IMPORTANT : The page is machine translated and provided "as is" without warranty. DĖMESIO: Šis puslapis yra mašina išvertė ir pateikiama "kaip yra" be garantijų. Machine translation may be difficult to understand. Automatinis vertimas gali būti sunku suprasti. Please refer to Remkitės original English article originalas anglų straipsnis whenever possible. jei įmanoma.


One Response to “Oracle Database Link” One Response to "Oracle Database Link"

  1. Ru Ru
    June 6th, 2008 05:19 6 birželis 2008 05:19
    1 1

    Need help : Need help:
    I want to access my SQL server 2005 database from Oracle 10G, but I have a problem. Noriu gauti My SQL Server 2005 duomenų bazę Oracle 10g, bet turiu problema. Could you guide me how to do it? Ar galite man gidas kaip tai padaryti?
    Thank you Ačiū

Leave a Reply 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> Galite naudoti šiuos žodžius: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q Cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Subscribe to comments funkcija buvo išjungta. To receive notification of latest comments posted, subscribe to Norėdami gauti pranešimus apie naujausius komentarų, užsiprenumeruoti My Digital Life Comments RSS feed Mano skaitmeninis gyvenimas Komentarų RSS or arba register to receive Registruokitės gauti new comments in daily email digest. Nauji komentarai kasdien elektroniniu paštu.
Custom Search

New Articles Nauji straipsniai

Incoming Search Terms for the Article Gaunamus paieškos terminus straipsnis

delete db link trinti db nuorodą - -- oracle link Oracle nuorodą - -- oracle dblink example Oracle dblink pavyzdys - -- command to drop dblink komanda lašas dblink - -- create database link oracle address sukurti duomenų bazę, nuoroda Oracle adresas - -- database link oracle address Oracle duomenų nuorodą adresas - -- excluir db_links oracle Excluir db_links orakulas - -- forcefully delete dblink in oracle8i ryžtingai ištrinti dblink į Oracle8i - -- oracle - create database link example Oracle - sukurti duomenų bazę, nuoroda pavyzdys - -- oracle + how to create link between two databases Oracle + Kaip sukurti ryšį tarp dviejų duomenų bazių - -- Oracle DB_LINK port Oracle DB_LINK uostas - -- "delete database link" "Ištrinti duomenų bazę susieti" - -- create database link oracle example sukurti duomenų bazę, nuoroda "Oracle" pavyzdys - -- db_link oracle example db_link Oracle pavyzdys - -- define database link in oracle nustatyti duomenų nuorodą orakulas - -- excluir dblink oracle Excluir dblink orakulas - -- oracle dblink Oracle dblink - -- oracle dblink table Oracle dblink lentelė - -- oracle create database link examples Oracle duomenų bazė sukurti nuorodą pavyzdžiai - -- remove dblink pašalinti dblink - -- dblink oracle protocol dblink Oracle protokolas - -- Disable dblink Išjungti dblink - -- how to reset the dblink password + oracle kaip pakeisti slaptažodį dblink + Oracle - -- oracle disconnect dblink Oracle atjungti dblink - -- sql command to create database link SQL komandą, sukurti duomenų bazę, nuoroda - -- SQL command for create database link SQL komandą, sukurti duomenų bazės ryšys - -- dblink versions oracle dblink redakcijos Oracle - -- dblink example in oracle dblink pavyzdžiui, Oracle - -- deleting Oracle dblink išbraukiant Oracle dblink - -- disable db link oracle išjungti db nuoroda "Oracle - -- oracle delete db link Oracle ištrinti db nuorodą - -- remove a dblink pašalinti dblink - -- where to create dblink to connect two db kur kurti dblink sujungti du BP - --