DBaaS Beyond the Hyperscalers, Part 1: MySQL Performance Research objective In this series of posts we want to look at the non-hyperscaler cloud providers that offer MySQL and PostgreSQL DBaaS (DataBase as a Service) and answer two questions: which service delivers the most throughput out of the box, and which one gives the best cost efficiency per transaction. The providers may sell the same shapes, but their performance can be very different. Also, the transaction cost is another factor apart from performance. The current part covers MySQL performance. Part 2 covers PostgreSQL performance, and Part 3 covers cost efficiency for both. Details of the setup, workloads and metrics are in the Test Setup and Methodology reference. What we tested Each provider’s managed MySQL was tested at the same size, a typical startup-level general purpose tier: 4 shared vCPU, 16 GB RAM and 150 to 350 GB of SSD/NVMe storage. The services were benchmarked with Sysbench and HammerDB at three data set sizes (about 16, 32 and 64 GB), using the default configuration each provider applies.
Provider Plan / Tier MySQL Version
Scaleway DB-PRO2-XS 8.0.21
UpCloud Managed Database – Standard 8.4.11
Vultr Startup General Purpose Optimised 8.4.11
OVHcloud Discovery B3-16 8.4.11
Exoscale Startup-16 8.4.11
Key findings
Exoscale was the fastest in every Sysbench scenario, with peak throughput almost 3.5 times that of the slowest provider (Scaleway). Vultr, UpCloud and OVHcloud performed close to each other, between the two. Scaleway was the slowest and had the highest latency. It is the only provider still on MySQL 8.0, which may explain part of the gap. UpCloud did better in HammerDB than in Sysbench, but its service switched to read-only mode under heavy load, so not all runs completed.
Sysbench throughput Exoscale leads, Scaleway trails, and the other three are close together. Graph 1: Sysbench with 10M rows per table [ graph ] [ table ]
Exoscale is the clear leader in TPS. Vultr, UpCloud and OVHcloud are close to each other, and Scaleway showed the lowest performance. Since Scaleway is the only provider running MySQL 8.0 (the others use MySQL 8.4), the older server version may account for at least part of the difference. The providers keep the same order with partially buffered data (20M rows per table) and in the more I/O-bound scenario (40M rows per table). See the interactive graphs for 20M rows and 40M rows. Sysbench peak throughput Exoscale’s peak is almost 3.5 times Scaleway’s. Graph 2: Sysbench peak output with 10M rows per table [ graph ] [ table ]
P95 latency Latency follows throughput: the fastest service responds quickest. Graph 3: P95 latency [ graph ] [ table ]
Exoscale has the lowest latency and Scaleway the highest, with the other providers grouped in the middle. Latency for 20M rows and 40M rows per table shows the same pattern. The higher latency for Scaleway is likely coming from the bandwidth limitation of 350 Mbps imposed on its compute instances used to run the benchmarks. While some providers put the transfer limit and charge extra cost for out of limit use, nobody else limited the network speed of the client to such a low number. Interesting that the database service had no speed limit, the weak link was the client connection. Even though it affected the throughput, running a client compute outside of the Scaleway network would cost even higher delays. Higher network speeds were available for disproportionally larger and expensive compute shapes compared to the database itself. In other words, the full potential of a startup Scaleway database service could not be fully realized using solutions for startup use alone. HammerDB (TPC-C) The ranking is similar to Sysbench, with UpCloud doing better. Graph 4: HammerDB with 160 warehouses [ graph ] [ table ]
The performance distribution in HammerDB is similar to Sysbench, but UpCloud performs better here. Interactive graphs: 320 warehouses and 640 warehouses. A note on reliability All benchmarks ran three times to reduce noise from neighboring tenants on shared vCPUs. UpCloud’s managed MySQL did not always handle the elevated load: it kept switching the server into read-only mode, which disrupted testing, so not all of its runs produced results. Next: PostgreSQL performance Part 2 runs the managed PostgreSQL services of the same providers through HammerDB. Part 3 compares what each service costs per hour and how many transactions $1 buys on each one, for both databases. The post DBaaS Beyond the Hyperscalers, Part 1: MySQL Performance appeared first on Percona.






