sqlite - android sql how to handle large Query 200000 lines database? -



sqlite - android sql how to handle large Query 200000 lines database? -

i utilize code give suggestions user when typing. 1 query takes lot of time. there way speed up?

string cnql = "select distinct sinhala jgd sinhala '"+gg+"%' limit 0,4"; cursor cg=cn.rawquery(cnql, null);

you can create virtual table total text searching on android provides quick way retrieve matching strings. however, require set , maintain separate fts virtual table , populate strings want search. focus total text search, not back upwards 'starts with' type of operator, although can gg + "*" search words prefixed search query.

android sqlite

Comments

Popular posts from this blog

php - How to pass multiple values from url -

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

database - php search bar when I press submit with nothing in the search bar it shows all the data -