Output Sections
Risk Flags
The main output section. Each risk flag represents one detected issue and bundles everything related to that issue in one place: what was found, why it matters, the measured evidence behind it, and — for runtime analysis — the operator metrics and any correctness concerns.
Only
HIGH and MEDIUM confidence findings are shown. Low-confidence results are suppressed to keep output focused.
Recommendations
Ranked, actionable suggestions. Each recommendation includes:
Recommendations are ranked by expected impact first, then confidence. A query rewrite that eliminates an expensive operation ranks above an index addition at the same impact level.
Risk Flag Types
Risk flags are detected during both static and runtime analysis. There are two categories.Index Gaps
These flags indicate that a column used in a filter, join, or aggregation is missing an index that would significantly speed up the query.Query Pattern Issues
These flags indicate structural patterns in the SQL or query plan that are likely to cause poor performance.Filter Propagation Issues
These flags identify missed opportunities to reduce data early by pushing filters across the query plan.Diagnostic Values
These values may appear in thetype field of an API response but are not user-facing risk flags. They are used internally to drive post-processing logic and short-circuit gates.
Operator Types
Operator types appear within risk flags during runtime analysis. The API value column shows the exact string returned in theoperator field of a Finding object.

