Talk about the database table records are deleted what solution

[Fault type]
(a) the type of fault: database table record deletion
(ii) typical characteristics:

1. The data table without any data or only partial data
2. The client can not query information to complete
(iii) the extent of damage star rating : ★★★★
[solution]
(a) recovery process
1. detection process:

(1) using a disk editor MYD data file for analysis;
(2) determines the possible causes of the loss of the recording sheet.
Process Embodiment 2:
(1) the corrupted database backup files;
(2) the database file for analysis, determines the possible causes of loss;
(3) loss for different reasons, the use of self-developed software for data recovery;
( 4) the original data into a database, the database do integrity checking.
3. Acceptance Process:
(1) do mysqlcheck detection database;
(2) the latest record database query;
(3) specified by the user verification key data table targeted.
(B) the reliability analysis and estimated time of recovery:
After deleting the database table records, if not do any other operation, for reasons MYD content structure, the data recovery success rate will be affected, the time depending on the size of the database about 1-2 days in duration
[Tips]
after (a) discovery database table records deleted, please backup of the database, do not perform data insertion and other operations.
(B) the possible causes of failure:

1. the database upgrade, SQL statements, conditions are not strictly
2. human error
(c) the extent of damage and failure risks star rating
Hazard 1: database table record operation without making any loss
extent of damage star rating: ★★★★
risks 2: Insert a new record database table after losing
the extent of damage star rating: ★★★★★
(iv) prompt database operations :
1. in the operation of the database, as far as possible to back up the database;
please be careful when operating table 2 on the data.

Guess you like

Origin blog.51cto.com/sun510/2422677