Jump to content

Использовать не MySQL в качестве базы данных.


Recommended Posts

Кто нибудь пробовал устанавливать престашоп не с 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.
  • 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 by Kerm (see edit history)
Link to comment
Share on other sites

Кто нибудь пробовал устанавливать престашоп не с 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

×
×
  • Create New...