Contents

10 million Nginx logs

Intro

In this article we’ll observe another test added to https://db-benchmarks.com/ - 10+ million standard HTTP logs collected by Nginx on ecommerce website zanbil.ir.

Data collection

We found the data collection on https://www.kaggle.com/datasets/eliasdabbas/web-server-access-logs and found it very interesting to make a test with since the dataset represents a very standard nginx http access log. Here’s an example:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
54.36.149.41 - - [22/Jan/2019:03:56:14 +0330] "GET /filter/27|13%20%D9%85%DA%AF%D8%A7%D9%BE%DB%8C%DA%A9%D8%B3%D9%84,27|%DA%A9%D9%85%D8%AA%D8%B1%20%D8%A7%D8%B2%205%20%D9%85%DA%AF%D8%A7%D9%BE%DB%8C%DA%A9%D8%B3%D9%84,p53 HTTP/1.1" 200 30577 "-" "Mozilla/5.0 (compatible; AhrefsBot/6.1; +http://ahrefs.com/robot/)" "-"
31.56.96.51 - - [22/Jan/2019:03:56:16 +0330] "GET /image/60844/productModel/200x200 HTTP/1.1" 200 5667 "https://www.zanbil.ir/m/filter/b113" "Mozilla/5.0 (Linux; Android 6.0; ALE-L21 Build/HuaweiALE-L21) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.158 Mobile Safari/537.36" "-"
31.56.96.51 - - [22/Jan/2019:03:56:16 +0330] "GET /image/61474/productModel/200x200 HTTP/1.1" 200 5379 "https://www.zanbil.ir/m/filter/b113" "Mozilla/5.0 (Linux; Android 6.0; ALE-L21 Build/HuaweiALE-L21) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.158 Mobile Safari/537.36" "-"
40.77.167.129 - - [22/Jan/2019:03:56:17 +0330] "GET /image/14925/productModel/100x100 HTTP/1.1" 200 1696 "-" "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)" "-"
91.99.72.15 - - [22/Jan/2019:03:56:17 +0330] "GET /product/31893/62100/%D8%B3%D8%B4%D9%88%D8%A7%D8%B1-%D8%AE%D8%A7%D9%86%DA%AF%DB%8C-%D9%BE%D8%B1%D9%86%D8%B3%D9%84%DB%8C-%D9%85%D8%AF%D9%84-PR257AT HTTP/1.1" 200 41483 "-" "Mozilla/5.0 (Windows NT 6.2; Win64; x64; rv:16.0)Gecko/16.0 Firefox/16.0" "-"
40.77.167.129 - - [22/Jan/2019:03:56:17 +0330] "GET /image/23488/productModel/150x150 HTTP/1.1" 200 2654 "-" "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)" "-"
40.77.167.129 - - [22/Jan/2019:03:56:18 +0330] "GET /image/45437/productModel/150x150 HTTP/1.1" 200 3688 "-" "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)" "-"
40.77.167.129 - - [22/Jan/2019:03:56:18 +0330] "GET /image/576/article/100x100 HTTP/1.1" 200 14776 "-" "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)" "-"
66.249.66.194 - - [22/Jan/2019:03:56:18 +0330] "GET /filter/b41,b665,c150%7C%D8%A8%D8%AE%D8%A7%D8%B1%D9%BE%D8%B2,p56 HTTP/1.1" 200 34277 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" "-"
40.77.167.129 - - [22/Jan/2019:03:56:18 +0330] "GET /image/57710/productModel/100x100 HTTP/1.1" 200 1695 "-" "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)" "-"
207.46.13.136 - - [22/Jan/2019:03:56:18 +0330] "GET /product/10214 HTTP/1.1" 200 39677 "-" "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)" "-"
40.77.167.129 - - [22/Jan/2019:03:56:19 +0330] "GET /image/578/article/100x100 HTTP/1.1" 200 9831 "-" "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)" "-"

Probably most of web sites in the Internet have a similar log. Many website admins and devops want to be able to process logs like this to do filtering and analytics.

After parsing by the framework there are 11 fields in the log:

  • 7 string fields
  • 4 integer fields

The whole list of fields and their data types is:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
"properties": {
  "remote_addr": {"type": "text"},
  "remote_user": {"type": "text"},
  "runtime": {"type": "long"},
  "time_local": {"type": "long"},
  "request_type": {"type": "text"},
  "request_path": {
    "type": "text",
    "fields": {
      "raw": {
        "type": "keyword"
      }
    }
  },
  "request_protocol": {"type": "text"},
  "status": {"type": "long"},
  "size": {"type": "long"},
  "referer": {"type": "text"},
  "usearagent": {"type": "text"}
}

