Oracle Database Link קישור מסד נתונים אורקל

In distributed Oracle environments, database links can be used to define a communications path between two databases. בשנת מבוזרות בסביבות אורקל, קישורים באתר ניתן להשתמש כדי להגדיר את נתיב התקשורת בין שני מסדי נתונים. 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 ו קובע פגישה מסד נתונים באתר מרוחק מטעם לבקשת יישום מקומי.

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: התחברות למסד הנתונים אורקל (עם SQL * Plus, למשל) בתור משתמש בעל הרשאת ליצור קישור באתר ולבצע את הפקודה הבאה:

CREATE DATABASE LINK link_name CREATE DATABASE LINK link_name
CONNECT TO user_name IDENTIFIED BY password התחבר אל user_name חדש ע"י מזוהה
USING 'connection_string'; Using '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 / רשת / admin), המאפשר אורקל לדעת את נתיב הרשת למסד נתונים מרוחק.

connection_string has the following structure: connection_string יש את המבנה הבא:

(DESCRIPTION = (DESCRIPTION =
(ADDRESS = (כתובת =
(PROTOCOL = TCP) (Host = host_name/ip_address) (Port = 1521) (Protocol = TCP) (Host = host_name / ip_address) (Port = 1521)
) )
(CONNECT_DATA = (= CONNECT_DATA
(SERVER = DEDICATED) (SERVER = DEDICATED)
(SERVICE_NAME = database_name) (= Service_name database_name)
) )
) )

Database Link Deletion מחיקת מסד קישור

To delete a database link: כדי למחוק קישור באתר:

DROP DATBASE LINK link_name; DROP DATBASE LINK 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. בכל הזדמנות אפשרית.


One Response to “Oracle Database Link” תגובה אחת ל "Oracle Database קישור"

  1. Ru Ru
    June 6th, 2008 05:19 6 יוני 2008 05:19
    1 1

    Need help : זקוק לעזרה:
    I want to access my SQL server 2005 database from Oracle 10G, but I have a problem. אני רוצה את הגישה שלי שרת SQL 2005 מסד נתונים Oracle 10g, אבל יש לי בעיה. Could you guide me how to do it? אתה יכול להדריך אותי איך לעשות את זה?
    Thank you תודה

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> באפשרותך להשתמש בתגים אלה: <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. כדי להירשם הערות תכונה הושבת. To receive notification of latest comments posted, subscribe to כדי לקבל הודעה העדכנית של תגובות, כדי להירשם My Digital Life Comments RSS feed החיים שלי דיגיטליות תגובות RSS Feed or או register to receive הרשמה לקבלת new comments in daily email digest. תגובות חדש ב דוא"ל תקציר יומי.
Custom Search

New Articles מאמרים חדשים

Incoming Search Terms for the Article תנאי נכנסות חיפוש עבור מאמרים

oracle dblink example Oracle למשל dblink - -- oracle link קישור Oracle - -- delete dblink למחוק dblink - -- dblink oracle example dblink למשל Oracle - -- Database Link Oracle קישור מסד נתונים אורקל - -- oracle database link example קישור מסד הנתונים Oracle לדוגמה - -- drop database link הקישור באתר טיפה - -- link oracle Oracle הקישור - -- db link creation in oracle יצירת קישור ב-Oracle db - -- oracle database link קישור מסד הנתונים Oracle - -- oracle dblink dblink Oracle - -- delete dblink oracle למחוק Oracle dblink - -- remove database link להסיר את הקישור באתר - -- delete db link למחוק קישור db - -- delete link oracle למחוק Oracle הקישור - -- oracle dblink port יציאת dblink Oracle - -- oracle dblink examples דוגמאות dblink Oracle - -- delete database link למחוק את הקישור באתר - -- remove dblink להסיר dblink - -- oracle database link tutorial קישור מסד הנתונים Oracle הדרכה - -- oracle disable database link קישור מסד הנתונים Oracle להשבית - -- disable database link הקישור באתר להשבית - -- create database link oracle ליצור קישור מסד הנתונים Oracle - -- Oracle create database link example אורקל ליצור קישור באתר לדוגמה - -- disable oracle dblink dblink Oracle להשבית - -- db link oracle Oracle הקישור db - -- remove db link להסיר את הקישור db - -- oracle database link delete קישור מסד הנתונים Oracle למחוק - -- dblink creation in oracle יצירת dblink ב Oracle - -- dblink delete dblink למחוק - -- disable dblink dblink להשבית - -- oracle dblink tutorial dblink Oracle הדרכה - -- command to create db link הפקודה ליצור קישור db - -- DELETE DB LINK ORACLE DELETE LINK DB ORACLE - -- oracle delete dblink Oracle למחוק dblink - -- disable dblink oracle Oracle dblink להשבית - -- dblink oracle Oracle dblink - -- oracle disable dblink dblink להשבית Oracle - -- dblink port יציאת dblink - -- what is dblink oracle מה Oracle dblink - -- database link oracle example מסד הנתונים Oracle למשל הקישור - -- delete db_link למחוק db_link - -- delete oracle link למחוק קישור Oracle - -- oracle dblink creation יצירת dblink Oracle - -- How to Remove a Database Link כיצד להסיר קישור מסד נתונים - -- oracle database link query example Oracle קישור השאילתה לדוגמה באתר - -- disable dblink oracle Oracle dblink להשבית - -- drop dblink in oracle ירידה dblink ב Oracle - -- drop db_link oracle ירידה Oracle db_link - -- what is DBlink + oracle מה DBlink + Oracle - --