我知道查询执行计划visualizer exists.

但从来没有看到它为mysql.你知道吗?

最佳答案
我知道这是一个老问题,但如果您使用MySQL工作台,请查看他们的工具:https://www.mysql.com/products/workbench/performance/

The explain plan shows the operations MySQL performs when it runs SQL statements. This information can help optimize SQL performance. MySQLWorkbench Visualize Explain plans graphically show and highlight how SQL statements execute within MySQL.

在我的版本(Mac上的6.3)中,它是顶部菜单中的Query选项,然后是“Explain current statement” – 在实际查询中使用它,而不是EXPLAIN …查询.

另见https://opensourcedba.wordpress.com/2012/11/09/visual-explain-part-2/

希望有所帮助(:

dawei

【声明】:淮南站长网内容转载自互联网,其相关言论仅代表作者个人观点绝非权威,不代表本站立场。如您发现内容存在版权问题,请提交相关链接至邮箱:bqsm@foxmail.com,我们将及时予以处理。