|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Saturday, June 23, 2012 2:16 PM
Points: 5,
Visits: 13
|
|
please help me with this......
i am trying to read more than 100000 record from my SQLite database very fast.
At the moment it takes 40-45 second to perform a select on the last record.
Does anybody knows the code for vb.net compact framework, to perform this search in less than 5 or 10 seconds? al hajjaj
|
|
|
|
|
SSChampion
        
Group: General Forum Members
Last Login: Yesterday @ 6:56 PM
Points: 11,613,
Visits: 27,669
|
|
100K records is a lot to do anything to in compact edition; it's mostly up to the processor and indexing. are you just searching in compact edition? what exactly are you doing with 100K of records? do you have a table structure yet?
your title states "retrieve 100K records". that is going to be slow, no matter what. none of my portable devices could display 100K records without being dog slow; you'd be much better off paging record groups and displaying in batches, if that is what you are doing.
you are using SQLite instead of SQL Server Compact Edition database?
Lowell
--There is no spoon, and there's no default ORDER BY in sql server either. Actually, Common Sense is so rare, it should be considered a Superpower. --my son
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Saturday, June 23, 2012 2:16 PM
Points: 5,
Visits: 13
|
|
the problem is solved. yes it is SQLite and yes i have table structure thank you so much.
|
|
|
|
|
SSChampion
        
Group: General Forum Members
Last Login: Yesterday @ 6:56 PM
Points: 11,613,
Visits: 27,669
|
|
glad you fixed it; what was the problem, and what was your solution? it might benefit some others if you can post some ideas and details. Thanks!
HAJJAJ (3/15/2010) the problem is solved. yes it is SQLite and yes i have table structure thank you so much.
Lowell
--There is no spoon, and there's no default ORDER BY in sql server either. Actually, Common Sense is so rare, it should be considered a Superpower. --my son
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Saturday, June 23, 2012 2:16 PM
Points: 5,
Visits: 13
|
|
you know i was using "like" in my query so i change it to "=" it's faster than like.
i also add index for the table .
|
|
|
|