메뉴 건너뛰기

Korea Oracle User Group

Install/Configuration

 

ASM Disk를 사용 할때 아래 두가지를 선택을 해야 합니다.

 

1. allocation unit (AU) size 초기 설정.

2. TABLESPACE의 데이타파일을 bigfile 로 사용 여부 

 

두가지를 선택을 하기 위한 가이드 문서입니다.

 

19c가 되었다고 해서 변경 부분은 없는 상태 이고

변경이 되었던 버전부터 참고 링크를 넣었습니다.

 

 

12cR1 

https://docs.oracle.com/database/121/OSTMG/GUID-BC6544D7-6D59-42B3-AE1F-4201D3459ADD.htm#GUID-5AC1176D-D331-4C1C-978F-0ECA43E0900F

 

 

Oracle ASM Storage Limits

 

 

• 511 disk groups in a storage system for Oracle Database 12c Release 1 or later

• 10,000 Oracle ASM disks in a storage system

• 1 million files for each disk group

Without any Oracle Exadata Storage, Oracle ASM has the following storage limits if the COMPATIBLE.ASM or COMPATIBLE.RDBMS disk group attribute is set to less than 12.1:

• 2 terabytes (TB) maximum storage for each Oracle ASM disk

• 20 petabytes (PB) maximum for the storage system

 

Without any Oracle Exadata Storage, Oracle ASM has the following storage limits if the COMPATIBLE.ASM and COMPATIBLE.RDBMS disk group attributes are set to 12.1 or greater:

• 4 PB maximum storage for each Oracle ASM disk with the allocation unit (AU) size equal to 1 MB

• 8 PB maximum storage for each Oracle ASM disk with the AU size equal to 2 MB

• 16 PB maximum storage for each Oracle ASM disk with the AU size equal to 4 MB   --> 가장 보편적으로 사용 중 ( 데이타 파일)

• 32 PB maximum storage for each Oracle ASM disk with the AU size equal to 8 MB

• 320 exabytes (EB) maximum for the storage system

 

With all Oracle Exadata Storage, Oracle ASM has the following storage limits:

• 4 PB maximum storage for each Oracle ASM disk with the AU size equal to 1 MB

• 8 PB maximum storage for each Oracle ASM disk with the AU size equal to 2 MB

• 16 PB maximum storage for each Oracle ASM disk with the AU size equal to 4 MB   --> 가장 보편적으로 사용 중  ( 데이타 파일)

• 32 PB maximum storage for each Oracle ASM disk with the AU size equal to 8 MB

• 320 EB maximum for the storage system

 

RAC 환경에서 OCR, VOTE Disk 사용시 AU 사이즈 정의할때 4MB로 사용을 할 필요는 없을것 같습니다.

따로 DISK GROUP를 정의 하신 후 설정을 하시는것도 고려 해 보시길 바랍니다.

 

 

Bigfile Tablespaces 관련 내용.. 10gR2 정의되었던 내용은 변함없었습니다.

 

10gR2

https://docs.oracle.com/cd/B19306_01/server.102/b14237/limits.htm#REFRN004

 

12cR2

https://docs.oracle.com/en/database/oracle/oracle-database/12.2/refrn/database-limits.html#GUID-ED26F826-DB40-433F-9C2C-8C63A46A3BFE

 

 

Datatype Limits

Physical Database Limits    --> *****  Bigfile Tablespaces

Logical Database Limits

Process and Runtime Limits

 

A bigfile tablespace contains only one datafile or tempfile, 

which can contain up to approximately 4 billion ( 232 ) blocks. 

The maximum size of the single datafile or tempfile is 128 terabytes (TB) for a tablespace with 32K blocks 

and 32TB for a tablespace with 8K blocks.

 

 

Maximum datafile size for a SmallFile Tablespace based on 10gR2 documentation would be:

 

Block Size    Maximum Datafile File Size

-----------     ---------------------------

2k                4194303 * 2k     = 8 GB

