In this brief blog post, we will talk about Barman cloud utilities, which greatly ease the process of storing backups on cloud platforms like GCP, AWS, Azure, etc. Backups are of paramount importance, and in PostgreSQL, we also need to retain the WAL files, which can be used for various purposes like incremental backups or […]
13
2025
Using Barman Cloud Utilities for Backups and WAL Archiving in PostgreSQL
12
2025
HAProxy-Patroni Setup Using Health Check Endpoints and Debugging
Patroni has a REST API that allows HAProxy and other kinds of load balancers to perform HTTP health checks. This blog post explains how HAProxy uses Health check endpoints with Patroni and how to debug the status issue. HAProxy and Patroni setup: Sample configuration: [crayon-67dc5ad8bfe99748452184/] [crayon-67dc5ad8bfea5138973971/] OPTIONS /primary: This is the primary health […]
26
2025
Using VS Code and Docker to Debug MySQL Crashes
Typically, we receive customer tickets regarding crashes or bugs, where we request a core dump to analyze and identify the root cause or understand the unexpected behavior. To read the core dumps, we also request the linked libraries used by the server’s MySQL. However, there’s a more efficient way to achieve our goal: by using […]
24
2025
Understanding trx-consistency-only on MyDumper Before Removal
I have been working on MyDumper for over three years now, and I usually don’t use the tax-consistency-only feature during backups because it wasn’t an option I quite understood. So, when reviewing another issue, I stepped into a curious scenario, and I finally got it and decided to share with you what I learned and when it should […]
18
2025
Alternatives to MongoDB Atlas: More Control, Lower Costs
At first glance, MongoDB Atlas seems like the perfect solution—an easy-to-use, fully managed cloud database that takes the hassle out of deployment and scaling. But as businesses grow, many discover that Atlas’s convenience comes at a cost—literally. Unpredictable pricing, vendor lock-in, and limited deployment flexibility can turn what once felt like a simple choice into […]
14
2025
Orchestrator (for Managing MySQL) High Availability Using Raft
As we know, Orchestrator is a MySQL high availability and replication management tool that aids in managing farms of MySQL servers. In this blog post, we discuss how to make the Orchestrator (which manages MySQL) itself fault-tolerant and highly available. When considering HA for the Orchestrator one of the popular choices will be using the Raft consensus. […]
22
2025
Using Blue/Green Deployment For (near) Zero-Downtime Primary Key Updates in RDS MySQL
Large tables can pose challenges for many operations when working with a database. Occasionally, we may need to modify the table definition. Since RDS replication does not use asynchronous for its replication, the typical switchover procedure is not feasible. However, the Blue/Green feature of RDS utilizes asynchronous replication, which allows us to update the table […]
21
2025
Navigating MongoDB Licensing Challenges: Why Percona is a Game-Changer
MongoDB has long been a favorite in the database community and is renowned for its flexibility and performance as a NoSQL solution. However, MongoDB Inc. chose to close-source the code of its Enterprise Advanced Server and, on top of that, reduced the value of the MongoDB Community Edition by no longer adding enterprise-grade features to […]
17
2025
What’s the Cost of Counting MySQL Table Rows?
What index will be used when you count all rows in a table? Well, the MySQL documentation provides a straightforward answer to this, quoting: InnoDB processes SELECT COUNT(*) statements by traversing the smallest available secondary index unless an index or optimizer hint directs the optimizer to use a different index. If a secondary index is […]
14
2025
What Hurts in PostgreSQL Part One: Temporary Tables
PostgreSQL is one of the most powerful database systems in the world. I have always been passionate about its great power, especially its modern SQL language features. However, that doesn’t mean everything is great. There are areas where it hurts. Novice users unaware of the problem might get into trouble, and I see such things […]