정보처리기술사

oracle tablespace 생성

anodos 2012. 7. 3. 17:52

create tablespace sfm
 datafile 'C:\oraclexe\app\oracle\oradata\XE\sfm.dbf'
 size 500m
 autoextend on
 next 100m
 maxsize 700m;

create temporary tablespace sfm_temp
 tempfile 'C:\oraclexe\app\oracle\oradata\XE\sfm_temp.dbf'
 size 200m
 autoextend on
 next 100m
 maxsize 500m;

create user audit1 identified by audit1
default tablespace sfm
temporary tablespace sfm_temp;

grant connect to audit1;
grant resource to audit1;

반응형