当前位置:网站首页>[database data recovery] data recovery case of insufficient disk space of SQL Server database
[database data recovery] data recovery case of insufficient disk space of SQL Server database
2022-07-28 02:09:00 【North Asia data recovery】
Database data recovery environment :
A brand of server stores 2 Group raid, A group of raid1(2 Block hard disk ), A group of raid5(5 Block hard disk );
There are SqlServer database .
Database failure :
Deposit SqlServer The partition of the database is insufficient due to the increase of the amount of data , The administrator generated a in another partition .ndf File and point the database path to this partition to continue using , After a period of time, the database fails and reports an error , Prompt connection failure ,SqlServer The database cannot attach queries . The administrator then tried to recover the data, but failed to recover the data , So contact our data recovery center for data recovery .
Database data recovery process :
1、 The backup data . The server data recovery engineer will mirror and back up all disks stored in the failed server .
2、 Database failure analysis . because SqlServer The disk partition where the database file is located is insufficient , The database doesn't work , There is a logic error . Analysis storage RAID1 and RAID5 Structure , According to the obtained raid The information is virtual reorganized RAID1 and RAID5 And check the data . Because after the database failure , The administrator has tried to restore the data of the database in the original environment many times , The original database file has been changed 、 Cover , Disk space has been repeatedly erased and written , Therefore, it is impossible to repair the database file after the administrator has tried to restore it many times . Fortunately, the administrator failed in the database , A database file was backed up before attempting recovery .
3、 Database repair . Try attaching the previously backed up database file to the database , Result attachment failed , The error message is as follows :

The error indicates that the primary database file does not match the secondary database file , Database data recovery engineer view .ndf The bottom of the file , Find out .ndf There's almost no data in the file . Try to cancel .mdf Document and .ndf The relationship between files , Only .mdf There are still error prompts when attaching files :

Error prompt log file (.ldf) And database files (.mdf) Mismatch . So the database data recovery engineer tries to attach the database without database , Attach success . But the database system table was found to be corrupt , Not working properly .

The database data recovery engineer tries to repair the system table of the database , But the system table is seriously damaged and cannot be repaired .
Parsing database records in database files , The North Asia data recovery engineer prepares corresponding programs to extract the database records in the database files , Analyze the database backup to obtain the table structure in the database , Reconstruct the table structure and import the extracted database records into the new table .
data validation :
The administrator verifies the extracted database records , Confirm that all data is completely recovered . By the way, just to remind you , In the process of using the database , Reasonably allocate the disk space where the database file is located , Clean up the garbage data in time , Ensure the normal operation of the database 、 Safe operation .
边栏推荐
- 软件测试面试题:你所熟悉的软件测试类型有哪些?
- In the era of great changes in material enterprises, SRM supplier procurement system helps enterprises build a digital benchmark for property procurement
- Gbase 8C recovery control function
- Leetcode high frequency question 128. the longest continuous sequence, which is often tested in interviews with Internet companies
- Gbase 8C backup control function (III)
- ##ELK日志分析系统搭建##
- Traversal and properties of binary trees
- Principle and implementation of cross entropy
- sftp文件/文件夹上传服务器
- The story of amen
猜你喜欢

Uniapp summary (applet)

synchronized详解

存储成本降低 80%,有赞数据中台成本治理怎么做的?

HyperMesh circular array - plug in

C# 使用Abp仓储访问数据库时报错记录集

Enterprise operation and maintenance practice - using aliyun container image service to pull and build images of overseas GCR and quay warehouses

Process data and change the name of data

Leetcode high frequency question 128. the longest continuous sequence, which is often tested in interviews with Internet companies

Packet capturing wizard netcapture app packet capturing tutorial "complete"

A lock faster than read-write lock. Don't get to know it quickly
随机推荐
轻量版项目管理系统
ArcGIS:加载历史遥感影像
sftp文件/文件夹上传服务器
A lock faster than read-write lock. Don't get to know it quickly
2022软件测试技能 Robotframework + SeleniumLibrary + Jenkins web关键字驱动自动化实战教程
Principle and implementation of focal loss
处理数据 给数据换名字
Likeshop takeout ordering system [100% open source, no encryption]
Software testing interview question: what is the purpose of test planning? What are the contents of the test plan? Which are the most important?
小米网站主页面大模块——小模块+导航(浮动案例)
软件测试面试题:测试计划工作的目的是什么?测试计划工作的内容都包括什么?其中哪些是最重要的?
Hcip 13th day notes
What are the important applications of MES system in manufacturing enterprises
Digital economy is the core of future economic development
Enterprise operation and maintenance practice - using aliyun container image service to pull and build images of overseas GCR and quay warehouses
Gbase 8C database object size function (I)
Fluorite network, difficult to be a "lone brave"
Interviewer: are you sure redis is a single threaded process?
Gbase 8C backup control function (IV)
[interview: concurrent article 28:volatile] orderliness