SQLLens
SQLLens for database teams

Find the queries actually slowing your database

Upload your slow query logs. We identify the highest-impact query patterns so you know exactly where to focus.

No guessing from logsSee where your database time is goingBuilt for real production systems
slow_query.log
Raw log reality
SELECT * FROM users WHERE user_id = ?    (1.4s)
WITH payments AS (SELECT...     (2.1s)
SELECT ... GROUP BY...           (1.8s)
UPDATE sessions SET...           (0.9s)
... thousands more lines
Triage output14-day window
Top 5 = 63% of load

Focus on the few patterns driving the majority of database time.

15.1 s → 42 ms
After applying the top fix

You already have the data. But not the answer.

You've got slow query logs, monitoring tools, and dashboards. But you still don't know which queries actually matter, where most of the load is coming from, or what to fix first. Most teams get stuck here.

Start with triage. Then diagnose properly.

A predictable three-step workflow that gets you from raw logs to a prioritised, ready-to-implement performance plan.

1 Triage report

Top query patterns by total load

Frequency × average impact. See exactly where your database time is being spent.

TOP 5 patterns = 63% load
TOP 20 patterns = 89% load
— uploaded 14d window —
2 Diagnose (guided)

A simple script for you to run

We generate the right EXPLAIN plans and table stats to capture — no guesswork.

EXPLAIN (FORMAT JSON, ANALYZE)
SHOW CREATE TABLE ...
— understand execution behaviour —
3 Fix plan

Root-cause analysis & action plan

Exact fixes — indexes, rewrites — and a prioritised order so the biggest wins come first.

ADD INDEX idx_user_id
REWRITE subquery → JOIN
— 3 fixes · est. -58% load —

A clear, actionable performance plan

  • Top 5 query issues, ranked by impact
  • Plain-English explanation of what's happening
  • Specific fixes you can implement immediately
  • Clear order to fix things in

We don't guess from logs.

The shortcut everyone takes — pattern-matching against logs alone — produces vague suggestions that miss the real bottlenecks. SQLLens grounds every recommendation in execution behaviour.

Most tools

  • Show your slow queries
  • Give generic suggestions
  • Leave you to figure out impact
  • Surface noise, not answers

SQLLens approach Precise

  • Start with logs (triage)
  • Verify with execution plans
  • Analyse schema & index structure
  • Precise, reliable fixes

Example of what you'll see.

A snapshot from a real triage report. Patterns ranked by total load, not just slowest single execution.

Top query patterns · last 14 days
12,847 queries analysed
Query patternFrequencyAvg time% of load
SELECT ... WHERE user_id = ?High · 4,2101.4s
36%
JOIN orders + items (N+1)Medium · 9802.4s
17%
SELECT count(*) FROM sessionsMedium · 6123.1s
10%
UPDATE users SET last_seenLow · 8,4020.09s
6%
Top 3 patterns = 63% of total load
Get your own triage report

Start free. Pay when you need answers.

Run the triage on us. Upgrade when you want the full diagnosis and prioritised fix plan.

Free triage
£0/ report
  • Upload slow query logs
  • Get triage report
  • Identify top query patterns

Built for real-world database problems

This isn't theoretical optimisation. It's based on analysing real production slow logs, identifying recurring query patterns, and turning execution plans into actionable fixes.

Frequently asked questions

Do I need to understand execution plans?
No. We translate them into clear actions — what to add, what to rewrite, and the order to do it in. The original plans are attached for your senior engineers to verify if they want to.
Is this automated?
Triage is automated. Diagnosis is supervised — every paid report is reviewed by a senior database engineer before delivery, so you don't get hallucinated indexes or unsafe rewrites.
What databases are supported?
MySQL and PostgreSQL initially. SQL Server and Aurora are on the roadmap — get in touch if that's a blocker.
Is my data safe?
You control what you upload. Logs can be parameterised before upload, queries can be encrypted at rest, and reports are deleted on request. We never need access to your live database.

Stop guessing what to fix.

Upload your slow query log. Get a free triage report in minutes.