技术头条 - 一个快速在微博传播文章的方式     搜索本站
您现在的位置首页 --> Oracle --> 安装BBED

安装BBED

浏览:1901次  出处信息

    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>

建议继续学习:

  1. Oracle bbed工具的编译    (阅读:2544)
QQ技术交流群:445447336,欢迎加入!
扫一扫订阅我的微信号:IT技术博客大学习
© 2009 - 2024 by blogread.cn 微博:@IT技术博客大学习

京ICP备15002552号-1