/*******************************************************************/
/***** TABLE SPACE AND USER CREATE: *****/
/***** 1.메인테이블스페이스 :cms_tbl *****/
/***** 2.TEMP테이블스페이스 :cms_tmp *****/
/***** 3.INDEX테이블스페이스:cms_idx *****/
/***** 4.USER *****/
/***** 작 성 자 : 윤혁신 *****/
/***** 작 성 일 : 2004.04.14 *****/
/***** VERSION : 1.0 *****/
/*******************************************************************/
CREATE TABLESPACE cms_tbl
DATAFILE 'c:\oracle\oradata\cms_tbl.dbf' SIZE 200M
DEFAULT STORAGE ( INITIAL 1M
NEXT 1M
MINEXTENTS 2
MAXEXTENTS UNLIMITED
PCTINCREASE 0
);
DROP TABLESPACE cms_idx;
CREATE TABLESPACE cms_idx
DATAFILE 'c:\oracle\oradata\cms_idx.dbf' SIZE 50M
DEFAULT STORAGE ( INITIAL 80K
NEXT 80K
MINEXTENTS 2
MAXEXTENTS UNLIMITED
PCTINCREASE 0
);
DROP USER premium CASCADE;
CREATE USER premium IDENTIFIED BY premium123
DEFAULT TABLESPACE cms_tbl;
GRANT CONNECT, RESOURCE, CTXAPP TO premium;
/*User 를 Create 할때 tablespace 에 대해 사용량을 지정 */
ALTER USER premium QUOTA UNLIMITED ON cms_tbl;
ALTER USER premium QUOTA UNLIMITED ON cms_idx;
댓글 없음:
댓글 쓰기