当前位置:网站首页>[database data recovery] data recovery case of SQLSERVER database file missing for unknown reasons under Windows Server Environment
[database data recovery] data recovery case of SQLSERVER database file missing for unknown reasons under Windows Server Environment
2022-06-09 18:55:00 【51CTO】
Database data recovery environment :
5 block 2T The hard disk makes up RAID5, Divide LUN for windows Server usage ;
windows The server is equipped with Sql Server database ;
There are three logical partitions in the storage space with the sizes of :500G、800G、2.3T.
Database failure :
Database file missing for unknown reason , involves 5 Databases approx 6000 A watch , Unable to determine data storage location . The server is still powered on after the database file is lost , But it doesn't write a lot of data . The administrator shall contact the North Asia Data Recovery Center for data recovery .
Database fault detection :
1、 Data recovery engineers use analysis to extract RAID Information and internal data block information reorganization RAID.

restructuring RAID
2、 extract LUN Internal three partition images .
3、 Scan the file system for missing files , Deleted database file not found , The database file is missing , Data cannot be recovered at the file system level .
Database data recovery process :
1、 After detection, it is determined that the database file is missing and cannot be recovered , Data recovery engineers can only scan data pages , Extract the records in the page for data recovery .
2、 Use the data page scanner independently developed by the North Asia data recovery center to scan the data pages in the partition and extract . After scanning the images of the two partitions, it is found that the number of data pages in the partition of the system disk is very small and the data pages are seriously broken , A large number of data pages are scanned in another partition , Tentatively, this partition is the storage space for database files .

Scan data pages
3、 Reorganize system table .Sql Server The database uses system tables to manage all user tables , The system table records the number of columns in each table 、 Data type and constraint information . During parsing the system table, it is found that the system table in the extracted data page is damaged , Unable to read information normally . After the data recovery engineer communicates with the Administrator , It is known that there are backup files and the table structure has not been greatly changed after the backup , System tables are available .
4、 Restore backup .

Restore backup
5、 Extract the structure information of each table in the library .

Extract table structure information
6、 Parsing table structure scripts . Store the column information of each table in the database for subsequent use .

Scan script files

The table structure information is stored in the database
7、 Parse the system table to get the user table id Information 、 Association table structure and data page .( To protect privacy , The following steps involve the table name of the user table and the data part in the data page )
8、 New database , Use the software independently written by North Asia to parse the records and import them into the data recovery environment .
9、 Organize the recovery results . In addition to the database files, there are also several backup files in this partition , Duplicate data may exist after exporting records , It has to be heavy . Prepared by data recovery engineer SQL The stored procedure is de duplicated .

Database de duplication
10、 Validation data . After checking the data, the administrator said that there was no problem with the data , Hand over the data to the storage device prepared by the administrator , This data recovery is successful .
边栏推荐
- 220609-R
- How to adjust the font size of SQL editor in dbaver
- 刷脸认证如何实现人脸又快又准完成校验?
- 聊聊 MQ 技术选型
- How to realize face verification quickly and accurately?
- Technology sharing | system architecture under test and data flow analysis
- 测量电流探头如何降低噪音
- Using go to crack rar compressed file with password
- [SolidWorks detailed records] operation records of measuring method, setting the automatic elevation datum plane of sketch, setting the zoom in and zoom out direction of roller, adding thread line to
- GCC compile demo+makefile use
猜你喜欢

20220529 how to convert subtitles in MKS format into subtitles in SRT, ass, SSA and IDX formats txt

How to set up wireless host link communication between Kingview and OMRON PLC?

As a programming ape, do you really know how to operate Google browser

Illustration | cache system consistency for high performance server design

Inspur cs5280h raid scheme details

Application of oscilloscope probe in switch loss test scheme

Ieda installing the actibpm plug-in

220609-R

为何罗氏探头测量高频电流会出现误差?

高压差分探头结构设计
随机推荐
MySQL删除方法delete、truncate、drop的区别是什么
How to set up wireless host link communication between Kingview and OMRON PLC?
Ieda installing the actibpm plug-in
请问为什么不能够在DF的foreachPartition方法调用的函数方法中引用redis模块呢?
Notes on ad PCB drawing
【PB03F 环境搭建】蓝牙5.2安信可PB-03F-Kit开发板二次开发环境搭建
Six implementation schemes of delay message
KVM virtualization Fundamentals
Peter Drucker: what kind of teacher is a real teacher?
mfc连接数据库显示未发现数据源名称并且未指定默认驱动程序
DL|循环神经网络部分
R|mapping. seq()
Audio 3A processing practice makes your application more "pleasant"
一文彻底理解并发编程中非常重要的票据锁——StampedLock
GCC compile demo+makefile use
为何罗氏探头测量高频电流会出现误差?
This article explains in detail three ways for PHP to connect to MySQL database
Redis error field redistemplate in XXX required a bean of type 'org x.RedisTemplate‘that can not be foud
How about opening an account for flush stock? Is it safe to open an account?
氪星晚报丨苹果胜诉,美法官驳回iPhone和iPad安全缺陷集体诉讼;消息称京东将试点餐饮外卖业务