How can I analyse a Sqlite query execution?

后端 未结 3 925
长情又很酷
长情又很酷 2020-12-07 18:57

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

3条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-07 19:55

    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?)

提交回复
热议问题