Sep 22, 2021 |
Cloud, Database Trends, Insight for DBAs, Open Source
This article is meant to provide a high-level overview of how a web-based application is commonly structured nowadays. Keep in mind the topic presented is very simplified. It is meant as an introduction only and hopefully encourages the reader to investigate some of the concepts in more depth. Monolith vs Microservices With the rise of […]
Sep 10, 2021 |
Insight for DBAs, MongoDB
I recently came across an interesting case of performance issues during balancing in a MongoDB cluster. Digging through the logs, it became clear the problem was related to chunk moves taking a long time. As we know, the default maximum chunk size is 64 MB. So these migrations are supposed to be very fast in […]
Jul 08, 2021 |
Insight for DBAs, MongoDB, Percona Software, Security
Percona Server for MongoDB supports two different ways of authenticating against an LDAP service: operating system libraries (aka Native LDAP) saslauthd (aka LDAP proxy) We’ve talked about the LDAP proxy option many times already. In this post, I am going to discuss the Native LDAP approach. Note: for the purposes of the examples, I am […]
Jun 14, 2021 |
MongoDB, Monitoring, Percona Software
Percona Monitoring and Management (PMM) recently introduced the Integrated Alerting feature as a technical preview. This was a very eagerly awaited feature, as PMM doesn’t need to integrate with an external alerting system anymore. Recently we blogged about the release of this feature. PMM includes some built-in templates, and in this post, I am going […]
Jan 28, 2021 |
Cloud, MySQL, ProxySQL
There are several ways to deploy ProxySQL between your applications and the database servers. A common approach is to have a floating virtual IP (VIP) managed by keepalived as the application endpoint. The proxies have to be strategically provisioned to improve the resiliency of the solution (different hardware, network segments, etc,). When we consider cloud […]
Dec 21, 2020 |
Cloud, Insight for DBAs, MySQL, Percona Services
As mentioned in the AWS discussion forum back in October, Amazon has started the end of life (EOL) process for RDS MySQL version 5.5. What this means is: AWS will upgrade RDS instances to MySQL 5.7 starting February 9 2021 00:00 UTC during your next defined maintenance window, provided you have one. If you don’t […]
Nov 10, 2020 |
Insight for DBAs, MongoDB, Percona Software
Percona Backup for MongoDB (PBM) is our open source tool for backing up MongoDB clusters. Initially, the tool was developed for restoring the backups in the same environment they are taken. In this post, I will show you how to restore a backup to a new environment instead. Let’s assume you followed the instructions to […]
Nov 05, 2020 |
MongoDB, Monitoring, MySQL, Percona Software, PostgreSQL
Normally it is quite easy to deploy Percona Monitoring and Management (PMM) Server as a Docker container as per the official documentation. However, when working in very restrictive environments, it is possible the server doesn’t have access to the public Internet, so pulling the image from the Docker hub is not possible. Fortunately, there are a […]
Aug 26, 2020 |
Cloud, Insight for DBAs, MySQL
Oftentimes, we need to replicate between Amazon Aurora and an external MySQL server. The idea is to start by taking a point-in-time copy of the dataset. Next, we can configure MySQL replication to roll it forward and keep the data up-to-date. This process is documented by Amazon, however, it relies on the mysqldump method to […]
Aug 20, 2020 |
Insight for DBAs, Insight for Developers, MySQL, Percona Software
Have you ever had to provision a large number of instances from a single backup? The most common use case is having to move to new hardware, but there are other scenarios as well. This kind of procedure can involve multiple backup/restore operations which can easily become a pain to administer. Let’s look at a […]
May 27, 2020 |
Cloud, Insight for DBAs, MongoDB
Say you need to move from DynamoDB to MongoDB; what options do you have? Unfortunately, at the time of this writing, there are no available tools to do this easily. In this post, we will explore the available options and discuss some of the potential issues and solutions. Deciding on the Approach A tutorial on […]
May 05, 2020 |
Insight for DBAs, MongoDB
On a recent project, we were tasked with loading several billion records into MongoDB. That prompted us to dig a bit deeper into WiredTiger knobs & turns, which turned out to be a very interesting experience. What we noticed is the load started at a decent rate, but after some time it started to slow […]
Apr 28, 2020 |
Insight for DBAs, MongoDB
If you have been working in the database field for some time, you have likely come across the need to create a new database, based on an existing one. The most common example I can think of is to create a copy of the production database for testing purposes. In the case of MongoDB sharded […]
Feb 17, 2020 |
MySQL, Open Source
In this post, I am going to show you how to run Orchestrator on FreeBSD. The instructions have been tested in FreeBSD 11.3 but the general steps should apply to other versions as well. At the time of this writing, Orchestrator doesn’t provide FreeBSD binaries, so we will need to compile it. Preparing the Environment […]
Jan 02, 2020 |
MySQL, ProxySQL
ProxySQL and Orchestrator are usually installed to achieve high availability when using MySQL replication. On a failover (or graceful takeover) scenario, Orchestrator will promote a slave, and ProxySQL will redirect the traffic. Depending on how your environment is configured, and how long the promotion takes, you could end up in a scenario where you need […]