Not so long ago I bought a Raspberry Pi 4 4GB wanting to host my project on it. The problem I face now is that MySQL is not available on Debian anymore and MariaDB is not cutting it for me. I've tried MariaDB and it failed, mostly timing out on queries that have no problem using MySQL. I don't care that MariaDB is forked from MySQL before Oracle takeover and I certainly do not cut corners and replace my database provider because of Debian. The two databases are more and more different with every release.
The problem is that I can not find a viable workaround. I've found docker images containing MySQL as a first try at a workaround. The server works ok, but the problem is that the Raspberry becomes unusable when any docker container is running. I can't remote with xrdp into it anymore. Even on ssh it stutters a lot when writing commands. I've installed RPi-Monitor and it does not seem like the containers are doing anything to the resources, so I got no idea where this is coming from. I'm running Raspbian on a 120GB Kingston SSD without an SD card, so storage speed should not be a problem.
Does anyone know how I can solve the performance problem when running docker containers? Or, even better, does anyone know any other workaround for this MySQL problem?
Thanks!