標籤:oracle max database size max tablespace size max datafile size
oracle資料庫的最大資料容量限制和資料表空間的最大資料容量限制
參考原文:
What Is The Maximum Tablespace Size And Database Limit For An Oracle Database ? (Doc ID 1372905.1)
適用於:
Oracle Database - Enterprise Edition - Version 10.1.0.2 to 11.2.0.3 [Release 10.1 to 11.2]
Oracle Database - Enterprise Edition - Version 11.2.0.4 to 11.2.0.4 [Release 11.2]
Information in this document applies to any platform.
目標:
在oracle 10g和11g中,如下的最大值是什嗎?
database
tablespace
datafile
解決方案:
對於small file database
For a small file database, the Oracle database has the following limits :
maximum number of datafiles is : 65533
maximum data blocks per datafile : 2^22 -1 = 4194303
maximum datafile size = db_block_size * maximum number of blocks
maximum db_block_size = 32 K
maximum tablespace size = 1022 * max database file
Resulting values are:
maximum datafile size = 32 * 4194303 = 128 GB
maximum tablespace size = 1022 * 128 GB = 130816 GB
maximum database size = 128 G * 65533 = 8388224 GB
對於big file database
For a big file database, the Oracle database has the following limits :
maximum number of datafiles is : 65533
maximum data blocks per datafile : 2^32 = 4294967296
maximum datafile size = db_block_size * maximum number of blocks
max db_block_size = 32 K
maximum tablespace size = size of big datafile
Resulting values are:
maximum datafile size = 32 * 4294967296 = 128 TB
maximum tablespace size = 128 TB
maximum database size = 128 T * 65533 =8388224 TB