Relay
ChangelogDocsPricing
Buy
Documentation
Getting StartedQuery Editor AIQuery Plan ExplanationsAI Chat
Relay Assistant

Query Plan Explanations

Use AI to understand and optimize your query execution plans.

Explain with AI

After running EXPLAIN ANALYZE on a query, you can use AI to get a plain-language breakdown of the execution plan.

  1. Run your query with Query Plan mode enabled
  2. Switch to the Analysis tab
  3. Click Explain with AI

The AI will analyze the execution plan and explain:

  • What each node in the plan tree does
  • Why certain nodes are slow or costly
  • Which indexes are being used (or missing)
  • Suggestions for improving query performance

What Gets Sent

When you use Explain with AI, the following context is sent to your configured provider:

  • The query plan output (EXPLAIN ANALYZE results)
  • The original SQL query
  • Relevant table and index information

Your actual row data is never sent — only the plan metadata and schema context.

Query Editor AI

Fix errors and generate queries with AI directly in the query editor.

AI Chat

Ask questions about your database using the AI chat panel.

On this page

Explain with AIWhat Gets Sent
Relay

by builds.org

The database client you deserve.

Stay in the loop.

Product

  • Features
  • Download
  • Changelog
  • Documentation

Support

  • Purchase License
  • Manage License
  • Recover License
  • Contact Us
© 2026 builds.org. All rights reserved.
Privacy PolicyTerms of ServiceLicense AgreementCookie Policy