Re: SQLCE work with other databases?
- From: "Ginny Caughey [MVP]" <ginny.caughey.online@xxxxxxxxxxxxxx>
- Date: Fri, 29 Feb 2008 08:05:54 -0500
Mike,
I didn't take that approach for a couple of reasons. The main reason was that I never wanted the whole table. That's actually pretty common with mobile apps - you just want a subset of the enterprise data on them no matter what technology you use on both layers. I aso wanted to massage the data a bit and in some cases de-normalize it for better performance on the device, so the tables in the SDF file don't match those on the desktop precisely.
And the second reason is that even if I could bulk dump the data from the DBF files that would be faster than extracting it record by record, there's no fast bulk insert for SQL Compact for loading it. You can improve performance, if it's an issue, by not building the indexes until after you load the data and by loading the data in transactions that are some group of rows > 1 and less than a whole table, but that's about it. The biggest performance gain overall for my customers was giving them the option to build and download new SQL Compact tables from reference data that changes infrequently only when they choose to do that while still allowing them to upload the relatively few inserts and updates while that data is fresh.
--
Ginny Caughey
Device Application Development MVP
www.wasteworks.com
Scalehouse and Billing Software for Waste Management
<fodsuk@xxxxxxxxx> wrote in message news:7e967f5c-9064-4a7d-97f7-d1e4e3cf2785@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello Ginny,
I have had my head buried in a sample app
hence the lack of replies :).
Rather then going through the DataReader route of reading
each row of results.
did you look into doing some sort of Extract and Dump the results as a
table
into the Sqlce database?
from my premiliary research it doesn't seem possible, did you come
across this?
Kind Regards,
Mike
.
- References:
- SQLCE work with other databases?
- From: fodsuk
- Re: SQLCE work with other databases?
- From: fodsuk
- Re: SQLCE work with other databases?
- From: Ginny Caughey [MVP]
- Re: SQLCE work with other databases?
- From: fodsuk
- Re: SQLCE work with other databases?
- From: Ginny Caughey [MVP]
- Re: SQLCE work with other databases?
- From: fodsuk
- SQLCE work with other databases?
- Prev by Date: Re: SQLCE work with other databases?
- Previous by thread: Re: SQLCE work with other databases?
- Next by thread: Re: String value in where clause
- Index(es):
Relevant Pages
|