문서유형ㅣ기술정보
분야ㅣ마이그레이션
적용제품버전ㅣ7FS02PS
문서번호ㅣTMITI005
개요
Tibero to Tibero 데이터 이관 시 Profile을 적용하는 방안에 대해 안내합니다.
주의
export/import 수행 시, profile은 적용이 불가능합니다. 따라서 별도로 profile을 적용해주어야 합니다.
Default profile 이외의 사용자가 설정한 profile이 있을 경우, 확인 후 별도로 생성합니다.
방법
1. profile 확인
SQL> select * from dba_profiles;
2. profile 생성
SQL> select DISTINCT 'create profile "' || PROFILE || '";' from dba_profiles where profile not in ('DEFAULT');
3. profile 설정 추출
SQL> select 'alter profile "' || PROFILE || '" limit ' || RESOURCE_NAME || ' ' || LIMIT || ';'
from dba_profiles where profile not in ('DEFAULT');--프로파일의 옵션을 주지 않으면 default profile의 값을 따라감 SQL> CREATE PROFILE <profile_name>; SQL> ALTER USER <username> PROFILE <profile_name>;
4. user에 적용된 profile 확인
SQL> select * from dba_users;