Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


how to retrieve 100000 record from sqlite (Mobile Applications) ????!!!!!!!


how to retrieve 100000 record from sqlite (Mobile Applications) ????!!!!!!!

Author
Message
HAJJAJ
HAJJAJ
Forum Newbie
Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)

Group: General Forum Members
Points: 5 Visits: 18
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
Lowell
Lowell
SSC-Insane
SSC-Insane (23K reputation)SSC-Insane (23K reputation)SSC-Insane (23K reputation)SSC-Insane (23K reputation)SSC-Insane (23K reputation)SSC-Insane (23K reputation)SSC-Insane (23K reputation)SSC-Insane (23K reputation)

Group: General Forum Members
Points: 23208 Visits: 39675
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

--
help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

HAJJAJ
HAJJAJ
Forum Newbie
Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)

Group: General Forum Members
Points: 5 Visits: 18
the problem is solved.
yes it is SQLite and yes i have table structure
thank you so much.
Lowell
Lowell
SSC-Insane
SSC-Insane (23K reputation)SSC-Insane (23K reputation)SSC-Insane (23K reputation)SSC-Insane (23K reputation)SSC-Insane (23K reputation)SSC-Insane (23K reputation)SSC-Insane (23K reputation)SSC-Insane (23K reputation)

Group: General Forum Members
Points: 23208 Visits: 39675
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

--
help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

HAJJAJ
HAJJAJ
Forum Newbie
Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)

Group: General Forum Members
Points: 5 Visits: 18
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 .
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search