# Explain a captured query

> Use Explain in the query detail panel to see a plan for a single SELECT, INSERT, UPDATE or DELETE. SQLEye never runs ANALYZE.

Source: https://sqleye.com/docs/live-eye/explain/ · Last updated: 2026-11-29 · Publisher: CodeROG (https://coderog.com)

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?

- The instance is running.
- The query has no error.

## 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?

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:

```text
only a single SELECT, INSERT, UPDATE or DELETE statement can be explained
```

## How do I use it?

1. Turn on [capture](/docs/live-eye/capture/) and run your workload.
2. Select the statement, using [filters](/docs/live-eye/filters/) if needed.
3. Press **Explain** and read the plan under **Plan**.
4. If MySQL showed "No index used", look for a full scan in the plan.
