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 |
|---|---|---|
| 365 | 2016. 07. 05. | [ mssql ] Atomikos XA SQLServerXADataSource |
| 364 | 2016. 06. 10. | [ oracle ] get date range list 오라클 기간(연,월,일) 별 사이 리스트 구하기 |
| 361 | 2016. 06. 02. | [ oracle ] paging query 페이징 처리 속도 향상 |
| 355 | 2016. 03. 24. | [ mysql ] oracle -> mysql 쿼리 변경 |
| 354 | 2016. 03. 17. | [ oracle ] over |
| 342 | 2016. 01. 23. | [ oracle ] tablespace 테이블 스페이스 생성,삭제, |
| 341 | 2016. 01. 23. | [ oracle ] 테이블 목록조회 table list |
| 340 | 2016. 01. 23. | [ oracle ] drop table cascade constraint 종속제거 |
| 339 | 2016. 01. 21. | [ oracle ] oracle export and import 오라클 백업 및 복원하기 |
| 329 | 2015. 11. 06. | [ oracle ] partition 오라클 파티션 지정하기 |