SQL Compact Edition Slow on Device

The Compact Edition is so slow. A simple query takes 2 minutes to Prepare, or Excecute. The same query is very quick in ISQL.

Dell Axim. WM5. Database was created on the Desktop with Compact Edition libraries. Has needed indexes and is a select based off that index, and joins one other table which is also indexed on the join column.

Is SQLMobile quicker ? I just wanted to be able to create a database without having to use replication to populate it, and the Compact Edition allowed that.

Thanks in advance.

MC
April 15th, 2007 1:01am

I figured it out. You must compact the database after adding the rows, before deploying it.

At least this is a question that others can search and find the answer too. Sometimes you bring up the problem but there wasn't an answer.

Free Windows Admin Tool Kit Click here and download it now
April 16th, 2007 1:20am

I figured it out. You must compact the database after adding the rows, before deploying it.

 

At least this is a question that others can search and find the answer too. Sometimes you bring up the problem but there wasn't an answer.

 

 

Thank you for the solution. I had this problem when moving a Compact database file from the desktop platform to Windows Mobile.
December 9th, 2013 6:22pm

Hi,

I know its a bit old, but what do you mean by "must compact the database after adding the rows" ? Can you elaborate further ?

Thanks in advance.

Free Windows Admin Tool Kit Click here and download it now
March 23rd, 2015 10:52pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics