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 保持不变 ??
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博客 ” ,链接:http://blog.itpub.net/35489/viewspace-668208/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/35489/viewspace-668208/