메뉴 건너뛰기

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 Oracle Database 19c Patch Update(단일 인스턴스 오라클 DB 19.3 에서 19.9로 RU Update) 명품관 2020.11.24 35215
39 New version of our Hands-On Lab available for download "Upgrade/Migrate/Consolidate to Oracle 12c" HOL 명품관 2015.12.22 8994
38 How to Enable/Disable Oracle Binary Option [1] Talros 2016.03.09 8626
37 19c RAC OJVM 패치작업 우뽕 2020.04.22 5308
36 Oracle RAC RU rolling patching from 19.3 to 19.9.0.0.201020(Patch 31750108) [1] file 명품관 2020.12.08 5258
35 Oracle 19c RAC 설치 with Oracle Linux 8.2 - 2 (Grid Infrastructure) file 명품관 2020.11.19 5066
34 Oracle 19c RAC 설치 with Oracle Linux 8.2 - 1 (OS 및 스토리지 설정) 명품관 2020.11.14 4871
33 ASM 에 spfile 등록 및 삭제 하기 우뽕 2020.07.27 4474
32 오라클 21c RAC 설치 with Oracle Linux 8.2 - 1 (OS 및 스토리지 설정) 명품관 2021.12.01 3055
31 Oracle 19c RAC 설치 with Oracle Linux 8.2 - 5 (DBCA로 Database 생성) file 명품관 2020.11.19 2829
30 19c RAC 2Node 설치 -1 [ 환경 ,OS 세팅 ] file 우뽕 2020.04.14 2688
29 19c RAC - Manual Patch 적용방법 우뽕 2020.05.05 2342
28 Oracle EM(Enterprise Manager) 13.4 설치 및 구성 - 2(EM 설치) file 명품관 2020.11.27 2323
27 Oracle 19c RAC 설치 with Oracle Linux 8.2 - 3 (사용할 Disk Group 생성) file 명품관 2020.11.19 1492
26 DBCA/DBUA 사용시 마지막 단계 Finish 버튼 클릭 후 행 현상 발생 시 체크 사항 명품관 2015.12.17 1464
25 19c RAC 2Node 설치-8 [ Patch ] 우뽕 2020.04.22 1405
24 19c RAC 2Node 삭제 하기 file 우뽕 2020.04.22 1350
23 메뉴얼하게 DB 추가 작업 - GRID 리소스에 DB 추가 작업 우뽕 2020.07.27 1298
22 Oracle EM(Enterprise Manager) 13.4 설치 및 구성 - 1(Repository DB 설치) file 명품관 2020.11.23 1190
» Automatic Storage Management (ASM) 사용시 고려해야 할 사항 [2] 우뽕 2020.02.06 1062
위로