일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- Oracle RAC
- Oracle Database
- oracle tde
- ora-28002: the password will expire within 7 days
- oracle datapump
- MSSQL
- supplemental log 활성화
- 오라클
- oracle SCN
- ORA-00020
- SQL Server
- oracle system lock
- oracleasm
- mssql database 삭제
- oracle awr
- oracle 테스트 데이터
- oracle supplemental
- oracle pdb
- oracle install
- ora-00439: feature not enabled: partitioning
- SSMS
- oracle dba_profile password_life_time
- oracle account_status expired
- partition_options=merge
- create role
- sql user 생성
- oracle
- ora-39083 ora-00439
- oracle role 삭제
- oracle 파티션 datapump
Archives
- Today
- Total
신문지한장
[Tech] oracle tablespace 및 datafile 생성 및 삭제 (OMF, autoextend) 본문
OS : CentOS7.9 (64bit)
DB : Oracle Database 19c ( Release - 19.21.0 )
1. 일반 tablespac 생성 ( none OMF, autoextend ON )
create tablespace test datafile '/oracle/app/oracle/oradata/ORCL19/TEST01.dbf' size 1M autoextend on;
2. 일반 tablespac 생성 ( OMF, autoextend ON )
(1) default file size 100m, autoextend on
CREATE TABLESPACE TESTTBS;
(2) size 지정할 경우
CREATE TABLESPACE TESTTBS DATAFILE SIZE 5M AUTOEXTEND ON ;
3. TDE tablespac 생성 ( autoextend ON )
create tablespace test_tde datafile '/oracle/app/oracle/oradata/ORCL19/tde_test01.dbf' size 100m autoextend on encryption using 'AES256' default storage(encrypt);
4. tablespace 삭제
drop tablespace test including contents and datafiles;
5. tablespace datafile 추가 ( none OMF, autoextend ON )
alter tablespace test add datafile '/oracle/app/oracle/oradata/ORCL19/test02.dbf' size 20M autoextend on;
6. tablespace datafile 추가 ( OMF, autoextend ON )
alter tablespace TESTTBS add datafile;
'Oracle > Tech' 카테고리의 다른 글
oracle bash_profile (1) | 2024.04.18 |
---|---|
[Tech] oracle undo tablespace 관리 ( 생성, 삭제 ) (1) | 2024.01.04 |
[Tech] oracle ASM 구성 (2) | 2023.12.11 |
[Tech] ACFS filesystem resize (1) | 2023.12.11 |
[Tech] oracle 리스너 패스워드 설정 (12c R2이상 미지원) (1) | 2023.12.08 |