oracle數(shù)據(jù)庫和表空間的最大數(shù)據(jù)容量限制 |
發(fā)布時間: 2014/8/14 10:37:09 |
數(shù)據(jù)庫顧名思義是數(shù)據(jù)的集合也是虛擬主機搭建網(wǎng)站儲存數(shù)據(jù)的工具,而Oracle則是管理這些數(shù)據(jù)集合的軟件系統(tǒng),它是一個對象關(guān)系型的數(shù)據(jù)庫管理系統(tǒng)。表空間是Oracle對物理數(shù)據(jù)庫上相關(guān)數(shù)據(jù)的邏輯映射。 一個數(shù)據(jù)庫在邏輯上被劃分成一到若干個表空間,每個表空間包含了在邏輯上相關(guān)聯(lián)的一組結(jié)構(gòu)。每個數(shù)據(jù)庫至少有一個表空間(稱之為system表空間)。 每個表空間由同一磁盤上的一個或多個文件組成,這些文件叫數(shù)據(jù)文件(datafile)。一個數(shù)據(jù)文件只能屬于一個表空間。 oracle數(shù)據(jù)庫的最大數(shù)據(jù)容量限制和表空間的最大數(shù)據(jù)容量限制 參考原文: 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 本文出自:億恩科技【mszdt.com】 服務(wù)器租用/服務(wù)器托管中國五強!虛擬主機域名注冊頂級提供商!15年品質(zhì)保障!--億恩科技[ENKJ.COM] |