Subject Re: Corrupted DB
Author Aage Johansen
mivi71dk wrote:
> ...
> For the last 8 days I get my DB corrupted every second day.
> I do not lose any data, but I have to do a Backup - Restore to get it
> to work again.

Did something happen 8 days ago? Any changes to server or programs? Any
new client added?
Is there someone who is trying to copy ("file-copy") you database while is
is running?


> Before I do a backup I always takes a copy of my DB.
> If I do a GStat I get this:
>
> My Oldest Transaction is ALWAYS some 20000+ (somewhere between 20000
> and 21500) lower than Oldest Active, which is either the same as next
> transaction or just 5 - 20 below.
> Usually I don't get values as high as below. Usually there are OT:
> 3500, OAT: 24000 and NT: 24005 i.e.

Did you always get a gap of this size? A new observation?

>
> Exampel below:
> Database "E:\IBData\OCCEASYPOS.GDB"
>
> Database header page information:
> Flags 0
> Checksum 12345
> Generation 169419
> Page size 4096
> ODS version 10.0
> Oldest transaction 145540
> Oldest active 169403
> Oldest snapshot 169403
> Next transaction 169408
> Bumped transaction 1
> Sequence number 0
> Next attachment ID 0
> Implementation ID 16
> Shadow count 0
> Page buffers 0

How many buffers are used? Maybe you should set it to someting specific
(would not affect your problems, I'd guess)


> Next header page 0
> Database dialect 1
> Creation date May 26, 2002 20:01:56
>
> Variable header data:
> Sweep interval: 20000
> *END*
>
> The sometimes I can do a validation from AdminTool.Exe.
> But not always. Sometimes I get an error when connecting to the DB.
> When I can do a validation I usually get a message like:
>
> Database - e:\ibdata\occeasypos.gdb
> Summary of validation errors
>
> Number of record level errors : 6
>
> Now the next thing I will try is to DISABLE my sweep function.
> I will then run a manually GFix every night at 4.
>
> Could ANY of you have ANY idea of what else to do ?
> If I can't solve this problem with Firebird I will try to see if IB
> version 6.0.1.6 will fix this problem !
> All though I like the idea and concept of firebird.


Sorry for not having any asnwers ...

Regards,
Aage J.