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. 네트워크에 연결하는 데이터베이스 연결을 정의하고, 선택적으로, 사용자 이름과 비밀 번호를 수립 때 사용하는 데이터베이스 세션을 오라클에 액세스하여 원격 데이터베이스를 대신하여 로컬 응용 프로그램 요청을합니다.
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. 오라클 데이터베이스 링크는 특정 데이터베이스에서 정의하고 사용자가 해당 데이터베이스에 의해서만 사용할 수있습니다. 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 * 플러스, 예를 들면)을 권한이있는 사용자는 데이터베이스 링크를 생성 및 실행 다음과 같은 명령 :
CREATE DATABASE LINK link_name 데이터베이스 링크를 생성 link_name
CONNECT TO user_name IDENTIFIED BY password 비밀 번호를 연결하는 사용자에 의해 식별
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 / 네트워크 / 관리)를 사용하면 원격 데이터베이스를 오라클의 네트워크 경로를 알아야합니다.
connection_string has the following structure: connection_string는 다음과 같은 구조 :
(DESCRIPTION = (설명 =
(ADDRESS = (주소 =
(PROTOCOL = TCP) (Host = host_name/ip_address) (Port = 1521) (프로토콜 = tcp) (호스트 = host_name / ip_address) (포트 = 1521)
)
(CONNECT_DATA = (connect_data =
(SERVER = DEDICATED) (서버 = 전용)
(SERVICE_NAME = database_name) (서비스 이름 = 데이터베이스 _)
)
)
Database Link Deletion 데이터베이스 링크를 삭제
To delete a database link: 데이터베이스를 삭제하는 링크 :
DROP DATBASE LINK link_name; 드롭 datbase 링크를 link_name;
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 중요 사항 : 이것은 기계 번역 페이지는 "있는 그대로"제공하지 않고 보증합니다. Machine translation may be difficult to understand. 기계 번역을 이해하기 어려울 수있습니다. Please refer to 를 참조하시기 바랍니다 original English article 기존 영어 자료 whenever possible. 언제 수있습니다.
Share and contribute or get technical support and help at 를 공유하고 기술 지원 및 도움을 공헌하지 않는다면 My Digital Life Forums 내 디지털 라이프 공개 토론 . 합니다.
Related Articles 관련 기사
- Oracle Database Import Error 3113/3114 오라클 데이터베이스를 수입 오류 3,114분의 3,113
- View and Retrieve Oracle Database Link Details 이 문서가 적용되는 오라클 데이터베이스를 연결 세부 정보 및 검색
- Change Oracle Database User Password 오라클 데이터베이스 사용자 비밀 번호 변경
- Check Oracle Version 오라클 버전 확인
- How Drop Tablespace and Recover Oracle Database When Accidentally Delete Datafile 오라클 데이터베이스 테이블 공간 및 복구하는 방법을 드롭 실수로 데이터 파일을 삭제
- Oracle EXP-00091 Error When Export Database 오라클 데이터베이스를 수출 - 00091 오류가 발생했습니다 내보내기
- Manual and Clean Uninstall Oracle for Windows 오라클에 대한 매뉴얼 및 청소를 제거 windows
- Create, Add or Split Oracle Database Partition Fails with ORA-14080 Error 만들거나, 오라클 데이터베이스 파티션 분할을 추가하거나 오라 - 14080 오류와 함께 실패
- Oracle JDeveloper Reviews 오라클의 리뷰 jdeveloper
- Oracle ORA-01658 Unable to Create INITIAL Extent for Segment in Tablespace Error 오라클 오라 - 01,658 세그먼트 테이블 공간을 만들 수없습니다 오류에 대한 초기 범위 내에서

































June 6th, 2008 05:19 2008년 6월 6일 05:19
Need help : 도움이 필요하십니까 :
I want to access my SQL server 2005 database from Oracle 10G, but I have a problem. 나는 내 sql 서버에 액세스 2005 데이터베이스에서 원하는 오라클 10g지만,이 문제를합니다. Could you guide me how to do it? 수 안내서 나 어떻게해야 할 지?
Thank you 감사합니다