安装BBED
BBED全称oracle block brower and editor tool,可以用来更改数据block。
在有些场合很有用,不过不被官方support。玩玩无妨:)
安装过程如下:
cd $ORACLE_HOME/rdbms/lib
ls -al *bb*.o
-rw――- 1 oracle dba 3152 Nov 7 2006 sbbdpt.o
-rw――- 1 oracle dba 2424 Nov 7 2006 ssbbded.o
make -f ins_rdbms.mk $ORACLE_HOME/rdbms/lib/bbed
Linking BBED utility (bbed)
rm -f /oracle/CATY12/home/products/10203/rdbms/lib/bbed
/usr/ccs/bin/ld -o /oracle/CATY12/home/products/10203/rdbms/lib/bbed
-L/oracle/CATY12/home/products/10203/rdbms/lib/
-L/oracle/CATY12/home/products/10203/lib/ -dy
/oracle/CATY12/home/products/10203/lib/prod/lib/v9/crti.o
/oracle/CATY12/home/products/10203/lib/prod/lib/v9/crt1.o
/oracle/CATY12/home/products/10203/lib/s0main.o
/oracle/CATY12/home/products/10203/rdbms/lib/ssbbded.o
/oracle/CATY12/home/products/10203/rdbms/lib/sbbdpt.o `cat
/oracle/CATY12/home/products/10203/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10
-lnzjs10 -ln10 -lnnz10 -lnl10
/oracle/CATY12/home/products/10203/rdbms/lib/defopt.o -ldbtools10 -lclntsh
`cat /oracle/CATY12/home/products/10203/lib/ldflags` -lnsslb10 -lncrypt10
-lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat
/oracle/CATY12/home/products/10203/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10
-lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10 -lcommon10
-lgeneric10 -lmm -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10
-lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat
/oracle/CATY12/home/products/10203/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10
-lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat
/oracle/CATY12/home/products/10203/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10
-lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10 -lcommon10
-lgeneric10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10
-lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 -lclient10
-lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lsnls10 -lnls10 -lcore10 -lsnls10
-lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10
-lcore10 -lnls10 `cat /oracle/CATY12/home/products/10203/lib/sysliblist` -R
/opt/SUNWcluster/lib/sparcv9:/oracle/CATY12/home/products/10203/lib:/opt/ORCLclu
ster/lib/ -Y
P,:/opt/SUNWcluster/lib/sparcv9:/opt/ORCLcluster/lib/:/usr/ccs/lib/sparcv9:/usr/
lib/sparcv9 -Qy -lc -laio -lposix4 -lkstat -lm
/oracle/CATY12/home/products/10203/lib/prod/lib/v9/crtn.o
cp $ORACLE_HOME/rdbms/lib/bbed $ORACLE_HOME/bin
bbed
Password:
BBED: Release 2.0.0.0.0 - Limited Production on Wed Sep 16 23:14:39 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
************* !!! For Oracle Internal Use only !!! ***************
BBED> help all
SET DBA [ dba | file#, block# ]
SET FILENAME ‘filename’
SET FILE file#
SET BLOCK [+/-]block#
SET OFFSET [ [+/-]byte offset | symbol | *symbol ]
SET BLOCKSIZE bytes
SET LIST[FILE] ‘filename’
SET WIDTH character_count
SET COUNT bytes_to_display
SET IBASE [ HEX | OCT | DEC ]
SET OBASE [ HEX | OCT | DEC ]
SET MODE [ BROWSE | EDIT ]
SET SPOOL [ Y | N ]
SHOW [ | ALL ]
INFO
MAP[/v] [ DBA | FILENAME | FILE | BLOCK ]
DUMP[/v] [ DBA | FILENAME | FILE | BLOCK | OFFSET | COUNT ]
PRINT[/x|d|u|o|c] [ DBA | FILE | FILENAME | BLOCK | OFFSET | symbol | *symbol ]
EXAMINE[/Nuf] [ DBA | FILE | FILENAME | BLOCK | OFFSET | symbol | *symbol ]
:
N - a number which specifies a repeat count.
u - a letter which specifies a unit size:
b - b1, ub1 (byte)
h - b2, ub2 (half-word)
w - b4, ub4(word)
r - Oracle table/index row
f - a letter which specifies a display format:
x - hexadecimal
d - decimal
u - unsigned decimal
o - octal
c - character (native)
n - Oracle number
t - Oracle date
i - Oracle rowid
FIND[/x|d|u|o|c] numeric/character string [ TOP | CURR ]
COPY [ DBA | FILE | FILENAME | BLOCK ] TO [ DBA | FILE | FILENAME | BLOCK ]
MODIFY[/x|d|u|o|c] numeric/character string
[ DBA | FILE | FILENAME | BLOCK | OFFSET | symbol | *symbol ]
ASSIGN[/x|d|u|o] =
: [ DBA | FILE | FILENAME | BLOCK | OFFSET | symbol | *symbol ]
: [ value | ]
SUM [ DBA | FILE | FILENAME | BLOCK ] [ APPLY ]
PUSH [ DBA | FILE | FILENAME | BLOCK | OFFSET ]
POP [ALL]
REVERT [ DBA | FILE | FILENAME | BLOCK ]
UNDO
HELP [ | ALL ]
VERIFY [ DBA | FILE | FILENAME | BLOCK ]
CORRUPT [ DBA | FILE | FILENAME | BLOCK ]
BBED>
建议继续学习:
扫一扫订阅我的微信号:IT技术博客大学习
- 作者:Eagle Fan 来源: eagle's home
- 标签: BBED
- 发布时间:2009-10-21 09:06:24
- [66] Oracle MTS模式下 进程地址与会话信
- [65] Go Reflect 性能
- [64] 如何拿下简短的域名
- [60] android 开发入门
- [59] 图书馆的世界纪录
- [59] 【社会化设计】自我(self)部分――欢迎区
- [58] IOS安全–浅谈关于IOS加固的几种方法
- [54] 视觉调整-设计师 vs. 逻辑
- [48] 界面设计速成
- [48] 读书笔记-壹百度:百度十年千倍的29条法则