Oracle数据库数据恢复、性能优化

找回密码
注册
搜索
热搜: 活动 交友 discuz
发新帖

0

积分

1

好友

48

主题
1#
发表于 2013-12-6 10:23:57 | 查看: 3124| 回复: 2
os: windows 2008 64 bit
db: 10.2.0.5

在administrator guid中描述cluster key的size 设定的时候说chain of blocks
If all the rows for a given cluster key value cannot fit in one block, the blocks are chained together to speed access to all the values with the given key. The cluster index points to the beginning of the chain of blocks, each of which contains the cluster key value and associated rows.

我应如何在数据库中观察这个情况呢
2#
发表于 2013-12-6 12:46:14
There could be more entries in a cluster key than fit in a block. In such a case, there would be a
chaining of blocks with the same key. The following line has the chaining information:
curc: 2 comc: 2 pk: 0x01402d36.0 nk: 0x01402d36.0
•curc: 2 Current row count for this key in this block
•comc: 2 Committed row count for this key in this block
•pk: 0x01402d36.0 ROWID of Previous block for this cluster key
•nk: 0x01402d36.0 ROWID of Next block for this cluster key

In this example the pk and nk point back to this block so this is the only block for this cluster key.
Just as it is possible to have values for a key that need to be chained across multiple blocks, it is
also possible to have multiple key values in the same block. In this case, it is necessary to identify
which key a row belongs to. This is done using the cluster key index field (cki). The value of cki is
a pointer to the row number in tab[0]. In this example, there is only one key in this block, hence the
value of cki is 0 for all the rows.
For another example, refer to Note: 52508.1.

回复 只看该作者 道具 举报

3#
发表于 2013-12-6 13:59:56
非常感谢刘大。
这篇Note: 52508.1是internal的,一般的mos账号搜索不到。不知道方便分享不

回复 只看该作者 道具 举报

您需要登录后才可以回帖 登录 | 注册

QQ|手机版|Archiver|Oracle数据库数据恢复、性能优化

GMT+8, 2024-12-21 10:27 , Processed in 0.046006 second(s), 20 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部
TEL/電話+86 13764045638
Email service@parnassusdata.com
QQ 47079569