🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.interbase.opensource
Article #199

Re: Disaperaed data

#199
From: Bill Todd
Date: Wed, 16 Nov 2005 13:35
34 lines
2076 bytes
Magnus Flysjv wrote:

> I have the same problem.
> But this is on a 6.0.2.0 version.
> 
> We have an application that never commited as often as it should.
> When the application is close and commit was called, we lost all data
> and I have no idea why.

Did you run gfix on the database to see if it has become corrupt?

Are you sure you committed all active transactions before the
application was closed? If you close the program with a transaction
active it will be rolled back, not committed.

> 
> Also, the GDB file grown very fast.. but if I use gbak and gfix, the
> file is shrinken from 32MB to only 2MB.

Long running transactions disable garbage collection. This allows
garbage record versions to accumulate in the database if you hare doing
a lot of updates or deletes which, in turn, will cause the database
file to grow.

> 
> Can anyone smart confirm if there will be a problem if data isn't
> commited often?

There can be problems, depending on your transaction volume and whether
you are performing a a lot of updates and deletes or not but this will
not cause data to disappear.

-- 
Bill Todd (TeamB)
Technical Details
Message-ID: <437b43c6$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <42a975c4$1@newsgroups.borland.com> <437b2c01@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 106772,2b7ab1a9c8c0694
X-Google-Attributes: gid106772,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Bill Todd" <no@no.com>
Subject: Re: Disaperaed data
Newsgroups: borland.public.interbase.opensource
References: <42a975c4$1@newsgroups.borland.com> <437b2c01@newsgroups.borland.com>
Organization: The Database Group, Inc.
User-Agent: XanaNews/1.17.6.6
X-Face: ":yn4zt^A_dn>6~{YJmu^B\'4w)e:apPM\VC=Dvf&*tASxX9|BYczkFd$xr.$vNSZ[3Uobr p]c4\+\l){!WQI.$]veP({HLd;CDYH?iN
NNTP-Posting-Host: 216.207.211.19
Message-ID: <437b43c6$1@newsgroups.borland.com>
Date: 16 Nov 2005 06:35:50 -0700
X-Trace: newsgroups.borland.com 1132151750 216.207.211.19 (16 Nov 2005 06:35:50 -0700)
Lines: 35
X-Authenticated-User: btodd
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail