oracle之 11.2.0.4 bbed安裝
一、 bbed安裝:
1、ORACLE 11G下安裝BBED,需要從ORACLE 10G中複製三個包 sbbdpt.o 、ssbbded.o
並將兩個檔案移到$ORACLE_HOME/rdbms/lib/ 目錄下 , bbedus.msb 移到 $ORACLE_HOME/mesg/ 下面
[oracle]$ pwd
/u01/app/oracle/product/11.2.0/db_1/rdbms/lib
node1-> ll bbedus.msb
-rw-r--r--. 1 oracle oinstall 8704 Mar 5 17:39 bbedus.msb
node1-> ll sbbdpt.o
-rw-r--r--. 1 oracle oinstall 1863 Mar 5 17:39 sbbdpt.o
node1-> ll ssbbded.o
-rw-r--r--. 1 oracle oinstall 1191 Mar 5 17:39 ssbbded.o
2、 編譯
[oracle]$ make -f $ORACLE_HOME/rdbms/lib/ins_rdbms.mk BBED=$ORACLE_HOME/bin/bbed $ORACLE_HOME/bin/bbed
Linking BBED utility (bbed)
3、安裝成功登陸如下:
[oracle]$ bbed
Password: 預設密碼是:blockedit
BBED>
4、 配置bbed
BBED> set file 1 block 1
BBED-00312: no LISTFILE specified > 原因沒有配置
-- 將sql 查詢結果,寫入 bbedfile.txt 檔案, 並配置 bbed 的 par.bbd
SQL> select file#||' '||name||' '||bytes from v$datafile ;
[oracle@12c01 bbed]$ cat bbedfile.txt
1 /home/oracle/app/oracle/oradata/andycdb/system01.dbf 859832320
3 /home/oracle/app/oracle/oradata/andycdb/sysaux01.dbf 576716800
4 /home/oracle/app/oracle/oradata/andycdb/undotbs01.dbf 62914560
5 /home/oracle/app/oracle/oradata/andycdb/pdbseed/system01.dbf 262144000
6 /home/oracle/app/oracle/oradata/andycdb/pdbseed/sysaux01.dbf 367001600
7 /home/oracle/app/oracle/oradata/andycdb/users01.dbf 5242880
8 /home/oracle/app/oracle/oradata/andycdb/pdbseed/undotbs01.dbf 104857600
9 /home/oracle/app/oracle/oradata/andycdb/pdb01/system01.dbf 272629760
10 /home/oracle/app/oracle/oradata/andycdb/pdb01/sysaux01.dbf 398458880
11 /home/oracle/app/oracle/oradata/andycdb/pdb01/undotbs01.dbf 104857600
12 /home/oracle/app/oracle/oradata/andycdb/pdb01/users01.dbf 17039360
13 /home/oracle/app/oracle/oradata/andycdb/pdb01/clone01.dbf 1048576
26 /home/oracle/app/oracle/oradata/andycdb/cdb_users01.dbf 5242880
27 /home/oracle/app/oracle/oradata/andycdb/pdb01/pdb01_users01.dbf 5242880
28 /home/oracle/app/oracle/oradata/andycdb/undotbs02 5242880
29 /home/oracle/app/oracle/oradata/andycdb/pdb01/undotbs02 5242880
30 /home/oracle/app/oracle/oradata/andycdb/pdb01/undotbs03 5242880
[oracle bbed]$ cat par.bbd
blocksize=8192
listfile=bbedfile.txt
mode=edit
5、 正式登陸使用
[oracle bbed]$ bbed parfile=par.bbd
BBED> info
File# Name Size(blks)
----- ---- ----------
1 /home/oracle/app/oracle/oradata/andycdb/system01.dbf 104960
3 /home/oracle/app/oracle/oradata/andycdb/sysaux01.dbf 70400
...... 省略
BBED> set file 31 block 1
FILE# 31
BLOCK# 1 > 成功
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/31383567/viewspace-2151536/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Solaris下Oracle RAC 11.2.0.4 安裝方法Oracle
- Oracle 11G 安裝 bbed 工具Oracle
- Oracle bbed一鍵安裝工具分享Oracle
- redhat7.2靜默安裝Oracle11.2.0.4RedhatOracle
- BBED 的安裝
- ORACLE---Aix7.1 安裝Oracle11.2.0.4版本資料庫OracleAI資料庫
- CentOS7.6安裝oracle 11.2.0.4 Error in invoking target 'agent nmhs' of makefileCentOSOracleError
- CentOS 7.6 安裝11.2.0.4 RACCentOS
- Oracle 11gR2(11.2.0.4)安裝包(7個)作用說明Oracle
- RAC安裝【AIX 7 + 11.2.0.4 + ASM】AIASM
- ORACLE11.2.0.4 RAC+ ASM安裝方法 (作業系統CENTOS7.6)OracleASM作業系統CentOS
- Oracle redo解析之-2、BBED & DUMP工具使用Oracle Redo
- AnolisOS 7.9 靜默安裝Oacle 11.2.0.4
- [20210311]如何建立bbed安裝包.txt
- 【BBED】Oracle bbed常用命令參考Oracle
- ORACLE 11.2.0.4 RAC RMAN異機恢復之ORA-15001Oracle
- Oracle 10.2.0.5升級至11.2.0.4Oracle
- ORACLE 11.2.0.4 DG(Broker) for linux 部署OracleLinux
- 6_Oracle truncate異常恢復之bbed修復Oracle
- ORACLE windows和linux環境下 10g升級到11.2.0.4 並安裝11.2.0.4.19補丁OracleWindowsLinux
- Windows 11.2.0.4 RAC安裝配置以及RAC新增節點Windows
- oracle 11.2.0.4 rac節點異常當機之ORA-07445Oracle
- Oracle:Oracle RAC 11.2.0.4 升級為 19cOracle
- oracle rac 11.2.0.3 升級到11.2.0.4Oracle
- oracle安裝配置Oracle
- Oracle RUR 安裝Oracle
- Linux安裝oracleLinuxOracle
- golang oracle 安裝GolangOracle
- 11_Oracle bbed工具介紹Oracle
- 11. Oracle for Linux安裝和配置—11.3. Oracle安裝和配置—11.3.1. Oracle軟體安裝OracleLinux
- 「Oracle」Oracle 資料庫安裝Oracle資料庫
- Oracle 11.2.0.4 Dataguard兩則故障處理Oracle
- oracle 19c 安裝、解除安裝Oracle
- 靜默方式安裝、升級oracle(一): 安裝oracle軟體Oracle
- 【UP_ORACLE】使用AutoUpgrade工具升級Oracle 11.2.0.4至12.2.0.1Oracle
- 從Oracle 11.2.0.4 BUG到Oracle子查詢展開分析Oracle
- 【XTTS】Oracle XTTS V4--Oracle11.2.0.4+ 遷移升級TTSOracle
- oracleLinux下安裝oracleOracleLinux