Re: CeFlushDBVol problem

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Doug Forster (doug)
Date: 04/19/04


Date: Tue, 20 Apr 2004 08:43:39 +1200

Hi Ulf,

AFAIK CE databases are managed so as to write as seldom as possible to flash
memory (to conserve the life of the memory as I understand it), so a flush
could possibly write a fair bit of data depending on what has been going on
and could take some time depending on the write speed of the memory. I don't
know of any bugs related to this. I've given up attempting to use CE
databases directly in flash memory in preference to RAM databases with
occasional backups to flash.

Cheers

Doug Forster

"Ulf Bergqvist" <ulf@goldpen.se> wrote in message
news:f89ff7d8.0404182322.aaf3a2f@posting.google.com...
> I have a CE database stored in compact flash memory. Afer adding a new
> record to the database I call CeFlushDBVol to make sure data is
> written to the flash memory. The application is running on about 100
> Pocket PC 2002 devices without any problems.
>
> Recently, I installed the application on 10 new Symbol PPT8860 with
> Pocket PC 2003 (CE 4.2). It works fine on 6 of them, but on 4 of them
> the call to CeFlushDBVol takes 6 to 7 seconds instead of the normal
> less than one second! Have anybody else noticed this strange
> behaviour?
>
> Are there any known bugs in CE databases at the moment (CE 3.x or CE
> 4.x)?



Relevant Pages

  • Re: XU1541 and more USB stuff
    ... memory. ... coming along nicely this week (FAT12/16/32/LFN support working for read ... for significantly more buffering reducing the overhead of the USB ... lots of flash and ram. ...
    (comp.sys.cbm)
  • Re: Global Buffers and Global Directory
    ... I regularly deal with databases that don't fit into memory unless you ... those environments optimization does make a difference. ... - do you run through the index globals that you've stuck in a small ...
    (comp.lang.mumps)
  • Re: Global Buffers and Global Directory
    ... I regularly deal with databases that don't fit into memory unless you ... those environments optimization does make a difference. ... - do you run through the index globals that you've stuck in a small ...
    (comp.lang.mumps)
  • Re: making a removable SSD drive nonremovable
    ... Using a FLASH based memory card in the way you suggest is a very bad idea. ... Putting in a FLASH based memory will make Windows take a very significant performance hit. ... Are you certain that it's not battery backed RAM? ...
    (microsoft.public.windowsxp.hardware)
  • Re: Lifetime of flash memory
    ... FILE ON USB MEMORY" have come out of this. ... and overuse may wear out your memory stick pretty quickly. ... Do _not_ use journalling filesystems on flash memory sticks.) ...
    (Linux-Kernel)