1. Selection of MySQL distribution version
MySQL is the most popular database with main features:
- Simple: MySQL is very easy to use, and any technician with a little IT background can install, run and use MySQL by referring to the documentation without a teacher, and there is almost no threshold.
- Open source: Open source means popular and free.
- Support multiple storage engines: MySQL has multiple storage engines, each with its own advantages and disadvantages, you can choose to use: MyISAM, InnoDB, MERGE, MEMORY (HEAP), BDB (BerkeleyDB), EXAMPLE, FEDERATED, ARCHIVE, CSV, BLACKHOLE.
- Support high-availability architecture: The replication (master-slave replication) function provided by MySQL itself can realize real-time backup of MySQL data.
Choice of MySQL distribution:
- Percona Server branch
Percona Server is released by Percona, a leading MySQL consulting company.
Percona Server is an independent database product, which is fully compatible with MySQL, and the storage engine can be replaced with XtraDB without changing the code. is the closest version to the official MySQL Enterprise distribution.
Percona provides a high-performance XtraDB engine, as well as a PXC high-availability solution, and comes with DBA management toolboxes such as percona-toolkit.
- MariaDB
MariaDB was developed by the founder of MySQL. The purpose of MariaDB is to be fully compatible with MySQL, including API and command line, so that it can easily become a replacement for MySQL.
MariaDB provides the standard storage engines provided by MySQL, namely MyISAM and InnoDB, and XtraDB is used since version 10.0.9