Kerm Posted November 24, 2014 Share Posted November 24, 2014 (edited) Кто нибудь пробовал устанавливать престашоп не с MySQL базой данных, например подключить к MariaDB? Должно же заработать? Интересно как это повлияет на производительность. For all practical purposes, MariaDB is a binary drop in replacement of the same MySQL version (for example MySQL 5.1 -> MariaDB 5.1,MariaDB 5.2 & MariaDB 5.3 are compatible. MySQL 5.5 will be compatible with MariaDB 5.5). What this means is that: Data and table definition files (.frm) files are binary compatible. All client APIs, protocols and structs are identical. All filenames, binaries, paths, ports, sockets, and etc... should be the same. All MySQL connectors (PHP, Perl, Python, Java, .NET, MyODBC, Ruby, MySQL C connector etc) work unchanged with MariaDB.There are some installation issues with PHP5 that you should be aware of (a bug in how the old PHP5 client checks library compatibility). The mysql-client package also works with MariaDB server. The shared client library is binary compatible with MySQL's client library. This means that for most cases, you can just uninstall MySQL andinstall MariaDB and you are good to go. (No need to convert any datafiles if you use same main version, like 5.1). You must however still run mysql_upgrade to finish the upgrade. This is needed to ensure that your mysql privilege and event tables are updated with the new fields MariaDB uses. https://mariadb.com/kb/en/mariadb/mariadb-vs-mysql-compatibility/ Edited November 24, 2014 by Kerm (see edit history) Link to comment Share on other sites More sharing options...
absent Posted November 24, 2014 Share Posted November 24, 2014 Кто нибудь пробовал устанавливать престашоп не с MySQL базой данных, например подключить к MariaDB? Должно же заработать? Интересно как это повлияет на производительность. https://mariadb.com/kb/en/mariadb/mariadb-vs-mysql-compatibility/ пробовал вниз(-8-10%)... а вот percona +6-8% к скорости обработки sql Link to comment Share on other sites More sharing options...
Kerm Posted November 25, 2014 Author Share Posted November 25, 2014 Странно, я думал с mariadb наоборот будет повышение производительности.. Link to comment Share on other sites More sharing options...
Recommended Posts