摘抄:http://www.runningoracle.com/product_info.php?products_id=338
Summary
Oracle has limitation bounds with the db_block_size. Depending the
db_block_size you can create
datafiles up to one specific size. For example.
db_block_size | Datafile upper limit ---------------------------------------------- 2kb 8GB 4kb 16GB 8kb 32GB 16kb 64GB 32kb 128GBIf you have db_block_size=8Kb and try to create a datafile with size 33GB you will get the error:
ORA-01144: File size (4224000 blocks) exceeds maximum of 4194303 blocksThe formula to calculate the max size is: db_block_size * 4194303.
The workaround to this situation is obvious. One simple solution is to create multiple datafiles with smaller size. The othe is to use Bigfile tablespaces
Bigfile tablespaces
This is a feature of Oracle 10g. A bigfile tablespace contains only one datafile (or tempfile) which can be as big as 2^32 (=4GB) blocks.
create bigfile tablespace beeeg_ts data file '/o1/dat/beeeg.dbf' size 2T;Bigfile tablespaces are supported only for locally managed tablespaces with automatic segment-space management (which is the default setting since Oracle 9i). There are two exceptions: locally managed undo and temporary tablespaces can be bigfile tablespaces, even though their segments are manually managed.
The system and sysaux tablespace cannot be created as bigfile tablespace. Bigfile tablespaces should be used with automatic storage management, or other logical volume managers that support dynamically extensible logical volumes, striping and RAID.
Oracle大文件表空间限制
本文探讨了Oracle数据库中db_block_size参数对于数据文件大小的限制,并提供了如何创建超过常规限制的大文件表空间的方法。介绍了Oracle 10g引入的大文件表空间特性,及其适用场景与限制。
1394

被折叠的 条评论
为什么被折叠?



