DB Watchtower
PostgreSQL monitoring for teams without a DBA

Find out what is slowing down your Postgres, why, and what to do next.

Connect your database with a read-only role. Within minutes you see its health, the queries that cost the most, and findings backed by the measurements that triggered them, with an AI investigation when you want the full story.

The pilot is invite-only and free. Sign-up asks for the code from your invitation.

High

Frequent full-table scans on public.orders

since 9 min ago

PostgreSQL scanned all of public.orders (about 500,000 rows) 7,870 times in the last 5 minutes. 56% of reads on this table were sequential scans rather than index lookups.

Evidence
Sequential scans7,870 (threshold 10)
Rows read by sequential scans1,311,522,453
Avg rows per scan166,648 (threshold 50,000)
Candidate index columnscustomer_id
Query responsible
SELECT id, status, total_cents FROM orders WHERE customer_id = $1 ORDER BY created_at DESC2,288 calls · 9.2 ms mean · 39% of query time
How it works

From a read-only login to an explained, evidence-backed fix.

  1. Create a monitoring role

    The app generates the SQL: a separate login with pg_monitor only, read-only by default, with a connection limit. You review it and run it yourself.

  2. Connect over TLS

    Paste a connection string. Before saving, the connection is tested and the role is audited: no write access, owns nothing, can't create objects, isn't a superuser.

  3. Statistics are collected

    Every minute, from pg_stat_activity, pg_stat_statements, table and index statistics. A full collection takes about 15 to 50 ms. Your rows are never read.

  4. Rules find the problems

    Twenty checks turn the numbers into findings, each with the measured value, the threshold it crossed and a suggested next step. A health score sums it up.

  5. Investigate with AI

    One click connects related findings into a root cause, separates facts from hypotheses, and recommends what to do. Every claim cites its data; anything we can't verify is flagged.

-- Generated by the app for your database; you run it as an administrator.
CREATE ROLE "databaseops_monitor" WITH LOGIN PASSWORD '…'
  NOSUPERUSER NOCREATEDB NOCREATEROLE NOREPLICATION NOBYPASSRLS
  CONNECTION LIMIT 5;
GRANT pg_monitor TO "databaseops_monitor";
ALTER ROLE "databaseops_monitor" SET default_transaction_read_only = on;
The product

What you see after connecting.

Screens from a sample online-shop database with deliberate problems: a missing index, idle transactions and dead rows.

Database page with a health score of 70, two high-severity findings and charts of connections, transactions per second and cache hit ratio
One page per databaseHealth score with its breakdown, open findings most severe first, and an hour to a week of trends.
AI investigation concluding that missing indexes on orders and events cause repeated full-table scans, with each verified observation citing its data
AI investigations you can checkEach statement cites the data behind it. Recommendations show risk, confidence and how to verify the result.
Access settings with execution plans enabled for selected tables and a generated per-table GRANT script
You choose what it can seeOptional query plans for the tables you pick. Sensitive tables stay out, and grants are generated per table.
What it checks

The problems that slow down real applications.

indexes

Missing and unused indexes

  • Large tables read by full scans, with the queries responsible
  • Candidate columns that have no index yet
  • Unused and invalid indexes
queries

Slow and expensive queries

  • Slow on average
  • One query using most of the database's time
  • Slower than its own 7-day baseline
activity

Locks and transactions

  • Sessions waiting on locks, and who holds them
  • Idle-in-transaction sessions
  • Long transactions and deadlocks
connections

Connection pressure

  • Utilization against max_connections
  • Idle connections from oversized pools
  • Database unreachable
maintenance

Bloat and statistics

  • Dead rows building up, and why vacuum can't clear them
  • Planner statistics out of date
resources

Memory and disk

  • Cache hit ratio
  • Queries spilling to temporary files
  • Transaction rollback rate
Security

Built to be trusted with a production database.

The full details are in the security overview.

What it does

  • Connects with a dedicated read-only role you create, never your application's login
  • Reads statistics and catalog views only, in read-only sessions with short time limits
  • Requires TLS to your database, and refuses private network addresses
  • Encrypts stored passwords and never shows them again
  • Sends the AI only findings, statistics and normalized query text, and shows you exactly what was sent

What it never does

  • Read the rows in your tables
  • Change your database or run suggested SQL
  • Ask for broad access: plans need SELECT only on tables you choose
  • Send host names, logins, passwords or table data to the AI

PostgreSQL 13 and newer onNeonSupabaseAWS RDS & AuroraAzureGoogle Cloud SQLSelf-hosted

Questions

Before you connect.

Will monitoring slow my database down?

A full collection takes about 15 to 50 ms and runs once a minute, reading statistics views only. Sessions have a 5-second statement limit and a 1-second lock limit, so they can't queue behind your workload.

Do I need to give it access to my data?

No. Monitoring uses statistics only. Execution plans are optional; PostgreSQL requires SELECT on a table even to plan a query, so you choose which tables to allow and leave sensitive ones out.

Does it change anything automatically?

No. Recommendations include SQL for you to review, with a risk rating, and nothing is ever run for you.

What does the AI see?

Findings, metrics, normalized query text with values removed, and statistics for the tables involved. Never your rows, host names or credentials. Every investigation shows the exact data that was sent.

How do I stop?

Disconnect the database in the app, which deletes its stored credentials and collected data. The app also gives you a script that revokes the role's access and removes it.

Have an invite code?

Setup takes about 15 minutes, and the first findings appear within minutes of connecting.