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

  • 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

  • 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!

  • the problem is solved.

    yes it is SQLite and yes i have table structure

    thank you so much.

  • 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!

  • 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 .

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply