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;
database
| No | 작성일 | Title |
|---|---|---|
| 46 | 2014. 09. 30. | [ Database ] 다중 db 의 transaction 관리. |
| 35 | 2014. 09. 25. | [ oracle ] 오라클 XaDataSource 사용중 oracle.jdbc.xa.OracleXAResource.recover 대처법 |