IntelliJ IDEA in SQL Explain

Good use SQLof explainis SQLto adjust and optimize the only way. But the encounter complex SQL, view explainthe result is a little difficult. For example, this:

Fortunately, many of the client database provides graphical forms, such as PostgreSQLthe pgAdmin4can see the following effect:

But if there is a tool that can hold live all major relational database, Hi skin more a. The answer is IntelliJ IDEA. If you have not tried its own Databasefunction, it is recommended to try now. You should be able to find on the right side of the screen.

Just add the appropriate database connection like the wizard. However, this feature free community version is not.
After creating the database link, through this button to open the SQL Consolewindow

and then you can write happy inside large column  IntelliJ IDEA in SQL ExplainSQL the.
First to paragraph:

Now we can try to IntelliJ IDEAperform once explaina.

  • First cursor needs explainof SQLthe
  • Right exhaled menu, find the implementation of
  • We can see the effect
  • Click Show Visualisationcan recall graphical display
  • If you find this feature useful, you can give it set a shortcut key, as follows
    • Exhaled Find Action...window (shortcut: ⇧⌘A), in Helpcan be found under the menu
    • foundexplain
    • Ankuaichajian ⌥↩︎, or under the windowsalt+回车
    • You can set up a keyboard shortcut

Guess you like

Origin www.cnblogs.com/liuzhongrong/p/12361687.html