Contents
see List1. 테이블스페이스 생성
CREATE TABLESPACE 테이블스페이스명
DATAFILE '/oradata/orcl/테이블스페이스명.dbf'
SIZE 100M autoExtend on next 100M;
2. TEMP 테이블스페이스 생성
CREATE TEMPORARY TABLESPACE TEMP테이블스페이스명
TEMPFILE '/oradata/orcl/TEMP테이블스페이스명.dbf'
SIZE 100M autoExtend on next 100M;
3. 테이블스페이스 삭제
drop tablespace 테이블스페이스명
including contents and datafiles
cascade constraints;
3. 유저 생성
create user admin identified by "admin1111"
default tablespace MANAGER
temporary tablespace MANAGERTEMP;
4. 권한주기
grant connect to admin;
grant resource to admin;
grant connect, resource, create view, create procedure, create sequence to admin;
-- 테이블스페이스 정보 조회
select * from dba_data_files;
select * from dba_tablespaces;
Comments ( 0 )