_partition_large_extents TRUE Enables large extent allocation for partitioned tables _index_partition_large_extents FALSE Enables large extent allocation for partitioned indices SQL> select ALLOCATION_TYPE from dba_tablespaces where tablespace_name='USERS'; ALLOCATION_TYPE ------------------ SYSTEM @partition.sql ==》测试用CREATE TABLE脚本,将在users表空间上创建一个有384个子分区的表 alter session set deferred_segment_creation=false; SQL> select count(*) from dba_tab_subpartitions where table_name='MACLEAN_PARTITION'; COUNT(*) ---------- 384 SQL> select blocks,count(*) from dba_Extents where segment_name='MACLEAN_PARTITION' group by blocks; BLOCKS COUNT(*) ---------- ---------- 1024 384 SQL> alter session set "_partition_large_extents"=false; 会话已更改。 @partition.sql SQL> select count(*) from dba_tab_subpartitions where table_name='MACLEAN_PARTITION'; COUNT(*) ---------- 384 SQL> select blocks,count(*) from dba_Extents where segment_name='MACLEAN_PARTITION' group by blocks; BLOCKS COUNT(*) ---------- ---------- 8 384可以看到在11.2.0.2 以后_partition_large_extents参数默认打开(default : TRUE), 且当表空间allocation_type=SYSTEM时
【11gR2新特性】Large Partition Extents:_partition_large_extents & _index_partition_large_extents
原创maclean_007 ©著作权
©著作权归作者所有:来自51CTO博客作者maclean_007的原创作品,请联系作者获取转载授权,否则将追究法律责任
11.2.0.2中引入了_partition_large_extents 的新特性,在extent size auto allocate的表空间上若创建分区表,则分区的initial extent size为8M。
试看下面的例子:
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
fastboot:remote: Image is too large for the partition
-boot版本: v2009.08在调试其他功能时增加了u-boot.bin容量到1M,使用fastboot download时提示:[cpp] view plain cotload
调试 fastboot Image is too large f 分区表 #define -
MSSQL---extents
本文介绍了SQL Server的基本存储分配单位——exents,通过详细说明extents的分类及用途,剖析了SQL Server这一商业rdbms存储层面的管理及机制,以飨读者。
SQL Server extents 4G 分配单位 -
【机器视觉】 dev_set_window_extents算子算子 halcon halcon算子 机器视觉 视觉