MySQL is slower than it probably should be
We are planning to migrate our multi-website (one hosting, multiple websites) system from shared hosting to DO but got stuck at slow database speeds. Our current hosting DB selects 2000 rows from table in around 100ms while on DO it takes around 180ms (compared to 3ms on local nvme drive :O). Upgrading / switching to optimized droplets does not help at all. We tried to use MySQL 8, 5.7 and also MariaDB 10.1 with the same result.
This is causing the frontpage for our websites to be 40% slower than usual. Also AWS is running fast. Any ideas? We love DO that’s why we would like to use it.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×