Oracle 11g Compilation uses bbed

Source: Internet
Author: User
Tags dba

Environment: RHEL 6.4 + Oracle 11.2.0.4

    • 1. Copy missing files
    • 2. Compiling bbed
    • 3. bbed Use test
    • Reference
1. Copy missing files

There are a few related files missing in 11g, but we can actually copy the relevant files from 10g to 11g corresponding directories:

$ORACLE_HOME/rdbms/lib/sbbdpt.o$ORACLE_HOME/rdbms/lib/ssbbded.o$ORACLE_HOME/rdbms/mesg/bbedus.msb$ORACLE_HOME/rdbms/mesg/bbedus.msg
2. Compiling bbed
make -f $ORACLE_HOME/rdbms/lib/ins_rdbms.mk BBED=$ORACLE_HOME/bin/bbed $ORACLE_HOME/bin/bbed

The result of a successful compilation is as follows:

[[email protected] dbhome_1]$ make-f $ORACLE _home/rdbms/lib/ins_rdbms.mk bbed= $ORACLE _home/bin/bbed $ORACLE _ Home/bin/bbedlinking bbed Utility (bbed) rm-f/u02/app/oracle/product/11.2.0/dbhome_1/bin/bbedgcc-o/u02/app/oracle/ Product/11.2.0/dbhome_1/bin/bbed-m64-z noexecstack-l/u02/app/oracle/product/11.2.0/dbhome_1/rdbms/lib/-L/u02/ app/oracle/product/11.2.0/dbhome_1/lib/-l/u02/app/oracle/product/11.2.0/dbhome_1/lib/stubs//u02/app/oracle/ Product/11.2.0/dbhome_1/lib/s0main.o/u02/app/oracle/product/11.2.0/dbhome_1/rdbms/lib/ssbbded.o/u02/app/oracle /PRODUCT/11.2.0/DBHOME_1/RDBMS/LIB/SBBDPT.O ' Cat/u02/app/oracle/product/11.2.0/dbhome_1/lib/ldflags '-lncrypt11- Lnsgr11-lnzjs11-ln11-lnl11-ldbtools11-lclntsh ' Cat/u02/app/oracle/product/11.2.0/dbhome_1/lib/ldflags '-lncrypt1 1-lnsgr11-lnzjs11-ln11-lnl11-lnro11 ' Cat/u02/app/oracle/product/11.2.0/dbhome_1/lib/ldflags '-lncrypt11-lnsgr11 -lnzjs11-ln11-lnl11-lnnz11-lzt11-lztkg11-lclient11-lnnetd11-lvsn11-lcommon11-lgeneric11-lmm-lsnls11-lnls11-lcore11-lsnls11-lnls11-lcore11-lsnls11-lnls11-lxml11-lcore11-lun Ls11-lsnls11-lnls11-lcore11-lnls11 ' Cat/u02/app/oracle/product/11.2.0/dbhome_1/lib/ldflags '-lncrypt11-lnsgr11-l Nzjs11-ln11-lnl11-lnro11 ' Cat/u02/app/oracle/product/11.2.0/dbhome_1/lib/ldflags '-lncrypt11-lnsgr11-lnzjs11-ln1 1-lnl11-lclient11-lnnetd11-lvsn11-lcommon11-lgeneric11-lsnls11-lnls11-lcore11-lsnls11-lnls11-lcore11-lsnl S11-lnls11-lxml11-lcore11-lunls11-lsnls11-lnls11-lcore11-lnls11-lclient11-lnnetd11-lvsn11-lcommon11-lgeneric 11-lsnls11-lnls11-lcore11-lsnls11-lnls11-lcore11-lsnls11-lnls11-lxml11-lcore11-lunls11-lsnls11-lnls11-lcore 11-lnls11 ' Cat/u02/app/oracle/product/11.2.0/dbhome_1/lib/sysliblist '-wl,-rpath,/u02/app/oracle/product/11.2.0/ Dbhome_1/lib-lm ' Cat/u02/app/oracle/product/11.2.0/dbhome_1/lib/sysliblist '-LDL-LM-L/U02/APP/ORACLE/PRODUCT/11. 2.0/dbhome_1/lib
3. bbed Use test
--3.1 bbed command test available [[email protected] dbhome_1]$ bbedpassword:--Password default is Blockeditbbed:release 2.0.0.0.0-limited  Production on Mon Jan 15:13:09 2016Copyright (c) 1982, and Oracle and/or its affiliates. All Rights reserved.*************!!! For Oracle Internal with only!!! bbed> help Allset dba [DBA | file#, block#]set filename ' filename ' SET file file#set block [+/-]block#s ET offset [[+/-]byte offset | symbol | *symbol]set BLOCKSIZE bytesset list[file] ' filename ' SET WIDTH character_countset COUNT bytes_to_displayset IBASE [HEX | OCT | DEC]set OBASE [HEX | OCT | DEC]set MODE [BROWSE | EDIT]set SPOOL [Y | N]show [<set parameter> | All]infomap[/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]</nuf>: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 ta   Ble/index rowf-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 rowidfind[/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] <target spec>=<source spec><target spec>: [DBA | FILE | FILENAME | BLOCK | OFFSET | Symbol | *symbol]<source spec>: [value | <target spec options>]sum [DBA | FILE | FILENAME | BLOCK] [APPLY]push [DBA | FILE | FILENAME | BLOCK | OFFSET]pop [All]revert [DBA | FILE | FILENAME | BLOCK]undohelp [<bbed command> | All]verify [DBA | FILE | FILENAME | BLOCK]corrupt [DBA | FILE | FILENAME | BLOCK]bbed>--3.2 bbed command parameters [[email protected] tmp]$ bbed help=ypassword-required parameterfilename-database fi Le nameblocksize-database block sizelistfile-list file Namemode-[Browse/edit]spool-spool to LogFile [no/yes]cmdfil e-bbed command file namelogfile-bbed log file Nameparfile-parameter file namebifile-bbed before-image file Namerev Ert-rollback changes from Bifile [No/yes]silent-hide banner [no/yes]help-show all valid parameters [No/yes]

In addition, the general use of bbed is to write the configuration parameters in the parameter configuration file, and then directly invoke the configuration file, such as:

--编辑/tmp/bbed.par参数配置文件blocksize=8192listfile=/tmp/listfile.txtmode=edit--编辑/tmp/listfile.txt文件 5 /u02/oradata/jingyu/dbs_d_jingyu01.dbf 314572806 /u02/oradata/jingyu/dbs_i_jingyu01.dbf 31457280--调用bbedcd /tmpbbed parfile=bbed.par
Reference
    • Oracle bbed Tool Description
    • Four-step fast start Oracle bbed

Oracle 11g Compilation uses bbed

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.