# postgresql clusters

PostgreSQL database clusters are collections of databases managed by a single running database server instance and stored in a data directory.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Kubernetes disaster recovery: Guidance from three reproducible failure scenarios

DevFeed: [Kubernetes disaster recovery: Guidance from three reproducible failure scenarios](<https://devfeed.tech/articles/kubernetes-disaster-recovery-guidance-from-three-reproducible-failure-scenarios-4602.md>)

Original publisher: [Read original article](<https://www.cncf.io/blog/2026/09/10/kubernetes-disaster-recovery-guidance-from-three-reproducible-failure-scenarios/>)

Author: Saiyam Pathak, Saloni Narang | CNCF Ambassadors

Published: 2026-09-10T11:37:00Z

Content type: article

Language: en

Sources: [Cloud Native Computing Foundation](<https://devfeed.tech/sources/cloud-native-computing-foundation.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [data](<https://devfeed.tech/topics/data.md>), [GitOps](<https://devfeed.tech/topics/gitops.md>), [postgresql clusters](<https://devfeed.tech/topics/postgresql-clusters.md>)

Tags: [blog](<https://devfeed.tech/tags/blog.md>), [data](<https://devfeed.tech/tags/data.md>), [disaster-recovery](<https://devfeed.tech/tags/disaster-recovery.md>), [git](<https://devfeed.tech/tags/git.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>)

### AI overview

Guidance for recovering stateful Kubernetes applications through three reproducible failure scenarios, focusing on backup validation, declared versus stored state, and multi-volume consistency.

### Source excerpt

Scope This document describes three failure scenarios that separate having backups from being able to recover, and the guidance that follows from each. Every scenario is reproducible on a laptop from the lab repository above, and...

## Autobase 2.11 released

DevFeed: [Autobase 2.11 released](<https://devfeed.tech/articles/autobase-2-11-released-4714.md>)

Original publisher: [Read original article](<https://www.postgresql.org/about/news/autobase-211-released-3374/>)

Published: 2026-09-09T00:00:00Z

Content type: release

Language: en

Sources: [PostgreSQL news](<https://devfeed.tech/sources/postgresql-news.md>)

Topics: [postgresql clusters](<https://devfeed.tech/topics/postgresql-clusters.md>), [Database](<https://devfeed.tech/topics/database.md>), [releases](<https://devfeed.tech/topics/releases.md>), [Ansible Roles](<https://devfeed.tech/topics/ansible-role.md>), [cloud-infrastructure](<https://devfeed.tech/topics/cloud-infrastructure.md>)

Tags: [ansible](<https://devfeed.tech/tags/ansible.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [operations](<https://devfeed.tech/tags/operations.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [postgresql-clusters](<https://devfeed.tech/tags/postgresql-clusters.md>), [release](<https://devfeed.tech/tags/release.md>)

### AI overview

Autobase 2.11 adds Platform UI management for PostgreSQL cluster scaling, minor and major upgrades, backups, and point-in-time recovery. It also introduces Ansible playbooks for backup and recovery operations.

### Source excerpt

Autobase 2.11 is an important milestone in the evolution of the platform. Two years ago, we started working on a broader goal: evolve the Autobase Console from a PostgreSQL deployment UI into a platform for managing the complete cluster lifecycle. With this release, the remaining major pieces of that roadmap are now in place - scaling, upgrades, backups, and point-in-time recovery can all be managed directly from the Platform UI. See the full details in the release notes. Highlights Scaling (read replicas) Scale PostgreSQL read capacity directly from the UI. Simply specify the desired number of cluster nodes, and Autobase will provision the additional replicas automatically using the existing cloud configuration. For cloud deployments, the required servers and related infrastructure resources are created automatically. You can also scale clusters running on your own bare-metal or virtual machines. Start with a single-node PostgreSQL cluster and add replicas later as your workload grows. Upgrades Autobase Platform now supports minor upgrades within the current PostgreSQL major version as well as major-version upgrade workflows. For minor upgrades, replicas are updated one at a time, followed by a switchover and upgrade of the former primary. Read traffic remains available throughout the process, while expected write downtime is only ~5-10 seconds. For in-place major upgrades, the expected downtime is typically ~30-60 seconds. A blue-green major upgrade workflow with near-zero downtime is planned for a future release. Backup & Restore (PITR) Backup and recovery management is now available directly in the Platform UI. Configure the backup method, storage, retention, and schedule, or create backups on demand. Restore options include: Latest: recover to the latest available state Point in time: restore to a specific date and time Specific backup: restore from a selected backup New Ansible playbooks Autobase 2.11 adds new Ansible playbooks for backup and recovery operatio

## Fix circular role dependencies before upgrading Amazon RDS and Amazon Aurora PostgreSQL

DevFeed: [Fix circular role dependencies before upgrading Amazon RDS and Amazon Aurora PostgreSQL](<https://devfeed.tech/articles/fix-circular-role-dependencies-before-upgrading-amazon-rds-and-amazon-aurora-postgresql-4708.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/database/resolve-circular-role-dependencies-during-upgrades-of-amazon-rds-for-postgresql-and-amazon-aurora/>)

Author: Ravi Teja Adabala

Published: 2026-08-31T23:42:55Z

Content type: article

Language: en

Sources: [AWS Database Blog](<https://devfeed.tech/sources/aws-database-blog.md>)

Topics: [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [RDS for PostgreSQL](<https://devfeed.tech/topics/rds-for-postgresql.md>), [Amazon Aurora](<https://devfeed.tech/topics/amazon-aurora.md>), [Amazon RDS](<https://devfeed.tech/topics/amazon-rds.md>), [SQL](<https://devfeed.tech/topics/sql.md>), [postgresql clusters](<https://devfeed.tech/topics/postgresql-clusters.md>), [Graphs](<https://devfeed.tech/topics/graphs.md>)

Tags: [amazon-aurora](<https://devfeed.tech/tags/amazon-aurora.md>), [amazon-rds](<https://devfeed.tech/tags/amazon-rds.md>), [database](<https://devfeed.tech/tags/database.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [intermediate-200](<https://devfeed.tech/tags/intermediate-200.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [rds-for-postgresql](<https://devfeed.tech/tags/rds-for-postgresql.md>), [sql](<https://devfeed.tech/tags/sql.md>), [technical-how-to](<https://devfeed.tech/tags/technical-how-to.md>)

### AI overview

This article explains how circular PostgreSQL role dependencies can cause major version upgrades of Amazon RDS for PostgreSQL and Amazon Aurora PostgreSQL to stall or roll back when upgrading from PostgreSQL 14 or earlier to PostgreSQL 15 or later. It describes a diagnostic query and steps to resolve the dependencies before the upgrade.

### Source excerpt

Circular role dependencies can stall or roll back a major version upgrade of Amazon RDS for PostgreSQL or Amazon Aurora PostgreSQL when you move from PostgreSQL 14 or earlier to 15 or later. Learn why this happens, how to detect it with a single pre-upgrade query, and how to clear it before you upgrade.

## Day to day PostgreSQL on Kubernetes: Resize, Scale, and Upgrade

DevFeed: [Day to day PostgreSQL on Kubernetes: Resize, Scale, and Upgrade](<https://devfeed.tech/articles/day-to-day-postgresql-on-kubernetes-resize-scale-and-upgrade-14485.md>)

Original publisher: [Read original article](<https://www.cybertec-postgresql.com/en/day-to-day-postgresql-on-kubernetes-resize-scale-and-upgrade/>)

Author: Hans-Jürgen Schönig

Published: 2026-08-25T06:16:00Z

Content type: tutorial

Language: en

Sources: [CYBERTEC PostgreSQL | Services & Support](<https://devfeed.tech/sources/cybertec-postgresql-services-support.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [postgresql clusters](<https://devfeed.tech/topics/postgresql-clusters.md>)

Tags: [capacity](<https://devfeed.tech/tags/capacity.md>), [commands](<https://devfeed.tech/tags/commands.md>), [declarative](<https://devfeed.tech/tags/declarative.md>), [github](<https://devfeed.tech/tags/github.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [kubectl](<https://devfeed.tech/tags/kubectl.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [operations](<https://devfeed.tech/tags/operations.md>), [patroni](<https://devfeed.tech/tags/patroni.md>), [pg-operator](<https://devfeed.tech/tags/pg-operator.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [postgresql-on-cloud](<https://devfeed.tech/tags/postgresql-on-cloud.md>), [pull-requests](<https://devfeed.tech/tags/pull-requests.md>), [rolling-update](<https://devfeed.tech/tags/rolling-update.md>), [scale](<https://devfeed.tech/tags/scale.md>), [upgrade](<https://devfeed.tech/tags/upgrade.md>)

### AI overview

A tutorial demonstrates resizing, scaling, and minor version upgrades for PostgreSQL running on Kubernetes with the CYBERTEC PG Operator. Using end-to-end minikube tests, it shows declarative manifest changes, rolling updates, Patroni failover, and scaling while the cluster remains available.

### Source excerpt

This blog is about the resizing, scaling PostgreSQL in Kubernetes. This blog helps you learn various operation related to operations of PostgreSQL in Kubernetes. The post Day to day PostgreSQL on Kubernetes: Resize, Scale, and Upgrade appeared first on CYBERTEC PostgreSQL | Services & Support.

## Scale pgvector with binary quantization on Amazon Aurora PostgreSQL

DevFeed: [Scale pgvector with binary quantization on Amazon Aurora PostgreSQL](<https://devfeed.tech/articles/scale-pgvector-with-binary-quantization-on-amazon-aurora-postgresql-4710.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/database/scale-pgvector-with-binary-quantization-on-amazon-aurora-postgresql/>)

Author: Steve Dille

Published: 2026-08-18T16:37:22Z

Content type: tutorial

Language: en

Sources: [AWS Database Blog](<https://devfeed.tech/sources/aws-database-blog.md>)

Topics: [Amazon Aurora](<https://devfeed.tech/topics/amazon-aurora.md>), [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [quantization](<https://devfeed.tech/topics/quantization.md>), [AI search](<https://devfeed.tech/topics/ai-search.md>), [Compression](<https://devfeed.tech/topics/compression.md>), [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [Cache](<https://devfeed.tech/topics/cache.md>), [Latency](<https://devfeed.tech/topics/latency.md>), [datasets](<https://devfeed.tech/topics/datasets.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [postgresql clusters](<https://devfeed.tech/topics/postgresql-clusters.md>), [Database](<https://devfeed.tech/topics/database.md>)

Tags: [advanced-300](<https://devfeed.tech/tags/advanced-300.md>), [ai](<https://devfeed.tech/tags/ai.md>), [amazon-aurora](<https://devfeed.tech/tags/amazon-aurora.md>), [cache](<https://devfeed.tech/tags/cache.md>), [compression](<https://devfeed.tech/tags/compression.md>), [datasets](<https://devfeed.tech/tags/datasets.md>), [embeddings](<https://devfeed.tech/tags/embeddings.md>), [latency](<https://devfeed.tech/tags/latency.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [postgresql-compatible](<https://devfeed.tech/tags/postgresql-compatible.md>), [quantization](<https://devfeed.tech/tags/quantization.md>), [rds-for-postgresql](<https://devfeed.tech/tags/rds-for-postgresql.md>), [search](<https://devfeed.tech/tags/search.md>), [technical-how-to](<https://devfeed.tech/tags/technical-how-to.md>), [validation](<https://devfeed.tech/tags/validation.md>), [vector](<https://devfeed.tech/tags/vector.md>)

### AI overview

This practical guide explains how to use binary quantization with reranking in pgvector to scale HNSW vector search on Amazon Aurora PostgreSQL. It covers index-size reduction, performance and recall tradeoffs, sizing, validation, and suitable operating conditions for datasets ranging from 5 million to 100 million vectors.

### Source excerpt

Learn how to use binary quantization with reranking (HNSW+BQ) in pgvector to scale vector search to hundreds of millions or billions of vectors on Amazon Aurora PostgreSQL, with practical guidance on index sizing, recall validation, and the scenarios where the approach works best.

## Highly Available PostgreSQL on Kubernetes in 10 Minutes

DevFeed: [Highly Available PostgreSQL on Kubernetes in 10 Minutes](<https://devfeed.tech/articles/highly-available-postgresql-on-kubernetes-in-10-minutes-14486.md>)

Original publisher: [Read original article](<https://www.cybertec-postgresql.com/en/highly-available-postgresql-on-kubernetes-in-10-minutes/>)

Author: Hans-Jürgen Schönig

Published: 2026-08-18T05:07:31Z

Content type: tutorial

Language: en

Sources: [CYBERTEC PostgreSQL | Services & Support](<https://devfeed.tech/sources/cybertec-postgresql-services-support.md>)

Topics: [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [postgresql clusters](<https://devfeed.tech/topics/postgresql-clusters.md>), [Database](<https://devfeed.tech/topics/database.md>), [Replication](<https://devfeed.tech/topics/replication.md>)

Tags: [failover](<https://devfeed.tech/tags/failover.md>), [health-checks](<https://devfeed.tech/tags/health-checks.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [operator](<https://devfeed.tech/tags/operator.md>), [patroni](<https://devfeed.tech/tags/patroni.md>), [pg-operator](<https://devfeed.tech/tags/pg-operator.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [postgresql-on-cloud](<https://devfeed.tech/tags/postgresql-on-cloud.md>), [replication](<https://devfeed.tech/tags/replication.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [yaml](<https://devfeed.tech/tags/yaml.md>)

### AI overview

This tutorial demonstrates how to deploy a highly available PostgreSQL cluster on Kubernetes with the CYBERTEC PG Operator. Using a 14-line YAML configuration on minikube, it shows leader election, streaming replication, health checks, automatic failover, and read-only replica behavior. It also explains how anti-affinity must be disabled for the single-node minikube setup but should remain enabled on multi-node production clusters.

### Source excerpt

This is a detailed blog post about PostgreSQL in Kubernetes, using PG Operator. The post Highly Available PostgreSQL on Kubernetes in 10 Minutes appeared first on CYBERTEC PostgreSQL | Services & Support.

## Poisoned Postgres connection pools

DevFeed: [Poisoned Postgres connection pools](<https://devfeed.tech/articles/poisoned-postgres-connection-pools-2331.md>)

Original publisher: [Read original article](<https://planetscale.com/blog/postgres-poisoned-connection-pools>)

Author: Josh Brown

Published: 2026-08-18T00:00:00Z

Content type: article

Language: en

Sources: [Blog -- PlanetScale](<https://devfeed.tech/sources/blog-planetscale.md>)

Topics: [Database](<https://devfeed.tech/topics/database.md>), [postgresql clusters](<https://devfeed.tech/topics/postgresql-clusters.md>), [client](<https://devfeed.tech/topics/client.md>), [API](<https://devfeed.tech/topics/api.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [database](<https://devfeed.tech/tags/database.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [postgres](<https://devfeed.tech/tags/postgres.md>)

### AI overview

The article explains how stale session state can poison Postgres connection pools, causing reused connections to remain read-only and trigger errors. It focuses on connection pooling, PgBouncer transaction mode, and the resulting effects on client queries and API routes.

### Source excerpt

An engineer's worst nightmare is waking up to a seemingly read-only database with no clear issue in sight. Let's dig into why this happens, and how AI can help solve it.

## The dangers of Postgres subtransactions

DevFeed: [The dangers of Postgres subtransactions](<https://devfeed.tech/articles/the-dangers-of-postgres-subtransactions-2335.md>)

Original publisher: [Read original article](<https://planetscale.com/blog/the-dangers-of-postgres-subtransactions>)

Author: Etienne Berube

Published: 2026-08-11T00:00:00Z

Content type: article

Language: en

Sources: [Blog -- PlanetScale](<https://devfeed.tech/sources/blog-planetscale.md>)

Topics: [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [postgresql clusters](<https://devfeed.tech/topics/postgresql-clusters.md>), [Database](<https://devfeed.tech/topics/database.md>), [Server](<https://devfeed.tech/topics/server.md>), [data](<https://devfeed.tech/topics/data.md>)

Tags: [availability](<https://devfeed.tech/tags/availability.md>), [data](<https://devfeed.tech/tags/data.md>), [database](<https://devfeed.tech/tags/database.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [server](<https://devfeed.tech/tags/server.md>)

### AI overview

Postgres subtransactions can reduce throughput across an entire PostgreSQL cluster and prevent newly added read replicas from accepting queries. The article explains how replicas replay the primary's WAL and determine when they can safely serve reads.

### Source excerpt

Subtransactions can slow down your entire PostgreSQL server and break your high availability strategy by keeping new read replicas from accepting connections.

## Mastering PostgreSQL Configuration Management with CloudNativePG (CNPG)

DevFeed: [Mastering PostgreSQL Configuration Management with CloudNativePG (CNPG)](<https://devfeed.tech/articles/mastering-postgresql-configuration-management-with-cloudnativepg-cnpg-14488.md>)

Original publisher: [Read original article](<https://www.cybertec-postgresql.com/en/mastering-postgresql-configuration-management-with-cloudnativepg-cnpg/>)

Author: Wellingtone Luvonga

Published: 2026-08-04T05:00:38Z

Content type: tutorial

Language: en

Sources: [CYBERTEC PostgreSQL | Services & Support](<https://devfeed.tech/sources/cybertec-postgresql-services-support.md>)

Topics: [configuration](<https://devfeed.tech/topics/configuration.md>), [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [postgresql clusters](<https://devfeed.tech/topics/postgresql-clusters.md>), [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [GitOps](<https://devfeed.tech/topics/gitops.md>), [YAML](<https://devfeed.tech/topics/yaml.md>), [kubectl](<https://devfeed.tech/topics/kubectl.md>)

Tags: [administration](<https://devfeed.tech/tags/administration.md>), [cloudnativepg](<https://devfeed.tech/tags/cloudnativepg.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [configuration-management](<https://devfeed.tech/tags/configuration-management.md>), [gitops](<https://devfeed.tech/tags/gitops.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [kubectl](<https://devfeed.tech/tags/kubectl.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [replication](<https://devfeed.tech/tags/replication.md>), [yaml](<https://devfeed.tech/tags/yaml.md>)

### AI overview

This tutorial explains how CloudNativePG manages PostgreSQL configuration in Kubernetes. It contrasts imperative editing of configuration files with declarative management through Kubernetes YAML and shows how to define database parameters and pg_hba.conf rules in a CNPG cluster resource.

### Source excerpt

This blog talks about Configuration Management in PostgreSQL with CNPG, with some great examples in a comprehensive way. The post Mastering PostgreSQL Configuration Management with CloudNativePG (CNPG) appeared first on CYBERTEC PostgreSQL | Services & Support.

## One Postgres cluster, many apps

DevFeed: [One Postgres cluster, many apps](<https://devfeed.tech/articles/one-postgres-cluster-many-apps-2329.md>)

Original publisher: [Read original article](<https://planetscale.com/blog/one-postgres-cluster-many-apps>)

Author: Simeon Griggs

Published: 2026-06-25T00:00:00Z

Content type: tutorial

Language: en

Sources: [Blog -- PlanetScale](<https://devfeed.tech/sources/blog-planetscale.md>)

Topics: [postgresql clusters](<https://devfeed.tech/topics/postgresql-clusters.md>), [Database](<https://devfeed.tech/topics/database.md>), [App](<https://devfeed.tech/topics/app.md>), [Authorization](<https://devfeed.tech/topics/authorization.md>)

Tags: [administration](<https://devfeed.tech/tags/administration.md>), [apps](<https://devfeed.tech/tags/apps.md>), [complexity](<https://devfeed.tech/tags/complexity.md>), [database](<https://devfeed.tech/tags/database.md>), [databases](<https://devfeed.tech/tags/databases.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [side-projects](<https://devfeed.tech/tags/side-projects.md>)

### AI overview

This tutorial explains how multiple small applications can share a single PlanetScale Postgres cluster through separate logical databases. It covers clusters, branches, logical databases, roles, permissions, and the tradeoff between shared infrastructure for side projects and dedicated clusters for applications that need to scale.

### Source excerpt

Yo, I heard you liked databases, so we put logical databases in your database cluster so you can database while you database

## Building High Availability PostgreSQL Clusters with Patroni and Other Integrated Approaches

DevFeed: [Building High Availability PostgreSQL Clusters with Patroni and Other Integrated Approaches](<https://devfeed.tech/articles/building-high-availability-postgresql-clusters-with-patroni-and-other-integrated-approaches-19110.md>)

Original publisher: [Read original article](<https://severalnines.com/blog/building-high-availability-postgresql-clusters-with-patroni-and-other-integrated-approaches/>)

Author: Agus Syafaat

Published: 2026-05-21T07:20:00Z

Content type: tutorial

Language: en

Sources: [SeveralNines](<https://devfeed.tech/sources/severalnines.md>)

Topics: [postgresql clusters](<https://devfeed.tech/topics/postgresql-clusters.md>), [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [Availability](<https://devfeed.tech/topics/availability.md>), [Replication](<https://devfeed.tech/topics/replication.md>), [Resilience](<https://devfeed.tech/topics/resilience.md>), [Automation](<https://devfeed.tech/topics/automation.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>)

Tags: [automation](<https://devfeed.tech/tags/automation.md>), [availability](<https://devfeed.tech/tags/availability.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [consensus](<https://devfeed.tech/tags/consensus.md>), [database](<https://devfeed.tech/tags/database.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [failover](<https://devfeed.tech/tags/failover.md>), [ha](<https://devfeed.tech/tags/ha.md>), [high-availability](<https://devfeed.tech/tags/high-availability.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [patroni](<https://devfeed.tech/tags/patroni.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [postgresql-clusters](<https://devfeed.tech/tags/postgresql-clusters.md>), [recovery-repair](<https://devfeed.tech/tags/recovery-repair.md>), [replication](<https://devfeed.tech/tags/replication.md>)

### AI overview

This article explains how to build highly available PostgreSQL clusters with Patroni and related tools. It describes Patroni's use of replication, distributed consensus, a distributed configuration store, leader election, health checks, and YAML configuration to support automated failover. It also discusses operational challenges and the possible use of ClusterControl in the workflow.

### Source excerpt

In modern application stacks, downtime is a direct threat to business continuity, customer trust, and revenue. Regardless of whether it is an e-commerce platform, a fintech application, or a critical internal system, the expectation is 24/7 availability, underscoring the critical importance of High Availability (HA) and automated failover mechanisms within PostgreSQL clusters. HA ensures that [...] The post Building High Availability PostgreSQL Clusters with Patroni and Other Integrated Approaches appeared first on Severalnines.

## How Discord Automates ScyllaDB Clusters at Scale

DevFeed: [How Discord Automates ScyllaDB Clusters at Scale](<https://devfeed.tech/articles/how-discord-automates-scylladb-clusters-at-scale-246.md>)

Original publisher: [Read original article](<https://discord.com/blog/how-discord-automates-scylladb-clusters-at-scale>)

Author: Peter French

Published: 2026-05-08T00:00:00Z

Content type: article

Language: en

Sources: [Discord Blog](<https://devfeed.tech/sources/discord-blog.md>)

Topics: [Database](<https://devfeed.tech/topics/database.md>), [postgresql clusters](<https://devfeed.tech/topics/postgresql-clusters.md>), [Replication](<https://devfeed.tech/topics/replication.md>), [Concurrency](<https://devfeed.tech/topics/concurrency.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [Orchestration](<https://devfeed.tech/topics/orchestration.md>), [Rust](<https://devfeed.tech/topics/rust.md>), [YAML](<https://devfeed.tech/topics/yaml.md>), [Prometheus](<https://devfeed.tech/topics/prometheus.md>), [API](<https://devfeed.tech/topics/api.md>)

Tags: [concurrency](<https://devfeed.tech/tags/concurrency.md>), [database](<https://devfeed.tech/tags/database.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [metrics](<https://devfeed.tech/tags/metrics.md>), [prometheus](<https://devfeed.tech/tags/prometheus.md>), [replication](<https://devfeed.tech/tags/replication.md>), [rust](<https://devfeed.tech/tags/rust.md>), [scylladb](<https://devfeed.tech/tags/scylladb.md>), [workflow](<https://devfeed.tech/tags/workflow.md>), [workflows](<https://devfeed.tech/tags/workflows.md>)

### AI overview

Discord describes how it automated ScyllaDB cluster operations with a Scylla Control Plane built around tasks, workflows, and jobs. The system uses explicit condition checks against Scylla's API and Prometheus metrics, idempotent Rust tasks, and YAML-defined workflows with retries, parallelism, configuration, and runtime templating.

### Source excerpt

You've been asked to stand up a brand-new database cluster, meaning a whole day of configuring dozens of nodes, validating replication, wiring up dual-write pipelines... what if this whole ordeal took less than two hours? This is how we got ourselves into this exact mess, and how we made our way out of it.

## Waiting for PostgreSQL 19 - Online enabling and disabling of data checksums

DevFeed: [Waiting for PostgreSQL 19 - Online enabling and disabling of data checksums](<https://devfeed.tech/articles/waiting-for-postgresql-19-online-enabling-and-disabling-of-data-checksums-33687.md>)

Original publisher: [Read original article](<https://www.depesz.com/2026/04/15/waiting-for-postgresql-19-online-enabling-and-disabling-of-data-checksums/>)

Author: depesz

Published: 2026-04-15T18:05:36Z

Content type: article

Language: en

Sources: [select \* from depesz;](<https://devfeed.tech/sources/select-from-depesz.md>)

Topics: [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [postgresql clusters](<https://devfeed.tech/topics/postgresql-clusters.md>), [async](<https://devfeed.tech/topics/async.md>), [IO](<https://devfeed.tech/topics/io.md>)

Tags: [async](<https://devfeed.tech/tags/async.md>), [background](<https://devfeed.tech/tags/background.md>), [background-work](<https://devfeed.tech/tags/background-work.md>), [checksums](<https://devfeed.tech/tags/checksums.md>), [data-checksum](<https://devfeed.tech/tags/data-checksum.md>), [io](<https://devfeed.tech/tags/io.md>), [pg19](<https://devfeed.tech/tags/pg19.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [uncategorized](<https://devfeed.tech/tags/uncategorized.md>), [vacuum](<https://devfeed.tech/tags/vacuum.md>), [waiting](<https://devfeed.tech/tags/waiting.md>)

### AI overview

This article examines a PostgreSQL 19 patch that allows data checksums to be enabled or disabled while a cluster is running. The command is immediate, but rewriting every table and index occurs in the background and can require substantial I/O. The article also discusses cost-delay options for controlling the background worker.

### Source excerpt

On 3rd of April 2026, Daniel Gustafsson committed patch: Online enabling and disabling of data checksums This allows data checksums to be enabled, or disabled, in a running cluster without restricting access to the cluster during processing. Data checksums could prior to this only be enabled during initdb or when the cluster is ... Continue reading "Waiting for PostgreSQL 19 - Online enabling and disabling of data checksums"

## Waiting for PostgreSQL 19 - Introduce the REPACK command

DevFeed: [Waiting for PostgreSQL 19 - Introduce the REPACK command](<https://devfeed.tech/articles/waiting-for-postgresql-19-introduce-the-repack-command-33681.md>)

Original publisher: [Read original article](<https://www.depesz.com/2026/03/19/waiting-for-postgresql-19-introduce-the-repack-command/>)

Author: depesz

Published: 2026-03-19T18:07:59Z

Content type: article

Language: en

Sources: [select \* from depesz;](<https://devfeed.tech/sources/select-from-depesz.md>)

Topics: [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [postgresql clusters](<https://devfeed.tech/topics/postgresql-clusters.md>)

Tags: [analyze](<https://devfeed.tech/tags/analyze.md>), [bloat](<https://devfeed.tech/tags/bloat.md>), [command](<https://devfeed.tech/tags/command.md>), [indexes](<https://devfeed.tech/tags/indexes.md>), [locking](<https://devfeed.tech/tags/locking.md>), [maintenance](<https://devfeed.tech/tags/maintenance.md>), [pg-repack](<https://devfeed.tech/tags/pg-repack.md>), [pg19](<https://devfeed.tech/tags/pg19.md>), [planner](<https://devfeed.tech/tags/planner.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [repack](<https://devfeed.tech/tags/repack.md>), [uncategorized](<https://devfeed.tech/tags/uncategorized.md>), [vacuum](<https://devfeed.tech/tags/vacuum.md>), [waiting](<https://devfeed.tech/tags/waiting.md>)

### AI overview

The article examines PostgreSQL 19's proposed built-in REPACK command, which combines functionality associated with VACUUM FULL and CLUSTER. It demonstrates reclaiming space and reordering a table, discusses locking because concurrent operation is not yet supported, and introduces the pg_stat_progress_repack progress view and available command forms.

### Source excerpt

On 10th of March 2026, Álvaro Herrera committed patch: Introduce the REPACK command REPACK absorbs the functionality of VACUUM FULL and CLUSTER in a single command. Because this functionality is completely different from regular VACUUM, having it separate from VACUUM makes it easier for users to understand; as for CLUSTER, the term is heavily ... Continue reading "Waiting for PostgreSQL 19 - Introduce the REPACK command"

## Managed Databases Are Now Available in Laravel Forge

DevFeed: [Managed Databases Are Now Available in Laravel Forge](<https://devfeed.tech/articles/managed-databases-are-now-available-in-laravel-forge-3875.md>)

Original publisher: [Read original article](<https://laravel.com/blog/managed-databases-are-now-available-in-laravel-forge>)

Author: Laravel Team

Published: 2026-03-17T15:48:55Z

Content type: release

Language: en

Sources: [Laravel Blog](<https://devfeed.tech/sources/laravel-blog.md>)

Topics: [Laravel](<https://devfeed.tech/topics/laravel.md>), [postgresql clusters](<https://devfeed.tech/topics/postgresql-clusters.md>), [Availability](<https://devfeed.tech/topics/availability.md>), [Provisioning](<https://devfeed.tech/topics/provisioning.md>), [Monitoring](<https://devfeed.tech/topics/monitoring.md>), [Replication](<https://devfeed.tech/topics/replication.md>), [Network](<https://devfeed.tech/topics/network.md>), [VPC](<https://devfeed.tech/topics/vpc.md>)

Tags: [compute](<https://devfeed.tech/tags/compute.md>), [databases](<https://devfeed.tech/tags/databases.md>), [datacenter](<https://devfeed.tech/tags/datacenter.md>), [high-availability](<https://devfeed.tech/tags/high-availability.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [learn](<https://devfeed.tech/tags/learn.md>), [memory](<https://devfeed.tech/tags/memory.md>), [monitoring](<https://devfeed.tech/tags/monitoring.md>), [network](<https://devfeed.tech/tags/network.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [replication](<https://devfeed.tech/tags/replication.md>), [security](<https://devfeed.tech/tags/security.md>), [storage](<https://devfeed.tech/tags/storage.md>), [vpc](<https://devfeed.tech/tags/vpc.md>)

### AI overview

Laravel Forge now offers managed PostgreSQL clusters provisioned directly from its dashboard. The service handles patching, backups, replication, failover, and monitoring, with configurable compute, storage, region, networking, and high-availability options.

### Source excerpt

Let Laravel Forge handle managed Postgres clusters for you with automated backups, PITR, high availability, and monitoring, all from your Forge dashboard.

## Creating Backup Strategies in Serverless Postgres with Laravel Cloud

DevFeed: [Creating Backup Strategies in Serverless Postgres with Laravel Cloud](<https://devfeed.tech/articles/creating-backup-strategies-in-serverless-postgres-with-laravel-cloud-3612.md>)

Original publisher: [Read original article](<https://laravel.com/blog/creating-backup-strategies-in-serverless-postgres-with-laravel-cloud>)

Author: Laravel Team

Published: 2026-01-23T17:50:13Z

Content type: tutorial

Language: en

Sources: [Laravel Blog](<https://devfeed.tech/sources/laravel-blog.md>)

Topics: [Laravel](<https://devfeed.tech/topics/laravel.md>), [postgresql clusters](<https://devfeed.tech/topics/postgresql-clusters.md>), [Serverless](<https://devfeed.tech/topics/serverless.md>), [Cloud](<https://devfeed.tech/topics/cloud.md>), [MySQL](<https://devfeed.tech/topics/mysql.md>)

Tags: [autoscaling](<https://devfeed.tech/tags/autoscaling.md>), [backup](<https://devfeed.tech/tags/backup.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [laravel](<https://devfeed.tech/tags/laravel.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [production](<https://devfeed.tech/tags/production.md>), [real-time](<https://devfeed.tech/tags/real-time.md>), [reduce](<https://devfeed.tech/tags/reduce.md>), [retention](<https://devfeed.tech/tags/retention.md>), [scale](<https://devfeed.tech/tags/scale.md>), [storage](<https://devfeed.tech/tags/storage.md>)

### AI overview

This article explains how to create a cost-conscious backup strategy for Laravel Cloud's Serverless Postgres. It covers continuous backup logging, retention windows, point-in-time recovery, autoscaling, scale to zero, and database hibernation, with a comparison to Laravel MySQL for archived workloads.

### Source excerpt

Looking to save on costs while protecting your data? Read our tips for setting up a dynamic backup strategy in Laravel Cloud.

## Optimizing Databases on Kubernetes Ep.1: Provisioning a Cluster and Configuring PostgreSQL on Kubernetes

DevFeed: [Optimizing Databases on Kubernetes Ep.1: Provisioning a Cluster and Configuring PostgreSQL on Kubernetes](<https://devfeed.tech/articles/optimizing-databases-on-kubernetes-ep-1-provisioning-a-cluster-and-configuring-postgresql-on-kubernetes-22273.md>)

Original publisher: [Read original article](<https://www.ardanlabs.com/blog/2024/12/optimizing-databases-on-kubernetes-ep1-provisioning-a-cluster-and-configuring-postgresql-on-kubernetes.html>)

Published: 2024-12-09T00:00:00Z

Content type: tutorial

Language: en

Sources: [William Kennedy](<https://devfeed.tech/sources/william-kennedy.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [Provisioning](<https://devfeed.tech/topics/provisioning.md>), [CloudNativePG](<https://devfeed.tech/topics/cloudnativepg.md>), [postgresql clusters](<https://devfeed.tech/topics/postgresql-clusters.md>), [Linode](<https://devfeed.tech/topics/linode.md>), [Replication](<https://devfeed.tech/topics/replication.md>), [hosting](<https://devfeed.tech/topics/hosting.md>)

Tags: [backups](<https://devfeed.tech/tags/backups.md>), [build-vs-buy-database-solutions](<https://devfeed.tech/tags/build-vs-buy-database-solutions.md>), [cloudnativepg](<https://devfeed.tech/tags/cloudnativepg.md>), [cloudnativepg-setup](<https://devfeed.tech/tags/cloudnativepg-setup.md>), [clusters](<https://devfeed.tech/tags/clusters.md>), [cnpg-postgresql-operator](<https://devfeed.tech/tags/cnpg-postgresql-operator.md>), [cost-efficient-kubernetes-clusters](<https://devfeed.tech/tags/cost-efficient-kubernetes-clusters.md>), [cost-optimization](<https://devfeed.tech/tags/cost-optimization.md>), [database-infrastructure-on-linode](<https://devfeed.tech/tags/database-infrastructure-on-linode.md>), [database-optimization-on-kubernetes](<https://devfeed.tech/tags/database-optimization-on-kubernetes.md>), [efficient-storage-with-zfspv](<https://devfeed.tech/tags/efficient-storage-with-zfspv.md>), [high-availability-postgresql-kubernetes](<https://devfeed.tech/tags/high-availability-postgresql-kubernetes.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [kubernetes-for-databases](<https://devfeed.tech/tags/kubernetes-for-databases.md>), [kubernetes-for-startups](<https://devfeed.tech/tags/kubernetes-for-startups.md>), [linode](<https://devfeed.tech/tags/linode.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [postgresql-clusters](<https://devfeed.tech/tags/postgresql-clusters.md>), [postgresql-clusters-on-kubernetes](<https://devfeed.tech/tags/postgresql-clusters-on-kubernetes.md>), [postgresql-replication-on-k8s](<https://devfeed.tech/tags/postgresql-replication-on-k8s.md>), [production](<https://devfeed.tech/tags/production.md>), [production-ready-postgresql-on-k8s](<https://devfeed.tech/tags/production-ready-postgresql-on-k8s.md>), [provisioning](<https://devfeed.tech/tags/provisioning.md>), [provisioning-kubernetes-clusters](<https://devfeed.tech/tags/provisioning-kubernetes-clusters.md>), [rancher](<https://devfeed.tech/tags/rancher.md>), [rancher-local-path-persistent-volumes](<https://devfeed.tech/tags/rancher-local-path-persistent-volumes.md>), [reducing-hosting-costs-with-kubernetes](<https://devfeed.tech/tags/reducing-hosting-costs-with-kubernetes.md>), [replication](<https://devfeed.tech/tags/replication.md>), [scalable-databases-on-kubernetes](<https://devfeed.tech/tags/scalable-databases-on-kubernetes.md>), [scalable-postgresql-deployments](<https://devfeed.tech/tags/scalable-postgresql-deployments.md>), [self-hosted-databases-vs-managed-services](<https://devfeed.tech/tags/self-hosted-databases-vs-managed-services.md>), [setting-up-postgresql-on-kubernetes](<https://devfeed.tech/tags/setting-up-postgresql-on-kubernetes.md>)

### AI overview

This introductory video demonstrates how to provision a Kubernetes cluster on Linode and configure production-ready PostgreSQL clusters on Kubernetes using CloudNativePG, including replication and backups. It also discusses storage, cost control, and build-versus-buy trade-offs.

### Source excerpt

Introduction: In this introductory episode, Jérôme Petazzoni walks through the critical steps of provisioning a Kubernetes cluster tailored for running databases like PostgreSQL. Leveraging his extensive experience, Jérôme demonstrates practical tools and techniques to establish a scalable, cost-efficient database infrastructure while laying the groundwork for future optimizations covered in this series. Provisioning Kubernetes Clusters: A step-by-step guide to creating a reliable cluster using Linode. Setting Up PostgreSQL with CNPG: Deploying production-ready PostgreSQL clusters with built-in replication and backups.

## Tutorial: Building a Highly Available PostgreSQL Cluster with etcd, Patroni, HAProxy, and keepalived

DevFeed: [Tutorial: Building a Highly Available PostgreSQL Cluster with etcd, Patroni, HAProxy, and keepalived](<https://devfeed.tech/articles/postgressql-clustering-the-hard-way-10634.md>)

Original publisher: [Read original article](<https://technotim.com/posts/postgresql-high-availability/>)

Author: Techno Tim

Published: 2024-12-07T13:00:00Z

Content type: tutorial

Language: en

Sources: [Techno Tim](<https://devfeed.tech/sources/techno-tim.md>)

Topics: [postgresql clusters](<https://devfeed.tech/topics/postgresql-clusters.md>), [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [Database](<https://devfeed.tech/topics/database.md>)

Tags: [clustering](<https://devfeed.tech/tags/clustering.md>), [ha](<https://devfeed.tech/tags/ha.md>), [patroni](<https://devfeed.tech/tags/patroni.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [production](<https://devfeed.tech/tags/production.md>), [self-hosted](<https://devfeed.tech/tags/self-hosted.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

### AI overview

A tutorial for building a highly available and fault-tolerant PostgreSQL cluster with etcd, Patroni, HAProxy, and keepalived. It covers PostgreSQL node setup, certificate-based communication, etcd configuration, and cluster verification.

### Source excerpt

Today is the day that you start running PostgresSQL in a cluster! In this tutorial we'll be setting up a production ready Postgres cluster that's highly available and fault tolerant using PostgreSQL, etcd, Patroni, HA Proxy, and keepalived. This resilient combination will ensure that you can always reach your database even when a node in the cluster goes down! 📺 Watch Video Nodes # ha pr...

## Why pg\_dump Is Useful for PostgreSQL Data Migration and Troubleshooting

DevFeed: [Why pg\_dump Is Useful for PostgreSQL Data Migration and Troubleshooting](<https://devfeed.tech/articles/why-pg-dump-is-amazing-33618.md>)

Original publisher: [Read original article](<https://rhaas.blogspot.com/2024/11/why-pgdump-is-amazing.html>)

Author: Robert Haas (noreply@blogger.com)

Published: 2024-11-01T15:56:00Z

Content type: opinion

Language: en

Sources: [Robert Haas](<https://devfeed.tech/sources/robert-haas.md>)

Topics: [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [postgresql clusters](<https://devfeed.tech/topics/postgresql-clusters.md>), [Databases](<https://devfeed.tech/topics/databases.md>), [cpu](<https://devfeed.tech/topics/cpu.md>), [floating-point](<https://devfeed.tech/topics/floating-point.md>)

Tags: [backup](<https://devfeed.tech/tags/backup.md>), [backups](<https://devfeed.tech/tags/backups.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [database](<https://devfeed.tech/tags/database.md>), [floating-point](<https://devfeed.tech/tags/floating-point.md>), [pg-dump](<https://devfeed.tech/tags/pg-dump.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [sql](<https://devfeed.tech/tags/sql.md>), [version](<https://devfeed.tech/tags/version.md>)

### AI overview

The article explains why pg_dump is useful beyond full-cluster backups. Its human-readable SQL output can support database migration, major-version changes, CPU architecture changes, and troubleshooting, although it may require manual modification and can incur performance costs or fail in some cases.

### Source excerpt

I wrote a blog post a couple of weeks ago entitled Is pg_dump a Backup Tool?. In that post, I argued in the affirmative, but also said that it's probably shouldn't be your primary backup mechanism. For that, you probably shouldn't directly use anything that is included in PostgreSQL itself, but rather a well-maintained third-party backup tool such as barman or pgbackrest. But today, I want to talk a little more about why I believe that pg_dump is both amazingly useful for solving all kinds of PostgreSQL-related problems and also just a great piece of technology. Read more "

## Adopting Neon branching in CI/CD pipelines: a practical story by Shepherd

DevFeed: [Adopting Neon branching in CI/CD pipelines: a practical story by Shepherd](<https://devfeed.tech/articles/adopting-neon-branching-in-ci-cd-pipelines-a-practical-story-by-shepherd-4944.md>)

Original publisher: [Read original article](<https://neon.com/blog/adopting-neon-branching-in-ci-cd-pipelines-a-practical-story-by-shepherd>)

Author: Carlota Soto

Published: 2024-07-11T16:14:05Z

Content type: article

Language: en

Sources: [Blog -- Neon Docs](<https://devfeed.tech/sources/blog-neon-docs.md>)

Topics: [CI/CD](<https://devfeed.tech/topics/cicd.md>), [GitHub Actions](<https://devfeed.tech/topics/github-actions.md>), [migration](<https://devfeed.tech/topics/migration.md>), [SQLite](<https://devfeed.tech/topics/sqlite.md>), [postgresql clusters](<https://devfeed.tech/topics/postgresql-clusters.md>), [Serverless](<https://devfeed.tech/topics/serverless.md>)

Tags: [case-studies](<https://devfeed.tech/tags/case-studies.md>), [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [clusters](<https://devfeed.tech/tags/clusters.md>), [community](<https://devfeed.tech/tags/community.md>), [github](<https://devfeed.tech/tags/github.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [migration](<https://devfeed.tech/tags/migration.md>), [pipelines](<https://devfeed.tech/tags/pipelines.md>), [scale](<https://devfeed.tech/tags/scale.md>), [serverless](<https://devfeed.tech/tags/serverless.md>), [sqlite](<https://devfeed.tech/tags/sqlite.md>)

### AI overview

Shepherd adopted Neon's database branching to improve CI/CD testing for its insurance pricing engine, Alchemist. After migrating from SQLite to Postgres, the team began creating ephemeral branches through GitHub Actions, reducing the need for dedicated synchronized testing databases and lowering idle infrastructure costs.

### Source excerpt

"Branching saves us both money and developer time. We no longer have to set up an actual testing database instance and make sure the data is always synced with production. We now spin up an ephemeral branch when we need to and then tear it down via the create/delete Github Action...

## Postgres Support Case Recap

DevFeed: [Postgres Support Case Recap](<https://devfeed.tech/articles/postgres-support-case-recap-5739.md>)

Original publisher: [Read original article](<https://neon.com/blog/postgres-support-case-recap>)

Author: Daniel Price

Published: 2024-01-31T18:32:32Z

Content type: article

Language: en

Sources: [Blog -- Neon Docs](<https://devfeed.tech/sources/blog-neon-docs.md>)

Topics: [postgresql clusters](<https://devfeed.tech/topics/postgresql-clusters.md>), [Database](<https://devfeed.tech/topics/database.md>), [Processes](<https://devfeed.tech/topics/processes.md>), [servers](<https://devfeed.tech/topics/servers.md>)

Tags: [community](<https://devfeed.tech/tags/community.md>), [database](<https://devfeed.tech/tags/database.md>), [databases](<https://devfeed.tech/tags/databases.md>), [errors](<https://devfeed.tech/tags/errors.md>), [memory](<https://devfeed.tech/tags/memory.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [process](<https://devfeed.tech/tags/process.md>), [recap](<https://devfeed.tech/tags/recap.md>), [sql](<https://devfeed.tech/tags/sql.md>), [support](<https://devfeed.tech/tags/support.md>)

### AI overview

This article explains the Postgres error that occurs when the maximum number of simultaneous database connections is reached and some slots remain reserved for superusers. It describes how high connection counts consume operating-system processes and memory, explains how Neon manages max_connections according to compute size and memory, and shows how to check the limit with SHOW max_connections.

### Source excerpt

At Neon Support, we've noticed users occasionally encountering connection limit errors while connecting applications to their databases. Today, we're sharing insights from our support exchanges to help you understand and avoid this issue in your setup. Specifically, our users som...

## Postgres Woes on OSX with libicui18n.69.dylib

DevFeed: [Postgres Woes on OSX with libicui18n.69.dylib](<https://devfeed.tech/articles/postgres-woes-on-osx-with-libicui18n-69-dylib-28223.md>)

Original publisher: [Read original article](<http://fuzzyblog.io/blog/postgres/2022/04/21/postgres-woes-on-osx-with-libicui18n-69-dylib.html>)

Author: Fuzzygroup

Published: 2022-04-21T13:33:00Z

Content type: tutorial

Language: en

Sources: [Scott Johnson](<https://devfeed.tech/sources/scott-johnson.md>)

Topics: [Homebrew](<https://devfeed.tech/topics/homebrew.md>), [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [postgresql clusters](<https://devfeed.tech/topics/postgresql-clusters.md>), [upgrade](<https://devfeed.tech/topics/upgrade.md>)

Tags: [dependencies](<https://devfeed.tech/tags/dependencies.md>), [errors](<https://devfeed.tech/tags/errors.md>), [homebrew](<https://devfeed.tech/tags/homebrew.md>), [osx](<https://devfeed.tech/tags/osx.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [upgrade](<https://devfeed.tech/tags/upgrade.md>)

### AI overview

A troubleshooting account of a PostgreSQL startup failure on macOS caused by a missing libicui18n.69.dylib library. Reinstalling icu4c with Homebrew led to PostgreSQL being upgraded and running locally again.

### Source excerpt

Perhaps it is me but I've found that homebrew seems to give more errors and take longer than it used it. I just got hit with this error: /usr/local/opt/postgresql/bin/postgres -v dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.69.dylib Referenced from: /usr/local/opt/postgresql/bin/postgres Reason: image not found Digging into the OSX postgres log here: tail -n 100 /usr/local/var/log/postgresql.log helped but didn't tell me what to do. An awful lot of googling didn't find me an answer but then I hit on: brew reinstall icu4c That churned for a bit but then declared a decisive victory: 🍺 /usr/local/Cellar/maxima/5.46.0: 2,842 files, 119.1MB ==> Running `brew cleanup maxima`... Removing: /usr/local/Cellar/maxima/5.45.1_4... (2,774 files, 118.4MB) Removing: /Users/sjohnson/Library/Caches/Homebrew/maxima--5.45.1_4... (38.3MB) ==> Upgrading postgresql 13.2_2 -> 14.2_1 ==> Installing dependencies for postgresql: krb5 ==> Installing postgresql dependency: krb5 ==> Pouring krb5--1.19.3.catalina.bottle.tar.gz 🍺 /usr/local/Cellar/krb5/1.19.3: 162 files, 5.2MB ==> Installing postgresql ==> Pouring postgresql--14.2_1.catalina.bottle.tar.gz ==> Caveats To migrate existing data from a previous major version of PostgreSQL run: brew postgresql-upgrade-database This formula has created a default database cluster with: initdb --locale=C -E UTF-8 /usr/local/var/postgres For more details, read: https://www.postgresql.org/docs/14/app-initdb.html To restart postgresql after an upgrade: brew services restart postgresql Or, if you don't want/need a background service you can just run: /usr/local/opt/postgresql/bin/postgres -D /usr/local/var/postgres ==> Summary 🍺 /usr/local/Cellar/postgresql/14.2_1: 3,305 files, 45.5MB ==> Running `brew cleanup postgresql`... Removing: /usr/local/Cellar/postgresql/13.2_2... (3,218 files, 42.6MB) Removing: /Users/sjohnson/Library/Caches/Homebrew/postgresql--13.2_2... (11.1MB) ==> Checking for dependents of upgraded formulae... ==> No broken dep

## When Postgres Won't Start

DevFeed: [When Postgres Won't Start](<https://devfeed.tech/articles/when-postgres-won-t-start-28222.md>)

Original publisher: [Read original article](<http://fuzzyblog.io/blog/postgres/2020/09/12/when-postgres-won-t-start.html>)

Author: Fuzzygroup

Published: 2020-09-12T11:05:00Z

Content type: tutorial

Language: en

Sources: [Scott Johnson](<https://devfeed.tech/sources/scott-johnson.md>)

Topics: [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [upgrade](<https://devfeed.tech/topics/upgrade.md>), [postgresql clusters](<https://devfeed.tech/topics/postgresql-clusters.md>)

Tags: [install](<https://devfeed.tech/tags/install.md>), [logs](<https://devfeed.tech/tags/logs.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [server](<https://devfeed.tech/tags/server.md>), [sysadmin](<https://devfeed.tech/tags/sysadmin.md>), [upgrade](<https://devfeed.tech/tags/upgrade.md>)

### AI overview

A PostgreSQL installation was upgraded from version 11 to 12.4 without upgrading its data directory, preventing the database server from starting. The article explains how to diagnose the incompatibility through PostgreSQL logs and lists commands used to resolve it.

### Source excerpt

TLDR Somehow my postgres installation was upgraded. When postgres is upgraded its data is NOT upgraded. This means postgres won't start BUT it will be a silent failure; you can only confirm this via the logs. tail -n 10 /usr/local/var/log/postgres.log The Long Version I went through a situation the other day where I would start and stop postgres and the database would NEVER be available for connection. Here is the error that I kept getting: ❯ psql psql: error: could not connect to server: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"? This blog posts lists all the commands I used for reference and how I fixed it: brew services restart postgres brew services stop postgres brew services start postgres rm -f /usr/local/var/postgres/postmaster.pid brew uninstall postgresql brew install postgresql brew reinstall postgresql brew upgrade postgres ls -l /usr/local/var/postgres/postmaster.pid ls -l /usr/local/var/postgres/ tail -n 10 /usr/local/var/log/postgres.log brew postgresql-upgrade-database tail -n 10 /usr/local/var/log/postgres.log As is always the case with this type of low level issue, the answer is ALWAYS IN THE DAMN LOGS and it is always the near to last command you use that finds it. Here's what I found: ❯ tail -n 10 /usr/local/var/log/postgres.log 2020-09-10 16:17:49.566 EDT [85169] FATAL: database files are incompatible with server 2020-09-10 16:17:49.566 EDT [85169] DETAIL: The data directory was initialized by PostgreSQL version 11, which is not compatible with this version 12.4. 2020-09-10 16:17:59.589 EDT [85170] FATAL: database files are incompatible with server 2020-09-10 16:17:59.589 EDT [85170] DETAIL: The data directory was initialized by PostgreSQL version 11, which is not compatible with this version 12.4. 2020-09-10 16:18:09.617 EDT [85172] FATAL: database files are incompatible with server 2020-09-10 16:18:09.617 EDT [85172] DETAIL: The data

## What are PostgreSQL Templates?

DevFeed: [What are PostgreSQL Templates?](<https://devfeed.tech/articles/what-are-postgresql-templates-515.md>)

Original publisher: [Read original article](<https://supabase.com/blog/postgresql-templates>)

Author: Angelico de los Reyes

Published: 2020-07-09T07:00:00Z

Content type: tutorial

Language: en

Sources: [Supabase Blog](<https://devfeed.tech/sources/supabase-blog.md>)

Topics: [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [Template](<https://devfeed.tech/topics/template.md>), [postgresql clusters](<https://devfeed.tech/topics/postgresql-clusters.md>), [Databases](<https://devfeed.tech/topics/databases.md>)

Tags: [database](<https://devfeed.tech/tags/database.md>), [databases](<https://devfeed.tech/tags/databases.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [use-cases](<https://devfeed.tech/tags/use-cases.md>)

### AI overview

The article explains PostgreSQL's built-in template databases, template1 and template0, and how they affect newly created databases. It covers customizing template databases, creating and using a separate custom template for different use cases, and the connection limitations of this approach. It also recommends pg_dump when replicating a database while preserving active connections.

### Source excerpt

What are PostgreSQL templates and what are they used for?

[Next page](<https://devfeed.tech/topics/postgresql-clusters.md?cursor=WyIyMDIwLTA3LTA5VDA3OjAwOjAwKzAwOjAwIiwgIjQ2MjBjNzI0LTQ3YTgtNDE5OS1hYzcyLTk2MGU1NmNhNGU2YiJd>)