Welcome to Soft32 Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

CEFlushDBVol (CEDB version)

 
   Soft32 Home -> PDA -> Pocket PC Developer RSS
Next:  First PPC Deployment  
Author Message
Empower Mobility LLC

External


Since: Jun 30, 2007
Posts: 2



(Msg. 1) Posted: Sat Jun 30, 2007 7:06 am
Post subject: CEFlushDBVol (CEDB version)
Archived from groups: microsoft>public>pocketpc>developer (more info?)

Good day -

We're seeing a very peculiar scenario when using CEFlushDBVol (CEDB
version).

We go through a set of questions which calls CeWriteRecordProps for each
anwser to a group of databases found inside a particular volume. We then
flush the volume, wait 60 seconds and then soft reset the device before
closing the dbs and unmounting the volume.

When we reopen the application and mount the volume, we're not seeing what
we saved and flushed. The results are also inconsistent; that is sometimes
some of the data is there, sometimes not, but never all the data.

Does this mean that, unless you close all your dbs and unmount the volume
before a soft reset, that there is no guarantee that all that we saved and
flushed will be persisted?

The documentation suggests that a flush ensures that any writes to dbs were
written out to permanent storage. Is this not really true then?

That is, is the only way to ensure a complete capture of your data is to
close all the dbs and unmount the volume so that any indexes and internal
data structures get persisted is well?

If so then flushing a volume (at least under CEDB APIs) does not truly flush
everything needed. Obviously a soft-reset is infrequent, but we still need
to sort out how to capture as much of the data in real time as possible.

Unmounting and remounting, especially larger volumes and those located on SD
cards is a time-consuming operation and not something we can do either.

FWIW, we need to use CEDB because our client still uses 2003 devices where
EDB is not supported.

Any help in confirming the actual behaviour of this API would be fantastic.

Thank you for your time,

Tom @ eM LLC
Back to top
Login to vote
Empower Mobility LLC

External


Since: Jun 30, 2007
Posts: 2



(Msg. 2) Posted: Tue Aug 07, 2007 2:12 pm
Post subject: RE: CEFlushDBVol (CEDB version) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

This issue has been resolved. CEFlushDBVol works just fine, we were not
flushing all volumes in play. We've seen reasonable performance too, but I
would suspect that this won't be the same for everyone.

"Empower Mobility LLC" wrote:

> Good day -
>
> We're seeing a very peculiar scenario when using CEFlushDBVol (CEDB
> version).
>
> We go through a set of questions which calls CeWriteRecordProps for each
> anwser to a group of databases found inside a particular volume. We then
> flush the volume, wait 60 seconds and then soft reset the device before
> closing the dbs and unmounting the volume.
>
> When we reopen the application and mount the volume, we're not seeing what
> we saved and flushed. The results are also inconsistent; that is sometimes
> some of the data is there, sometimes not, but never all the data.
>
> Does this mean that, unless you close all your dbs and unmount the volume
> before a soft reset, that there is no guarantee that all that we saved and
> flushed will be persisted?
>
> The documentation suggests that a flush ensures that any writes to dbs were
> written out to permanent storage. Is this not really true then?
>
> That is, is the only way to ensure a complete capture of your data is to
> close all the dbs and unmount the volume so that any indexes and internal
> data structures get persisted is well?
>
> If so then flushing a volume (at least under CEDB APIs) does not truly flush
> everything needed. Obviously a soft-reset is infrequent, but we still need
> to sort out how to capture as much of the data in real time as possible.
>
> Unmounting and remounting, especially larger volumes and those located on SD
> cards is a time-consuming operation and not something we can do either.
>
> FWIW, we need to use CEDB because our client still uses 2003 devices where
> EDB is not supported.
>
> Any help in confirming the actual behaviour of this API would be fantastic.
>
> Thank you for your time,
>
> Tom @ eM LLC
Back to top
Login to vote
Display posts from previous:   
Related Topics:
CeFlushDBVol problem - I have a CE database stored in compact flash memory. Afer adding a new record to the database I call CeFlushDBVol to..

POOM and CeFlushDBVol - If I am using POOM to create items on a WM5 PPC, when are the items flushed (when is CeFlushDBVol called)? Does this....

CEDB inanities - I wasn't aware that when converting an access database to CEDB format, that blank fields for records were discarded...

CEDB / EDB - Ist there something for the .NET CF for CEDB and/or EDB or need I P/Invoke again...? Regards, hfr

CEDB sorting - I'm working with VS 2005, developing for PocketPC 2003 I would like to sort a database (table) two different ways: ..

API Set for CeDB - Hello! As our studies show, Windows CE core works with CeDB via API set which (in theory) can be used to plug custo..
       Soft32 Home -> PDA -> Pocket PC Developer All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum

Categories:
 Windows
 Linux
 Mac
  PDA


[ Contact us | Terms of Service/Privacy Policy ]