Latency
Our approach to SQL performance benchmarking is to use sysbench
, an industry standard benchmarking tool. We also benchmark Dolt using TPC-C, an industry standard transactional throughput metric.
Performance Roadmap
Dolt is slightly slower than MySQL on the sysbench
test suite. The goal is to get Dolt to match MySQL latency for common operations. Dolt is currently 10% slower than MySQL, approximately 10% faster on writes and 33% slower on reads. The multiple
column represents this relationship with regard to a particular benchmark.
Dolt gets about 40% of the transactional throughput on TPC-C than MySQL, 40 transactions per second versus about 100 for MySQL. Most applications are not sensitive to transactional throughput beyond a handful per second.
It's important recognize that these are industry standard tests, and are OLTP oriented. Performance results may vary but Dolt is generally competitive on latency with MySQL and Postgres.
Benchmark Data
Below are the results of running sysbench
MySQL tests against Dolt SQL Server for the most recent release of Dolt in the current default storage format. 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 in milliseconds (ms) of each query during that 2 minute time window.
The Dolt version is 1.49.1
.
covering_index_scan
1.89
0.65
0.34
groupby_scan
13.22
18.61
1.41
index_join
1.47
2.48
1.69
index_join_scan
1.44
1.47
1.02
index_scan
34.33
31.37
0.91
oltp_point_select
0.18
0.27
1.5
oltp_read_only
3.49
5.37
1.54
select_random_points
0.33
0.61
1.85
select_random_ranges
0.37
0.64
1.73
table_scan
34.33
33.72
0.98
types_table_scan
75.82
123.28
1.63
reads_mean_multiplier
1.33
oltp_delete_insert
9.06
6.32
0.7
oltp_insert
4.1
3.13
0.76
oltp_read_write
9.06
11.65
1.29
oltp_update_index
4.18
3.19
0.76
oltp_update_non_index
4.18
3.07
0.73
oltp_write_only
5.77
6.32
1.1
types_delete_insert
8.43
6.67
0.79
writes_mean_multiplier
0.88
tpcc-scale-factor-1
96.45
39.6
2.44
tpcc_tps_multiplier
2.44
Last updated
Was this helpful?