On 12 Jan 2011, at 15:12, Vander Clock Stephane wrote:

> before it's return in 100 ms now 30 secondes :(
> 
> What i do wrong and how to correct it ?

Issue the SQL command:

ANALYZE

This will help the query planner understand which indexes are best to use; I 
have seen it dramatically improve matters in my tests. Obviously your database, 
data and queries are different to mine so it may not help you.

Best Regards,

Phil Willoughby
-- 
Managing Director, StrawberryCat Limited

StrawberryCat Limited is registered in England and Wales with Company No. 
7234809.

The registered office address of StrawberryCat Limited is:

107 Morgan Le Fay Drive
Eastleigh
SO53 4JH

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to