X$BH State列:
Buffer Cache 中所有块的当前状态从State列可得到缓冲区状态值表:0,'free' 空闲1,'xcur' 独占2,'scur' 并发共享3,'cr' 一致性读取4,'read' 读取5,'mrec' MediaRecovery6,'irec' InstanceRecovery7,'write' 写入8,'pi', Pinned9,'memory' 内存10,'mwrite' 内存写11,'donated'
0, FREE, no valid block image
1, XCUR, a current mode block, exclusive to this instance
2, SCUR, a current mode block, shared with other instances
3, CR, a consistent read (stale) block image
4, READ, buffer is reserved for a block being read from disk
5, MREC, a block in media recovery mode
6, IREC, a block in instance (crash) recovery mode
This is a very useful internal view on the buffer cache headers for database blocks in the buffer cache, V$BH.
V$BH 来源于X$BH与X$LE
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/22990797/viewspace-753138/
,如需转载,请注明出处,否则将追究法律责任。