湖北佛 发表于 2013-9-9 08:42:11

BBED sum push pop命令

BBED> modify /c xyu dba 1,33145 offset 8153

File: /u01/app/oracle/oradata/omrep/system01.dbf (1)
Block: 33145            Offsets: 8153 to 8191         Dba:0x00408179
------------------------------------------------------------------------
78797569 6e206c69 6b65206f 7261636c 65212c01 010d5372 61696e20 69732064
62612106 06148d

<32 bytes per line>

BBED> sum dba 1,33145
Check value for File 1, Block 33145:
current = 0x86b1, required = 0xb9ba

BBED> sum dba 1,33145 apply
Check value for File 1, Block 33145:
current = 0xb9ba, required = 0xb9ba                #Theapply directive can be used to update the checksum.

sys@OMREP> select * from srain;

JOB
----------------------------------------------------------------------------------------------------
Srain is dba!
Srain like oracle!

sys@OMREP> startup foce

sys@OMREP> select * from srain;

JOB
----------------------------------------------------------------------------------------------------
Srain is dba!
xyuin like oracle!

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

BBED> push dba 1,33145
      DBA             0x00408179 (4227449 1,33145)
      OFFSET          8153
push命令将对象放到内存的stack,pop 将对象从内存写回磁盘。

BBED> pop
      DBA             0x00408179 (4227449 1,33145)
      OFFSET          8153
The command pop all can be used to remove all push‘d entries from the stack. Thecommand show all can be used to show all saved locations.

页: [1]
查看完整版本: BBED sum push pop命令