4k                4194303 * 4k     = 16 GB

8k                4194303 * 8k     = 32 GB  --> 한개의 데이타 파일은 최대 크기는 32GB 입니다. ( 기본적으로 사용 중) 

16k              4194303 * 16k   = 64 GB

32k              4194303 * 32k   = 128 GB

 

Maximum datafile size for a BigFile Tablespace based on 10gR2 documentation would be:

 

Block Size    Maximum Datafile File Size

-----------     ---------------------------

2k                 4294967295 * 2k     = 8 TB

4k                 4294967295 * 4k     = 16 TB

8k                 4294967295 * 8k     = 32 TB   --> 한개의 데이타파일은 32TB 입니다. ( 기본적으로 사용 중)

16k               4294967295 * 16k   = 64 TB

32k               4294967295 * 32k   = 128 TB

 
 
순수 계산식 입니다. 
실질적으로 OS 마다 다소 차이가 있어서 계산식처럼 나오지 않을것이고 
SmallFile 최대 크기는 31GB 정도 나오지 않을까 싶습니다. ( 파일시스템도 동일 할듯 합니다. )
BigFile 최대 크기도 32TB도 계산식일듯 하여 30 ~ 31 TB 정도 아닐까 싶습니다. (전 아직 이 정도까지는 써보지 못 했습니다.) 
BigFile 사용하는곳이 있을까 싶지만  존재 할듯 합니다. - Exadata 에서는 충분히 사용 할 수 있다고 봅니다.
 
 
 
 
번호 제목 글쓴이 날짜 조회 수
40 19c RAC 2Node 설치-6 [ db sw ] file 우뽕 2020.04.22 120
39 19c RAC 2Node 설치-9 [ dbca ] file 우뽕 2020.04.22 129
38 19c RAC 2Node 설치-10 [ dbca ] file 우뽕 2020.04.22 141
37 19c RAC 2Node 설치-7 [ db sw ] file 우뽕 2020.04.22 216
36 ORA-32000 : Spfile 수정이 불가능. [1] file 우뽕 2020.01.23 226
35 19c RAC 2Node 설치 -3 [ GRID ] file 우뽕 2020.04.21 244
34 19c RAC 2Node 설치-11[ dbca ] file 우뽕 2020.04.22 250
33 ORA-27300, ORA-27301, ORA-27302 Error 와 함께 DB Shutdown - 작성중. Talros 2020.08.28 321
32 오라클 21c RAC 설치 with Oracle Linux 8.2 - 3 (사용할 Disk Group 생성) file 명품관 2021.12.02 339
31 패치 conflict(충돌) 검사 방법 [1] 우뽕 2023.04.04 372
30 19c RAC 2Node 설치 -2 [ 환경, GRID ] file 우뽕 2020.04.21 394
29 12c R1 Install on Cent OS - Part 2 (Grid install) [1] file Talros 2016.02.15 396
28 오라클 21c RAC 설치 with Oracle Linux 8.2 - 5 (DBCA로 Database 생성) file 명품관 2021.12.02 492
27 19c RAC 2Node 설치-5 [ asmca ] file 우뽕 2020.04.21 517
26 12c R1 Install on Cent OS - Part 1 ( Preinstall ) file Talros 2016.02.02 526
25 오라클 21c RAC 설치 with Oracle Linux 8.2 - 4 (Database Software 설치) file 명품관 2021.12.02 793
24 오라클 21c RAC 설치 with Oracle Linux 8.2 - 2 (Grid Infrastructure) [1] file 명품관 2021.12.01 799
23 DBCA에서 ORA-12546: TNS:permission denied.. file 우뽕 2020.02.14 864
22 Oracle 19c RAC 설치 with Oracle Linux 8.2 - 4 (Database Software 설치) file 명품관 2020.11.19 950
21 19c RAC 2Node 설치 -4 [ GRID ] file 우뽕 2020.04.21 958
위로