bb用来直接查看和修改数据文件数据的一个工具,是可以直接修改要想使用该工具,需用户自己安装,在Oracle 9我
,
[oracle@node1 u01],美元cd $ ORACLE_HOME/rdbms/lib/
[oracle@node1 自由],美元make -f ins_rdbms.mk $ ORACLE_HOME/rdbms/lib/bb
,
Linking BBED  utility (bb)
rm -f /u01/app/oracle/10.2.0 db_1/rdbms/lib/bb
gcc -o /u01/app/oracle/10.2.0/db_1/rdbms/lib/bbed -L/u01/app/oracle/10.2.0/db_1/rdbms/lib/ -L/u01/app/oracle/10.2.0/db_1/lib/ -L/u01/app/oracle/10.2.0/db_1/lib/stubs/ -L/usr/lib -lirc /u01/app/oracle/10.2.0/db_1/lib/s0main.o /u01/app/oracle/10.2.0/db_1/rdbms/lib/ssbbded.o /u01/app/oracle/10.2.0/db_1/rdbms/lib/sbbdpt.o `cat /u01/app/oracle/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 /u01/app/oracle/10.2.0/db_1/rdbms/lib/defopt.o -ldbtools10 -lclntsh `cat /u01/app/oracle/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /u01/app/oracle/10.2.0/db_1/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 /u01/app/oracle/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /u01/app/oracle/10.2.0/db_1/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 /u01/app/oracle/10.2.0/db_1/lib/sysliblist` -Wl,-rpath,/u01/app/oracle/10.2.0/db_1/lib -lm `cat /u01/app/oracle/10.2.0/db_1/lib/sysliblist` -ldl -lm -L/u01/app/oracle/10.2.0/db_1/lib
,
Oracle11g
$ ORACLE_HOME/rdbms/lib/ssbbded.o
$ ORACLE_HOME/rdbms/lib/sbbdpt.o
$ ORACLE_HOME/rdbms/mesg/bbedus.msb
$ ORACLE_HOME/rdbms/mesg/bbedus.msg
,
,
在第一次使用时会发现有默认的口令,从这里可以看的出
,
(oracle@node1 ~),美元cd $ ORACLE_HOME/rdbms/lib
[oracle@node1 自由],美元。/bbed
密码:
,
bb: Release 2.0.0.0.0 作用;Limited Production 提醒Thu Jul 10 16:09:57 2014
,
Copyright (c), 1982年,2005年,甲骨文只All rights 保留。
,
* * * * * * * * * * * * *,! ! !,For Oracle Internal Use only ! ! !, * * * * * * * * * * * * * * *
,
查看一下
BBED> help 所有
SET DBA [, DBA |,文件#,#块,)
SET FILENAME “文件名”
# SET FILE 文件
SET BLOCK (+/-) #
SET OFFSET (, (+/-) byte OFFSET |, symbol |, * symbol 】
SET BLOCKSIZE 字节
SET 列表[文件],“文件名”