SQL Latency and Throughput
Our approach to SQL performance benchmarking is to use sysbench, an industry standard benchmkarking tool.

Performance Roadmap

Dolt is slower than MySQL. The goal is to get Dolt to within 2-4 times the speed of MySQL for common operations. If a query takes MySQL 1 second, we expect it to take Dolt 2-4 seconds. Or, if MySQL can run 8 queries in 10 seconds, then we want Dolt to run 2-4 queries in 10 seconds. The multiple column represents this relationship with regard to a particular benchmark.
It's important recognize that these are industry standard tests, and are OLTP oriented. Many Dolt use-cases are non-OLTP, and Dolt is fast for bulk operations common in, for example, data pipeline contexts.

Benchmark Data

Below are the results of running sysbench MySQL tests against Dolt SQL Server for the most recent release of Dolt. We will update this with every release. The tests attempt to run as many queries as possible in a fixed 2 minute time window. The Dolt and MySQL columns show the median latency of each query during that 2 minute time window.
The Dolt version is 0.32.1.
Read Tests
Dolt
MySQL
Multiple
covering_index_scan
10.46
1.37
8.0
index_scan
142.39
35.59
4.0
oltp_point_select
2.3
0.15
15.0
oltp_read_only
34.33
2.86
12.0
select_random_points
3.36
0.29
12.0
select_random_ranges
4.25
0.32
13.0
table_scan
155.8
35.59
4.0
mean
9.71
Write Tests
Dolt
MySQL
Multiple
bulk_insert
0.001
0.001
1.0
oltp_delete
3.3
0.15
22.0
oltp_insert
9.22
2.22
4.0
oltp_read_write
61.08
6.21
10.0
oltp_update_index
10.46
2.43
4.0
oltp_update_non_index
7.56
2.35
3.0
oltp_write_only
30.81
3.36
9.0
mean
7.57
Text
Text
Overall Mean Multiple
8.64
Last modified 1d ago
Export as PDF
Copy link