简体   繁体   English

从命令行/终端创建MySQL Workbench查询计划图像

[英]Create MySQL Workbench query plan image from command line / terminal

Is there a way to create MySQL Workbench query plan image from command line or terminal and save it as an image something like this? 有没有一种方法可以从命令行或终端创建MySQL Workbench查询计划图像并将其另存为类似图像的图像?

在此处输入图片说明

I checked the MySQL Workbench documentation here, https://dev.mysql.com/doc/workbench/en/wb-command-line-options.html . 我在这里查看了MySQL Workbench文档, https://dev.mysql.com/doc/workbench/en/wb-command-line-options.html But don't see any such option. 但是看不到任何这样的选择。 So, is there a hack or even a separate tool to create this image? 那么,是否有黑客或什至是单独的工具来创建此图像? Any help on this would be greatly appreciated. 任何帮助,将不胜感激。

There is no such option in MySQL Workbench. MySQL Workbench中没有此类选项。 The tool is a GUI application and as such not well suited for command line work. 该工具是一个GUI应用程序,因此不太适合命令行工作。 Maybe you can find a tool that can take the JSON output of EXPLAIN and builds a graphic from that. 也许您可以找到一个可以使用EXPLAIN的JSON输出并从中构建图形的工具。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM