Introduction to Data Blocks, Extents, and Segments(一)

Oracle10g存储结构解析

近期将阅读的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/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值