# PostgresAI vs Datasentinel: open source with fixes vs session and plan data

> Datasentinel samples sessions every 10 seconds and keeps per-plan statistics, on-premises or SaaS. PostgresAI is open source and files findings as Issues with a fix.

Checked on 2026-11-18. Page: https://postgres.ai/compare/postgresai-vs-datasentinel. All comparisons: https://postgres.ai/compare.

## Short answer

Datasentinel is a commercial PostgreSQL performance monitoring platform, run on-premises or as SaaS. It samples active sessions every 10 seconds, collects query statistics and execution plans every minute, and since release 2026.10 offers AI Connector, an MCP server and Skill sold as an add-on. PostgresAI monitors Postgres, runs scheduled checkups and turns findings into Issues that you, your AI agent or a PostgresAI expert can act on. Pick Datasentinel for per-plan runtime statistics, 10-second session history and a large fleet on your own servers. Pick PostgresAI for open-source monitoring you can self-host with no licence fee, published prices, or human experts on the plan.

## Where PostgresAI is ahead of Datasentinel

1. **Open source, no licence fee to self-host.**
   - PostgresAI: The monitoring software is open source under Apache 2.0, so self-hosting it carries no licence fee. ([postgresai repository](https://gitlab.com/postgres-ai/postgresai), [How much does it cost?](https://postgres.ai/docs/questions-and-answers))
   - Datasentinel: Datasentinel is commercial software, licensed by annual subscription and run on-premises or as SaaS. Datasentinel publishes open-source PostgreSQL extensions, pg_datasentinel and a fork of pg_store_plans. [10][1][13]
2. **A published price per cluster.**
   - PostgresAI: Starter is $16 per cluster a month. Scale is $512 per cluster a month and covers a primary and up to 5 replicas. Self-hosting the open-source software carries no licence fee. ([Pricing](https://postgres.ai/pricing))
   - Datasentinel: Datasentinel is priced by the number of PostgreSQL instances, on an annual subscription; the documentation refers buyers to the sales team for licensing. A 60-day free trial is available. [10][16]
3. **Every finding comes with a fix.**
   - PostgresAI: Scheduled checkups turn each finding into an Issue with severity, evidence and a specific fix. ([Checkup reports](https://postgres.ai/docs/checkup), [How to work with Issues](https://postgres.ai/docs/postgresai-howtos/how-to-work-with-issues))
   - Datasentinel: Datasentinel checks for changed parameters every hour and alerts on thresholds. Recommendations on missing or unused indexes, bloat, autovacuum and settings come from AI Connector, an add-on enabled by a licence token. [18][7][11][8]
4. **Test the fix on a full-size copy first.**
   - PostgresAI: With DBLab Engine, a separate open-source product, an index or query change runs on a full-size thin clone of the database, created in seconds, before it reaches production. ([DBLab Engine](https://postgres.ai/docs/database-lab), [DBLab compared with other ways to branch](https://postgres.ai/compare#branching))
   - Datasentinel: The Datasentinel AI Connector compare command compares two time windows on the same instance, for example before and after a release. The sources we reviewed do not describe trying a change on a copy of the database. [11]

## Check it on your own database

```
npx postgresai@latest checkup postgresql://user@host:5432/db --no-upload
```

The express checkup works with PostgreSQL 14 or newer. With --no-upload it needs no account and sends no report data to PostgresAI. It needs Node.js 18 or newer and a database role with pg_monitor. Compare what it finds with what your current tool shows for the same database.

- [Live demo (login demo, password demo)](https://demo.postgres.ai)
- [Checkup command reference](https://postgres.ai/docs/reference-guides/postgresai-cli-reference#command-checkup)

## Side by side

| | PostgresAI | Datasentinel |
|---|---|---|
| What it is | PostgreSQL monitoring with scheduled health checkups. Findings become Issues with severity, evidence and a recommended fix, which you, your AI agent or a PostgresAI expert can act on. | A PostgreSQL performance monitoring platform: Session History, Top Queries, Top Tables, Lock Explorer, cluster and system metrics, Live360, PDF reports and alerting. The platform bundles InfluxDB for metrics and a Grafana-based interface. [1][2] |
| Where your Postgres can run, and which versions | Any provider: yes. Amazon RDS and Aurora, Google Cloud SQL, Azure Database for PostgreSQL, Supabase, Tiger Data, self-managed servers and Postgres running on Kubernetes. PostgreSQL 14 and newer, with the pg_stat_statements extension. | Any provider: yes. Local agents on self-managed hosts, or agentless monitoring for Amazon RDS and Aurora, Google Cloud SQL and AlloyDB, Azure, Kubernetes, Docker and other managed services. Monitored clusters need PostgreSQL 9.4 or newer and pg_stat_statements. Agentless setups get no OS metrics unless the system_stats extension is installed. [2][6] |
| Where it runs and what it collects | Self-hosted option: yes. Hosted by PostgresAI, or self-hosted in your own cloud account or on your own server. It collects database metadata such as statistics, normalized query texts and wait events, not table data or query parameters. | Self-hosted option: yes. On-premises on a dedicated machine you run, or SaaS on a dedicated machine hosted by Datasentinel with agents on your side. A read-only internal function adds column and extended statistics without SELECT on application tables, and never returns table contents. [2][12] |
| Open source | Yes. The monitoring software is open source under Apache 2.0. Hosted plans are a separate paid service. | Partly. Datasentinel is commercial software on an annual subscription. Datasentinel publishes open-source PostgreSQL extensions: pg_datasentinel and its fork of pg_store_plans, used for plan collection. The sources we reviewed do not describe the platform's source code as public. [10][1][13] |
| Query performance analysis | Query analysis: yes. Top queries from pg_stat_statements by calls, execution time, planning time and rows, with a drill-down dashboard for a single query. For execution plans, Joe runs EXPLAIN on a DBLab clone. | Query analysis: yes. Statistics for all queries every minute, ranked by time, calls, rows, buffers, temp I/O, read and write time or WAL. Execution plans and their runtime metrics are collected every minute and shown as text or a tree, per query over time. [4][5] |
| Wait event analysis | Wait events: yes. An ASH-style wait event dashboard built from samples of pg_stat_activity. No extra extension is needed. | Wait events: yes. Session History samples pg_stat_activity every 10 seconds and tags each sample with wait_event_type and wait_event, so load can be broken down by wait, query, user or application. [3] |
| Health checks and recommendations | Health checks: yes. Scheduled checkup reports on settings, autovacuum and bloat, and indexes (invalid, unused, redundant). Each finding becomes an Issue with severity, evidence and a specific fix. | Health checks: partly. Changed parameters are checked hourly and alert rules cover connections, blocking, WAL, archiving and replication. Advice on bloat, missing or unused indexes, autovacuum and settings comes from AI Connector commands, a licensed add-on. [18][7][11][9][8] |
| AI and agent access | Agent access: yes. The postgresai CLI (alias pgai) and an MCP server with tools for Issues, action items and checkup reports. The setup guide covers Cursor, Claude Code, Windsurf and Codex. | Agent access: yes. AI Connector, released in 2026.10 on November 2, 2026: an MCP server on each platform server plus a Skill, with guides for Claude Code, Codex, Copilot, Cursor, VS Code, ChatGPT and Gemini. It is read-only and licensed as an add-on. A REST API is also documented. [8][9][19] |
| Testing a fix before production | Test on a copy: yes. With DBLab Engine, a separate open-source product: a full-size thin clone of the database in seconds, where an index or query change can be run on real data. DBLab is set up and priced separately. | Test on a copy: not documented. The AI Connector compare command compares two time windows, for example before and after a release. The sources we reviewed do not describe trying a change on a copy before production. [11] |
| Human PostgreSQL experts | Human experts: yes. Scale includes two expert requests a month, answered within 24 business hours. Either plan can buy a one-off pack of two requests for $500. Consulting is separate. | Human experts: partly. Product support by email, with remote support over video conference if needed. The sources we reviewed do not describe PostgreSQL consulting. [14] |
| Alerts | Email and Slack alerts on Starter and Scale. | Off by default. Templates assigned by tag set WARNING and CRITICAL thresholds for instance status, connections, blocked sessions, WAL, archiving, replication lag and host metrics, checked every minute. Notifications go to email, webhooks or a custom script. [17][7] |
| History kept | 14 days on Starter, 13 months on Scale, custom on Enterprise. | 14 days by default, adjustable in Global Settings. Each platform has its own retention period. [15] |
| Security attestations | SOC 2 Type 2 examination completed for the Security and Availability criteria, covering March 4 to June 4, 2026. The SOC 3 report is public. | The sources we reviewed do not describe SOC 2 or ISO 27001 attestations. On-premises installs keep all metrics on your own machine. [1][2] |

## When Datasentinel is the better choice

- Execution plans are collected every minute with runtime statistics per plan, through Datasentinel's fork of pg_store_plans, so plan changes over time are visible.
- Active sessions are sampled every 10 seconds, with wait event type, wait event, application, client, user and query as filterable tags.
- AI Connector, released in 2026.10, lets Claude, ChatGPT, Copilot, Cursor and other MCP clients query the metrics read-only, with OAuth 2.1 sign-in and the same role-based access as the web interface.
- Agentless monitoring covers Amazon RDS and Aurora, Google Cloud SQL and AlloyDB, Azure, Kubernetes and Docker, and works with PostgreSQL 9.4 and newer.
- Live360 connects to an instance in real time to show current sessions and blocking chains, and can terminate a session for users with the right privilege.

## Pricing

| Product | Plan | List price | Notes |
|---|---|---|---|
| PostgresAI | Starter | $16 per cluster/month | Primary only, 14-day retention, no expert requests included |
| PostgresAI | Scale | $512 per cluster/month | Primary and up to 5 replicas in one cluster, 13-month retention, Grafana dashboards, 2 expert requests a month |
| PostgresAI | Enterprise | Custom | Contact sales |
| PostgresAI | Self-hosted | No licence fee | Open source under Apache 2.0; you run it yourself |
| Datasentinel | Subscription | No public price | Annual subscription priced by the number of PostgreSQL instances; contact sales [10] |
| Datasentinel | AI Connector | No public price | Add-on enabled by a licence token for the whole installation [8] |
| Datasentinel | Free trial | Free for 60 days | On-premises or SaaS, no limit on the number of clusters [16] |

PostgresAI prices: https://postgres.ai/pricing.

## Using both

DBLab is a separate product that copies any PostgreSQL source, so a team that monitors with Datasentinel can still use a DBLab clone to try an index or query change on full-size data before production.

## Questions

### Is Datasentinel open source?

Datasentinel is commercial software licensed by annual subscription, and the sources we reviewed do not describe the platform's source code as public. Its open-source PostgreSQL extensions, pg_datasentinel and a fork of pg_store_plans, are on GitHub. PostgresAI monitoring is open source under Apache 2.0. [10][1][13]

### Does Datasentinel work with Amazon RDS?

Yes. Agentless monitoring connects remotely to Amazon RDS and Aurora, Google Cloud SQL and AlloyDB, and Azure. Host metrics such as CPU and memory need the system_stats extension in that mode. [6]

### What does Datasentinel cost?

The pricing page we reviewed shows no amount. Datasentinel is sold by annual subscription priced by the number of PostgreSQL instances, and AI Connector is a separate add-on. A 60-day free trial is available on-premises or as SaaS. [10][8][16]

### What is Datasentinel AI Connector, and is it generally available?

It is an MCP server plus a Skill that let an AI assistant read Datasentinel metrics and return findings with recommendations, read-only. It shipped in release 2026.10 on November 2, 2026, as a licensed add-on; the changelog does not mark it as preview. [9][8]

### Can I use PostgresAI and Datasentinel together?

Yes. DBLab, the PostgresAI cloning product, copies any PostgreSQL source, so a team that monitors with Datasentinel can test an index or query change on a full-size DBLab clone before production.

## Sources for PostgresAI

- [postgresai repository](https://gitlab.com/postgres-ai/postgresai)
- [How much does it cost?](https://postgres.ai/docs/questions-and-answers)
- [Pricing](https://postgres.ai/pricing)
- [Checkup reports](https://postgres.ai/docs/checkup)
- [How to work with Issues](https://postgres.ai/docs/postgresai-howtos/how-to-work-with-issues)
- [DBLab Engine](https://postgres.ai/docs/database-lab)
- [DBLab compared with other ways to branch](https://postgres.ai/compare#branching)
- [PostgresAI monitoring overview](https://postgres.ai/docs/monitoring)
- [Monitoring quick start](https://postgres.ai/docs/monitoring/getting-started)
- [Data privacy: metadata only](https://postgres.ai/docs/monitoring#data-privacy-metadata-only)
- [Query performance analysis dashboard](https://postgres.ai/docs/monitoring/dashboards/query-analysis)
- [Joe bot](https://postgres.ai/docs/joe-bot)
- [Wait event analysis dashboard](https://postgres.ai/docs/monitoring/dashboards/wait-events)
- [How to install MCP for AI coding tools](https://postgres.ai/docs/postgresai-howtos/how-to-install-mcp)
- [PostgresAI CLI reference](https://postgres.ai/docs/reference-guides/postgresai-cli-reference)
- [Postgres consulting](https://postgres.ai/consulting)
- [Security and compliance](https://postgres.ai/security)

## Sources for Datasentinel

1. [Datasentinel home page](https://www.datasentinel.io/)
2. [Datasentinel documentation: architecture](https://docs.datasentinel.io/manual/getting-started/architecture)
3. [Datasentinel documentation: Session History](https://docs.datasentinel.io/manual/features/key-features/session-history)
4. [Datasentinel documentation: Top Queries](https://docs.datasentinel.io/manual/features/key-features/top-queries)
5. [Datasentinel documentation: execution plans](https://docs.datasentinel.io/manual/features/other-features/execution-plans)
6. [Datasentinel documentation: agentless monitoring](https://docs.datasentinel.io/manual/features/other-features/agentless-monitoring)
7. [Datasentinel documentation: alerting templates](https://docs.datasentinel.io/manual/features/key-features/alerting/templates)
8. [Datasentinel changelog](https://docs.datasentinel.io/manual/changelog)
9. [Datasentinel documentation: AI Connector](https://docs.datasentinel.io/manual/ai-connector)
10. [Datasentinel documentation: welcome and licensing](https://docs.datasentinel.io/manual)
11. [Datasentinel documentation: Skill commands reference](https://docs.datasentinel.io/manual/ai-connector/use-the-assistant/skill-commands)
12. [Datasentinel documentation: internal function](https://docs.datasentinel.io/manual/getting-started/postgresql-clusters/internal-function)
13. [Datasentinel pg_store_plans repository](https://github.com/datasentinel/pg_store_plans)
14. [Datasentinel documentation: how to contact us](https://docs.datasentinel.io/manual/support/how-to-contact-us)
15. [Datasentinel documentation: platform FAQ](https://docs.datasentinel.io/manual/getting-started/faqs/platform-faq)
16. [Datasentinel documentation: free trial](https://docs.datasentinel.io/manual/free-trial)
17. [Datasentinel documentation: alerting settings](https://docs.datasentinel.io/manual/features/key-features/alerting/settings)
18. [Datasentinel documentation: changed parameters](https://docs.datasentinel.io/manual/features/other-features/changed-parameters)
19. [Datasentinel documentation: automate with the API](https://docs.datasentinel.io/manual/guides/readme/automate-with-the-api)

## How we compare

These pages compare what each product does for PostgreSQL; other databases and the rest of the stack are out of scope. What we say about the other product comes from its own documentation, pricing page, changelog or source repository, read on the date shown; each row cites its source. "Not documented" means we did not find it in those sources, not that the product cannot do it. Prices are list prices and the billing units differ, so they are not a total-cost comparison. Product names are trademarks of their owners.
