Get Started Free

Every Statement, With the Numbers That Matter

The statement table shows how often each statement runs and how long it takes, plus what your database reports beyond that: rows examined against rows returned, scans without an index, cache hit ratio, slowest runs, CPU and lock time. A chart over time draws one line per statement, so a statement that suddenly gets slower stands out.

SQL Query Profiler chart with one line per statement and the statement table below it

Drill Into One Statement

Open a statement to see its full text, its statistics, its execution plan and, on MySQL, MariaDB and ClickHouse, each individual run with its rows, bytes and memory. Go from "this is slow" to "this is why" without leaving the tab.

Statement detail panel with Statement, Statistics, Explain, Index advice and Executions tabs

Index Advice in Your Database's Own SQL

For a slow statement, VisuaLeaf suggests an index with the columns in a sensible order and writes the CREATE INDEX for your database. It recognises indexes you already have that cover the statement, so it doesn't suggest one twice. The advisor ranks suggestions across the whole table.

Index advice for a slow statement with the suggested CREATE INDEX statement

Honest About What It Can See

If profiling is switched off, the profiler says so and names the setting or permission to fix, such as the PostgreSQL extension to load or the grant a MySQL user is missing, instead of showing an empty list. Where your database allows it, Enable turns statement statistics on, and Reset clears the counters so you can measure from a clean start.

SQL Query Profiler on a PostgreSQL server where statement statistics are off, saying why and offering Enable
VisuaLeaf MongoDB Query Profiler overview with slow operations

MongoDB Query Profiler

The same way of working for MongoDB: find slow operations, read their plans and get index suggestions, so tuning feels the same whichever database you are on.

VisuaLeaf SQL Editor with a query and its results

SQL Editor

Take a slow statement into the SQL Editor to rewrite it, run it and compare. Try the suggested index there before you keep it.

Want to Learn More?

Check out the documentation to explore all the details about SQL Query Profiling and discover more VisuaLeaf features.

Read the Documentation

Ready to speed up your SQL?

Get started free with our Community Edition. Includes a 14-day trial of Pro features.

macOS Windows Linux