DBHealthdatabase monitoring
Free SQL Server PostgreSQL Version 0.2.0

See what is slowing down your databases, and why

Free performance monitoring for SQL Server and PostgreSQL in the spirit of Foglight and Spotlight. It runs on your own server, and your data never leaves your network.

No agents on database servers A year of history Kerberos / NTLM sign-in
What is DBHealth

A database monitor that lives with you, not in someone else's cloud

One installation on a Windows server in your domain. DBHealth polls SQL Server, PostgreSQL and Windows hosts on its own, keeps the history in your SQL Server and shows it in a web portal.

Your server, your data

Telemetry, query text and server names stay in your database. DBHealth sends nothing to the developer: no statistics and no usage telemetry.

Like Foglight and Spotlight, but free

Fleet heat map, "who loaded the server and how" investigation, heavy queries, waits, blocking and host resources. The tools DBAs know, in one portal.

Installed by a wizard in half an hour

The setup wizard checks the service account, port, certificate and storage access before it changes anything. Upgrading is a single "Update" button.

Features

Everything you need to find the cause, not the symptom

Each picture below is a mock-up of a real DBHealth screen with demo data. The product interface itself is in Russian.

Hosts: CPU, memory, disks, paging file

Windows metrics are collected over WinRM HTTPS with no agents: CPU and memory as rings, disk usage as cylinders, the paging file, network and disk I/O.

  • "Show…" under the rings lists the processes that used CPU and memory in the selected period.
  • Click a disk to see the database files on that drive and what exactly is filling it.
  • See which drive holds the paging file and how actively the system writes to it.
SRV-DB01.contoso.localWindows Server 2022
46%CPU
Show…
78%memory
Show…
C: paging
64 %80 of 125 GB
D: data
88 %1.76 of 2 TB
E: logs
41 %205 of 500 GB
CPU, last 24 h
Host card: CPU and memory rings, disks and the paging file

Heavy queries, waits and blocking

Performance Investigator breaks the load down by wait class, and Query Explorer shows which queries, users and applications created it. Pick any period up to a year back.

  • Select a spike on the chart and get the top queries for exactly those minutes.
  • Blocking tree: who holds, who waits and for how long; deadlocks over time.
  • Query card: duration history, missing indexes and, if you want, an AI optimizer.
Activity by wait classSRV-ERP01 · average sessions
0612 09:0010:0011:0012:0013:00
CPUI/OLocksOtherselected 11:10-12:00
QueryDatabaseWaitCallsShare
UPDATE dbo.Orders SET Status = @p1 WHERE OrderId = @p2Lock (LCK_M_U)Sales41 min18,204
SELECT c.Name, SUM(i.Amount) FROM dbo.Invoices i JOIN …CPUBilling12 min96
EXEC dbo.usp_RebuildStock @WarehouseIdPAGEIOLATCH_SHWarehouse7 min4
A lock spike at 11:30 and the query that caused it (demo data)

Database growth over a year

Every day DBHealth records the file sizes of all databases and keeps 365 days of history. You can see which database grows fastest, which drives it sits on and who was loading it.

  • Growth per database for the period: you see at once who is eating the disk.
  • History of every file, per-file I/O, and tempdb: who was using it.
Growing databases, GBlast 12 months
0300600900 DecMarJunSepDec
Billing · +301 GB (×3.5)Sales · +185 GBArchive · +78 GB
Billing grew 3.5 times in a year, time to plan disk space

Alerts and backups

Ready-made rule templates for SQL Server and PostgreSQL: unavailability, CPU, disk space, blocking, agent jobs, replication, missed backups. Adjust the templates to your needs and exclude noisy objects with one button.

  • Four levels: warning, critical, unreachable and normal. The colors stay distinct for color-blind users.
  • Exclusions: a test database, a temporary disk or an unneeded job won't make noise.
  • Backups from msdb: when the last full, differential and log backups ran.
