Explain a captured query
Select a captured query and press Explain in the detail panel. The plan appears as text under Plan. SQLEye never uses ANALYZE, so the statement is planned, not executed.
When is Explain available?
Section titled “When is Explain available?”- The instance is running.
- The query has no error.
Which statements are accepted?
Section titled “Which statements are accepted?”A single SELECT, INSERT, UPDATE or DELETE. A WITH ... query is accepted when its main statement is DML, and so is a parenthesised SELECT.
Which statements are rejected?
Section titled “Which statements are rejected?”Statements that are already EXPLAIN or ANALYZE, DDL, several statements in one string, and statements that were truncated (SQL over 8 KB is cut). SQLEye shows:
only a single SELECT, INSERT, UPDATE or DELETE statement can be explainedHow do I use it?
Section titled “How do I use it?”SQLEye is developed and maintained by CodeROG. This page is also available as Markdown.