dba_tables 和 dba_segments 表中 blocks 的区别

Dba_Segments .blocks = Dba_Tables.Blocks+Dba_Tables.Empty_Blocks +1segment header block

这个多加的1是,是segment header block. 

如果查询的结果不是这样,可能是你没有分析表。 不妨分析表之后在查一下看看。 

这两张表对blocks 的定义也不一样:

DBA_SEGMENTS.BLOCKS holds the total number of blocks allocated to the table. 

USER_TABLES.BLOCKS holds the total number of blocks allocated for data.

请使用浏览器的分享功能分享到微信等