Developed by Vistra Nova

QueryBolt: SQL optimisation for database teams

QueryBolt helps developers and database teams investigate inefficient SQL and assess possible changes. It uses rule-based analysis to identify candidates, then validates and benchmarks them where supported.

From a query to evidence

Paste SQL or upload a SQL file. Add table definitions and expected row counts to give the analysis context. QueryBolt can infer missing schema information, but those assumptions affect the test.

Benchmarked runs use a temporary database with generated data. You do not need to connect QueryBolt to your database or provide its connection details.

Rule-based SQL optimisation

QueryBolt’s deterministic analysis looks for supported query patterns and applies defined rules. It considers SQL rewrites and indexes, and provides technical guidance where a change needs further review.

For example, a supported date filter can be expressed as a range that an index can use. An index is a database structure that can reduce how much data a query needs to read.

QueryBolt / Rule-based rewrite MySQL · date filter

Original filter

YEAR(o.created_at) = 2026

Rewritten filter

o.created_at >= '2026-01-01'
AND o.created_at < '2027-01-01'

How changes earn a recommendation

QueryBolt examines your SQL and schema for opportunities to rewrite a query or improve its indexes. Technical guidance is available when a change cannot be safely proposed.

Where benchmarking is supported, QueryBolt tests candidates against the original SQL on the same generated dataset and checks that the results match.

Recommendations reflect the measured evidence. An index can reduce the work a database does even when the measured execution times are too close to establish a speedup.

Review recommendations on representative data before applying changes. Some workloads receive preview guidance when a full benchmark cannot run.

Results you can review

Where benchmarking completes, QueryBolt compares the original and candidate on the same generated dataset. Depending on the engine and workload, results can include revised SQL, index statements, explanations, timings, data-read measurements and execution plans.

Measured changes are distinguished from advisory findings and preview guidance. An index may qualify by reducing reads without reducing elapsed time. Rejected candidates are not recommendations; an analysis may find no qualifying change.

QueryBolt returns changes for you to review. It does not apply them to your database.

Understanding a benchmark

Generated data gives the comparison a controlled setting, but differences in how your own data is distributed, the parameter values you use and the workload running alongside a query can change the outcome. Matching outputs in a test do not establish equivalence for every dataset.

Review the SQL and assumptions, then test proposed changes in your own environment before applying them.

Compatibility and access

QueryBolt analyses SQL for MySQL and Microsoft SQL Server. Its rule-based workflow includes supported queries, scripts and stored procedures; some workloads receive preview guidance without a full benchmark.

QueryBolt’s website has the current compatibility details, subscription options and usage limits. Saved history and report exports depend on your plan.

Review your SQL with QueryBolt

Read the documentation for your workload or visit QueryBolt to submit a query.