Need advice about which tool to choose?Ask the StackShare community!
MariaDB vs Percona: What are the differences?
Introduction:
MariaDB and Percona are both popular and widely used open-source database management systems. While they share many similarities due to their roots in MySQL, there are several key differences between these two systems that set them apart.
Storage Engines: One major difference between MariaDB and Percona is their default storage engines. MariaDB uses Aria as the default storage engine, which offers support for transactions and crash recovery. On the other hand, Percona Server uses XtraDB, an enhanced version of InnoDB, as the default storage engine. XtraDB provides improved performance and scalability over InnoDB.
Performance Optimizations: Percona Server is known for its performance enhancements and optimizations. It includes various features like the Percona Memory Engine, Thread Pool, and enhanced InnoDB optimizations that help to improve query performance and scalability. While MariaDB also includes some performance improvements, Percona has a stronger focus on performance optimization.
Compatibility: MariaDB aims to be a drop-in replacement for MySQL, offering compatibility with MySQL syntax and APIs. It strives to maintain compatibility with MySQL, making it easier for applications and developers to migrate from MySQL to MariaDB. Percona Server also maintains compatibility with MySQL but offers additional features and optimizations not found in MySQL or MariaDB.
Monitoring and Diagnostic Tools: Percona Server provides a variety of monitoring and diagnostic tools like Percona Monitoring and Management (PMM), which offers a comprehensive set of dashboards and metrics for tracking database performance. MariaDB offers its own set of monitoring and diagnostic tools but does not have an equivalent comprehensive monitoring solution like PMM.
Data Encryption: Another key difference between MariaDB and Percona is the support for data encryption. MariaDB includes built-in data-at-rest encryption capabilities, making it easier to encrypt stored data. In contrast, Percona Server does not provide built-in encryption capabilities, although it can be achieved through third-party tools or plugins.
Community and Support: MariaDB has a larger and more active community compared to Percona, which leads to more community-based support, extensive documentation, and a wide range of resources available. Percona, however, provides enterprise-level support and services, making it an attractive choice for organizations looking for professional support and expertise.
In summary, MariaDB and Percona differ in their default storage engines, performance optimizations, compatibility with MySQL, monitoring and diagnostic tools, data encryption capabilities, and community/support offerings.
We actually use both Mongo and SQL databases in production. Mongo excels in both speed and developer friendliness when it comes to geospatial data and queries on the geospatial data, but we also like ACID compliance hence most of our other data (except on-site logs) are stored in a SQL Database (MariaDB for now)
Pros of MariaDB
- Drop-in mysql replacement149
- Great performance100
- Open source74
- Free55
- Easy setup44
- Easy and fast15
- Lead developer is "monty" widenius the founder of mysql14
- Also an aws rds service6
- Consistent and robust4
- Learning curve easy4
- Native JSON Support / Dynamic Columns2
- Real Multi Threaded queries on a table/db1