> Have you run ANALYZE?
Yes. And LIKE now uses the index, but like is still ~100 times slower.
___
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Have you run ANALYZE? This may provide the QP with better cost estimates.
LIKE and GLOB can sometimes be optimized (differently, because GLOB is case
sensitive and requires COLLATE BINARY and LIKE by default is not and requires
COLLATE NOCASE), in which case the index will be used.
See
2 matches
Mail list logo