I\'m having a performance problem in SQLite with a SELECT COUNT(*) on a large tables.
As I didn\'t yet receive a usable answer and I did some further testing, I edited m
If you haven't DELETEd any records, doing:
DELETE
SELECT MAX(_ROWID_) FROM "table" LIMIT 1;
Will avoid the full-table scan. Note that _ROWID_ is a SQLite identifier.