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

Read TestsMySQLDoltMultiple

covering_index_scan

2.07

2.97

1.4

groupby_scan

13.22

17.32

1.3

index_join

1.34

5.28

3.9

index_join_scan

1.27

2.22

1.7

index_scan

34.33

53.85

1.6

oltp_point_select

0.17

0.51

3.0

oltp_read_only

3.36

8.28

2.5

select_random_points

0.33

0.81

2.5

select_random_ranges

0.39

0.97

2.5

table_scan

34.33

55.82

1.6

types_table_scan

74.46

137.35

1.8

reads_mean_multiplier

2.2

Write TestsMySQLDoltMultiple

oltp_delete_insert

7.98

6.21

0.8

oltp_insert

3.75

3.07

0.8

oltp_read_write

8.43

15.27

1.8

oltp_update_index

3.82

3.25

0.9

oltp_update_non_index

3.82

3.19

0.8

oltp_write_only

5.37

6.79

1.3

types_delete_insert

7.7

7.04

0.9

writes_mean_multiplier

1.0

TPC-C TPS TestsMySQLDoltMultiple

tpcc-scale-factor-1

101.76

24.53

4.4

tpcc_tps_multiplier

4.4

Overall Mean Multiple2.53

Last updated