Re: [sqlite] [EXTERNAL] Explain Query plan

2018-06-08 Thread David Burgess
> 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

Re: [sqlite] [EXTERNAL] Explain Query plan

2018-06-08 Thread Hick Gunter
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