Zero-Row GuaranteeStructure-only SQL, Prisma & SQLAlchemy safety · pip install solunex-ssdo · Zero customer rows ever read.

QUERY PERFORMANCE · ZERO ROWS READ   ← All Developer Tools

SQL QueryDoctor: Zero-Row Query, ESR Index & EXPLAIN Plan Analyzer

Diagnose slow PostgreSQL, MySQL, and SQLite queries using schema structure and optional EXPLAIN plans — zero database connections, zero customer rows read, and lock-safe CREATE INDEX CONCURRENTLY recommendations.

Open QueryDoctor in Schema IDE →   Run in CLI Sandbox →   Launch Full Console

The Engineering Problem

Developers paste slow SQL queries into production without checking whether an existing index already covers the predicate, whether WHERE LOWER(email) disables B-Tree lookup, or whether CREATE INDEX without CONCURRENTLY will lock writes.

INPUT · SCHEMA OR ROUTE
SELECT *
FROM orders
WHERE customer_id = 105
ORDER BY created_at DESC;
SSDO OUTPUT · ZERO ROWS READ
[STRUCTURAL_INDEX_HYPOTHESIS] ESR composite index candidate on orders(customer_id, created_at DESC)
CREATE INDEX CONCURRENTLY IF NOT EXISTS idx_orders_customer_id_created_at
  ON orders (customer_id, created_at DESC);
[STATIC_QUERY_PATTERN] Avoid SELECT * in application queries.

Run 100% Offline in Your Terminal or CI

pip install solunex-ssdo
ssdo query-doctor --query "SELECT * FROM orders WHERE customer_id = 105 ORDER BY created_at DESC;" --schema ./schema.sql --explain ./plan.txt

What SSDO Checks & Generates

Frequently Asked Questions

Does SSDO QueryDoctor connect to my database or run SELECT on my tables?

Never. QueryDoctor operates 100% offline on your SQL query text, schema DDL catalog, and optional pasted EXPLAIN output. Zero rows are ever read.

Will QueryDoctor automatically create or drop indexes?

No. Every index suggestion is labeled as a STRUCTURAL_INDEX_HYPOTHESIS with copyable lock-safe DDL for human review and EXPLAIN verification.

More Zero-Row Developer Tools