ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 10g 数据文件头到底有多少数据块,还是说固定有多大?

10g 数据文件头到底有多少数据块,还是说固定有多大?

原创 Linux操作系统 作者:tolywang 时间:2010-07-16 17:35:38 0 删除 编辑
Oracle 10.2.0.4  , Linux AS 5.3  , 64bit  

block_size = 16K



读到下面的文档:   LMT :  本地管理表空间,不使用FET$及UET$, 而是在表空间的数据文件头部选出6个block(从第3个block到第8个block), 在其中存放bitmap来管理extent的分配及释放。





参考大师的文章 http://dbsnake.com/2009/08/9i-10g-datafile-hdr.html  
10g的datafile header,有676个bytes。




其他文档:  
The locally-managed (bitmapped) tablespace file has the following structure:
1、File header: 1 block
2、Bitmapped file space header: 1 block
3、Head portion of bitmap blocks: N blocks
4、Useful file blocks: U units (A unit is a number of blocks.)
5、Tail portion of bitmap blocks: M blocks
If a Unit = B blocks, then the total file size = 1 + 1 + N + U*B +M.
The operating system file allocated will in some cases be file size + 1 block for the OS header.  






那么Oracle10g  的datafile header 是以block数为单位, 还是以bytes数为单位,因为原来在学习LMT 本地空间管理的时候读到
一篇文章,写到数据文件头的 bitmap 区域需要占用 64K 的大小, 这里看到的是bitmap 区域是由第3个block到第8个block 的
6个block来存储的, 那么如果 block_size 选取的大小不一样,  比如 block size = 8k, 16k , 32 k 甚至 64k , 那么文件头的bitmap
区域是否还是由 6 个block组成,还是说大小还是 64K 保持不变 ??  

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/35489/viewspace-668208/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
Oracle , MySQL, SAP IQ, SAP HANA, PostgreSQL, Tableau 技术讨论,希望在这里一起分享知识,讨论技术,畅谈人生 。

注册时间:2007-12-10

  • 博文量
    5595
  • 访问量
    14695818