We preliminarily convert the raw log to CSV so it’s easier to load to different databases and search engines.

Databases

So far we have made this test available for 3 databases:

In this test we make as little changes to database default settings as possible to not give either of them an unfair advantage. Testing at max tuning is no less important, but it’s a subject for another benchmark. Here we want to understand what latency a regular non-experienced user can get after just installing a database and running it with its default settings. But to make it fair to compare one with another we still had to change a few settings:

  • Clickhouse: no tuning , just CREATE TABLE ... ENGINE = MergeTree() ORDER BY id and standard clickhouse-server docker image.
  • Elasticsearch: we test in 2 modes:
  • Manticore Search is used in a form of their official docker image + the columnar library they provide :
    • we test Manticore’s default row-wise storage
    • and columnar storage since Elasticsearch and Clickhouse don’t provide row-oriented stores and it may be more fair to compare with Manticore running in this mode.
    • we added secondary_indexes = 1 to the config which enables secondary indexes while filtering (when loading data that’s built anyway). Since Elasticsearch uses secondary indexes by default and it’s fairly easy to enable the same in Manticore it makes sense to do it. Unfortunately in Clickhouse user would have to make quite an effort to do the same, hence it’s not done, since it would then be considered a heavy tuning which would then require further tuning of the other databases which would make things too complicated and unfair.

About caches

We’ve also configured the databases to not use any internal caches. Why this is important:

  1. In this benchmark, we conduct an accurate latency measurement to find out what response time users can expect if they run one of the tested queries at a random moment, not after running the same query many times consequently.
  2. Any cache is a shortcut to low latency. As written in Wikipedia “cache stores data so that future requests for that data can be served faster”. But caches are different, they can be divided into 2 main groups:
    • đź‘Ś those that just cache raw data stored on disk. For example many databases use mmap() to map the data stored on disk to memory, access it easily and let the operating system take care about the rest (reading it from disk when there’s free memory, removing it from memory when it’s needed for something more important etc). This is ok in terms of performance testing, because we let each database leverage the benefit of using the OS page cache (or its internal similar cache that just reads data from disk) That’s exactly what we do in this benchmark.

    • âť— those that are used to save results of previous calculations. And it’s fine in many cases, but in terms of this benchmark letting database enable such a cache is a bad idea, because:

      • it breaks proper measuring: instead of measuring calculation time you start measuring how long it takes to find a value by a key in memory. It’s not something we want to do in this test (but it’s interesting in general and we’ll perhaps do it in the future and publish some article “Benchmark of caches”).
      • even if they save not a full result of a particular query, but results of its sub-calculations it’s not good, because it breaks the idea of the test - “what response time users can expect if they run one of the tested queries at a random moment”.
      • some databases have such a cache (it’s usually called “query cache”), others don’t so if we don’t disable database internal caches we’ll give an unfair advantage to those having that.

      So we do everything to make sure none of the database does this kind of caching.

What exactly we do to achieve that:

  • Clickhouse:
    • SYSTEM DROP MARK CACHE, SYSTEM DROP UNCOMPRESSED CACHE, SYSTEM DROP COMPILED EXPRESSION CACHE before testing each new query (not each attempt of the same query).
  • Elasticsearch:
    • "index.queries.cache.enabled": false in its configuration
    • /_cache/clear?request=true&query=true&fielddata=true before testing each new query (not each attempt of the same query).
  • Manticore Search (in configuration file):
    • qcache_max_bytes = 0
    • docstore_cache_size = 0
  • Operating system:
    • we do echo 3 > /proc/sys/vm/drop_caches; sync before each NEW query (NOT each attempt). I.e. for each new query we:
      • stop database
      • drop OS cache
      • start it back
      • make the very first cold query and measure its time
      • and make tens more attempts (up to 100 or until the coefficient of variation is low enough to consider the test results high quality)

Queries

