Mar
13
2025
--

Using Barman Cloud Utilities for Backups and WAL Archiving in PostgreSQL

Barman Cloud Utilities in PostgreSQLIn 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 […]

Mar
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 […]

Feb
26
2025
--

Using VS Code and Docker to Debug MySQL Crashes

VS Code and Docker to Debug MySQL CrashesTypically, 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 […]

Feb
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 […]

Feb
18
2025
--

Alternatives to MongoDB Atlas: More Control, Lower Costs

Alternatives to MongoDB AtlasAt 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 […]

Feb
14
2025
--

Orchestrator (for Managing MySQL) High Availability Using Raft

Orchestrator (for Managing MySQL) High Availability Using RaftAs 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. […]

Jan
22
2025
--

Using Blue/Green Deployment For (near) Zero-Downtime Primary Key Updates in RDS MySQL

Blue Green Deployment RDS MySQLLarge 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 […]

Jan
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 […]

Jan
17
2025
--

What’s the Cost of Counting MySQL Table Rows?

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 […]

Jan
14
2025
--

What Hurts in PostgreSQL Part One: Temporary Tables

Temporary Tables PostgreSQLPostgreSQL 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 […]

Powered by WordPress | Theme: Aeros 2.0 by TheBuckmaker.com