기술 정보
home
채널 소개
home

Tibero to Tibero 데이터 이관 시 Profile 적용 방안

문서 유형
기술 정보
분야
마이그레이션
키워드
profile
적용 제품 버전
7FS02PS

개요

Tibero to Tibero 데이터 이관 시 Profile을 적용하는 방안에 대해 안내합니다.
주의
export/import 수행 시, profile은 적용이 불가능합니다. 따라서 별도로 profile을 적용해주어야 합니다.
Default profile 이외의 사용자가 설정한 profile이 있을 경우, 확인 후 별도로 생성합니다.

방법

1. profile 확인

SQL> select * from dba_profiles;
SQL
복사

2. profile 생성

SQL> select DISTINCT 'create profile "' || PROFILE || '";' from dba_profiles where profile not in ('DEFAULT');
SQL
복사

3. profile 설정 추출

SQL> select 'alter profile "' || PROFILE || '" limit ' || RESOURCE_NAME || ' ' || LIMIT || ';' from dba_profiles where profile not in ('DEFAULT');
SQL
복사
--프로파일의 옵션을 주지 않으면 default profile의 값을 따라감 SQL> CREATE PROFILE <profile_name>; SQL> ALTER USER <username> PROFILE <profile_name>;
SQL
복사

4. user에 적용된 profile 확인

SQL> select * from dba_users;
SQL
복사