Latency

Our approach to SQL performance benchmarking is to use sysbench, an industry standard benchmarking tool.

Performance Roadmap

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.

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.44.4.

Read Tests
MySQL
Dolt
Multiple

covering_index_scan

1.93

0.62

0.32

groupby_scan

13.7

16.41

1.2

index_join

1.44

2.3

1.6

index_join_scan

1.42

1.47

1.04

index_scan

34.33

46.63

1.36

oltp_point_select

0.18

0.27

1.5

oltp_read_only

3.49

5.37

1.54

select_random_points

0.34

0.59

1.74

select_random_ranges

0.37

0.62

1.68

table_scan

34.33

46.63

1.36

types_table_scan

75.82

123.28

1.63

reads_mean_multiplier

1.36

Write Tests
MySQL
Dolt
Multiple

oltp_delete_insert

8.74

6.21

0.71

oltp_insert

4.03

3.07

0.76

oltp_read_write

8.9

11.45

1.29

oltp_update_index

4.1

3.13

0.76

oltp_update_non_index

4.18

3.07

0.73

oltp_write_only

5.57

6.21

1.11

types_delete_insert

8.28

6.55

0.79

writes_mean_multiplier

0.88

TPC-C TPS Tests
MySQL
Dolt
Multiple

tpcc-scale-factor-1

97.12

41.19

2.36

tpcc_tps_multiplier

2.36

Last updated