Method for repairing database table space
A database and tablespace technology, applied in the field of repairing database tablespaces, can solve problems such as missing data and database inoperability, and achieve the effect of small data leakage
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0018] Such as figure 1 Shown, the method that the present invention repairs database table space, comprises the steps:
[0019] Step 1. Open the root block of the database table space with a hexadecimal editor;
[0020] Step 2. Find the position of the status flag marked as an offline block;
[0021] Step 3. Modify the status flag to online status through a hexadecimal editor.
[0022] Generally speaking, the database will have a status flag (status flag) in the data file structure that controls it, and its content indicates the type and status of the data file.
[0023] Taking the Informix database as an example, its data files are called chunks, and each chunk has a status flag in its internal structure, and its hexadecimal value is as follows.
[0024] 0x0010 Mirror chunk
[0025] 0x0020 Chunkis off-line
[0026] 0x0040 Chunkis on-line (1)
[0027] 0x0080 Chunkis being recovered
[0028] 0x0100 Chunk is newly mirrored
[0029] 0x0200 Chunk belongs to ablobspace
...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


