Subject | Re: Database file grows |
---|---|
Author | lsbtreis |
Post date | 2005-06-22T08:27:21Z |
--- In firebird-support@yahoogroups.com, "Alan McDonald" <alan@m...>
wrote:
Elisabete
wrote:
> > --- In firebird-support@yahoogroups.com, Daniel Rail<daniel@a...>
> > wrote:copy
> > > Hi,
> > >
> > > At June 21, 2005, 10:42, lsbtreis wrote:
> > >
> > > >> Bottom line - I would definitely change my procedure to NOT
> > > > theuse?
> > > >> database. I would back it up using gbak. Only take the db
> > offline
> > > > when you
> > > >> want to restore from a backup.
> > > >>
> > > > Are there no risks of doing backup while the database is in
> > >database
> > > If you mean by simply doing a straight file copy, then there is
> > always
> > > the risk of causing a database corruption.
> >
> > No I mean running gbak with the database file in use.
> >
> > Now I close all connections to the database and shutdown the
> > before copying the file, this is way I donĀ“t understand why theopen.
> > database file grows. It just happens when one of the aplications
> > crash. In this case the connections and transactions are still
> > Can this be the reason? If so is there a way I can force allorphan
> > connections and transactions to close?brutal way
> >
> > thanks
> >
> > Elisabete
>
> the fastest and most brutal way is to stop the service. The less
> is to use gfix shutdown but sonce you use SYSDBA, then users willnot be
> barred from making new connections.locked but
> When an application crashes - does it stop or does it appear
> continuing to be running at high CPU useage? If the latter, thenthat's the
> problemWhen the aplication crashes it stops.
Elisabete
> Alan