I’m using sqlce 3.5 in Datalogic memor.
- Importing 40,000 records to a table from other sdf inside this
scanner, it takes for 3 minutes. - Searching a field in this table, it takes 4 seconds.
Is it a normal time? Could we speed up?
In this table, there are 6 fields below
- nvarchar 30
- nvarchar 26
- nvarchar 40
- nvarchar 13
- datetime
- nvarchar 20
System searchs field 2 and then load field 2, 3 and 4.
Thank you.
For the import you can use SqlCeUpdateableRecord and SqlCEResultSet (or use my SqlCeBulkCopy api, that wraps this).
For the select, make usre you have a Index defined, or consider using TableDirect and Seek.