iPhone Sqlite Performance Problem -
O people, it is low below.
I have a table with primary key (Col1), text (col2), and text (col3). Actually a map has about 200k lines in this table, it basically takes 1.x seconds to get me a line (all I want to do). I'm basically using the selection * from the table where col2 = 'some value'.
I have tried to create an index for all the three columns, each column individually, and col2 and col3, but it really did not improve my position.
I'm thinking, is this normal? I have not come to any of the people who complained about the slow succulent performance for the big tables, so I am wondering what I am doing.
Any help would be greatly appreciated.
I would say, this is not very clearly.
Even when you have a large table, one index should be faster than an access point.
What you can do: Create only one index on col2 (this is the same and only you need it for it!).
Using "Explore Select ..." to get the information, which SQLite tells about it, the result is not easy to read, but with some experience it is possible to see that What index is used. You can also post results here.
Comments
Post a Comment