IDE插件

IDE插件适合于数据应用开发人员使用,一键推荐索引,分析推荐索引的收益代价。

Eclipse/STS plugin

安装方式

运行eclipse,点击help--install new software--在work with中输入插件在线更新地址,点击enter,然后选择插件,点击next进行安装,重启eclipse即可。更新地址:https://downloads.pawsql.com/plugin-updates/eclipse/

配置执行参数

支持项目级以及工作空间级的配置

一键执行

右键点击需要作为输入的SQL文件或文件夹,选择“Run Index Advisor”, 然后就等待结果吧。

执行结果

IntelliJ plugin

支持工具IntelliJ包括DataGrip, IntelliJ IDEA , PhpStorm, PyCharm , WebStorm等。

安装执行步骤

  1. Install a compatible JetBrains IDE, such as IntelliJ IDEA, CLion, PyCharm, or other IntelliJ-based IDEs.

  2. Launch the IDE and open plugin settings

  3. Search for "Paw Index Advisor" and click install

  4. Configure the query type and database information on the configuration page

  5. Right click any folder which contains the sql statments/mybatis xml files, and click "Run Index Advisor"

  6. Wait for a minute and the indice are recommended to accelerate your database queries.

使用截屏

配置

执行

结果

最后更新于