Alertsactive · 4
UnreachableSRV-HR01Cannot connect to the instance4 min
CriticalSRV-ERP01CPU above 90 % for 15 min22 min
WarningSRV-DB01Drive D: is 88 % full3 h
WarningPG-APP01Replica lag 45 s6 min
BackupsSRV-DB01
DatabaseFullDifferentialLog
Salestoday 01:00none5 min agoOK
BillingSun 02:00today 02:0012 min agoOK
Warehouse9 days agononenoneno backup
Alerts of different severity and a backup summary (demo data)
Fleet overviewServer heat map, grouping by cluster, one click to drill down.
Live viewsSessions, blocking, memory, plan cache, tempdb, agent jobs, SQL Server logs.
Query Insights and ExplorerQuery Store and pg_stat_statements: top queries, history, breakdowns by user and application.
Performance InvestigatorLoad tree: databases, users, applications, machines, waits.
Always On and clustersAvailability groups; an FCI is added by its network name and follows failover on its own.
PostgreSQLTables and vacuum, dead tuples, replication, WAL, temp files, pg_locks.
Windows hostsCPU, memory, disks, paging, network and processes over WinRM HTTPS, no agents.
SecurityKerberos with NTLM fallback, Administrator and Reader roles, an audit log, no stored passwords.
REST API/api/v1 with API keys: data for your own scripts, bots and other systems.
AI optimizerOptional advice on a query from an AI service you choose. Off until an administrator turns it on.
Tray iconService status, DBHealth's own load, and pausing collection during maintenance.
Light and dark themesPlus a per-user time zone, handy when servers are in different regions.
Use cases

Who needs it and why

DBHealth helps wherever you have more than a couple of database servers and want to answer "why is it slow" with facts instead of guesses.

DBAsOn-call and NOCDevelopersWindows adminsDevOps and SREIT managers
On-call DBAa call at night

"Everything is slow, do something"

  1. The overview shows a red SRV-ERP01 tile.
  2. Instance, then Blocking: the tree shows the head session.
  3. You see the user, the application and the query holding the lock.
The cause is found in minutes, not by morning.
Developerafter a release

"Which query got slower?"

  1. Query Explorer: the periods before and after the release.
  2. Sort by CPU or duration, and the new leader is on top.
  3. Query card: history, plan, missing indexes.
The regression is visible without access to production.
Windows adminhost resources

"What ate the memory and the disk?"

  1. Hosts: CPU and memory rings, "Show…" lists the top processes for the period.
  2. Click a full disk to see which database files are on it.
  3. Paging file: which drive it is on and how often the system uses it.
Clear what to buy: memory, disk or nothing.
Capacity planningonce a quarter

"When will we run out of space?"

  1. Database growth over a year: which databases grow fastest.
  2. History of the files and the drives they live on.
  3. Numbers for the purchase request come from a chart, not a guess.
The disk is ordered before it runs out.
Data ownermorning check

"Did all the backups run?"

  1. Backups for every instance, from msdb.
  2. Agent jobs: the last result, with failures on top.
  3. An alert when a backup is older than the set limit.
A missed backup shows up before you need it.
DevOps and NOCyour own tools

"I want this data in my bot"

  1. Create an API key in Administration.
  2. Call /api/v1: alerts, metrics, inventory.
  3. Build your own dashboards, chat alerts and reports.
DBHealth fits into what you already have.
How it works

Two services, one database, no agents

The collector polls servers over the network and writes history to the storage SQL Server, and the portal shows it in a browser. Nothing is installed on the monitored servers.

MONITORED SERVERS SQL Server SRV-DB01, SRV-ERP01 … PostgreSQL PG-APP01, PG-WEB02 … Windows hosts CPU, memory, disks, processes DMV, Query Store, msdb pg_stat_* WinRM HTTPS :5986 DBHealth server Windows Server in a domain · .NET bundled DBHealth.Collector collector service: polls servers and writes telemetry to storage DBHealth.Api portal, REST API /api/v1, alerts; HTTPS, Kerberos / NTLM, roles Storage SQL Server up to 365 days of history write read WHO LOOKS Users browser, domain sign-in, Administrator or Reader role Your systems scripts, bots, reports REST API with an X-Api-Key HTTPS
Least privilegeSQL Server needs read-only state access (VIEW SERVER STATE and a few more), PostgreSQL needs the pg_monitor role, hosts don't need admin rights. Permissions can be granted from the portal.
No passwords in filesThe services run under a domain account or gMSA. An admin password used to grant permissions is used once and never stored.
Gentle on serversThe tray icon shows how much SQL Server CPU DBHealth itself uses. Collection can be paused during maintenance.
Install

Requirements and quick start

DBHealth is built for an Active Directory domain. Everything it needs is inside the package, so you don't install .NET on the server.

What you need
  • Windows Server x64 in a domainA server for the two DBHealth services and the portal.
  • SQL Server for storageWith SQL Server Agent (it runs the partition maintenance job). The wizard creates the database. In "Kerberos only" mode the storage must be on another server.
  • Service accountA domain account or gMSA (DOMAIN\name$). The password is entered only in the wizard window.
  • HTTPS certificate for the portalFrom your domain CA, a PFX file or self-signed for testing. You pick it in the wizard.
  • Permissions on monitored serversSQL Server: VIEW SERVER STATE, VIEW ANY DEFINITION, CONNECT ANY DATABASE, read on msdb. PostgreSQL: pg_monitor. Can be granted from the portal.
  • For OS metrics (optional)WinRM HTTPS on port 5986 with a domain CA certificate; the monitoring account in Remote Management Users and Performance Monitor Users.
