Self-hosted MyDBA

Run the whole of MyDBA inside your own network. Your monitoring data never leaves it.

What it is

MyDBA monitors PostgreSQL from inside your own network. It collects statistics from the servers you add, scores their health continuously, shows their queries, waits, locks and vacuum activity, and sends alerts to the channels you choose.

It runs as one container. The container holds the web interface, its API, the collector that reads the servers you monitor, alert delivery and its scheduled jobs. Everything it stores goes into a PostgreSQL database you provide.

Why run it yourself

Your data stays with you

Everything MyDBA collects is stored in a PostgreSQL database you provide, inside your network.

No licence check, no telemetry

There is no usage reporting and no licence server. A licence is a file you install, and MyDBA never contacts us.

Only the connections you set up

MyDBA runs on a network with no route out. Beyond your stats database and the servers you monitor, it connects only to the alert channels, AI provider and AWS APIs you set up yourself.

What you need

  • A PostgreSQL database of its own for the statistics it keeps (the stats database), on PostgreSQL 14, 15, 16, 17 or 18, with a role that owns it and can create roles. It does not need to be a superuser.
  • Something that runs Linux containers, on 64-bit x86 or ARM:
  • Docker Compose. Docker Engine with Docker Compose version 2.
  • Kubernetes. A Helm chart or plain manifests.
  • Amazon ECS. On Fargate, from a CloudFormation template or a task definition. These files have been checked for correct structure but have not been deployed to AWS by us; treat the first deployment as a test.

The container must reach the stats database and each server you monitor. It needs no internet access and no superuser on the servers you monitor.

AI

MyDBA's AI features work only with your own provider key. MyDBA contains no AI key of its own: you choose the provider (OpenAI, Anthropic, OpenRouter or an OpenAI-compatible endpoint inside your own network) and supply the key.

Nothing is sent until an administrator sets AI up, and then a request goes only to that provider, only when someone uses an AI feature. Until then the AI features stay hidden.

An assistant you already use can also read your monitoring data through the built-in MCP server. It is read-only and it works in free mode.

Licensing

Free trial: one server, with no time limit. A licence covers every server you monitor, including the first; it is a file checked offline.

A server is one PostgreSQL host and port; several databases on one server count once. Contact us at support@mydba.dev for a licence.

Get started

The install guides and deployment files are in the public repository.