Latency
Last updated
Last updated
Our approach to SQL performance benchmarking is to use sysbench
, an industry standard benchmarking tool.
Dolt is slower than MySQL. The goal is to get Dolt to match MySQL latency for common operations. Dolt is currently 2X slower than MySQL, approximately 1.5X on writes and 2.5X on reads. 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. Performance results may vary but Dolt is generally competitive on latency with MySQL and Postgres.
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.43.13
.
Read Tests | MySQL | Dolt | Multiple |
---|---|---|---|
Write Tests | MySQL | Dolt | Multiple |
---|---|---|---|
TPC-C TPS Tests | MySQL | Dolt | Multiple |
---|---|---|---|
Overall Mean Multiple | 1.60 |
---|---|
covering_index_scan
2.11
0.61
0.3
groupby_scan
12.98
16.71
1.3
index_join
1.37
2.26
1.6
index_join_scan
1.3
1.82
1.4
index_scan
34.33
55.82
1.6
oltp_point_select
0.18
0.27
1.5
oltp_read_only
3.49
5.37
1.5
select_random_points
0.34
0.65
1.9
select_random_ranges
0.39
0.64
1.6
table_scan
34.95
55.82
1.6
types_table_scan
75.82
147.61
1.9
reads_mean_multiplier
1.5
oltp_delete_insert
7.98
5.77
0.7
oltp_insert
3.75
2.91
0.8
oltp_read_write
8.58
11.24
1.3
oltp_update_index
3.89
2.91
0.7
oltp_update_non_index
3.89
2.86
0.7
oltp_write_only
5.37
5.88
1.1
types_delete_insert
7.7
6.09
0.8
writes_mean_multiplier
0.9
tpcc-scale-factor-1
99.97
41.75
2.4
tpcc_tps_multiplier
2.4