Five steps
  1. Download and unpackPut DBHealth-0.2.0.zip on the server that will run DBHealth.
  2. Run DBHealth.Setup.exeThe wizard walks through Start, Storage, Service account, Web portal, Administrators and Install. "Next" validates your input; nothing changes on the server until the last step.
  3. Open the portal and add servers"Add instance" for SQL Server or PostgreSQL. A failover cluster is added by its network name. Missing permissions? The "Grant access…" button is right there.
  4. Turn on host metricsThe package has a winrm folder with check and setup scripts. Review the plan first:
    .\Test-WinRmHttps.ps1 -Account DOMAIN\svc_dbhealth .\Enable-WinRmHttps.ps1 -AllowFrom <DBHealth server IP> -Account DOMAIN\svc_dbhealth -WhatIf
    If the host also runs IIS or SSRS, the collector switches to the port SPN HTTP/host:5986 by itself.
  5. Upgrade with one buttonRun Setup from the new package. It finds the installation, offers "Update" with your previous settings and upgrades the storage schema automatically.
Download

Free. No sign-up, no license keys

One edition for everyone: no trials, no server limits, no paid tiers.

DBHealth 0.2.0DBHealth-0.2.0.zip
≈ 185 MBWindows Server x64SQL Server · PostgreSQLUI in Russian
The download link will appear here once the release is published.

Before you install

DBHealth is provided "as is", with no warranty and no technical support. Try it on a test server first.

Check the checksum: Get-FileHash .\DBHealth-0.2.0.zip in PowerShell should print the same SHA-256 value.

Terms of use are in the license.

Feedback

Found a bug or have an idea?

Write to us and every message will be read. This is not a support desk, though: a reply is not guaranteed, and fixes ship in future versions.

What is it about
Please don't paste your server names, query text or other internal company data. Describe the problem in your own words.
Only add your email if you'd like a reply.
No supportNeither paid nor free. Messages help decide what to fix and add next, but we don't promise to reply or to help with a specific installation.
PrivacyThis site sets no cookies and uses no trackers. Only the author receives your message; your email is used only to reply and is never shared. Details are in the policy.
FAQ

The short version

Is there technical support?

No. There is no paid support and no free support either. DBHealth is provided "as is", without warranty. Feedback is welcome and helps the program grow, but a reply is not guaranteed.

Is it really free? What's the catch?

It's free, with no server limits and no paid editions. The project runs on voluntary donations, which unlock nothing and oblige you to nothing.

Is the interface available in English?

Not yet: the portal and the setup wizard are in Russian. Charts, tables and metric names are easy to follow, but keep this in mind before rolling it out to a team.

Where does the monitoring data go?

Nowhere: everything stays in your SQL Server. DBHealth doesn't contact the developer and doesn't send usage statistics.

The only exception is the AI optimizer. It is off until an administrator turns it on and enters a key for their own AI service. After that, the text of a selected query is sent to that service only when you press the button, and you see exactly what will be sent beforehand.

Do I need agents on database servers?

No. SQL Server and PostgreSQL are polled over the network with ordinary queries to system views. Windows metrics are collected over WinRM HTTPS; you only need to enable the listener on the host, and the package includes a script for that.

How much load does DBHealth put on monitored servers?

Little: the collector runs lightweight queries against DMVs and pg_stat_*. The tray icon shows how much SQL Server CPU the DBHealth sessions use. You can pause collection during maintenance.

Does it work without Active Directory or on Linux?

DBHealth is designed for a Windows server in a domain: portal sign-in, the service account and server access are built on Kerberos/NTLM. PostgreSQL servers can run on any OS; OS metrics are currently collected from Windows hosts only.

How long is history kept?

365 days by default, for metrics, query statistics and database sizes alike. Old data is removed by a SQL Server Agent job in the storage database.

How do I upgrade?

Download the new package and run DBHealth.Setup.exe from it. The wizard finds the installation and offers "Update" with your previous settings; the storage schema upgrades itself.

Can I use it at my company?

Yes, DBHealth is distributed free of charge. The exact terms are in the license.

How do I report a bug?

Use the feedback form. Describe what you did and what you saw, and include the version (shown at the bottom left of the portal). Please don't send server names, query text or other internal data of your company.