Oracle 원 격 내 보 내기 imp / exp 가 져 오기
// . tnsnames.ora , (D:\app\Admin\product\11.1.0\db_1\NETWORK\ADMIN tnsnames.ora ):
TEST_ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.110)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = orcl)
)
)
// . oracle , net manager。 TEST_ORCL, IP :192.168.1.110, orcl, 1521
2. 원 격 서버 가 원활 한 지 테스트
cmd , :tnsping TEST_ORCL。//
3. 사례: 사용자 프로젝트 내 보 내기
// :
exp luob/tiger@TEST_ORCL file=d:\back.dmp //( owner)
// :
exp luob/tiger@TEST_ORCL owner=scott file=d:\back1.dmp
4. 사례: 원 격 서버 의 luob 사용자 방안 을 로 컬 zhangs 아래 에 가 져 옵 니 다.
imp zhangs/tiger@orcl file=d:\back.dmp fromuser=luob touser=zhangs
5. 증분 내 보 내기 / 가 져 오기 inctype( complete ,incremental ,cumulative)
//1. : , , SYSTEM 。 , 。 export.dmp, export.dmp, 。
//2 “ ” (Complete) , :
exp system/manager inctype=complete file=990702.dmp
//3 “ ” 。 :
exp system/manager inctype=incremental file=990702.dmp
//4. “ ” (Cumulative) “ ” 。 :[size=medium][/size]
exp system/manager inctype=cumulative file=990702.dmp
6. 사례: 데이터 관리자 로 서 백업 일정 표를 설정 하고 데이터 로 내 보 내 는 세 가지 서로 다른 방식 으로 합 리 적 이 고 효율 적 으로 완성 할 수 있 습 니 다.예 를 들 어 데이터베이스 백업 작업 은 다음 과 같이 할 수 있 습 니 다.
: (A)
: (B)
: (C)
: (D)
: (E)
: (F)
: (G)
// , , :
: CREATE DATABASE ;
: ( )。create public rollback segment your_rb_name tablespace RBS storage(initial 3M next 3M minextents 10 optimal 500M);
: A:
imp system./manager inctype=rectore full=y file=A
: E:
imp system/manager inctype=rectore full=y file=E
: F:
imp system/manager inctype=rectore full=y file=F
7. 다른 대상 의 가 져 오기 내 보 내기 와
로 컬 가 져 오기 내 보 내기 명령 과 같 습 니 다.
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
tnsnames.ora 설정 방법제 가 존재 하 는 문 제 는 plsql 을 사용 하여 한 회사 의 데이터 베 이 스 를 연결 하 는 것 입 니 다.연결 이 되 지 않 습 니 다.제 가 인터넷 에서 검색 한 자 료 는 tnsnames.ora 파일 ...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.