ASM Disk를 사용 할때 아래 두 가지를 선택을 해야 합니다.
1. allocation unit (AU) size 초기 설정
2. TABLESPACE 의 데이타파일 을 bigfile 로 사용 여부
두 가지를 선택을 하기 위한 가이드 문서입니다.
19c가 되었다고 해서 변경 부분은 없는 상태 이고 변경이 되었던 버전부터 참고 링크를 넣었습니다.
12cR1
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
12cR2
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 도 계산식 입니다
BigFile 사용하는 곳이 점점 많아질 것 입니다.

By haisins

오라클 DBA 박용석 입니다. haisins@gmail.com 으로 문의 주세요.

답글 남기기

이메일 주소를 발행하지 않을 것입니다. 필수 항목은 *(으)로 표시합니다