Subject | Re: GDB file grows |
---|---|
Author | tmiravet |
Post date | 2004-09-24T13:43:17Z |
I will check the difference between those values, although I think it
was not big.
I never do a commit retaining, and usually transactions are just open
for updating data and inmediatly commit.
--- In firebird-support@yahoogroups.com, "Martijn Tonies"
<m.tonies@u...> wrote:
was not big.
I never do a commit retaining, and usually transactions are just open
for updating data and inmediatly commit.
--- In firebird-support@yahoogroups.com, "Martijn Tonies"
<m.tonies@u...> wrote:
> Hi,statistics,
>
> > I cannot say to you the exact value -I am not now where the
> > problematic BD is- but this morning I took a look at the
> > and I saw a value around 2000 in 'Oldest transaction, 'Oldestwas
> > active', 'Oldest snapshot' and 'Next transaction'. I realized it
> > quite big, but I didn't know if those values where normal or not.if
>
> The difference needs to be as small as possible. Large gaps
> between those numbers can cause garbage to build up, thus
> causing database growth.
>
> > If you could give me some advise with this information, perfect,
> > not, as soon as I could get the actual gstat information I willpost
> > it.can
> >
> > In any case, if, as you say, the transactions are messed up, what
> > be done to fix them. This morning I have gbak and gfix the BD butit
> > seems it didn't solve the problem.& MS SQL
>
> Keep your transactions as short as possible. Do a COMMIT and
> not COMMIT RETAINING.
>
> Do you have long transactions open for reading data?
>
> With regards,
>
> Martijn Tonies
> Database Workbench - developer tool for InterBase, Firebird, MySQL
> Server.
> Upscene Productions
> http://www.upscene.com