티스토리 뷰
반응형
-- 물리 저장 경로 & tablespace 정보
SELECT * FROM dba_data_files;
-- tablespace 정보
select * from dba_tablespaces;
-- 사용자 default tablespace 확인
SELECT * FROM user_users;
-- tablespace 생성
CREATE TABLESPACE DHUB
datafile '/u01/app/oracle/product/11.2.0/xe/dbs/DHUB'
SIZE 10M
autoextend ON NEXT 10M
maxsize unlimited;
-- tablespace 변경
ALTER USER dhub DEFAULT TABLESPACE DHUB ;
반응형
'개발 이야기 > DB' 카테고리의 다른 글
[oracle] 11g dual table - ORA-00942: table or view does not exist (0) | 2023.02.13 |
---|---|
[oracle] ORA-28002: the password will expire within %s days (0) | 2023.02.10 |
오라클 비번 만료 ORA-28001: the password has expired (0) | 2020.05.27 |
[oracle] 계정 생성 & 삭제 (0) | 2019.09.30 |
SQL 날짜 조건 검색 (1) | 2018.03.07 |
댓글