bbed修改undo段状态(ORA(4)


BBED> p *kdbr[10]
rowdata[799]
------------
ub1 rowdata[799]                            @4679    0x2c

BBED> x /1rnnnnnnnn
rowdata[799]                                @4679 
------------
flag@4679: 0x2c (KDRHFL, KDRHFF, KDRHFH)
lock@4680: 0x00
cols@4681:  17

col    0[2] @4682: 10
col  1[21] @4685: -0
col    2[2] @4707: 1
col    3[2] @4710: 3
col    4[3] @4713: 272
col    5[5] @4717: 5168854
col    6[1] @4723: 0
col    7[3] @4725: 866
col    8[3] @4729: 350
col    9[1] @4733: 0
col  10[2] @4735: 3
col  11[2] @4738: 2
col  12[0] @4741: *NULL*
col  13[0] @4742: *NULL*
col  14[0] @4743: *NULL*
col  15[0] @4744: *NULL*
col  16[2] @4745: 2

在这里我们将回滚段的状态修改为2,表示offline

BBED> modify /x 02 offset 4737
Warning: contents of previous BIFILE will be lost. Proceed? (Y/N) y
File: /opt/oracle/oradata/orcl11g/system01.dbf (1)
Block: 225              Offsets: 4737 to 5248          Dba:0x004000e1
------------------------------------------------------------------------
0202c103 ffffffff 02c1032c 011102c1 0a145f53 5953534d 55395f31 34323433
34313937 352402c1 0202c104 03c20339 05c40614 12210180 03c20b5e 03c2045e
018002c1 0302c103 ffffffff 02c1032c 001102c1 09145f53 5953534d 55385f32
30313233 38323733 302402c1 0202c104 03c20329 05c40614 11380180 03c20b40
03c20334 018002c1 0302c103 ffffffff 02c1032c 001102c1 08145f53 5953534d
55375f33 32383636 31303036 302402c1 0202c104 03c20319 05c40614 11350180
03c20953 03c20418 018002c1 0302c103 ffffffff 02c1032c 001102c1 07145f53
5953534d 55365f32 34343333 38313439 382402c1 0202c104 03c20309 05c40220
295a0180 03c20944 03c20261 018002c1 0402c103 ffffffff 02c1032c 001102c1
06145f53 5953534d 55355f31 35323734 36393033 382402c1 0202c104 03c2025d
05c40614 11340180 03c20d4c 03c20512 018002c1 0302c103 ffffffff 02c1032c
001102c1 05145f53 5953534d 55345f31 31353230 30353935 342402c1 0202c104
03c2024d 05c4023e 14400180 03c2084c 03c20461 018002c1 0402c103 ffffffff
02c1032c 001102c1 04145f53 5953534d 55335f32 30393736 37373533 312402c1
0202c104 03c2023d 05c40614 11360180 03c20b5d 03c2053a 018002c1 0302c103
ffffffff 02c1032c 001102c1 03145f53 5953534d 55325f32 32333235 37313038

<32 bytes per line>

BBED> p *kdbr[10]
rowdata[799]
------------
ub1 rowdata[799]                            @4679    0x2c

BBED> x /1rnnnnnnnn
rowdata[799]                                @4679 
------------
flag@4679: 0x2c (KDRHFL, KDRHFF, KDRHFH)
lock@4680: 0x00
cols@4681:  17

col    0[2] @4682: 10
col  1[21] @4685: -0
col    2[2] @4707: 1
col    3[2] @4710: 3
col    4[3] @4713: 272
col    5[5] @4717: 5168854
col    6[1] @4723: 0
col    7[3] @4725: 866
col    8[3] @4729: 350
col    9[1] @4733: 0
col  10[2] @4735: 1
col  11[2] @4738: 2
col  12[0] @4741: *NULL*
col  13[0] @4742: *NULL*
col  14[0] @4743: *NULL*
col  15[0] @4744: *NULL*
col  16[2] @4745: 2


BBED> sum apply;
Check value for File 1, Block 225:
current = 0x93df, required = 0x93df

BBED> verify
DBVERIFY - Verification starting
FILE = /opt/oracle/oradata/orcl11g/system01.dbf
BLOCK = 225


DBVERIFY - Verification complete

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/93e231913532615df7e1e79d67a28e62.html