Re: Database speed
- From: "Sue Loh [MS]" <sloh@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 15 Jan 2007 20:02:16 -0500
Generally the system volume should be faster, because like you expected, it
is only using RAM instead of writing to flash. If the object store is
nearly full, it's possible that the database operations are causing a
background thread to spin up and do a lot of work to try to compact the
object store to make room. If there is a lot of data in the object store it
could be moving a lot of objects around. That is the only explanation I can
think of right now for why that'd be slower.
Writing a lot of data should not be that painful. It's rewrites and deletes
that are bad, because they free up "holes" inside the volume that then get
compacted; it's all that data reordering that really burns you. Is it
possible she's writing to each record more than once?
Sue
sloh@xxxxxxxxxxxxx (remove "online" from reply-to address)
http://blogs.msdn.com/ce_base/
_____________________________________________________________
This posting is provided "AS IS" with no warranties, and confers no rights.
_____________________________________________________________
.
- Follow-Ups:
- Re: Database speed
- From: luopub@xxxxxxx
- Re: Database speed
- References:
- Database speed
- From: luopub@xxxxxxx
- Database speed
- Prev by Date: Re: CeOpenDatabaseEx2 confuion
- Next by Date: Re: Windows CE BinaryCompression
- Previous by thread: Database speed
- Next by thread: Re: Database speed
- Index(es):
Relevant Pages
|