■ synonym 관련


오라클에서 import시 해당 테이블에 대한 시노님이 걸려 있으면 ?

말 그대로, 오라클에서 IMPORT하려는 테이블명과 동일한 SYNONYM이 존재하는 경우,
테이블을 생성하지 않고 해당 SYNONYM에 DATA를 IMPORT하려고 시도한다

 

■ 스키마 단위 주의사항


import나 impdp나 스키마단위로 import하면 full과는 다르게
role, public synonym, profile, public database link, system 권한 등이 import되지 않으니 주의해야 한다.

 

■ 캐릭터셋 주의사항


캐릭터 셋이 다른 경우 자동 변환되지만
소스 DB의 캐릭터셋이 타겟 DB의 하위 셋이어야 한다.
예를 들어 소스 DB가 US7ASCII(7bit)이고 타겟 DB가 WE8ISO8859P1(8bit)일 경우 문제 없지만
상이한 8bit 캐릭터셋 사이나 8bit에서 7bit로 import할 경우 특수 문자가 손실될 수 있다.

 

■ network_link를 통한 datapump는 conventional path이다.


network_link를 사용하지 않는 impdp의 경우 direct path를 사용하지만
network_link를 사용하는 impdp는 conventional path이다.

'Knowledge > Oracle' 카테고리의 다른 글

Data guard와 Active data guard license  (0) 2016.08.12
sqlplus 접속 hang시에 접속 방법  (0) 2016.05.27
Oracle Create Table 내부 절차  (0) 2015.10.21
SQL Loader Direct Load  (0) 2015.10.05
undo 관련 좋은 링크  (0) 2015.09.15
Posted by neo-orcl
,

OCM11g-DBA 합격 메일

잡담 2016. 3. 8. 23:27

시험은 2016년 2월 25~26일에 치뤘고

2016년 3월 8일에 합격메일 도착.

Dear Jung Hoon,

 

 

Here are the results of your recent attempt of the Oracle Database 11g Certified Master exam:

Congratulations for successfully passing the exam.

 

 

You are now a member of an elite group of Oracle Database professionals.  You will receive your Oracle Database 11g Certified Master fulfillment kit that includes a congratulations letter, OCM certificate, OCM ID card, and OCM jacket to the mailing address mentioned in your “Oracle DBA 11g OCM Hands-on course” requirement Form.
.....

Jeong-Hun인데 피어슨뷰 가입할 때 썼던 이름을 변경하는게 복잡해서 냅둔다 :(

자격증 신청도 피어슨뷰에서 진행하였다.

 

'잡담' 카테고리의 다른 글

OCM11g 자격증과 티 도착  (0) 2016.03.24
오라클 메타링크의 한글 문서 주의점  (0) 2013.12.02
드디어 티스토리 블로그 탄생!  (0) 2012.12.20
Posted by neo-orcl
,

11g에선 Tablespace PITR만 가능했는데 12c에선 Table단위도 가능하게 되었다.

이를 간단히 테스트해본다.

 

1. 백업

$ rman target /

backup database;

 

2. 현재 시간 or scn 확인

SQL> select current_scn from v$database;

CURRENT_SCN
-----------
     665749


3. scott에서 emp, bonus truncate

$ sqlplus scott/tiger

SQL> truncate table emp;
SQL> truncate table bonus;

 

4. rman 에서 테이블 recover 실행

$ mkdir /oradata/aux

$ rman target /

recover table scott.emp, scott.bonus
until scn 665749
auxiliary destination '/oradata/aux'
remap table scott.emp:re_emp, scott.bonus:re_bonus;

※동일 명의 테이블이 있으면 에러나기 때문에 remap 해야함.

 

5. 확인 및 insert

$ sqlplus scott/tiger 

SQL> select * from re_emp;
SQL> select * from re_bonus;

SQL> insert into emp select * from re_emp;
SQL> insert into bonus select * from re_bonus;

Posted by neo-orcl
,