There is a primary key: CREATE TABLE tiles (x INTEGER,y INTEGER,z INTEGER,s INTEGER,image BYTE, PRIMARY KEY (x, y, z, s));
but it's not specific to "z". Adding an index for "z" alone should help (but the 2G limit looks to be a different issue). -- Kostya 2011/1/15 Frank Weiss <[email protected]> > As I recall, there were no indexes on the table. Without indexes I would > expect most every query on a very table to be very slow. > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

