欢迎投稿

今日深度:

【翻译自mos文章】oracle数据库的最大数据容量限

【翻译自mos文章】oracle数据库的最大数据容量限制和表空间的最大数据容量限制,mosoracle


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

Oracle Enterprise Manager Console 更改表空间,存储最大大小设置无限制不可以选择

用语句执行下呢!
ALTER DATABASE DATAFILE1 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\DATA1 AUTOEXTEND ON
NEXT 10240M
MAXSIZE UNLIMITED;
看不能修改是什么错嘛!
还有操作系统有最大文件的大小限制吧!特别是FAT32只有2点多G!
 

oracle数据库的还原一个大小为29G的dmp文件进行还原 ,临时表空间与表空间最大值应至少设多少?

如果原库存在,先使用下面语句查询一下,根据查询结果设置文件大小。
select t.tablespace_name, round(sum(bytes / (1024 * 1024)), 0) ts_size
from dba_tablespaces t, dba_data_files d
where t.tablespace_name = d.tablespace_name
group by t.tablespace_name;
如果没有则设置成29G+10G,并且将表空间设置成自动增长。
 

www.htsjk.Com true http://www.htsjk.com/shujukunews/2556.html NewsArticle 【翻译自mos文章】oracle数据库的最大数据容量限制和表空间的最大数据容量限制,mosoracle oracle数据库的最大数据容量限制和表空间的最大数据容量限制 参考原文: What Is The Maximum Tabl...
评论暂时关闭