<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/your-postgresql-platform-has-telemetry-does-it-have-a-digital-twin--bgfpua762" -->

---
title: Your PostgreSQL Platform Has Telemetry. Does It Have a...
description: PostgreSQL environments already expose rich telemetry through system catalogs, pg_settings, pg_stat_activity, pg_stat_statements, and replication views, but...
canonical: https://daily.dev/posts/your-postgresql-platform-has-telemetry-does-it-have-a-digital-twin--bgfpua762
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Your PostgreSQL Platform Has Telemetry. Does It Have a Digital Twin? | daily.dev
og:description: PostgreSQL environments already expose rich telemetry through system catalogs, pg_settings, pg_stat_activity, pg_stat_statements, and replication views, but...
og:url: https://daily.dev/posts/your-postgresql-platform-has-telemetry-does-it-have-a-digital-twin--bgfpua762
og:image: https://api.daily.dev/og/posts/BgFpua762.png
og:image:alt: Your PostgreSQL Platform Has Telemetry. Does It Have a Digital Twin?
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Your PostgreSQL Platform Has Telemetry. Does It Have a Digital Twin?

**[Planet PostgreSQL](https://daily.dev/sources/planet-postgresql)** · 10 min read · 0 upvotes · 0 comments

## Summary

PostgreSQL environments already expose rich telemetry through system catalogs, pg_settings, pg_stat_activity, pg_stat_statements, and replication views, but telemetry alone only describes current or recent state. A proposed architectural concept called a 'platform digital twin' would go further, combining an evidence layer, a relational model, a simulation capability, and a governed decision layer so that schema migrations, upgrades, configuration changes, and failovers can be rehearsed against a representative environment before touching production. The piece argues this becomes urgent as AI agents move from explaining metrics to taking actions like changing configuration or initiating failover, and outlines a five-stage maturity path: observe, model, simulate, govern, and act-and-learn, evaluated against a 'CALM' test of changeability, assurance, leverage, and measurability.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://postgr.es/p/9t6>

## Questions this post answers

### What PostgreSQL views provide evidence about replication state for building an operational model?

Replication state evidence in PostgreSQL comes from pg_stat_replication, pg_stat_wal_receiver, pg_stat_replication_slots, and pg_stat_subscription, alongside system catalogs and information_schema for structural dependencies, pg_settings for configuration, and pg_stat_activity plus pg_stat_statements for workload statistics. These signals form the evidence layer that a broader operational model would need to normalize and connect.

_daily.dev surfaces practical PostgreSQL monitoring approaches for teams building deeper operational visibility._

### What is the CALM Platform Test for evaluating PostgreSQL operational models?

The CALM Platform Test evaluates readiness across four dimensions: Changeability (can the model represent and reconcile schema, version, and topology changes), Assurance (can it establish current state with lineage and confidence, distinguishing healthy from unknown), Leverage (does one governed model support multiple use cases like upgrades, capacity, and incident response), and Measurability (can drift, freshness, and prediction accuracy be measured and improved over time).

_daily.dev helps engineers compare frameworks like this for assessing database platform maturity and governance._

## Similar posts on daily.dev

- [PostgreSQL, AI Governance, and the C.A.L.M. Platform Test](https://daily.dev/posts/postgresql-ai-governance-and-the-c-a-l-m-platform-test-lzeqttzcn) · Planet PostgreSQL · 0 upvotes · 0 comments
- [The hidden reason your AI assistant feels so sluggish](https://daily.dev/posts/the-hidden-reason-your-ai-assistant-feels-so-sluggish-v9jbcylq0) · The New Stack · 0 upvotes · 0 comments
- [All you need is PostgreSQL](https://daily.dev/posts/all-you-need-is-postgresql-atlaui5pf) · Lobsters · 3 upvotes · 0 comments
- [Every AI Agent May Need PostgreSQL. Not Every Agent Should Own the Truth.](https://daily.dev/posts/every-ai-agent-may-need-postgresql-not-every-agent-should-own-the-truth--gponqmm61) · Planet PostgreSQL · 0 upvotes · 0 comments
- [AI-Powered PostgreSQL Query Optimization: A Comprehensive Approach](https://daily.dev/posts/ai-powered-postgresql-query-optimization-a-comprehensive-approach-jrdbimybh) · Trendyol Tech · 5 upvotes · 0 comments

---

Tags: [#ai-agents](https://daily.dev/tags/ai-agents), [#database](https://daily.dev/tags/database), [#postgresql](https://daily.dev/tags/postgresql), [#observability](https://daily.dev/tags/observability), [#digital-twin](https://daily.dev/tags/digital-twin)

[View this post on daily.dev](https://daily.dev/posts/your-postgresql-platform-has-telemetry-does-it-have-a-digital-twin--bgfpua762)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Your PostgreSQL Platform Has Telemetry. Does It Have a Digital Twin?","url":"https://daily.dev/posts/your-postgresql-platform-has-telemetry-does-it-have-a-digital-twin--bgfpua762","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/your-postgresql-platform-has-telemetry-does-it-have-a-digital-twin--bgfpua762"},"datePublished":"2026-08-25T04:15:54.071Z","dateModified":"2026-09-14T07:07:53.326Z","description":"PostgreSQL environments already expose rich telemetry through system catalogs, pg_settings, pg_stat_activity, pg_stat_statements, and replication views, but...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ca2fa74ca09ba62e6f8e7bcbd1553eac?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ca2fa74ca09ba62e6f8e7bcbd1553eac?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Planet PostgreSQL","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Planet PostgreSQL","logo":"https://media.daily.dev/image/upload/logos/placeholder.jpg","url":"https://daily.dev/sources/planet-postgresql"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/your-postgresql-platform-has-telemetry-does-it-have-a-digital-twin--bgfpua762","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ai-agents,database,postgresql,observability,digital-twin","timeRequired":"PT10M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Planet PostgreSQL","item":"https://daily.dev/sources/planet-postgresql"},{"@type":"ListItem","position":3,"name":"Your PostgreSQL Platform Has Telemetry. Does It Have a Digital Twin?"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/your-postgresql-platform-has-telemetry-does-it-have-a-digital-twin--bgfpua762#faq","mainEntity":[{"@type":"Question","name":"What PostgreSQL views provide evidence about replication state for building an operational model?","acceptedAnswer":{"@type":"Answer","text":"Replication state evidence in PostgreSQL comes from pg_stat_replication, pg_stat_wal_receiver, pg_stat_replication_slots, and pg_stat_subscription, alongside system catalogs and information_schema for structural dependencies, pg_settings for configuration, and pg_stat_activity plus pg_stat_statements for workload statistics. These signals form the evidence layer that a broader operational model would need to normalize and connect. daily.dev surfaces practical PostgreSQL monitoring approaches for teams building deeper operational visibility."}},{"@type":"Question","name":"What is the CALM Platform Test for evaluating PostgreSQL operational models?","acceptedAnswer":{"@type":"Answer","text":"The CALM Platform Test evaluates readiness across four dimensions: Changeability (can the model represent and reconcile schema, version, and topology changes), Assurance (can it establish current state with lineage and confidence, distinguishing healthy from unknown), Leverage (does one governed model support multiple use cases like upgrades, capacity, and incident response), and Measurability (can drift, freshness, and prediction accuracy be measured and improved over time). daily.dev helps engineers compare frameworks like this for assessing database platform maturity and governance."}}]}
```

