Talking about the difference between MySQL and mariadb

        MariaDB is a fork of the MySQL source code that spun off after realizing what Oracle would do with MySQL licensing (MySQL was acquired by Sun, then Oracle). In addition to being a "drop-in replacement" for Mysql, MariaDB includes several new features that make it superior to MySQL.

        What is the essential difference between these two databases? I see that in the mariadb folder BIN is still mysql*.exe, except that MySQL will be closed source by ORACLE, while mariadb is open source. Is there any essential difference between the two?

Difference one:

        MariaDB is not just a replacement for Mysql, its main purpose is to innovate and improve Mysql technology.

 

Difference two:

        After Mr. Widenius, the father of MySQL, left Sun, he felt that it was unreliable to rely on Sun/Oracle to develop MySQL, so he decided to open a branch. The name of this branch was MariaDB.

        MariaDB is compatible with MySQL in most respects, and for developers, it hardly feels any different. At present, MariaDB is the fastest growing MySQL branch version, and the release speed of the new version has exceeded Oracle's official MySQL version.

        MariaDB is a MySQL branch version using the Aria storage engine. It is a free and open source database server developed by the company founded by Michael Widenius, the author of the original MySQL.

        More code for this project is adapted from MySQL 6.0, such as the "pool of threads" feature provided to solve the problem of multiple data connections. MariaDB 5.1.41 RC can be downloaded here, 32-bit and 64-bit compiled Linux version, also includes source code package. MariaDB is released under GPL 2.0.

        So for most MySQL users, it should not be difficult to switch from the current mainstream MySQL to MariaDB.

 

Difference three:

        The LAMP architecture flourished for a while, which is inseparable from the free and easy-to-use MySQL. However, after Oracle acquired Sun, many companies began to worry about the open source prospect of MySQL, and the recent move of Oracle to further close the source is even more difficult to feel at ease. Internet companies have begun to look for alternatives to MySQL.

        I have to mention Apple's foresight, which announced the migration to PostgreSQL at the beginning of Oracle's acquisition of Sun. But PostgreSQL is not designed from the original intention of MySQL, and it is not a suitable solution for most Internet companies using MySQL. In addition to Apple, Google, Facebook, and Twitter also use MySQL heavily, and have released their own MySQL branches/patches, which are adopted by many companies. At the same time, MySQL branches such as MariaDB and Percona have gradually entered the public eye.

        According to Wikipedia, MariaDB is a community-driven fork version of MySQL that uses the XtraDb storage engine. It was developed by MySQL founder Michael Widenius and is open sourced under the GPL v2.0 protocol. Because of the intervention of the founder of MySQL, MariaDB has attracted much attention. Many applications such as Drupal, MediaWiki, phpMyAdmin, and WordPress have announced their support for MariaDB.

        Also, Wikipedia developer Asher Feldman previously claimed to have migrated one of the English Wiki's slave databases from MySQL 5.1 + Facebook patch set to MariaDB 5.5.28. Through comprehensive testing, it is found that the query efficiency of MariaDB is increased by 3%-15%, with an average increase of 8%, and no exception occurs; in qp, the throughput is increased by 2%-10%. Due to the lack of data support, no conclusions can be drawn yet, but the test results alone appear to be very positive.

        Asher also said that MariaDB has made a lot of improvements in the use of indexes in joins and query optimization, especially in terms of sub-queries, but unfortunately it has not been covered yet, and it may take 1-2 months to fully upgrade. Finally, he emphasized that performance is not the main reason for Wikipedia to adopt MariaDB. They are interested in the open source nature of MariaDB, which is the only way to ensure the real openness of the community; in addition, MariaDB's good support for MySQL export is also very important, and the performance improvement is only Affiliate of Migration.

 

Article source: http://www.jb51.net/article/72416.htm

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326878554&siteId=291194637