On 21 Feb 2011, at 2:23pm, Sven L wrote:

> SELECT COUNT(ItemID) FROM Items;
> 
> This takes around 40 seconds the first time! WHY?!

Try again, doing everything identically except that instead of the above line 
use

SELECT COUNT(*) FROM Items;

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

Reply via email to