2010년 4월 21일 수요일

[ORACLE] Table space 및 사용자 계정 생성 방법

1) Table space 생성

create tablespace OPPRA

datafile '/oracle/SAFEDB/oradata/Ora10g/oppra.dbf'

size 500m

autoextend on

next 100m

maxsize 700m;


create temporary tablespace OPPRATEMP

tempfile '/oracle/SAFEDB/oradata/Ora10g/oppratemp.dbf'

size 200m

autoextend on

next 100m

maxsize 500m;

 

2) 사용자 계정 생성

create user oppra identified by ocspgd

default tablespace OPPRA

temporary tablespace OPPRATEMP;


3)사용 권한 주기

 grant connect to jiwon;
 grant resource to jiwon;

댓글 없음:

댓글 쓰기