Stable Release in branch 5.1
5.1.67
Released 25 Jan 2013
(13 years ago)
SoftwareMariaDB
Version5.1
Status
End of life
Initial release5.1.41
07 Jan 2010
(16 years ago)
Latest release5.1.67
25 Jan 2013
(13 years ago)
Community EOL01 Feb 2015
(Ended 11 years ago)
Enterprise EOL01 Feb 2015
(Ended 11 years ago)
Extended EOL01 Feb 2015
(Ended 11 years ago)
Release noteshttps://mariadb.com/kb/en/mariadb-5167-release-notes/
Source codehttps://github.com/mariadb/server/tree/mariadb-5.1.67
Documentationhttps://mariadb.com/kb/en/documentation/
MariaDB 5.1 ReleasesView full list

What Is New in MariaDB 5.1

MariaDB 5.1 is a community-focused release that builds upon its MySQL foundation, introducing new storage engines, performance enhancements, and extended SQL functionality. It's a direct continuation of the MySQL 5.1 codebase with added improvements and fixes.

Category Key Changes
New Features Pluggable Authentication, Microsecond Precision, New Storage Engines (PBXT, XtraDB, FederatedX)
Improvements Performance Optimizations, Enhanced SQL Standards Compliance, Better GIS Support
Security Pluggable Authentication Module (PAM) Support
Deprecated/Removed Some legacy MySQL features and engines marked for future removal

What new storage engines were introduced?

MariaDB 5.1 ships with several advanced storage engines not available in standard MySQL 5.1. This gives developers more choices to match their specific workload requirements.

The primary new engines include PBXT (PrimeBase XT), known for its high concurrency and crash safety, and XtraDB, a performance-enhanced fork of InnoDB. The FederatedX storage engine is also included, which is an advanced version of the original FEDERATED engine with additional capabilities.

In practice, having XtraDB available by default is a significant win as it often provides better performance and scalability out-of-the-box compared to the standard InnoDB.

How does Pluggable Authentication work?

MariaDB 5.1 introduces a Pluggable Authentication architecture, which is a major step forward for security and integration flexibility. This allows the database to use external authentication methods beyond its native system.

The key feature is the integration with Pluggable Authentication Modules (PAM). This means you can authenticate MariaDB users against system accounts, LDAP, or other centralized authentication systems that PAM supports.

This matters because it simplifies user management in corporate environments. You can now have a single set of credentials for system and database access, reducing administrative overhead and improving security consistency.

What performance enhancements were made?

Performance in MariaDB 5.1 received attention through both the new storage engines and optimizations to the core server. The focus was on improving concurrency and execution speed for common operations.

A notable improvement is the introduction of microsecond precision in temporal data types. Columns defined as TIME, DATETIME, and TIMESTAMP can now store fractional seconds up to six digits, which is crucial for applications requiring high-precision timing.

This level of precision is essential for financial applications, logging systems, and real-time analytics where events need to be ordered with extreme accuracy.

Was GIS support improved in this release?

Yes, MariaDB 5.1 includes enhancements to its Geographic Information System (GIS) capabilities, building on the spatial extensions introduced in MySQL. This release improves the implementation of OpenGIS standards.

The improvements include better handling of spatial data types and more robust functions for spatial analysis. For developers building location-aware applications, these enhancements provide a more reliable foundation for storing and querying geometric data.

While not a complete GIS solution, these upgrades make MariaDB more viable for applications that need basic spatial operations without requiring a dedicated spatial database.

FAQ

Is MariaDB 5.1 a drop-in replacement for MySQL 5.1?
Yes, for the most part. MariaDB 5.1 is designed to be binary compatible with MySQL 5.1. This means you can typically replace MySQL with MariaDB without needing to change your application code or data files. You get all the MySQL features plus the MariaDB enhancements.

Should I use the XtraDB storage engine over InnoDB?
In most cases, yes. XtraDB is a drop-in replacement for InnoDB that includes all of its features plus performance improvements, especially under heavy concurrent workloads. It's generally recommended unless you have a specific reason to use the standard InnoDB.

What is the main advantage of the PBXT engine?
The PBXT (PrimeBase XT) engine is optimized for high concurrency and offers strong crash safety. It's particularly well-suited for applications with heavy transactional workloads and those that require streaming data, as it was designed with web-based applications in mind.

How do I enable microsecond precision for timestamp columns?
You specify the fractional seconds precision in parentheses when defining your column. For example: CREATE TABLE example (log_time TIMESTAMP(6));. This will create a timestamp column that stores values with microsecond precision.

Can I use both old and new storage engines in the same database?
Absolutely. A single database can contain tables using different storage engines. This allows you to choose the best engine for each table's specific purpose, whether it's InnoDB for transactions, MyISAM for read-heavy workloads, or one of the new engines like XtraDB or PBXT.

Releases In Branch 5.1

VersionRelease date
5.1.6725 Jan 2013
(13 years ago)
5.1.6622 Nov 2012
(13 years ago)
5.1.6205 Apr 2012
(14 years ago)
5.1.6130 Mar 2012
(14 years ago)
5.1.5527 Feb 2011
(15 years ago)
5.1.5305 Dec 2010
(15 years ago)
5.1.5118 Nov 2010
(15 years ago)
5.1.5007 Sep 2010
(15 years ago)
5.1.4907 Aug 2010
(16 years ago)
5.1.4727 May 2010
(16 years ago)
5.1.4412 Mar 2010
(16 years ago)
5.1.4231 Jan 2010
(16 years ago)
5.1.42-rc28 Jan 2010
(16 years ago)
5.1.41-rc07 Jan 2010
(16 years ago)
5.1.4107 Jan 2010
(16 years ago)
5.1.39-beta14 Nov 2009
(16 years ago)
5.1.38-beta26 Oct 2009
(16 years ago)