1. Connect PostgreSQL
Select an existing PostgreSQL Source or connect a new one. One Source identifies one database; one monitor does not cover every database on its PostgreSQL instance.
Direct connection
Use this route when your database is reachable from DataMCP Cloud. Supply a PostgreSQL URL with a dedicated statistics role. Prefer sslmode=verify-full with a trusted certificate to authenticate the certificate and hostname. Encryption with require alone does not establish that identity. Restrict network access rather than opening PostgreSQL to the entire internet.
Private database through Local Agent
Create a permitted Agent connection, save its one-time token securely, and run the dashboard’s setup command on a machine that can reach PostgreSQL. The agent connects outbound. The database password stays on that machine; diagnostic requests and results still pass through DataMCP Cloud.
Being online does not establish Health compatibility: the access check verifies that separately. An offline agent does not prove the database itself is down. See the Local Agent guide for the networking model.
2. Check access and run a diagnostic
Health verifies capabilities before presenting observations. It does not require schema synchronization or business-table SELECT grants for the statistics report. Ask your administrator for a dedicated login with database CONNECT and the required statistics/settings privileges. Do not grant superuser to make a missing check disappear, and review existing public grants and privileged functions.
The fixture-certified versions for V1 are PostgreSQL 15–18. Optional extensions are not mandatory. A full diagnostic has seven checks; fast observations use the smaller core set. Coverage shows the actual number observed.
| Area | What it means |
|---|---|
| Capabilities and connection | Whether PostgreSQL and its required statistics can be observed. Missing permissions remain explicit. |
| Connections | Client connections relative to non-reserved capacity. This value is an instance aggregate, clearly marked in the report. |
| Transactions | Idle transactions and observed transaction ages in the selected database, without collecting raw query text. |
| Blocking | Aggregate blocked-session counts and observed wait ages. V1 does not include a blocker tree or query profiler. |
| Database size | Database size and comparable retained snapshots. Size is not free disk space. |
| Maintenance | Up to 20 catalog-selected relations, estimated tuples and recorded vacuum/analyze times. This is not a complete inventory, measured bloat or a guaranteed global top 20. |
3. Read the database workspace
| Area | What it means |
|---|---|
| Overview | Problems first, then metric tiles, connection history, observation coverage, recent incidents and the latest diagnostic. |
| Issues | Current findings and observation gaps, with severity filters, evidence, observation times and suggested next steps. |
| Metrics | Eight charts covering connections, transactions, blocking, size and core coverage. Inspect a value with pointer or keyboard, or open its data table. |
| Maintenance | Search and sort the returned relation sample, then inspect the retained facts for a relation. Sorting applies to the sample. |
| Incidents | Confirmed open and recovered incidents, retained evidence and known lifecycle times. The latest evidence can describe recovery rather than the opening condition. |
| Settings | Enable, pause, resume or remove monitoring; inspect access and slots; choose email preferences and review recent delivery activity. |
Unknown, partial, unavailable, stale and observed are different states. Values carry observation times. A saved manual report is a snapshot, not continuous monitoring. Missing values stay unknown rather than becoming zero or healthy.
4. Enable regular checks
Team includes one monitor for one Source/database, including during its 14-day trial. Review current prices and manage your existing subscription in Billing; do not start a second subscription for the same workspace. Eligible legacy paid Enterprise customers retain their existing monitoring terms.
After checkout, review the report and explicitly enable monitoring. Purchase does not silently enable checks or email. The server verifies access, current connection settings, diagnostic eligibility and an available monitor slot.
Fast checks are scheduled every minute and detailed snapshots hourly. Workers continue when your browser is closed. Polling can miss short problems between checks. Pause stops regular collection while retaining the slot; deleting the monitor releases it. Restored payment does not silently resume a suspended monitor.
5. Understand incidents and email
A finding is an observation; an incident is confirmed. Two suitable abnormal observations confirm an incident, and two suitable normal observations confirm recovery. Worsening observations can escalate an existing incident. Unknown observations never confirm recovery.
Incident, escalation and recovery email is an explicit opt-in. The weekly summary is a separate opt-in. Delivery requires a verified recipient and current permissions and notification preferences. Provider acceptance does not guarantee inbox delivery.
The weekly summary is scheduled for Monday at 09:00 UTC, covering the previous complete UTC week after aggregation. Incomplete coverage remains visible.
6. Read history without hiding gaps
Minute samples are retained for seven days. Hourly history, detailed reports and resolved incidents are retained for 30 days on Developer and Team. Eligible legacy manual-report retention follows the existing workspace terms. Open incident identity can remain while old evidence expires.
Charts preserve missing intervals. Hourly metric values use weighted means with minimum/maximum bands where applicable. Core coverage is observed core-ready checks divided by expected checks, not a database uptime percentage. A truncation notice means the response is bounded, not a complete view.
Changing credentials or the database target creates a new Source generation. Previous settings remain labelled and do not become current-target data. A missing maintenance timestamp means no event was recorded in the observed statistics, not that maintenance has never run.
Removing monitoring stops checks and email and queues associated history for deletion within the documented cleanup window, up to 24 hours. Source and account removal also stop work and invoke the deletion policy; cleanup is not instantaneous.
7. Understand safety and operational cost
Health runs a fixed read-only diagnostic catalog, not user-supplied or model-generated SQL. Results and execution time are bounded. Direct and compatible-agent checks use read-only transactions, a catalog search path, statement deadlines and a 250 ms lock-wait ceiling.
Health does not automatically change settings, vacuum tables, terminate sessions or repair the database. It does not collect business rows or raw query text. Host CPU, RAM and free disk, measured bloat and complete server observability are outside V1.
A browser timeout does not prove SQL stopped. Execution has cancellation and terminal-state tracking; an uncertain result blocks an unsafe overlapping retry until release is confirmed. Losing access or entitlement prevents subsequent work under the service contract.
Read-only work still uses connections, CPU and catalog resources. No monitor can guarantee zero overhead or zero contention. Use a dedicated least-privilege role, verified TLS where appropriate, and a pilot against your own workload before broad rollout.
8. Use Claude or ChatGPT separately
Neither client is required for Health. To query business data from an AI client, create a separately scoped MCP link from the Source and use the remote-MCP transport and authentication supported by that client/account. Start with Read Only and only the tables required for the task. Database grants and the agent’s local policy remain additional limits.
The exercised PostgreSQL tool surface includes query, get_permissions, get_schema, get_table_details, get_schema_changes and list_pending_descriptions. Inspect tools/list for the link’s actual tools. V1 does not promise a complete developer/DBA profile, dedicated Health MCP tools or automatic repairs.
The safety layer rejects multiple statements, administrative/DDL operations, known dangerous functions, deliberate sleeps and advisory-lock calls. Read queries run in read-only transactions. These controls are not a universal sandbox: audit custom/privileged functions and extensions available to the database role, and retain limits on resource-heavy reads.