The queries are mostly analytical that do filtering, sorting and grouping, but we’ve also included one full-text query which searches in the request URL:

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
[
  {
    "default": "select avg(size) avg_size, status from logs10m group by status order by avg_size desc limit 20",
    "manticoresearch": "select avg(size) avg_size, status from logs10m group by status order by avg_size desc limit 20",
    "elasticsearch": "select avg(size) avg_size, status from logs10m group by status order by avg_size desc limit 20",
    "clickhouse": "select avg(size) avg_size, status from logs10m group by status order by avg_size desc limit 20",
    "meilisearch": "-",
    "quickwit": {
      "path": "/api/v1/logs10m/search/",
      "query": {
        "query": "*",
        "max_hits": 0,
        "aggs": {
          "status_avg": {
            "terms": {
              "field": "status",
              "size": 20,
              "order": {
                "avg_field": "desc"
              }
            },
            "aggs": {
              "avg_field": {
                "avg": {
                  "field": "size"
                }
              }
            }
          }
        }
      },
      "retrieve": null,
      "mapping": {
        "status_avg": {
          "buckets": {
            "[]": {
              "avg_field": {
                "value": "avg_size: float"
              },
              "key": "status: int"
            }
          }
        }
      }
    }
  },
  {
    "default": "select count(*) as cnt, avg(runtime), avg(size) from logs10m where match('@request_path settings logo') order by cnt desc limit 20",
    "manticoresearch": "select count(*) as cnt, avg(runtime), avg(size) from logs10m where match('@request_path settings logo') order by cnt desc limit 20",
    "elasticsearch": "select count(*) as cnt, avg(runtime), avg(size) from logs10m WHERE match(request_path, 'settings') AND match(request_path, 'logo') order by cnt desc limit 20",
    "clickhouse": "select count(*) as cnt, avg(runtime), avg(size) from logs10m where (match(request_path, '(?i)(\\W|\\A)settings\\Wlogo(\\W|\\z)') or match(request_path, '(?i)(\\W|\\A)logo\\Wsettings(\\W|\\z)')) limit 20 FORMAT JSON",
    "meilisearch": "-",
    "quickwit": {
      "path": "/api/v1/logs10m/search/",
      "query": {
        "query": "settings logo",
        "search_field": "request_path",
        "max_hits": 0,
        "aggs": {
          "request_path_count": {
            "terms": {
              "field": "request_path",
              "size": 20,
              "order": {
                "_count": "desc"
              }
            },
            "aggs": {
              "avg_runtime": {
                "avg": {
                  "field": "runtime"
                }
              },
              "avg_size": {
                "avg": {
                  "field": "size"
                }
              }
            }
          }
        }
      },
      "retrieve": null,
      "mapping": {
        "request_path_count": {
          "buckets": {
            "[]": {
              "avg_runtime": {
                "value": "avg(runtime) :float"
              },
              "avg_size": {
                "value": "avg(size) :float"
              },
              "doc_count": "cnt :int"
            }
          }
        }
      }
    }
  },
  {
    "default": "select count(*) from logs10m",
    "meilisearch": [
      "/indexes/logs10m/stats",
      []
    ],
    "quickwit": {
      "path": "/api/v1/logs10m/search/",
      "query": {
        "query": "*",
        "max_hits": 0,
        "aggs": {
          "count(*)": {
            "value_count": {
              "field": "id"
            }
          }
        }
      },
      "retrieve": null,
      "mapping": null
    }
  },
  {
    "default": "select count(*), avg(runtime) from logs10m group by status limit 20",
    "manticoresearch": "select count(*), avg(runtime) from logs10m group by status limit 20",
    "elasticsearch": "select count(*), avg(runtime) from logs10m group by status limit 20",
    "clickhouse": "select count(*), avg(runtime) from logs10m group by status limit 20",
    "meilisearch": "-",
    "quickwit": {
      "path": "/api/v1/logs10m/search/",
      "query": {
        "query": "*",
        "max_hits": 0,
        "aggs": {
          "status_count_avg_runtime": {
            "terms": {
              "field": "status",
              "size": 20
            },
            "aggs": {
              "count": {
                "value_count": {
                  "field": "status"
                }
              },
              "avg_runtime": {
                "avg": {
                  "field": "runtime"
                }
              }
            }
          }
        }
      },
      "retrieve": null,
      "mapping": {
        "status_count_avg_runtime": {
          "buckets": {
            "[]": {
              "avg_runtime": {
                "value": "avg(runtime) :float"
              },
              "count": {
                "value": "count(*) :int"
              }
            }
          }
        }
      }
    }
  },
  {
    "default": "select count(distinct request_path) cnt_distinct, status from logs10m group by status order by cnt_distinct desc limit 20",
    "manticoresearch": "select count(distinct request_path) cnt_distinct, status from logs10m group by status order by cnt_distinct desc limit 20",
    "elasticsearch": "select count(distinct request_path) cnt_distinct, status from logs10m group by status order by cnt_distinct desc limit 20",
    "clickhouse": "select count(distinct request_path) cnt_distinct, status from logs10m group by status order by cnt_distinct desc limit 20",
    "meilisearch": "-",
    "quickwit": "-"
  },
  {
    "default": "select min(size) min_size, status from logs10m group by status order by min_size desc, status desc limit 20",
    "manticoresearch": "select min(size) min_size, status from logs10m group by status order by min_size desc, status desc limit 20",
    "elasticsearch": "select min(size) min_size, status from logs10m group by status order by min_size desc, status desc limit 20",
    "clickhouse": "select min(size) min_size, status from logs10m group by status order by min_size desc, status desc limit 20",
    "meilisearch": "-",
    "quickwit": "-"
  },
  {
    "default": "select request_path, runtime, status, size from logs10m where size > 0 order by runtime desc, size asc limit 20",
    "meilisearch": [
      "/indexes/logs10m/search",
      {
        "attributesToRetrieve": [
          "request_path",
          "runtime",
          "status",
          "size"
        ],
        "filter": "size > 0",
        "sort": [
          "runtime:desc",
          "size:asc"
        ],
        "limit": 20
      }
    ],
    "quickwit": "-"
  },
  {
    "default": "select request_path, runtime, status, size, time_local from logs10m order by runtime desc, size desc, time_local desc limit 20",
    "meilisearch": [
      "/indexes/logs10m/search",
      {
        "attributesToRetrieve": [
          "request_path",
          "runtime",
          "status",
          "size",
          "time_local"
        ],
        "sort": [
          "runtime:desc",
          "size:desc",
          "time_local:desc"
        ],
        "limit": 20
      }
    ],
    "quickwit": "-"
  },
  {
    "default": "select status, count(*) from logs10m group by status order by count(*) desc limit 20",
    "manticoresearch": "select status, count(*) from logs10m group by status order by count(*) desc limit 20",
    "elasticsearch": "select status, count(*) from logs10m group by status order by count(*) desc limit 20",
    "clickhouse": "select status, count(*) from logs10m group by status order by count(*) desc limit 20",
    "meilisearch": "-",
    "quickwit": {
      "path": "/api/v1/logs10m/search/",
      "query": {
        "query": "*",
        "max_hits": 0,
        "aggs": {
          "status_count": {
            "terms": {
              "field": "status",
              "size": 20,
              "order": {
                "_count": "desc"
              }
            }
          }
        }
      },
      "retrieve": null,
      "mapping": {
        "status_count": {
          "buckets": {
            "[]": {
              "doc_count": "count(*) :int",
              "key": "status :int"
            }
          }
        }
      }
    }
  },
  {
    "default": "select status, sum(runtime) from logs10m group by status order by count(*) desc limit 20",
    "manticoresearch": "select status, sum(runtime) from logs10m group by status order by count(*) desc limit 20",
    "elasticsearch": "select status, sum(runtime) from logs10m group by status order by count(*) desc limit 20",
    "clickhouse": "select status, sum(runtime) from logs10m group by status order by count(*) desc limit 20",
    "meilisearch": "-",
    "quickwit": {
      "path": "/api/v1/logs10m/search/",
      "query": {
        "query": "*",
        "max_hits": 0,
        "aggs": {
          "status_count_sum_runtime": {
            "terms": {
              "field": "status",
              "size": 20,
              "order": {
                "_count": "desc"
              }
            },
            "aggs": {
              "runtime_sum": {
                "sum": {
                  "field": "runtime"
                }
              }
            }
          }
        }
      },
      "retrieve": null,
      "mapping": {
        "status_count_sum_runtime": {
          "buckets": {
            "[]": {
              "runtime_sum": {
                "value": "sum(runtime) :int"
              },
              "key": "status :int"
            }
          }
        }
      }
    }
  },
  {
    "default": "select count(*) as cnt, request_path, avg(runtime), avg(size) from logs10m group by request_path order by cnt desc limit 20",
    "manticoresearch": "select count(*) as cnt, request_path, avg(runtime), avg(size) from logs10m group by request_path order by cnt desc limit 20",
    "elasticsearch": "select count(*) as cnt, request_path, avg(runtime), avg(size) from logs10m group by request_path order by cnt desc limit 20",
    "clickhouse": "select count(*) as cnt, request_path, avg(runtime), avg(size) from logs10m group by request_path order by cnt desc limit 20",
    "meilisearch": "-",
    "quickwit": {
      "path": "/api/v1/logs10m/search/",
      "query": {
        "query": "*",
        "max_hits": 0,
        "aggs": {
          "request_path_aggregation": {
            "terms": {
              "field": "request_path",
              "size": 20,
              "order": {
                "_count": "desc"
              }
            },
            "aggs": {
              "count": {
                "value_count": {
                  "field": "request_path"
                }
              },
              "avg_runtime": {
                "avg": {
                  "field": "runtime"
                }
              },
              "avg_size": {
                "avg": {
                  "field": "size"
                }
              }
            }
          }
        }
      },
      "retrieve": null,
      "mapping": {
        "request_path_aggregation": {
          "buckets": {
            "[]": {
              "avg_runtime": {
                "value": "avg(runtime) :float"
              },
              "avg_size": {
                "value": "avg(size) :float"
              },
              "doc_count": "cnt :int",
              "key": "request_path"
            }
          }
        }
      }
    }
  },
  {
    "default": "select request_path, count(*), avg(runtime) runtime_avg, avg(size) from logs10m group by request_path order by runtime_avg desc limit 20",
    "manticoresearch": "select request_path, count(*), avg(runtime) runtime_avg, avg(size) from logs10m group by request_path order by runtime_avg desc limit 20",
    "elasticsearch": "select request_path, count(*), avg(runtime) runtime_avg, avg(size) from logs10m group by request_path order by runtime_avg desc limit 20",
    "clickhouse": "select request_path, count(*), avg(runtime) runtime_avg, avg(size) from logs10m group by request_path order by runtime_avg desc limit 20",
    "meilisearch": "-",
    "quickwit": {
      "path": "/api/v1/logs10m/search/",
      "query": {
        "query": "*",
        "max_hits": 0,
        "aggs": {
          "request_path_aggregation": {
            "terms": {
              "field": "request_path",
              "size": 20,
              "order": {
                "avg_runtime": "desc"
              }
            },
            "aggs": {
              "count": {
                "value_count": {
                  "field": "request_path"
                }
              },
              "avg_runtime": {
                "avg": {
                  "field": "runtime"
                }
              },
              "avg_size": {
                "avg": {
                  "field": "size"
                }
              }
            }
          }
        }
      },
      "retrieve": null,
      "mapping": {
        "request_path_aggregation": {
          "buckets": {
            "[]": {
              "avg_runtime": {
                "value": "runtime_avg :int"
              },
              "avg_size": {
                "value": "avg(size) :int"
              },
              "doc_count": "count(*) :int",
              "key": "request_path"
            }
          }
        }
      }
    }
  }
]

