Issue Details (XML | Word | Printable)

Key: CORE-3916
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Vlad Khorsun
Reporter: Viktor Belzetskiy
Votes: 0
Watchers: 5
Operations

If you were logged in you would be able to see more operations.
Firebird Core

gfix & "Index x is corrupt (missing entries) in table ..." all indexes on large tables

Created: 05/Sep/12 07:31 AM   Updated: Wednesday 06:05 AM
Component/s: GFIX
Affects Version/s: 2.5.1
Fix Version/s: 3.0 Alpha 1, 2.5.3

File Attachments: 1. Zip Archive test_corrupt.zip (64 kB)

Environment: Win2008 x86, Firebird 2.5.1, 2.5.2 (x86)

QA Status: Cannot be tested
Test Details: > you must fill 500 million records.


 Description  « Hide
gfix with the keys "-validate -no_update -full" always gives the error "Index x is corrupt (missing entries) in table ..." for all table indexes size 2487410 or more pages. Database page size 16K.
To receive this error, you must fill 500 million records.

script:
================================================================
CREATE TABLE REP_ATOM_BRICK_DRUGS_DATA (
    PERIOD_ID INTEGER,
    BRICK_CODE VARCHAR(5),
    DRUGS_ID INTEGER,
    IS_DUMP INTEGER,
    V DOUBLE PRECISION,
    Q DOUBLE PRECISION,
    PRT DOUBLE PRECISION
);

CREATE UNIQUE INDEX REP_ATOM_BRICK_DRUGS_DATA_IDX1 ON REP_ATOM_BRICK_DRUGS_DATA (PERIOD_ID, BRICK_CODE, DRUGS_ID);
CREATE INDEX REP_ATOM_BRICK_DRUGS_DATA_IDX3 ON REP_ATOM_BRICK_DRUGS_DATA (DRUGS_ID);
================================================================
Sample Database and script with the attachment...

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.