mysql RBA_Know more about RBA redo block address

A "Redo Block Address" (RBA) describes a physical location within a redo log file. An RBA consists of the following:

Log sequence number

Block number within log file

Byte offset within block

The structure of the redo block address is given below :

1 - The number of the redo log.

[4 bytes]

2 - The block offset from the beginning of the redo log file.

[4 bytes]

3 - The byte offset within the block.

[2 bytes]

Log sequence number v$logmnr_contents.RBASQN

Block number within log file v$logmnr_contents.RBABLK

Byte offset within block v$logmnr_contents.RBABYTE

So in this case, RBA [0x19.2.10] maps to Log squence 25, Block number 2 with byte offset 16.

With this information you should be able to find the details from v$logmnr_contents.

In particular, the buffer header information includes two fields: low-RBA and high-SCN. The low-RBA field indicates the point in the redo-log corresponding to the block’s first update after it came into the buffer cache. The high-SCN field indicates the SCN of the last update to the block.

***************************************************************************

CHECKPOINT PROGRESS RECORDS

***************************************************************************

(size = 8180, compat size = 8180, section max = 11, section in-use = 0,

last-recid= 0, old-recno = 0, last-recno = 0)

(extent = 1, blkno = 2, numrecs = 11)

THREAD #1 - status:0x2 flags:0x0 dirty:47

low cache rba:(0x37a.11c.0) on disk rba:(0x37a.151.0)

on disk scn: 0x0000.0045d2f2 12/19/2011 01:03:21

resetlogs scn: 0x0000.00080634 11/07/2011 04:08:50

heartbeat: 770246919 mount id: 2811012380

THREAD #2 - status:0x0 flags:0x0 dirty:0

low cache rba:(0x0.0.0) on disk rba:(0x0.0.0)

on disk scn: 0x0000.00000000 01/01/1988 00:00:00

resetlogs scn: 0x0000.00000000 01/01/1988 00:00:00

heartbeat: 0 mount id: 0

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值