Four steps to quickly start oracle bbed
the
Environment: ora10g RHEL5.8
Introduction: The full name of bbed is data block browsing and editing. It is used for deep learning of oracle block and disaster recovery in special cases.
the
1 Compile and connect:
cd $ORACLE_HOME/rdbms/lib
make -f ins_rdbms.mk $ORACLE_HOME/rdbms/lib/bbed
www.2cto.com
2 Migration execution file:
cp $ORACLE_HOME/rdbms/lib/bbed $ORACLE_HOME/bin
the
3 Configure login information:
bbed login needs to initialize the parameter file parfile to locate the location of the data block to be edited
bbed.par
The simple configuration is as follows:
blocksize=8192
listfile=/home/oracle/a.txt
mode=edit www.2cto.com
the
Next, the simple configuration of a.txt:
6 /u01/app/oracle/oradata/ORCL/datafile/o1_mf_ts_1_7x5v2q05_.dbf
Notes:
1) The naming of bbed.par and a.txt can be arbitrary
2) In a.txt, 6 is the file number, /u01… that is the file name
3) The above configuration must be based on the real situation when you build the database. For example, if the size of the data block is 8k, then the blocksize must be 8k.
the
4 Login link:
The password for bbed is blockedit
Login: bbed parfile=bbed.par
the
the
Author linwaterbin
Four steps to quickly start oraclebbed
This article is from the internet and does not represent1024programmerPosition, please indicate the source when reprinting:https://www.1024programmer.com/four-steps-to-quickly-start-oraclebbed/