Database Components - MariaDB

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

SkySQL Ab Tekniikantie 12 02150 Espoo Finland

w: www.skysql.com e: sales@skysql.com

Database Components: MariaDB


What is it?
MariaDB is an enhanced, drop-in replacement for the MySQL database server and is available under the GPL v2 license. It is developed by the MariaDB community with the MariaDB Foundation as its main steward. The project maintains its own set of security patches on top of MySQL. Indeed many of the security issues found in MySQL and MariaDB have been found and reported by the MariaDB team. MariaDB is kept up to date with the latest MySQL release from the same branch and in most respects MariaDB will work exactly the same as MySQL. All commands, interfaces, libraries and APIs that exist in MySQL also exist in MariaDB. There is no need to convert databases to switch to MariaDB. MariaDB is a true drop in replacement of MySQL! Additionally, MariaDB has many nice new features that you can take advantage of. The current stable MariaDB release is MariaDB 5.5. The development release is MariaDB 10.0. The previous stable release is MariaDB 5.3. The road map on http://mariadb.org/jira will let you know when to expect the next release of MariaDB. Of course, the quality constraints mean that the timelines given are only an estimate.

How does it work?


MariaDB uses the same architecture and the same code structure as MySQL, this is why it can mantain

compatibility. There is however, a long list of improvements to the original MySQL code, including: More Storage Engines In addition to the standard MyISAM, Blackhole, CSV, Memory, and Archive storage engines, the following are also included with MariaDB Source and Binary packages: Aria XtraDB (drop-in replacement for InnoDB) FederatedX (drop-in replacement for Federated) OQGRAPH new in 5.2 SphinxSE new in 5.2 Cassandra in MariaDB-10.0 Speed improvements A lot of optimizer enhancements in MariaDB 5.3. Sub queries are now nally usable! Check out the complete list compared to MySQL. You can nd a benchmark here. Faster and safer replication: Group commit for the binary log. This makes many congurations which use replication under a high update load more than 2x times faster. Pool of Threads in MariaDB 5.1 and even better in MariaDB 5.5. This allows you to run MariaDB with 200,000+ connections and with a notable speed improvement when using many connections. Use of the Aria storage engine enables faster complex queries (queries which normally use disk-based temporary tables).

www.skysql.com

The Aria storage engine is used for internal temporary tables, which should give you a speedup when doing complex selects. Aria is usually faster for temporary tables when compared to MyISAM because Aria caches row data in memory and normally doesnt have to write the temporary rows to disk. The test suite is extended and now runs much faster than before even though it tests more things. Extensions & new features The MariaDB team has added many new features to MariaDB. If a patch or feature is useful, safe, and stable every eort is made to include it in MariaDB. The most notable features are: Microseconds in MariaDB new in 5.3 Virtual Columns new in 5.2 Extended User Statistics new in 5.2 Pluggable Authentication new in 5.2 Storage-engine-specic CREATE TABLE new in 5.2 Enhancements to INFORMATION SCHEMA.PLUGINS table new in 5.2 Group commit for the binary log. This makes replication notably faster! new in 5.3 Added --rewrite-db mysqlbinlog option to change the used database new in 5.2 Progress reporting for ALTER TABLE and LOAD DATA INFILE. new in 5.3 Faster joins and subqueries. new in 5.3 HandlerSocket and faster HANDLER calls. new in 5.3 Dynamic Columns support. new in 5.3 Multi-source replication. new in 10.0 SHOW EXPLAIN gives you the EXPLAIN plan for a query running in another thread. new in 10.0 For a full list, please see features for each release. Better Testing

www.skysql.com

More tests in the test suite. Bugs in tests are actually xed. Test builds with dierent congure options to get better feature testing. Removal of invalid tests. (e.g. Dont test feature X if that feature is not in the build you are testing.) Fewer warnings and bugs Bugs are bad. Fix as many bugs as possible and try to not introduce new ones. Compiler warnings are also bad. Eliminate as many compiler warnings as possible. Truly Open Source All code in MariaDB is released under GPL, LPGL or BSD. MariaDB does not have closed source modules like those you can nd in MySQL Enterprise Edition. In fact, all the closed source features in MySQL 5.5 Enterprise Edition are found in the MariaDB open source version. MariaDB includes test cases for all xed bugs. Oracle doesnt provide test cases for new bugs xed in MySQL 5.5. All bugs and development plans are public. MariaDB is developed by the community in true open source spirit.

Resources
MariaDB foundation: www.mariadb.org Release features: mariadb.com/kb/en/what-is-in-the-dierent-mariadb-releases MySQL compatibility: mariadb.com/kb/en/mariadb-versus-mysql-compatibility Bugs dashboard: mariadb.atlassian.net/secure/Dashboard.jspa MariaDB new features: https://mariadb.com/kb/en/mariadb-versus-mysql-features MariaDB whitepapers: montyprogram.com/whitepapers Optimizer benchmarks: blog.mariadb.org/mariadb-5-3-optimizer-benchmark

www.skysql.com

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy