줄기세포

[Tibero] 기본 생성 USER 의 TABLESPACE와 역할 본문

DB/Tibero

[Tibero] 기본 생성 USER 의 TABLESPACE와 역할

줄기세포(Stem_Cell) 2021. 5. 31. 15:03
USERNAME    TABLESPACE  역할
SYS SYSTEM 데이터베이스 관리를 위한 계정으로 시스템 패키지, 동의어, 사용자, 역할, 가상 테이블, 시퀀스, 동적 뷰 등을 생성하고 관리
SYSCAT SYSTEM 데이터 베이스 관리를 위한 정적 카탈로그 뷰를 생성 관리 (data dictionary & catalogview 을 생성함)
SYSGIS SYSTEM GIS관련 table 생성 및 관리 하는 계정
OUTLN USR 동일한 SQL 수행시 항상 같은 plan으로 수행될 수 있게 관련 hint를 저장하는 등의 일을 함
TIBERO USR 샘플 유저(삭제가능) <- DBA 권한이 부여되어있음
TIBERO1 USR 샘플 유저(삭제가능)

 

set linesize 500
col name format a20
col tablespace format a20
col datafile format a50
select u.username name, u.default_tablespace tablespace, d.file_name datafile 
from dba_users u inner join dba_data_files d 
on u.default_tablespace=d.tablespace_name;

 

 

 

 

 

 

//참고할 뷰

select tablespace_name, file_name from dba_data_files
select * from dba_users;
select * from dba_tablespaces;

 

 

Comments