Docker & Container Runtimes

Containers and PostgreSQL vs. MySQL vs. MariaDB

Which databases provide the best performance when used with containers?

That’s an important question for people seeking to make the most of containerized infrastructure.

In this post, I take a look at some basic performance metrics for three relational databases—PostgreSQL, MySQL, and MariaDB—when they are run as containers.

Related Post:  Setting up a RabbitMQ container using Rancher

Introduction

For the purposes of my tests, I used the official container images available from Docker Hub to install and start the databases.

While the process of pulling the images and starting the containers is likely already familiar to anyone using Docker, I’ll run through the commands I used below, just so that it is clear what my process was in preparing for the performance tests.

Related Post:  Free ebook: Containerizing traditional applications

PostgreSQL

Continue reading

Docker logo

JOIN OUR NEWSLETTER
Enjoying the article you're reading? Subscribe to our newsletter to receive updates and new articles as soon as they are published - right in your Inbox
We hate spam. Your email address will not be sold or shared with anyone else.
Please share:
Tags:

We Recommend These Vendors and Free Offers

Launch an SSD VPS in Europe, USA, Asia & Australia on Vultr's KVM-based Cloud platform starting at $5:00/month (15 GB SSD, 768 MB of RAM).

Deploy an SSD Cloud server in 55 seconds on DigitalOcean. Built for developers and starting at $5:00/month (20 GB SSD, 512 MB of RAM).

Want to become an expert ethical hacker and penetration tester? Request your free video training course of Online Penetration Testing and Ethical Hacking

Whether you're new to Linux or are a Linux guru, you can learn a lot more about the Linux kernel by requesting your free ebook of Linux Kernel In A Nutshell.


Leave a Comment

Your email address will not be published. Required fields are marked *

*