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

Read TestsMySQLDoltMultiple

covering_index_scan

2.11

3.07

1.5

groupby_scan

12.98

17.63

1.4

index_join

1.34

5.28

3.9

index_join_scan

1.27

2.26

1.8

index_scan

34.33

54.83

1.6

oltp_point_select

0.17

0.54

3.2

oltp_read_only

3.36

8.74

2.6

select_random_points

0.33

0.84

2.5

select_random_ranges

0.39

0.99

2.5

table_scan

34.33

55.82

1.6

types_table_scan

74.46

164.45

2.2

reads_mean_multiplier

2.3

Write TestsMySQLDoltMultiple

oltp_delete_insert

7.84

6.91

0.9

oltp_insert

3.75

3.36

0.9

oltp_read_write

8.28

16.41

2.0

oltp_update_index

3.82

3.49

0.9

oltp_update_non_index

3.82

3.43

0.9

oltp_write_only

5.28

7.98

1.5

types_delete_insert

7.7

7.56

1.0

writes_mean_multiplier

1.2

TPC-C TPS TestsMySQLDoltMultiple

tpcc-scale-factor-1

101.95

19.63

4.5

tpcc_tps_multiplier

4.5

Overall Mean Multiple2.67

Last updated