Re: failed alternative XML file approach against slow SqlCE bulk inser



Arif,

One of my clients has a 65,000 record SQL Mobile file. It does take a long
time to load, even on the desktop, so they plan to load the file each night
as a scheduled process and copy it to the devices each morning. But the file
runs fine on the device and you can locate the record you want almost
instantly using the primary key. For the moment loading the file on the
desktop requires that the desktop is either a dev machine (SQL Server
Developer for only $50 qualifies) or a TabletPC, but when SQL Server
Everywhere is released around the end of the year, that restriction goes
away.

RDA would not really speed up the process for your client since the Pull
process of RDA needs to pull the entire file each time. Merge replication
would allow your client to do the time-consuming initial snapshot once and
then have just the changes brought down to the device afterwards, but as you
point out it is somewhat complex to set up.

--
Ginny Caughey
..NET Compact Framework MVP


"Arif" <Arif@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:E9158167-736F-4F4C-B88F-B23E00550C3B@xxxxxxxxxxxxxxxx
Hi all,

There are 50,000 records in a text file that I import to SqlServerCE so
that
I can start inventory process.

But due to a slow performance of .NET CE it takes a significant amount of
time.

I decided to create an XML file for these 50,000 items on my desktop, then
to load this file using DataSet.LoadXml() method, so that I can escape
from
inserting these 50,000 items to SqlCE. For a 3MB text file the generated
XML
file is of 15 MB size that is impossible to load on Pocket PC due to
memory
problem.

Is there anyway that I can achieve my goal.
Although RDA method can speed up my process but my client may not be ready
to get involve in some more complex tasks.

Regards,
Arif.


.



Relevant Pages

  • Re: Dont understand what version of SQL to install
    ... I'm talking about developing and testing databases for my client and ... To my XP, I can add SQL Developer 2008 to develop (I guess I should say, ... So I can use SQL Developer 2008 to create a database in standard 2005, ... installed on Client OSs such as Windows Vista. ...
    (microsoft.public.sqlserver.setup)
  • Re: DataSet.GetChanges() in RowChanged(DataRowAction.Add)
    ... have you considered SQL Express and use ... > I realize now that I didn't describe well how the client application is ... > Framework installed on the client machine, but not any SQL Server). ... > 20 tables in different relations with eachother in the database, ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Oracle 10g2 LIKE operator and case-insensitive issues
    ... SQL> CREATE INDEX IDXTESTCASE ON AUTENTI; ... Predicate Information: ... 338 bytes received via SQL*Net from client ... sorts (memory) ...
    (comp.databases.oracle.server)
  • Re: Oracle 10g2 LIKE operator and case-insensitive issues
    ... SQL> CREATE INDEX IDXTESTCASE ON AUTENTI; ... Predicate Information: ... 338 bytes received via SQL*Net from client ... sorts (memory) ...
    (comp.databases.oracle.server)
  • Re: Oracle 10g2 LIKE operator and case-insensitive issues
    ... SQL> CREATE INDEX IDXTESTCASE ON AUTENTI; ... Predicate Information: ... 338 bytes received via SQL*Net from client ... sorts (memory) ...
    (comp.databases.oracle.server)