oracle分区表迁移后空间占用增大

检查分区段隐含参数:

select a.KSPPINM "Parameter", c.ksppstvl "Instance Value", ksppdesc "Desc"
from sys.x$ksppi a, sys.x$ksppcv b, sys.x$ksppsv c
where a.indx = b.indx and a.indx = c.indx
and substr(ksppinm,1,1)='_'
and a.ksppinm in ('_partition_large_extents');

Parameter               Instance Value        Desc
------------------------------ -------------------- ----------------------------------------------------------------------
_partition_large_extents       TRUE            Enables large extent allocation for partitioned tables

可以把隐含参数_partition_large_extents、_index_partition_large_extents设置成false的话能够节约空间。

检查分区表segment和extent:
select * from dba_segments where segment_name in('PARTITION_TABLE','T');
select * from dba_extents where segment_name in('PARTITION_TABLE','T');

主要是定义的分区init_extent大小不一样导致,默认是64k,这里定义了8M导致表空间占用增大了

参考文档:Initial Extent Size of a Partition Changed to 8MB from 64KB After Upgrade to 11.2.0.2 or Later (Doc ID 1295484.1) 

相关推荐

  1. oracle 空间文件迁移

    2024-04-12 10:36:07       32 阅读
  2. oracle空间对象迁移到其他空间

    2024-04-12 10:36:07       49 阅读
  3. Oracledelete空间不释放

    2024-04-12 10:36:07       52 阅读
  4. oracle回收空间

    2024-04-12 10:36:07       34 阅读
  5. oracle 删除空间

    2024-04-12 10:36:07       34 阅读
  6. Oracle 数据库sysaux空间

    2024-04-12 10:36:07       43 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-04-12 10:36:07       98 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-04-12 10:36:07       106 阅读
  3. 在Django里面运行非项目文件

    2024-04-12 10:36:07       87 阅读
  4. Python语言-面向对象

    2024-04-12 10:36:07       96 阅读

热门阅读

  1. 代码随想录算法训练营第四十四天|leetcode309、714题

    2024-04-12 10:36:07       109 阅读
  2. ORACLE查看数据库中用户,用户创建修改

    2024-04-12 10:36:07       123 阅读
  3. 力扣爆刷第117天之CodeTop100五连刷71-75

    2024-04-12 10:36:07       31 阅读
  4. ChatGPT 写作利器:探索ChatGPT在论文写作中的应用

    2024-04-12 10:36:07       43 阅读
  5. Transformer介绍

    2024-04-12 10:36:07       42 阅读
  6. PHP学习

    PHP学习

    2024-04-12 10:36:07      148 阅读
  7. 计算机网络2

    2024-04-12 10:36:07       30 阅读
  8. (二)PostgreSQL常用的配置文件

    2024-04-12 10:36:07       90 阅读
  9. 深度学习笔记

    2024-04-12 10:36:07       35 阅读