Query analysis and index suggestions
The Queries tab ranks statements by total time and flags those that scan many rows (or blocks) to return few, spill to disk, or have no usable index. Where it can, it suggests an index and shows the CREATE INDEX statement.
Trend shows each statement's average time per call over the last 7 days; one that is 50% slower than usual is flagged.
EXPLAIN-backed advice (optional)
Install the agent with --explain and it asks the database for the plans of the 10 slowest SELECTs every 10 minutes. SQLNirvana then shows full table scans, filesorts and temporary tables per statement, and marks index suggestions the plan confirms. EXPLAIN never runs the query, but MySQL and PostgreSQL only allow it with read access to the tables, so --explain grants SELECT on your application schemas (PostgreSQL: pg_read_all_data; plans need PostgreSQL 16+). Leave it off if the monitoring user must not be able to read data.
On PostgreSQL the suggestion already uses CREATE INDEX CONCURRENTLY, which doesn't block writes.