學習筆記:Oracle 12C 資料非常規恢復工具bbed的使用說明
ORACLE 12C 依然支援 bbed,ORACLE 12C的測試版出來了,對於習慣了使用bbed(ORACLE 手術刀)的人來說,12C是否繼續被支援是一個很讓人關注的問題,透過本實驗測試,12C繼續支援bbed,很多艱難的資料庫恢復依然可以透過bbed來實現,也從側面說明,ORACLE 12C在塊的結構上還依然和以往版本相似
資料庫資訊
[oracle@oracleplus ~]$ sqlplus / as sysdba SQL*Plus: Release 12.1.0.0.2 Beta on Thu Dec 13 09:55:35 2012 Copyright (c) 1982, 2012, Oracle. All rights reserved. Connected to: Oracle Database 12c Enterprise Edition Release 12.1.0.0.2 - 64bit With the Partitioning, OLAP, Data Mining and Real Application Testing options SQL> select name from v$datafile where rownum=1; NAME -------------------------------------------------------------------------------- /u01/app/oracle/oradata/oracleplus/system01.dbf SQL> select * from v$version; BANNER CON_ID -------------------------------------------------------------------------------- ---------- Oracle Database 12c Enterprise Edition Release 12.1.0.0.2 - 64bit 0 PL/SQL Release 12.1.0.0.2 0 CORE 12.1.0.0.2 0 TNS for Linux: Version 12.1.0.0.2 0 NLSRTL Version 12.1.0.0.2 0 SQL> exit Disconnected from Oracle Database 12c Enterprise Edition Release 12.1.0.0.2 - 64bit With the Partitioning, OLAP, Data Mining and Real Application Testing options
1.Oracle 12C中編譯bbed
[oracle@oracleplus bbed_64]$ ls -l total 32 -rw-r--r-- 1 oracle oinstall 8704 Apr 20 2010 bbedus.msb -rw-r--r-- 1 oracle oinstall 10270 Jul 25 2000 bbedus.msg -rw-r--r-- 1 oracle oinstall 3976 Apr 20 2010 sbbdpt.o -rw-r--r-- 1 oracle oinstall 3306 Apr 20 2010 ssbbded.o [oracle@oracleplus ~]$ cd /u01/app/oracle/product/12.1/db_1/rdbms/lib [oracle@oracleplus lib]$ cp ~/bbed_64/s* ./ [oracle@oracleplus lib]$ cd ../ [oracle@oracleplus rdbms]$ cd /u01/app/oracle/product/12.1/db_1/rdbms/mesg [oracle@oracleplus mesg]$ cp ~/bbed_64/bbedus.ms* ./ [oracle@oracleplus ~]$ cd /u01/app/oracle/product/12.1/db_1/rdbms/lib [oracle@oracleplus lib]$ make -f ins_rdbms.mk /u01/app/oracle/product/12.1/db_1/rdbms/lib/bbed Linking BBED utility (bbed) rm -f /u01/app/oracle/product/12.1/db_1/rdbms/lib/bbed /u01/app/oracle/product/12.1/db_1/bin/orald -o /u01/app/oracle/product/12.1/db_1/rdbms/lib/bbed ………… /u01/app/oracle/product/12.1/db_1/lib/sysliblist` -ldl -lm -L/u01/app/oracle/product/12.1/db_1/lib [oracle@oracleplus lib]$ mv bbed /u01/app/oracle/product/12.1/db_1/bin/
2.測試12C中bbed
[oracle@oracleplus ~]$ bbed Password: BBED: Release 2.0.0.0.0 - Limited Production on Thu Dec 13 09:58:16 2012 Copyright (c) 1982, 2012, Oracle and/or its affiliates. All rights reserved. ************* !!! For Oracle Internal Use only !!! *************** BBED> set filename '/u01/app/oracle/oradata/oracleplus/system01.dbf' FILENAME /u01/app/oracle/oradata/oracleplus/system01.dbf BBED> show FILE# 0 BLOCK# 1 OFFSET 0 DBA 0x00000000 (0 0,1) FILENAME /u01/app/oracle/oradata/oracleplus/system01.dbf BIFILE bifile.bbd LISTFILE BLOCKSIZE 8192 MODE Browse EDIT Unrecoverable IBASE Dec OBASE Dec WIDTH 80 COUNT 512 LOGFILE log.bbd SPOOL No BBED> map File: /u01/app/oracle/oradata/oracleplus/system01.dbf (0) Block: 1 Dba:0x00000000 ------------------------------------------------------------ Data File Header struct kcvfh, 1112 bytes @0 ub4 tailchk @8188 BBED> p kcvfhbfh struct kcvfhbfh, 20 bytes @0 ub1 type_kcbh @0 0x0b ub1 frmt_kcbh @1 0xa2 ub1 spare1_kcbh @2 0x00 ub1 spare2_kcbh @3 0x00 ub4 rdba_kcbh @4 0x00400001 ub4 bas_kcbh @8 0x00000000 ub2 wrp_kcbh @12 0x0000 ub1 seq_kcbh @14 0x01 ub1 flg_kcbh @15 0x04 (KCBHFCKV) ub2 chkval_kcbh @16 0x21a8 ub2 spare3_kcbh @18 0x0000 BBED> set block 1233 BLOCK# 1233 BBED> map File: /u01/app/oracle/oradata/oracleplus/system01.dbf (0) Block: 1233 Dba:0x00000000 ------------------------------------------------------------ KTB Data Block (Index Leaf) struct kcbh, 20 bytes @0 struct ktbbh, 72 bytes @20 struct kdxle, 32 bytes @92 sb2 kd_off[517] @124 ub1 freespace[302] @1158 ub1 rowdata[6660] @1460 ub4 tailchk @8188
--------------------------------------ORACLE-DBA----------------------------------------
最權威、專業的Oracle案例資源彙總之學習筆記:Oracle 12C 資料非常規恢復工具bbed的使用說明
原文唯一網址:
關鍵詞:
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24585765/viewspace-2144703/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- [20190213]學習bbed-恢復刪除的資料.txt
- DBA手記-BBED 的說明
- 非常實用的Oracle資料庫資料恢復方法案例Oracle資料庫資料恢復
- MySQL:Innodb恢復的學習筆記MySql筆記
- [20210930]bbed恢復刪除的資料.txt
- MySQL 非常規恢復與物理備份恢復MySql
- BBED 修改oracle 資料檔案的 SCN 號來做資料庫不完全恢復。Oracle資料庫
- 筆記本硬碟資料恢復筆記硬碟資料恢復
- Oracle邏輯備份與恢復選項說明Oracle
- 6_Oracle truncate異常恢復之bbed修復Oracle
- Oracle delete誤運算元據恢復(BBED)Oracledelete
- [20210401]使用bbed讀取資料塊恢復注意6.txt
- 使用WT工具恢復MongoDB資料MongoDB
- Oracle 之利用BBED修改資料塊SCN----沒有備份資料檔案的資料恢復Oracle資料恢復
- Oracle 12c 備份與恢復Oracle
- 【資料庫資料恢復】如何恢復Oracle資料庫truncate表的資料資料庫資料恢復Oracle
- mysql學習筆記之備份與恢復MySql筆記
- GlusterFS分散式儲存資料的恢復機制(AFR)的說明分散式
- oracle使用小記、刪除恢復Oracle
- 【資料庫資料恢復】Oracle資料庫誤truncate table的資料恢復案例資料庫資料恢復Oracle
- 【資料庫資料恢復】誤truncate table的Oracle資料庫資料恢復方案資料庫資料恢復Oracle
- Oracle 12C新特性-RMAN恢復表Oracle
- [jvm-sandbox-repeater 學習筆記][入門使用篇] 2 配置說明JVM筆記
- Oracle恢復誤刪資料Oracle
- oracle drop table purge無備份bbed恢復(3/3)Oracle
- oracle drop table purge無備份bbed恢復(1/3)Oracle
- oracle drop table purge無備份bbed恢復(2/3)Oracle
- 資料恢復工具PhotoRec資料恢復
- 硬碟資料恢復工具硬碟資料恢復
- 【北亞資料恢復】異常斷電導致Oracle資料庫報錯的oracle資料恢復資料恢復Oracle資料庫
- Sybase ASE資料庫恢復,Sybase資料恢復,資料誤刪除恢復工具READSYBDEVICE資料庫資料恢復dev
- oracle orapwd使用說明Oracle
- 【資料庫資料恢復】ASM磁碟組掉線的Oracle資料庫資料恢復案例資料庫資料恢復ASMOracle
- 【北亞資料恢復】誤刪除oracle表和誤刪除oracle表資料的資料恢復方法資料恢復Oracle
- 【資料庫資料恢復】oracle資料庫誤truncate table怎麼恢復資料?資料庫資料恢復Oracle
- [20190124]bbed恢復資料遇到延遲塊清除的問題.txt
- 【資料庫資料恢復】Oracle ASM例項無法掛載的資料恢復案例資料庫資料恢復OracleASM
- 資料恢復工具Recoverit使用教程:如何修復損壞的影片資料恢復
- 數學證明 學習筆記筆記