Oracle Database Link Oracle डाटाबेस लिंक
In distributed Oracle environments, database links can be used to define a communications path between two databases. में, डेटाबेस लिंक दो डेटाबेस के बीच एक संचार पथ को परिभाषित करने के लिए इस्तेमाल किया जा सकता है Oracle वातावरण वितरित किए. 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. एक डेटाबेस कड़ी है, और एक नेटवर्क कनेक्शन को परिभाषित, वैकल्पिक, एक उपयोगकर्ता नाम और पासवर्ड का उपयोग करने के लिए जब Oracle accesses और स्थानीय आवेदन अनुरोध की ओर से दूरस्थ डेटाबेस में एक डेटाबेस सत्र स्थापित करता है.
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 डाटाबेस कड़ी एक विशेष डेटाबेस में है, और परिभाषित किया गया है कि डाटाबेस के उपयोगकर्ताओं द्वारा ही किया जा सकता है. 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 (के साथ * प्लस, उदाहरण के लिए), जो एक डेटाबेस लिंक बनाने के लिए और निम्नलिखित आदेश पर अमल करने का विशेषाधिकार है एक उपयोगकर्ता के रूप में:
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) (प्रोटोकोल = टीसीपी) (मेजबान = host_name / ip_address) (पोर्ट = 1521)
) )
(CONNECT_DATA = (CONNECT_DATA =
(SERVER = DEDICATED) (Server = समर्पित)
(SERVICE_NAME = database_name) (SERVICE_NAME = database_name)
) )
) )
Database Link Deletion डाटाबेस लिंक deletion
To delete a database link: एक डेटाबेस लिंक को नष्ट करने के लिए:
DROP DATBASE LINK link_name; ड्रॉप DATBASE लिंक link_name;
IMPORTANT : The page is machine translated and provided "as is" without warranty. महत्वपूर्ण: इस पृष्ठ है मशीन अनुवाद प्रदान की और "" के रूप में वारंटी के बिना है. Machine translation may be difficult to understand. मशीन अनुवाद को समझने में मुश्किल हो सकती है. Please refer to कृपया देखें original English article मूल अंग्रेजी लेख whenever possible. जब भी संभव हो सकता है.
Related Articles संबंधित लेख
- View and Retrieve Oracle Database Link Details देखें और retrieve Oracle डाटाबेस लिंक विवरण
- Change Oracle Database User Password बदलें Oracle डाटाबेस प्रयोक्ता कूटशब्द
- Oracle Database Import Error 3113/3114 Oracle डाटाबेस आयात त्रुटि 3113/3114
- Create, Add or Split Oracle Database Partition Fails with ORA-14080 Error , या भाजित Oracle डाटाबेस विभाजन जोड़ें बनाएँ ORA साथ विफल-14080 त्रुटि
- How Drop Tablespace and Recover Oracle Database When Accidentally Delete Datafile कैसे गिरा तालिकास्थान और पुनर्प्राप्त Oracle डाटाबेस जब गलती से नष्ट Datafile
- Oracle EXP-00091 Error When Export Database Oracle ऍक्स्प-00091 त्रुटि जब निर्यात डाटाबेस
- How to Remove and Drop Datafiles from Tablespace in Oracle Database कैसे निकालें और गिरा Datafiles करने के लिए डाटाबेस तालिकास्थान Oracle में से
- IMP-00016 Required Character Set Conversion Not Supported Error when Import to Oracle Database छोटा सा भूत-00016 आवश्यक कैरेक्टर सेट रूपांतरण नहीं समर्थित त्रुटि जब Oracle डाटाबेस करने के लिए आयात
- Check Oracle Version चेक Oracle संस्करणः
- Oracle JDeveloper Reviews Oracle JDeveloper समीक्षा










































June 6th, 2008 05:19 6 जून, 2008 05:19
Need help : मदद चाहिए:
I want to access my SQL server 2005 database from Oracle 10G, but I have a problem. मैं अपने SQL सर्वर Oracle 10G से 2005 डेटाबेस का उपयोग करना चाहता हूँ, लेकिन मैं एक समस्या है. Could you guide me how to do it? तुम यह कैसे करना मुझे गाइड सकते हैं?
Thank you धन्यवाद