[V4MD] Closing database blues

Olaf Schmidtmann os at brainbits.net
Tue Feb 18 12:01:43 CST 2003


Hi again,

I flushed the db just before close -> no significant improvement
changed the cache size (halved, quartered, doubled) -> dito

Do you have any other hints?

Bye
Olaf

> -----Original Message-----
> From: Olaf Schmidtmann [mailto:os at brainbits.net]
> Sent: Tuesday, February 18, 2003 11:54 AM
> To: 'Valentina Developers'
> Subject: RE: [V4MD] Closing database blues
> 
> 
> Hi Ruslan,
> hi Totte,
> 
> thanks for your advices. My cache is 4 * 1024 * 1024 - so not 
> too big, I
> think.
> I runned the test without any change of the database. Just 
> reading I don´t
> have to flush, do I, Ruslan?
> But I can try this anyway.
> Database before cursor destruction -> Argh! Thanks, Ruslan! :-/
> 
> Cheers
> Olaf
> 
> > -----Original Message-----
> > From: Ruslan Zasukhin [mailto:sunshine at public.kherson.ua]
> > Sent: Tuesday, February 18, 2003 11:44 AM
> > To: valentina at lists.macserve.net
> > Subject: Re: [V4MD] Closing database blues
> > 
> > 
> > on 2/18/03 12:33 PM, Olaf Schmidtmann at os at brainbits.net wrote:
> > 
> > > Hi all,
> > > 
> > > when I close my app in Director 8.5 with Valentina 1.9.6 it 
> > takes from 3
> > > seconds up to 6 seconds(!) to close the app. This is a very 
> > long time for
> > > someone who wants to quit.
> > > 
> > > The time is spend on:
> > > 
> > > on vExitValentina ()
> > > gDB.inst = 0
> > > gDB.cursors = 0  
> > > ValentinaShutDown()
> > > end vExitValentina
> > > 
> > > Here´s the result (numbers are milliseconds).
> > > 
> > > * V4MD *: VDatabase_Destroy
> > > ...-- 3016
> > > * V4MD *: Cursor_Destroy...-- 1
> > > * V4MD *: ShutDownValetina...done
> > > -- 4
> > > 
> > > Is there any way to increase the speed for closing?
> > 
> > Hi Olaf,
> > 
> > Only cache can affect this.
> > Do you have huge cache ?
> > 
> > Make sure that you call Flush more often, then Close will not 
> > have work to
> > do.
> > 
> > ---
> > Also look on your log.
> > Cursor is destroyed after database?
> > Something wrong here.
> > 
> > -- 
> > Best regards,
> > Ruslan Zasukhin      [ I feel the need...the need for speed ]
> > -------------------------------------------------------------
> > e-mail: ruslan at paradigmasoft.com
> > web: http://www.paradigmasoft.com
> > 
> > To subscribe to the Valentina mail list go to:
> > http://listserv.macserve.net/mailman/listinfo/valentina
> > -------------------------------------------------------------
> > 
> > _______________________________________________
> > Valentina mailing list
> > Valentina at lists.macserve.net
> > http://lists.macserve.net/mailman/listinfo/valentina
> > 
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
> 


More information about the Valentina mailing list