What is the MySQL equivalent of PostgreSQL's EXPLAIN ANALYZE

后端 未结 6 1303
孤城傲影
孤城傲影 2020-12-09 08:10

I\'d like to get a detailed query plan in MySQL similar to EXPLAIN ANALYZE shows in PostgreSQL. Is there an equivalent?

6条回答
  •  情深已故
    2020-12-09 08:39

    EDIT: While not a direct equivalent or as detailed as Explain Analyze here are some tools that you can look at

    mysql offers EXPLAIN and procedure analyse()
    http://dev.mysql.com/doc/refman/5.0/en/explain.html
    http://dev.mysql.com/doc/refman/5.0/en/procedure-analyse.html

提交回复
热议问题