How can I analyse a Sqlite query execution?

Phil Hannent picture Phil Hannent · Sep 21, 2009 · Viewed 18.1k times · Source

I have a Sqlite database which I want to check the indexes are correct. MS SQL Analyser is great at breaking down the query execution and utilised indexes.

Is there a similar tool for Sqlite?

Answer

Chris picture Chris · Aug 4, 2011

As outis said:

EXPLAIN QUERY PLAN SELECT * FROM FOO

Does the trick with a more readable output, if like me you're simply using it to ensure you're hitting your indexes (indices?)