A tablespace that manages its own extents maintains a bitmap in each datafile to keep
track of the free or used status of blocks in that datafile. Each bit in the bitmap
corresponds to a block or a group of blocks. When an extent is allocated or freed for
reuse, Oracle changes the bitmap values to show the new status of the blocks. These
changes do not generate rollback information because they do not update tables in the
data dictionary (except for special cases such as tablespace quota information).
Locally managed tablespaces have the following advantages over dictionary managed
tablespaces:
1 Local management of extents automatically tracks adjacent free space, eliminating
the need to coalesce free extents.
2 Local management of extents avoids recursive space management operations.
Such recursive operations can occur in dictionary managed tablespaces if
consuming or releasing space in an extent results in another operation that
consumes or releases space in a data dictionary table or rollback segment.
本地管理表空间
1. 每个数据文件通过维护一个位图来跟踪
2. 当一个区间被分配或者释放 , Oracle更新位图的值来说明块的状态 , 不产生回滚信息
3. lmt相比dmt有如下优势
a. lmt不用合并空间的区间
b. 避免空间管理的递归
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10599713/viewspace-974026/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/10599713/viewspace-974026/
Oracle表空间管理
本文介绍了Oracle数据库中表空间的管理方式,重点对比了本地管理表空间(LMT)与字典管理表空间(DMT)的不同之处。LMT通过位图跟踪数据文件中块的使用状态,当区间分配或释放时,Oracle会更新位图值但不会生成回滚信息。相较于DMT,LMT具有自动跟踪相邻空闲空间、避免空间管理递归操作等优势。
2067

被折叠的 条评论
为什么被折叠?



