在之前的
blog
里介绍了
BBED
工具的语法部分。
参考:
Oracle BBED
工具
说明
http://blog.csdn.net/tianlesoftware/article/details/5006580
在这篇主要看一下
BBED
工具的几个使用示例。
Althoughbbed can modify data in the data files of an open Oracle database, it
isadvisable to shut down the database before making any changes. This avoids
thecheckpoint process overwriting the changes made with bbed from the Oracle
blockcache. It also avoids Oracle reading the block before the modifications arecomplete
and declaring the block corrupt.
虽然
bbed
可以在
db open
状态来进行修改,但是建议在做任何修改操作之前先
shutdown db
。
这样避免
checkpoint
进程重写
bbed
对
block
的修改。
也避免
oracle
在
bbed
修改完成之前读
block
或者申明
block
为
corrupt
。
Important:Using bbed to modify the contents of an Oracle data block renders the
dataun-supported by Oracle. These examples should be used for educational
purposesonly. If they are used on real production databases they should only be used
asa last resort and once the immediate problem has been resolved, all retrievabledata
should be exported and a new database created.
bbed
工具不受
Oracle
的技术支持。
Although bbed can be used to open a database that would otherwise be beyond
salvaging,the DBA must bear in mind that the internal tables such as OBJ$, UET$ and
FET$may no longer match the contents of the data blocks. The behavior of thedatabase
will therefore be unpredictable and ORA-600 errors are likely.
一
.
示例:
修改
Data
内容
1.1
连接
bbed
[oracle@db2 ~]$ bbed parfile=/u01/bbed.par
Password:
BBED: Release 2.0.0.0.0 - LimitedProduction on Fri Aug 12 18:26:46 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
************* !!! For Oracle Internal Useonly !!! ***************
BBED>
1.2
查看要修改的内容
相关文档
评论