number of transactions actually processed: 28991
latency average = 20.694 ms
latency stddev = 4.759 ms
tps = 241.591310 (without initial connection time)
New
number of transactions actually processed: 5264042
latency average = 0.114 ms
latency stddev = 0.023 ms
tps = 43874.227030 (without initial connection time)
Adds an index to the scans id column. This speeds up queries by ~182x. Testing with:
Existing
New