近期将阅读的Oracle10g Concepts中值得注意的地方帖出来,督促自己不断学习进步
Introduction to Data Blocks, Extents, and Segments
1. Oracle stores data in data blocks (also called logical blocks, Oracle blocks, or pages)
2. An extent is a specific number of contiguous data blocks allocated for storing a specific type of information.
3. A segment is a set of extents,are stored in the same tablespace.each table's data is stored in its own data segment, while each index's data is stored in its own index segment. If the table or index is partitioned, each partition is stored in its own segment.
4. Oracle allocates space for segments in units of one extent. When the existing extents of a segment are full, Oracle allocates another extent for that segment.the extents of a segment may or may not be contiguous on disk.
5. Within a tablespace, a segment can include extents from more than one file; that is, the segment can span datafiles. However, each extent can contain data from only one datafile.
6. Although you can allocate additional extents, the blocks themselves are allocated separately. If you allocate an extent to a specific instance, the blocks are immediately allocated to the free list. However, if the extent is not allocated to a specific instance,then the blocks themselves are allocated only when the high water mark moves. The high water mark is the boundary between used and unused space in a segment.
有关hwm之前的这段有点不太明白?[@more@]
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10599713/viewspace-930068/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/10599713/viewspace-930068/
Oracle10g存储结构解析
1万+

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



