PDA

View Full Version : dbcache


Lil E
12-04-2007, 03:57 PM
i have a program that loses recently entered data when i flush dbcache or backup (which i presume also flushes dbcache). any suggestions as to how i can avoid this? can i somehow move the data out of dbcache? i have resco explorer.

thanks much

e

FerdFerd
12-04-2007, 04:18 PM
You might have a look at Resco Locker and see if locking your application will protect it from data loss when you flush the cache. I don't know for sure it will work, but it seems worth a try.

What is the application?

_Em
12-04-2007, 04:50 PM
That should do the trick.

The only other method I can think of is for the makers of cache flushing tools to send an applaunch event to the OS before flushing the cache (send the launch event of the app that's currently running). For older apps, this is what they're looking for to trigger a write to RAM, so this should cause the data to be unloaded from the DB Cache before it is flushed.
In order to do #2, Alex would have to add the code into his FlushDA (yeah, I'm getting quite a long list of Pruss app enhancements these days :).

Greek
12-04-2007, 05:30 PM
Which is the app? Perhaps it has an update that is NVFS compliant. Or you can (I did it with a couple of apps), stop using it and move the info to a similar program that will play nice on NVFS, even if you flush the dbcache.

Regards,