Results

You can find all the results on the results page by selecting “Test: logs10m”.

Remember that the only high quality metric is “Fast avg” since it guarantees low coefficient of variation and high queries count conducted for each query. The other 2 (“Fastest” and “Slowest”) are provided with no guarantee since:

  • Slowest - is a single attempt result, in most cases the very first coldest query. Even though we purge OS cache before each cold query it can’t be considered stable. So it can be used for informational purposes only (even though many benchmark authors publish such results without any disclaimer).
  • Fastest - just the very fastest result, it should be in most cases similar to the “Fast avg” metric, but can be more volatile from run to run.

Remember the tests including the results are 100% transparent as well as everything in this project, so:

Unlike other less transparent and less objective benchmarks we are not making any conclusions, we are just leaving screenshots of the results here:

3 competitors with no tuning at once

/test-logs10m/msr_es_ch.png

Unfortunately Elasticsearch timed out for 2 queries, hence they were excluded from the final score calculation.

Elasticsearch with no tuning vs Manticore Search (default row-wise storage)

/test-logs10m/es_msr.png

Unfortunately Elasticsearch timed out for 2 queries, hence they were excluded from the final score calculation.

Elasticsearch with no tuning vs tuned

/test-logs10m/es_est.png

Unfortunately Elasticsearch timed out for 2 queries, hence they were excluded from the final score calculation.

Elasticsearch tuned vs Manticore Search (default row-wise storage)

/test-logs10m/est_msr.png

Unfortunately Elasticsearch timed out for 2 queries, hence they were excluded from the final score calculation.

Elasticsearch tuned vs Manticore Search (columnar storage)

/test-logs10m/est_msc.png

Unfortunately Elasticsearch timed out for 2 queries, hence they were excluded from the final score calculation.

Clickhouse vs Manticore Search (columnar storage)

/test-logs10m/ch_msc.png

Manticore Search row-wise vs columnar

/test-logs10m/msr_msc.png

Disclaimer

The author of this test and the test framework is a member of Manticore Search core team and the test was initially made to compare Manticore Search with Elasticsearch, but as shown above and can be verified in the open source code and by running the same test yourself Manticore Search wasn’t given any unfair advantage, so the test can be considered unprejudiced. However, if something is missing or wrong (i.e. non-objective) in the test feel free to make a pull request or an issue on Github . Your take is appreciated! Thank you for spending your time reading this!