国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 語言 > JavaScript > 正文

dul無法加載bootstrap實現unload table/user恢復

2024-05-06 15:09:06
字體:
來源:轉載
供稿:網友

聯系:手機(+86 13429648788) QQ(107644445)QQ咨詢惜分飛

標題:dul無法加載bootstrap實現unload table/user恢復

作者:惜分飛

最近有朋友誤操作引起了非常大的事故,差點吃了官司.在做數據庫遷移的時候,遠程誤操作刪除了原庫的system等幾個數據庫初始安裝的文件,而且該磁盤空間使用率非常高,還有少量寫入.

最后結果比較悲劇,通過文件系統層面無法直接恢復出來數據文件,而且該庫無任何有效備份,又沒有表名,列名等信息,無奈之下只能通過底層io block重組來恢復數據文件,可是悲劇又一次發生,這個磁盤上以前也有一份system等文件,最后經過多方重組恢復出來一份相對理想的數據文件.

但是第三方公司通過這樣重組出來的數據文件和未被刪除的業務文件恢復出來的數據大量有問題,依舊需要我們進一步分析恢復處理.

這篇文章主要描述了dul在無法加載bootstrap命令之后通過一些方法依舊可以正常使用unload table/user 等命令實現數據盡可能恢復.你要知道幾百張表沒有表名/列名要把他們區分出來那是什么樣的工作量……

在dul中配置system文件

D:/xifenfei/system01.dbfD:/TEMP/recover/dul/bak>dulData UnLoader: 11.2.0.0.4 - Internal Only - on Wed Sep 28 17:01:56 2016with 64-bit io functionsCopyright (c) 1994 2016 Bernard van Duijnen All rights reserved.Strictly Oracle Internal Use OnlyDUL> show datafiles;Sorry, no valid data files found in control.txt

使用默認的dul中數據文件配置方法,讓dul自己發現數據文件方法不可行

隨意表空間號和文件號dul識別

0 0 D:/xifenfei/system01.dbfD:/TEMP/recover/dul/bak>dulData UnLoader: 11.2.0.0.4 - Internal Only - on Wed Sep 28 17:00:27 2016with 64-bit io functionsCopyright (c) 1994 2016 Bernard van Duijnen All rights reserved.Strictly Oracle Internal Use OnlyDUL: Warning: File Type mismatch 1 != 8DUL: Warning: D:/xifenfei/system01.dbf Header tablespace number 3!= 0DUL: Warning: D:/xifenfei/system01.dbf Header relative file number 1 != 0Found db_id = 2948357999Found db_name = XIFENFEIDUL: Warning: Found mismatch while checking file D:/xifenfei/system01.dbfDUL: Warning: DUL osd_parameter or control.dul configuration errorDUL: Warning: Given file number(0) in control file does not match file# in dba(1)

通過這個識別我們可以知道system的表空間號為3,文件號為1

再次配置system讓dul識別

3 1 D:/xifenfei/system01.dbfD:/TEMP/recover/dul/bak>dulData UnLoader: 11.2.0.0.4 - Internal Only - on Wed Sep 28 17:03:46 2016with 64-bit io functionsCopyright (c) 1994 2016 Bernard van Duijnen All rights reserved.Strictly Oracle Internal Use OnlyDUL: Warning: File Type mismatch 1 != 8Found db_id = 2948357999Found db_name = XIFENFEIDUL> show datafiles;ts# rf# start blocks offs open err file name3 1 0 320257 0 1 0 D:/xifenfei/system01.dbf            
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表

圖片精選

主站蜘蛛池模板: 西峡县| 房山区| 陆河县| 越西县| 赤峰市| 伊川县| 耿马| 防城港市| 印江| 龙州县| 万载县| 南丰县| 沅江市| 蕲春县| 孟州市| 鹿泉市| 黄平县| 社会| 渭南市| 凤凰县| 囊谦县| 洮南市| 策勒县| 滁州市| 盐津县| 江城| 大安市| 肥乡县| 隆化县| 射阳县| 奉新县| 增城市| 历史| 新田县| 疏勒县| 清河县| 乡宁县| 四平市| 丰城市| 望奎县| 古田县|