Skip to main content

2 posts tagged with "cnpg"

View All Tags

A Database Console for Twenty Databases — Why I Deleted Adminer and Picked DBeaver

· 7 min read
Software & Platform Engineer · AI Systems

The platform quietly crossed a line: it now runs ~20 PostgreSQL instances (CloudNativePG clusters with dev/prod pairs, plus a few plain StatefulSets), 3 MariaDB databases, and a ClickHouse store — spread across a couple of dozen namespaces. The question stopped being "how do I open a SQL console?" and became "how do I give myself a console over twenty-plus databases without turning that console into a liability?"

I had been using Adminer — a single in-cluster web SQL UI behind SSO. It was fine at three databases. At twenty-three, across dev and prod, it was the wrong shape. This post is the comparison I actually ran and the decision I landed on.

Database Isolation Is Not Operational Isolation — When Postgres Apps Should Share a Cluster

· 5 min read
Software & Platform Engineer · AI Systems

While wiring up a desktop SQL client across the platform's ~20 Postgres instances, I hit a small surprise: two servers host many databases at once. Backstage keeps 13 of them (one per plugin — backstage_plugin_catalog, _auth, _scaffolder, …); the shared AI server keeps 6 (one per tool — openwebui, litellm, ragdb, vaultwarden, flowise, mlflow). Everything else uses one database per server.

That's a UI curiosity. But it forced the actual design question behind it: when should apps share a Postgres cluster, and when should each get its own? The answer rests on a distinction that's easy to collapse — and expensive when you do.