PC Review


Reply
Thread Tools Rate Thread

Huge difference in performance

 
 
=?Utf-8?B?SGVsZW4gV2Fybg==?=
Guest
Posts: n/a
 
      10th Sep 2004
I am experimenting with some different ways of building an .sdf file.

(1) Using RDA, I import the data in my tables from a SQL Server database on
my desktop. This takes about 15 minutes or less.

(2) I export all the data in tab-delimited text files, copy them to the
device, and import them row by row, using SqlCeCommand objects. I realize
that option (1) will be faster, but I am astounded by the difference -- it
takes about 13 hours.

Any explanation as to why the second method is so much less performant? Is
there any way to speed it up? (I have already experimented with removing the
constraints, then adding them after the data has been imported.)

Thx

Helen
--
Helen Warn, PhD
Agile Software Inc.
www.agile-soft.com
 
Reply With Quote
 
 
 
 
Colin Young
Guest
Posts: n/a
 
      10th Sep 2004
I'm not specifically familiar with the SQL Server offering for Win CE, but
can you examine the actual SQL statement being executed for each scenario?
My guess is that the second scenario results in individual logged inserts
which are going to place a greater strain on the database engine.

Colin

"Helen Warn" <(E-Mail Removed)> wrote in message
news:2BE4C549-C532-4018-950D-(E-Mail Removed)...
> I am experimenting with some different ways of building an .sdf file.
>
> (1) Using RDA, I import the data in my tables from a SQL Server database

on
> my desktop. This takes about 15 minutes or less.
>
> (2) I export all the data in tab-delimited text files, copy them to the
> device, and import them row by row, using SqlCeCommand objects. I realize
> that option (1) will be faster, but I am astounded by the difference -- it
> takes about 13 hours.
>
> Any explanation as to why the second method is so much less performant? Is
> there any way to speed it up? (I have already experimented with removing

the
> constraints, then adding them after the data has been imported.)
>
> Thx
>
> Helen
> --
> Helen Warn, PhD
> Agile Software Inc.
> www.agile-soft.com



 
Reply With Quote
 
=?Utf-8?B?SGVsZW4gV2Fybg==?=
Guest
Posts: n/a
 
      11th Sep 2004
I'm not sure. Since SQL CE only allows one database connection, it doesn't
seem to make much sense that each row added would result in an individual
logged insert. But clearly there is something causing the non-performance.
Maybe a SQL CE guru will come to my rescue here.

"Colin Young" wrote:

> I'm not specifically familiar with the SQL Server offering for Win CE, but
> can you examine the actual SQL statement being executed for each scenario?
> My guess is that the second scenario results in individual logged inserts
> which are going to place a greater strain on the database engine.
>
> Colin
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PowerPoint huge size difference barman@jhu.edu Microsoft Powerpoint 5 18th Aug 2007 12:50 AM
what huge difference Mcbob Windows Vista General Discussion 0 3rd Mar 2007 06:12 AM
Need advice with huge TreeView performance tman Microsoft C# .NET 7 11th Oct 2006 05:24 AM
Huge difference in CPU temp reporting between MBM5 and Asus PC Probe Jack White Asus Motherboards 2 25th Feb 2005 09:08 PM
9800 Pro and Aquamark 3 (huge performance hit) Fitz ATI Video Cards 11 20th Oct 2004 07:28 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:56 PM.