鱼C论坛

 找回密码
 立即注册
查看: 3094|回复: 0

[Oracle] BBED sum push pop命令

[复制链接]
发表于 2013-9-9 08:42:11 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能^_^

您需要 登录 才可以下载或查看,没有账号?立即注册

x
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.

想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复

使用道具 举报

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

本版积分规则

小黑屋|手机版|Archiver|鱼C工作室 ( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)

GMT+8, 2024-11-25 02:05

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表