Problem: A production PostgreSQL 13.4 cluster managed by Patroni (one primary, one local standby and one DR standby) slowed down for several hours. Updates on a small, frequently updated control table kept blocking each other, and application queries ran many times slower than usual. At the same time, WAL replay on both standbys stopped at […]
Knowledge Base Case Studies Data Management and Analytics Database 1 Dec 2026 Resolving LOCAL_QUORUM write timeouts during heavy compaction and repair on Cassandra 2.2.xProblem: Clients observed repeated write failures: “Timeout during SIMPLE write query at LOCAL_QUORUM (2 required, 1 acknowledged)” while a recent maintenance window had run repairs and triggered large compactions. The cluster runs Apache Cassandra 2.2.5 with a Lucene indexing plugin. Operational context: two datacenters, five nodes each, ~1–2 TB load per node, replication factor recalled […]
Knowledge Base Case Studies Data Management and Analytics Database 26 Nov 2026 PostgreSQL: Resolving continuous WAL growth that caused database slownessProblem: A production PostgreSQL primary exhibited sustained database slowness while the write-ahead log (WAL) directory continued growing without bound. The customer reported ongoing WAL file accumulation and increasing operational risk from exhausted disk space. They were asked to provide PostgreSQL version and topology, WAL folder size, available disk space, PostgreSQL logs, and whether replication or […]
Knowledge Base Case Studies Data Management and Analytics Database 18 Nov 2026 Reducing PostgreSQL VM Memory by Identifying and Pooling High‑Memory SessionsProblem: A production Patroni PostgreSQL deployment (PostgreSQL community v15.17, Patroni v3.3.2) reported consistently high host RAM utilization (>90%). The cluster hosts ~393 GiB RAM, PostgreSQL configured with shared_buffers=92GB, max_connections=4000, work_mem=16MB and maintenance_work_mem=5GB. The OS reserved roughly 120 GiB of HugePages and swap use was minimal. The operational objective from the client was explicit: identify which […]
Knowledge Base Case Studies Data Management and Analytics Database 10 Nov 2026 Resolving slow Patroni PostgreSQL replication caused by OpenZFS synchronous writesProblem: A production Patroni cluster (Patroni 3.3.2, PostgreSQL 15.17 on VMs) exhibited very slow replication between nodes, producing significant replication lag and impacting services. Replication throughput on the standby was measured in single MB/s ranges, nightly replay lag reached hours, and a recent switchover required a full base backup because the replica was unable to […]
Knowledge Base Case Studies Data Management and Analytics Database 29 Oct 2026 Resolving severe Patroni PostgreSQL replication slowdown and switchover failure caused by OpenZFS settingsProblem: A client running a production Patroni PostgreSQL cluster on OpenZFS reported a critical incident. Replication between nodes had become extremely slow, a switchover had failed, and the cluster was running on a single node with no working standby, so a failure of that node would have caused total data loss. The goals were to […]
Knowledge Base Case Studies Data Management and Analytics Database 27 Oct 2026 Optimizing PgBouncer placement and configuration for Patroni PostgreSQL clustersProblem: A client running multiple Patroni-managed PostgreSQL high-availability clusters in production added PgBouncer on the database VMs. During load tests, they saw no CPU or RAM savings compared with direct application connections. They asked for the correct PgBouncer configuration approach, whether the pooler should run locally or on separate servers, and how it should fit […]
Knowledge Base Case Studies Data Management and Analytics Database 26 Oct 2026 Recovering a MariaDB Galera Cluster on Kubernetes Stuck in CrashLoopBackOffProblem The database went completely offline after the Kubernetes worker nodes restarted at the same time. A three-node MariaDB 10.5 Galera cluster, deployed with the Bitnami mariadb-galera Helm chart, did not come back. The first pod, mariadb-galera-0, entered CrashLoopBackOff and logged It may not be safe to bootstrap the cluster from this node. It was […]
Database 26 Oct 2026 Fixing Proxmox VE Kernel Regression Behind MariaDB I/O FailuresProblem The database stopped working after a routine host upgrade. Once the Proxmox VE hosts moved to version 9.2.3 with the new default kernel 7.0.6-2-pve, a Debian virtual machine running MariaDB 10.11 began receiving hard I/O errors (EIO) on its virtual disk. The guest kernel logged write failures such as I/O error, dev sdb, sector […]
Virtualization