Skip to content

Improve sort-query performance by retaining the default totalHitsThreshold for approximated match_all queries #18189

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 6, 2025

Conversation

prudhvigodithi
Copy link
Member

@prudhvigodithi prudhvigodithi commented May 2, 2025

Description

Note: Seen some slight perf gains for desc_sort_timestamp and asc_sort_timestamp with this change.

|                                                 Max Throughput | asc_sort_timestamp |        2.01 |  ops/s |
|                                        50th percentile latency | asc_sort_timestamp |     8.19257 |     ms |
|                                        90th percentile latency | asc_sort_timestamp |     8.55512 |     ms |
|                                        99th percentile latency | asc_sort_timestamp |     8.84471 |     ms |
|                                       100th percentile latency | asc_sort_timestamp |     9.83502 |     ms |
|                                   50th percentile service time | asc_sort_timestamp |     6.81228 |     ms |
|                                   90th percentile service time | asc_sort_timestamp |     6.98725 |     ms |
|                                   99th percentile service time | asc_sort_timestamp |     7.15612 |     ms |
|                                  100th percentile service time | asc_sort_timestamp |     8.87238 |     ms |
|                                                     error rate | asc_sort_timestamp |           0 |      % |

|                                                 Max Throughput | desc_sort_timestamp |        2.01 |  ops/s |
|                                        50th percentile latency | desc_sort_timestamp |     8.47555 |     ms |
|                                        90th percentile latency | desc_sort_timestamp |      8.8739 |     ms |
|                                        99th percentile latency | desc_sort_timestamp |     9.04451 |     ms |
|                                       100th percentile latency | desc_sort_timestamp |     9.10191 |     ms |
|                                   50th percentile service time | desc_sort_timestamp |     7.17559 |     ms |
|                                   90th percentile service time | desc_sort_timestamp |     7.27362 |     ms |
|                                   99th percentile service time | desc_sort_timestamp |     7.35997 |     ms |
|                                  100th percentile service time | desc_sort_timestamp |     7.40303 |     ms |
|                                                     error rate | desc_sort_timestamp |           0 |      % |

Related Issues

Resolves #18206

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@prudhvigodithi
Copy link
Member Author

prudhvigodithi commented May 2, 2025

@prudhvigodithi prudhvigodithi changed the title [Draft] Retain totalHitsThreshold value to defaults with approximation match_all [Draft] For match_all retain totalHitsThreshold value to default with approximation May 2, 2025
@prudhvigodithi
Copy link
Member Author

{"run-benchmark-test": "id_4"}

@prudhvigodithi prudhvigodithi changed the title [Draft] For match_all retain totalHitsThreshold value to default with approximation [Draft] For match_all with approximation retain totalHitsThreshold value to default May 2, 2025
Copy link
Contributor

github-actions bot commented May 2, 2025

❌ Gradle check result for a8a80e3: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Copy link
Contributor

github-actions bot commented May 2, 2025

The Jenkins job url is https://build.ci.opensearch.org/job/benchmark-pull-request/3039/ . Final results will be published once the job is completed.

@prudhvigodithi prudhvigodithi force-pushed the approx branch 2 times, most recently from 23a29a4 to fd7d055 Compare May 2, 2025 22:56
Copy link
Contributor

github-actions bot commented May 2, 2025

❌ Gradle check result for fd7d055: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@prudhvigodithi
Copy link
Member Author

{"run-benchmark-test": "id_4"}

Copy link
Contributor

github-actions bot commented May 2, 2025

The Jenkins job url is https://build.ci.opensearch.org/job/benchmark-pull-request/3040/ . Final results will be published once the job is completed.

Copy link
Contributor

github-actions bot commented May 3, 2025

❌ Gradle check result for 1983cca: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@opensearch-ci-bot
Copy link
Collaborator

Benchmark Results

Benchmark Results for Job: https://build.ci.opensearch.org/job/benchmark-pull-request/3040/

Metric Task Value Unit
Cumulative indexing time of primary shards 0 min
Min cumulative indexing time across primary shards 0 min
Median cumulative indexing time across primary shards 0 min
Max cumulative indexing time across primary shards 0 min
Cumulative indexing throttle time of primary shards 0 min
Min cumulative indexing throttle time across primary shards 0 min
Median cumulative indexing throttle time across primary shards 0 min
Max cumulative indexing throttle time across primary shards 0 min
Cumulative merge time of primary shards 0 min
Cumulative merge count of primary shards 0
Min cumulative merge time across primary shards 0 min
Median cumulative merge time across primary shards 0 min
Max cumulative merge time across primary shards 0 min
Cumulative merge throttle time of primary shards 0 min
Min cumulative merge throttle time across primary shards 0 min
Median cumulative merge throttle time across primary shards 0 min
Max cumulative merge throttle time across primary shards 0 min
Cumulative refresh time of primary shards 0 min
Cumulative refresh count of primary shards 4
Min cumulative refresh time across primary shards 0 min
Median cumulative refresh time across primary shards 0 min
Max cumulative refresh time across primary shards 0 min
Cumulative flush time of primary shards 0 min
Cumulative flush count of primary shards 1
Min cumulative flush time across primary shards 0 min
Median cumulative flush time across primary shards 0 min
Max cumulative flush time across primary shards 0 min
Total Young Gen GC time 1.796 s
Total Young Gen GC count 100
Total Old Gen GC time 0 s
Total Old Gen GC count 0
Store size 22.1906 GB
Translog size 5.12227e-08 GB
Heap used for segments 0 MB
Heap used for doc values 0 MB
Heap used for terms 0 MB
Heap used for norms 0 MB
Heap used for points 0 MB
Heap used for stored fields 0 MB
Segment count 10
Min Throughput wait-for-snapshot-recovery 4.17797e+07 byte/s
Mean Throughput wait-for-snapshot-recovery 4.17797e+07 byte/s
Median Throughput wait-for-snapshot-recovery 4.17797e+07 byte/s
Max Throughput wait-for-snapshot-recovery 4.17797e+07 byte/s
100th percentile latency wait-for-snapshot-recovery 565401 ms
100th percentile service time wait-for-snapshot-recovery 565401 ms
error rate wait-for-snapshot-recovery 0 %
Min Throughput wait-until-merges-finish 110.07 ops/s
Mean Throughput wait-until-merges-finish 110.07 ops/s
Median Throughput wait-until-merges-finish 110.07 ops/s
Max Throughput wait-until-merges-finish 110.07 ops/s
100th percentile latency wait-until-merges-finish 8.78909 ms
100th percentile service time wait-until-merges-finish 8.78909 ms
error rate wait-until-merges-finish 0 %
Min Throughput default 2 ops/s
Mean Throughput default 2.01 ops/s
Median Throughput default 2.01 ops/s
Max Throughput default 2.01 ops/s
50th percentile latency default 7.28429 ms
90th percentile latency default 7.87229 ms
99th percentile latency default 10.296 ms
100th percentile latency default 11.5384 ms
50th percentile service time default 5.94011 ms
90th percentile service time default 6.48167 ms
99th percentile service time default 8.78585 ms
100th percentile service time default 10.1911 ms
error rate default 0 %
Min Throughput desc_sort_timestamp 2.01 ops/s
Mean Throughput desc_sort_timestamp 2.01 ops/s
Median Throughput desc_sort_timestamp 2.01 ops/s
Max Throughput desc_sort_timestamp 2.01 ops/s
50th percentile latency desc_sort_timestamp 9.363 ms
90th percentile latency desc_sort_timestamp 10.1273 ms
99th percentile latency desc_sort_timestamp 13.452 ms
100th percentile latency desc_sort_timestamp 14.8322 ms
50th percentile service time desc_sort_timestamp 8.10575 ms
90th percentile service time desc_sort_timestamp 8.37293 ms
99th percentile service time desc_sort_timestamp 12.0176 ms
100th percentile service time desc_sort_timestamp 13.656 ms
error rate desc_sort_timestamp 0 %
Min Throughput asc_sort_timestamp 2.01 ops/s
Mean Throughput asc_sort_timestamp 2.01 ops/s
Median Throughput asc_sort_timestamp 2.01 ops/s
Max Throughput asc_sort_timestamp 2.01 ops/s
50th percentile latency asc_sort_timestamp 10.3773 ms
90th percentile latency asc_sort_timestamp 10.9827 ms
99th percentile latency asc_sort_timestamp 11.9138 ms
100th percentile latency asc_sort_timestamp 12.4795 ms
50th percentile service time asc_sort_timestamp 9.01844 ms
90th percentile service time asc_sort_timestamp 9.37611 ms
99th percentile service time asc_sort_timestamp 10.7196 ms
100th percentile service time asc_sort_timestamp 11.2204 ms
error rate asc_sort_timestamp 0 %
Min Throughput desc_sort_with_after_timestamp 2 ops/s
Mean Throughput desc_sort_with_after_timestamp 2 ops/s
Median Throughput desc_sort_with_after_timestamp 2 ops/s
Max Throughput desc_sort_with_after_timestamp 2.01 ops/s
50th percentile latency desc_sort_with_after_timestamp 113.026 ms
90th percentile latency desc_sort_with_after_timestamp 115.008 ms
99th percentile latency desc_sort_with_after_timestamp 131.702 ms
100th percentile latency desc_sort_with_after_timestamp 135.189 ms
50th percentile service time desc_sort_with_after_timestamp 111.826 ms
90th percentile service time desc_sort_with_after_timestamp 113.838 ms
99th percentile service time desc_sort_with_after_timestamp 130.407 ms
100th percentile service time desc_sort_with_after_timestamp 134.184 ms
error rate desc_sort_with_after_timestamp 0 %
Min Throughput asc_sort_with_after_timestamp 2 ops/s
Mean Throughput asc_sort_with_after_timestamp 2 ops/s
Median Throughput asc_sort_with_after_timestamp 2 ops/s
Max Throughput asc_sort_with_after_timestamp 2 ops/s
50th percentile latency asc_sort_with_after_timestamp 209.007 ms
90th percentile latency asc_sort_with_after_timestamp 211.378 ms
99th percentile latency asc_sort_with_after_timestamp 240.039 ms
100th percentile latency asc_sort_with_after_timestamp 245.568 ms
50th percentile service time asc_sort_with_after_timestamp 207.734 ms
90th percentile service time asc_sort_with_after_timestamp 210.192 ms
99th percentile service time asc_sort_with_after_timestamp 239.013 ms
100th percentile service time asc_sort_with_after_timestamp 244.501 ms
error rate asc_sort_with_after_timestamp 0 %
Min Throughput desc_sort_timestamp_can_match_shortcut 2.01 ops/s
Mean Throughput desc_sort_timestamp_can_match_shortcut 2.01 ops/s
Median Throughput desc_sort_timestamp_can_match_shortcut 2.01 ops/s
Max Throughput desc_sort_timestamp_can_match_shortcut 2.01 ops/s
50th percentile latency desc_sort_timestamp_can_match_shortcut 7.48189 ms
90th percentile latency desc_sort_timestamp_can_match_shortcut 7.7677 ms
99th percentile latency desc_sort_timestamp_can_match_shortcut 8.74289 ms
100th percentile latency desc_sort_timestamp_can_match_shortcut 8.76741 ms
50th percentile service time desc_sort_timestamp_can_match_shortcut 5.96338 ms
90th percentile service time desc_sort_timestamp_can_match_shortcut 6.15964 ms
99th percentile service time desc_sort_timestamp_can_match_shortcut 7.27858 ms
100th percentile service time desc_sort_timestamp_can_match_shortcut 7.32167 ms
error rate desc_sort_timestamp_can_match_shortcut 0 %
Min Throughput desc_sort_timestamp_no_can_match_shortcut 2.01 ops/s
Mean Throughput desc_sort_timestamp_no_can_match_shortcut 2.01 ops/s
Median Throughput desc_sort_timestamp_no_can_match_shortcut 2.01 ops/s
Max Throughput desc_sort_timestamp_no_can_match_shortcut 2.01 ops/s
50th percentile latency desc_sort_timestamp_no_can_match_shortcut 7.02955 ms
90th percentile latency desc_sort_timestamp_no_can_match_shortcut 7.47835 ms
99th percentile latency desc_sort_timestamp_no_can_match_shortcut 8.14042 ms
100th percentile latency desc_sort_timestamp_no_can_match_shortcut 8.36851 ms
50th percentile service time desc_sort_timestamp_no_can_match_shortcut 5.6532 ms
90th percentile service time desc_sort_timestamp_no_can_match_shortcut 5.82045 ms
99th percentile service time desc_sort_timestamp_no_can_match_shortcut 6.54993 ms
100th percentile service time desc_sort_timestamp_no_can_match_shortcut 6.59181 ms
error rate desc_sort_timestamp_no_can_match_shortcut 0 %
Min Throughput asc_sort_timestamp_can_match_shortcut 2.01 ops/s
Mean Throughput asc_sort_timestamp_can_match_shortcut 2.01 ops/s
Median Throughput asc_sort_timestamp_can_match_shortcut 2.01 ops/s
Max Throughput asc_sort_timestamp_can_match_shortcut 2.01 ops/s
50th percentile latency asc_sort_timestamp_can_match_shortcut 9.65721 ms
90th percentile latency asc_sort_timestamp_can_match_shortcut 10.049 ms
99th percentile latency asc_sort_timestamp_can_match_shortcut 11.9356 ms
100th percentile latency asc_sort_timestamp_can_match_shortcut 12.7693 ms
50th percentile service time asc_sort_timestamp_can_match_shortcut 8.31485 ms
90th percentile service time asc_sort_timestamp_can_match_shortcut 8.45938 ms
99th percentile service time asc_sort_timestamp_can_match_shortcut 9.91488 ms
100th percentile service time asc_sort_timestamp_can_match_shortcut 11.0748 ms
error rate asc_sort_timestamp_can_match_shortcut 0 %
Min Throughput asc_sort_timestamp_no_can_match_shortcut 2.01 ops/s
Mean Throughput asc_sort_timestamp_no_can_match_shortcut 2.01 ops/s
Median Throughput asc_sort_timestamp_no_can_match_shortcut 2.01 ops/s
Max Throughput asc_sort_timestamp_no_can_match_shortcut 2.01 ops/s
50th percentile latency asc_sort_timestamp_no_can_match_shortcut 9.28776 ms
90th percentile latency asc_sort_timestamp_no_can_match_shortcut 9.97382 ms
99th percentile latency asc_sort_timestamp_no_can_match_shortcut 11.1403 ms
100th percentile latency asc_sort_timestamp_no_can_match_shortcut 12.1069 ms
50th percentile service time asc_sort_timestamp_no_can_match_shortcut 8.22539 ms
90th percentile service time asc_sort_timestamp_no_can_match_shortcut 8.34047 ms
99th percentile service time asc_sort_timestamp_no_can_match_shortcut 10.2011 ms
100th percentile service time asc_sort_timestamp_no_can_match_shortcut 11.2739 ms
error rate asc_sort_timestamp_no_can_match_shortcut 0 %
Min Throughput term 2.01 ops/s
Mean Throughput term 2.01 ops/s
Median Throughput term 2.01 ops/s
Max Throughput term 2.01 ops/s
50th percentile latency term 6.13982 ms
90th percentile latency term 6.59518 ms
99th percentile latency term 7.00939 ms
100th percentile latency term 7.26169 ms
50th percentile service time term 4.83008 ms
90th percentile service time term 5.01655 ms
99th percentile service time term 5.68954 ms
100th percentile service time term 5.87281 ms
error rate term 0 %
Min Throughput multi_terms-keyword 1.3 ops/s
Mean Throughput multi_terms-keyword 1.3 ops/s
Median Throughput multi_terms-keyword 1.3 ops/s
Max Throughput multi_terms-keyword 1.31 ops/s
50th percentile latency multi_terms-keyword 67021.5 ms
90th percentile latency multi_terms-keyword 77528.5 ms
99th percentile latency multi_terms-keyword 79866.7 ms
100th percentile latency multi_terms-keyword 79996.9 ms
50th percentile service time multi_terms-keyword 760.059 ms
90th percentile service time multi_terms-keyword 766.391 ms
99th percentile service time multi_terms-keyword 785.524 ms
100th percentile service time multi_terms-keyword 789.321 ms
error rate multi_terms-keyword 0 %
Min Throughput keyword-terms 2 ops/s
Mean Throughput keyword-terms 2 ops/s
Median Throughput keyword-terms 2 ops/s
Max Throughput keyword-terms 2.01 ops/s
50th percentile latency keyword-terms 25.894 ms
90th percentile latency keyword-terms 32.1829 ms
99th percentile latency keyword-terms 33.8275 ms
100th percentile latency keyword-terms 34.0297 ms
50th percentile service time keyword-terms 23.4875 ms
90th percentile service time keyword-terms 30.0544 ms
99th percentile service time keyword-terms 31.5058 ms
100th percentile service time keyword-terms 31.8165 ms
error rate keyword-terms 0 %
Min Throughput keyword-terms-low-cardinality 2.01 ops/s
Mean Throughput keyword-terms-low-cardinality 2.01 ops/s
Median Throughput keyword-terms-low-cardinality 2.01 ops/s
Max Throughput keyword-terms-low-cardinality 2.01 ops/s
50th percentile latency keyword-terms-low-cardinality 17.3056 ms
90th percentile latency keyword-terms-low-cardinality 24.4059 ms
99th percentile latency keyword-terms-low-cardinality 24.9665 ms
100th percentile latency keyword-terms-low-cardinality 24.9881 ms
50th percentile service time keyword-terms-low-cardinality 14.8346 ms
90th percentile service time keyword-terms-low-cardinality 22.2888 ms
99th percentile service time keyword-terms-low-cardinality 22.5072 ms
100th percentile service time keyword-terms-low-cardinality 22.6105 ms
error rate keyword-terms-low-cardinality 0 %
Min Throughput composite-terms 2 ops/s
Mean Throughput composite-terms 2 ops/s
Median Throughput composite-terms 2 ops/s
Max Throughput composite-terms 2 ops/s
50th percentile latency composite-terms 219.233 ms
90th percentile latency composite-terms 223.832 ms
99th percentile latency composite-terms 240.958 ms
100th percentile latency composite-terms 242.555 ms
50th percentile service time composite-terms 218.238 ms
90th percentile service time composite-terms 222.959 ms
99th percentile service time composite-terms 240.088 ms
100th percentile service time composite-terms 241.634 ms
error rate composite-terms 0 %
Min Throughput composite_terms-keyword 2 ops/s
Mean Throughput composite_terms-keyword 2 ops/s
Median Throughput composite_terms-keyword 2 ops/s
Max Throughput composite_terms-keyword 2 ops/s
50th percentile latency composite_terms-keyword 368.008 ms
90th percentile latency composite_terms-keyword 378.088 ms
99th percentile latency composite_terms-keyword 391.233 ms
100th percentile latency composite_terms-keyword 392.415 ms
50th percentile service time composite_terms-keyword 366.844 ms
90th percentile service time composite_terms-keyword 376.727 ms
99th percentile service time composite_terms-keyword 390.252 ms
100th percentile service time composite_terms-keyword 391.827 ms
error rate composite_terms-keyword 0 %
Min Throughput composite-date_histogram-daily 2.01 ops/s
Mean Throughput composite-date_histogram-daily 2.01 ops/s
Median Throughput composite-date_histogram-daily 2.01 ops/s
Max Throughput composite-date_histogram-daily 2.01 ops/s
50th percentile latency composite-date_histogram-daily 4.56636 ms
90th percentile latency composite-date_histogram-daily 4.98691 ms
99th percentile latency composite-date_histogram-daily 5.18516 ms
100th percentile latency composite-date_histogram-daily 5.19084 ms
50th percentile service time composite-date_histogram-daily 3.23995 ms
90th percentile service time composite-date_histogram-daily 3.35902 ms
99th percentile service time composite-date_histogram-daily 3.82649 ms
100th percentile service time composite-date_histogram-daily 3.84633 ms
error rate composite-date_histogram-daily 0 %
Min Throughput range 2.01 ops/s
Mean Throughput range 2.01 ops/s
Median Throughput range 2.01 ops/s
Max Throughput range 2.01 ops/s
50th percentile latency range 6.12885 ms
90th percentile latency range 6.49442 ms
99th percentile latency range 6.63816 ms
100th percentile latency range 6.69737 ms
50th percentile service time range 4.735 ms
90th percentile service time range 4.96923 ms
99th percentile service time range 5.3017 ms
100th percentile service time range 5.40639 ms
error rate range 0 %
Min Throughput range-numeric 2.01 ops/s
Mean Throughput range-numeric 2.01 ops/s
Median Throughput range-numeric 2.01 ops/s
Max Throughput range-numeric 2.01 ops/s
50th percentile latency range-numeric 3.52587 ms
90th percentile latency range-numeric 3.95007 ms
99th percentile latency range-numeric 4.09466 ms
100th percentile latency range-numeric 4.11599 ms
50th percentile service time range-numeric 2.24296 ms
90th percentile service time range-numeric 2.34109 ms
99th percentile service time range-numeric 2.5056 ms
100th percentile service time range-numeric 2.50714 ms
error rate range-numeric 0 %
Min Throughput keyword-in-range 2.01 ops/s
Mean Throughput keyword-in-range 2.01 ops/s
Median Throughput keyword-in-range 2.01 ops/s
Max Throughput keyword-in-range 2.01 ops/s
50th percentile latency keyword-in-range 16.891 ms
90th percentile latency keyword-in-range 17.3683 ms
99th percentile latency keyword-in-range 21.3123 ms
100th percentile latency keyword-in-range 24.9325 ms
50th percentile service time keyword-in-range 15.6117 ms
90th percentile service time keyword-in-range 15.8913 ms
99th percentile service time keyword-in-range 19.9783 ms
100th percentile service time keyword-in-range 23.4255 ms
error rate keyword-in-range 0 %
Min Throughput date_histogram_hourly_agg 2.01 ops/s
Mean Throughput date_histogram_hourly_agg 2.01 ops/s
Median Throughput date_histogram_hourly_agg 2.01 ops/s
Max Throughput date_histogram_hourly_agg 2.01 ops/s
50th percentile latency date_histogram_hourly_agg 8.7427 ms
90th percentile latency date_histogram_hourly_agg 9.51501 ms
99th percentile latency date_histogram_hourly_agg 9.77227 ms
100th percentile latency date_histogram_hourly_agg 9.79157 ms
50th percentile service time date_histogram_hourly_agg 7.60973 ms
90th percentile service time date_histogram_hourly_agg 7.98177 ms
99th percentile service time date_histogram_hourly_agg 8.39514 ms
100th percentile service time date_histogram_hourly_agg 8.69417 ms
error rate date_histogram_hourly_agg 0 %
Min Throughput date_histogram_minute_agg 2.01 ops/s
Mean Throughput date_histogram_minute_agg 2.01 ops/s
Median Throughput date_histogram_minute_agg 2.01 ops/s
Max Throughput date_histogram_minute_agg 2.01 ops/s
50th percentile latency date_histogram_minute_agg 43.9686 ms
90th percentile latency date_histogram_minute_agg 46.1239 ms
99th percentile latency date_histogram_minute_agg 50.3228 ms
100th percentile latency date_histogram_minute_agg 51.5926 ms
50th percentile service time date_histogram_minute_agg 42.578 ms
90th percentile service time date_histogram_minute_agg 45.0301 ms
99th percentile service time date_histogram_minute_agg 49.3737 ms
100th percentile service time date_histogram_minute_agg 50.7813 ms
error rate date_histogram_minute_agg 0 %
Min Throughput scroll 46.68 pages/s
Mean Throughput scroll 46.78 pages/s
Median Throughput scroll 46.77 pages/s
Max Throughput scroll 46.87 pages/s
50th percentile latency scroll 9030.58 ms
90th percentile latency scroll 10098.3 ms
99th percentile latency scroll 10366.1 ms
100th percentile latency scroll 10380.8 ms
50th percentile service time scroll 520.876 ms
90th percentile service time scroll 526.618 ms
99th percentile service time scroll 548.638 ms
100th percentile service time scroll 554.197 ms
error rate scroll 0 %
Min Throughput query-string-on-message 2.01 ops/s
Mean Throughput query-string-on-message 2.01 ops/s
Median Throughput query-string-on-message 2.01 ops/s
Max Throughput query-string-on-message 2.01 ops/s
50th percentile latency query-string-on-message 6.59617 ms
90th percentile latency query-string-on-message 6.8599 ms
99th percentile latency query-string-on-message 7.31748 ms
100th percentile latency query-string-on-message 7.62211 ms
50th percentile service time query-string-on-message 5.1748 ms
90th percentile service time query-string-on-message 5.27228 ms
99th percentile service time query-string-on-message 6.10194 ms
100th percentile service time query-string-on-message 6.63003 ms
error rate query-string-on-message 0 %
Min Throughput query-string-on-message-filtered 2.01 ops/s
Mean Throughput query-string-on-message-filtered 2.01 ops/s
Median Throughput query-string-on-message-filtered 2.01 ops/s
Max Throughput query-string-on-message-filtered 2.01 ops/s
50th percentile latency query-string-on-message-filtered 13.9634 ms
90th percentile latency query-string-on-message-filtered 14.4563 ms
99th percentile latency query-string-on-message-filtered 17.9196 ms
100th percentile latency query-string-on-message-filtered 19.3687 ms
50th percentile service time query-string-on-message-filtered 12.6523 ms
90th percentile service time query-string-on-message-filtered 12.8901 ms
99th percentile service time query-string-on-message-filtered 16.7102 ms
100th percentile service time query-string-on-message-filtered 18.2248 ms
error rate query-string-on-message-filtered 0 %
Min Throughput query-string-on-message-filtered-sorted-num 2.01 ops/s
Mean Throughput query-string-on-message-filtered-sorted-num 2.01 ops/s
Median Throughput query-string-on-message-filtered-sorted-num 2.01 ops/s
Max Throughput query-string-on-message-filtered-sorted-num 2.01 ops/s
50th percentile latency query-string-on-message-filtered-sorted-num 32.1822 ms
90th percentile latency query-string-on-message-filtered-sorted-num 32.5681 ms
99th percentile latency query-string-on-message-filtered-sorted-num 33.3498 ms
100th percentile latency query-string-on-message-filtered-sorted-num 33.5331 ms
50th percentile service time query-string-on-message-filtered-sorted-num 30.8156 ms
90th percentile service time query-string-on-message-filtered-sorted-num 31.1589 ms
99th percentile service time query-string-on-message-filtered-sorted-num 31.845 ms
100th percentile service time query-string-on-message-filtered-sorted-num 32.1157 ms
error rate query-string-on-message-filtered-sorted-num 0 %
Min Throughput sort_keyword_can_match_shortcut 2.01 ops/s
Mean Throughput sort_keyword_can_match_shortcut 2.01 ops/s
Median Throughput sort_keyword_can_match_shortcut 2.01 ops/s
Max Throughput sort_keyword_can_match_shortcut 2.01 ops/s
50th percentile latency sort_keyword_can_match_shortcut 5.88579 ms
90th percentile latency sort_keyword_can_match_shortcut 6.31273 ms
99th percentile latency sort_keyword_can_match_shortcut 6.45795 ms
100th percentile latency sort_keyword_can_match_shortcut 6.49112 ms
50th percentile service time sort_keyword_can_match_shortcut 4.59687 ms
90th percentile service time sort_keyword_can_match_shortcut 4.66535 ms
99th percentile service time sort_keyword_can_match_shortcut 5.00429 ms
100th percentile service time sort_keyword_can_match_shortcut 5.05724 ms
error rate sort_keyword_can_match_shortcut 0 %
Min Throughput sort_keyword_no_can_match_shortcut 2.01 ops/s
Mean Throughput sort_keyword_no_can_match_shortcut 2.01 ops/s
Median Throughput sort_keyword_no_can_match_shortcut 2.01 ops/s
Max Throughput sort_keyword_no_can_match_shortcut 2.01 ops/s
50th percentile latency sort_keyword_no_can_match_shortcut 6.00983 ms
90th percentile latency sort_keyword_no_can_match_shortcut 6.41467 ms
99th percentile latency sort_keyword_no_can_match_shortcut 6.7814 ms
100th percentile latency sort_keyword_no_can_match_shortcut 6.89799 ms
50th percentile service time sort_keyword_no_can_match_shortcut 4.68255 ms
90th percentile service time sort_keyword_no_can_match_shortcut 4.77762 ms
99th percentile service time sort_keyword_no_can_match_shortcut 5.52823 ms
100th percentile service time sort_keyword_no_can_match_shortcut 5.78561 ms
error rate sort_keyword_no_can_match_shortcut 0 %
Min Throughput sort_numeric_desc 2.01 ops/s
Mean Throughput sort_numeric_desc 2.01 ops/s
Median Throughput sort_numeric_desc 2.01 ops/s
Max Throughput sort_numeric_desc 2.01 ops/s
50th percentile latency sort_numeric_desc 5.58807 ms
90th percentile latency sort_numeric_desc 5.99699 ms
99th percentile latency sort_numeric_desc 6.16707 ms
100th percentile latency sort_numeric_desc 6.17923 ms
50th percentile service time sort_numeric_desc 4.27131 ms
90th percentile service time sort_numeric_desc 4.36562 ms
99th percentile service time sort_numeric_desc 4.40671 ms
100th percentile service time sort_numeric_desc 4.41073 ms
error rate sort_numeric_desc 0 %
Min Throughput sort_numeric_asc 2.01 ops/s
Mean Throughput sort_numeric_asc 2.01 ops/s
Median Throughput sort_numeric_asc 2.01 ops/s
Max Throughput sort_numeric_asc 2.01 ops/s
50th percentile latency sort_numeric_asc 5.15343 ms
90th percentile latency sort_numeric_asc 5.51972 ms
99th percentile latency sort_numeric_asc 5.67545 ms
100th percentile latency sort_numeric_asc 5.69223 ms
50th percentile service time sort_numeric_asc 3.84328 ms
90th percentile service time sort_numeric_asc 3.92096 ms
99th percentile service time sort_numeric_asc 4.26192 ms
100th percentile service time sort_numeric_asc 4.53265 ms
error rate sort_numeric_asc 0 %
Min Throughput sort_numeric_desc_with_match 2.01 ops/s
Mean Throughput sort_numeric_desc_with_match 2.01 ops/s
Median Throughput sort_numeric_desc_with_match 2.01 ops/s
Max Throughput sort_numeric_desc_with_match 2.01 ops/s
50th percentile latency sort_numeric_desc_with_match 3.88205 ms
90th percentile latency sort_numeric_desc_with_match 4.27613 ms
99th percentile latency sort_numeric_desc_with_match 4.54512 ms
100th percentile latency sort_numeric_desc_with_match 4.5984 ms
50th percentile service time sort_numeric_desc_with_match 2.61415 ms
90th percentile service time sort_numeric_desc_with_match 2.69806 ms
99th percentile service time sort_numeric_desc_with_match 2.92276 ms
100th percentile service time sort_numeric_desc_with_match 3.02716 ms
error rate sort_numeric_desc_with_match 0 %
Min Throughput sort_numeric_asc_with_match 2.01 ops/s
Mean Throughput sort_numeric_asc_with_match 2.01 ops/s
Median Throughput sort_numeric_asc_with_match 2.01 ops/s
Max Throughput sort_numeric_asc_with_match 2.01 ops/s
50th percentile latency sort_numeric_asc_with_match 3.74742 ms
90th percentile latency sort_numeric_asc_with_match 4.14935 ms
99th percentile latency sort_numeric_asc_with_match 4.3106 ms
100th percentile latency sort_numeric_asc_with_match 4.32192 ms
50th percentile service time sort_numeric_asc_with_match 2.41151 ms
90th percentile service time sort_numeric_asc_with_match 2.4515 ms
99th percentile service time sort_numeric_asc_with_match 2.69349 ms
100th percentile service time sort_numeric_asc_with_match 2.72794 ms
error rate sort_numeric_asc_with_match 0 %
Min Throughput range_field_conjunction_big_range_big_term_query 2.01 ops/s
Mean Throughput range_field_conjunction_big_range_big_term_query 2.01 ops/s
Median Throughput range_field_conjunction_big_range_big_term_query 2.01 ops/s
Max Throughput range_field_conjunction_big_range_big_term_query 2.01 ops/s
50th percentile latency range_field_conjunction_big_range_big_term_query 3.39547 ms
90th percentile latency range_field_conjunction_big_range_big_term_query 3.97057 ms
99th percentile latency range_field_conjunction_big_range_big_term_query 4.15303 ms
100th percentile latency range_field_conjunction_big_range_big_term_query 4.2087 ms
50th percentile service time range_field_conjunction_big_range_big_term_query 2.32822 ms
90th percentile service time range_field_conjunction_big_range_big_term_query 2.38881 ms
99th percentile service time range_field_conjunction_big_range_big_term_query 2.52474 ms
100th percentile service time range_field_conjunction_big_range_big_term_query 2.53529 ms
error rate range_field_conjunction_big_range_big_term_query 0 %
Min Throughput range_field_disjunction_big_range_small_term_query 2.01 ops/s
Mean Throughput range_field_disjunction_big_range_small_term_query 2.01 ops/s
Median Throughput range_field_disjunction_big_range_small_term_query 2.01 ops/s
Max Throughput range_field_disjunction_big_range_small_term_query 2.01 ops/s
50th percentile latency range_field_disjunction_big_range_small_term_query 3.68203 ms
90th percentile latency range_field_disjunction_big_range_small_term_query 4.09013 ms
99th percentile latency range_field_disjunction_big_range_small_term_query 4.6761 ms
100th percentile latency range_field_disjunction_big_range_small_term_query 4.71842 ms
50th percentile service time range_field_disjunction_big_range_small_term_query 2.32445 ms
90th percentile service time range_field_disjunction_big_range_small_term_query 2.39416 ms
99th percentile service time range_field_disjunction_big_range_small_term_query 2.47329 ms
100th percentile service time range_field_disjunction_big_range_small_term_query 2.49068 ms
error rate range_field_disjunction_big_range_small_term_query 0 %
Min Throughput range_field_conjunction_small_range_small_term_query 2.01 ops/s
Mean Throughput range_field_conjunction_small_range_small_term_query 2.01 ops/s
Median Throughput range_field_conjunction_small_range_small_term_query 2.01 ops/s
Max Throughput range_field_conjunction_small_range_small_term_query 2.01 ops/s
50th percentile latency range_field_conjunction_small_range_small_term_query 3.69358 ms
90th percentile latency range_field_conjunction_small_range_small_term_query 4.07297 ms
99th percentile latency range_field_conjunction_small_range_small_term_query 4.35812 ms
100th percentile latency range_field_conjunction_small_range_small_term_query 4.46281 ms
50th percentile service time range_field_conjunction_small_range_small_term_query 2.41086 ms
90th percentile service time range_field_conjunction_small_range_small_term_query 2.47352 ms
99th percentile service time range_field_conjunction_small_range_small_term_query 2.7786 ms
100th percentile service time range_field_conjunction_small_range_small_term_query 2.83423 ms
error rate range_field_conjunction_small_range_small_term_query 0 %
Min Throughput range_field_conjunction_small_range_big_term_query 2.01 ops/s
Mean Throughput range_field_conjunction_small_range_big_term_query 2.01 ops/s
Median Throughput range_field_conjunction_small_range_big_term_query 2.01 ops/s
Max Throughput range_field_conjunction_small_range_big_term_query 2.01 ops/s
50th percentile latency range_field_conjunction_small_range_big_term_query 3.57495 ms
90th percentile latency range_field_conjunction_small_range_big_term_query 4.05593 ms
99th percentile latency range_field_conjunction_small_range_big_term_query 4.27928 ms
100th percentile latency range_field_conjunction_small_range_big_term_query 4.42254 ms
50th percentile service time range_field_conjunction_small_range_big_term_query 2.31126 ms
90th percentile service time range_field_conjunction_small_range_big_term_query 2.36526 ms
99th percentile service time range_field_conjunction_small_range_big_term_query 2.48448 ms
100th percentile service time range_field_conjunction_small_range_big_term_query 2.56091 ms
error rate range_field_conjunction_small_range_big_term_query 0 %
Min Throughput range-auto-date-histo 0.25 ops/s
Mean Throughput range-auto-date-histo 0.25 ops/s
Median Throughput range-auto-date-histo 0.25 ops/s
Max Throughput range-auto-date-histo 0.25 ops/s
50th percentile latency range-auto-date-histo 865532 ms
90th percentile latency range-auto-date-histo 1.00339e+06 ms
99th percentile latency range-auto-date-histo 1.03436e+06 ms
100th percentile latency range-auto-date-histo 1.03609e+06 ms
50th percentile service time range-auto-date-histo 3931.66 ms
90th percentile service time range-auto-date-histo 4019.85 ms
99th percentile service time range-auto-date-histo 4071.18 ms
100th percentile service time range-auto-date-histo 4083.92 ms
error rate range-auto-date-histo 0 %
Min Throughput range-auto-date-histo-with-metrics 0.09 ops/s
Mean Throughput range-auto-date-histo-with-metrics 0.09 ops/s
Median Throughput range-auto-date-histo-with-metrics 0.09 ops/s
Max Throughput range-auto-date-histo-with-metrics 0.09 ops/s
50th percentile latency range-auto-date-histo-with-metrics 2.60055e+06 ms
90th percentile latency range-auto-date-histo-with-metrics 3.01576e+06 ms
99th percentile latency range-auto-date-histo-with-metrics 3.10899e+06 ms
100th percentile latency range-auto-date-histo-with-metrics 3.11419e+06 ms
50th percentile service time range-auto-date-histo-with-metrics 10876.1 ms
90th percentile service time range-auto-date-histo-with-metrics 10974.3 ms
99th percentile service time range-auto-date-histo-with-metrics 11048.4 ms
100th percentile service time range-auto-date-histo-with-metrics 11073.5 ms
error rate range-auto-date-histo-with-metrics 0 %
Min Throughput range-agg-1 2.01 ops/s
Mean Throughput range-agg-1 2.01 ops/s
Median Throughput range-agg-1 2.01 ops/s
Max Throughput range-agg-1 2.01 ops/s
50th percentile latency range-agg-1 3.88658 ms
90th percentile latency range-agg-1 4.26427 ms
99th percentile latency range-agg-1 4.44162 ms
100th percentile latency range-agg-1 4.45635 ms
50th percentile service time range-agg-1 2.59117 ms
90th percentile service time range-agg-1 2.66707 ms
99th percentile service time range-agg-1 2.73838 ms
100th percentile service time range-agg-1 2.73999 ms
error rate range-agg-1 0 %
Min Throughput range-agg-2 2.01 ops/s
Mean Throughput range-agg-2 2.01 ops/s
Median Throughput range-agg-2 2.01 ops/s
Max Throughput range-agg-2 2.01 ops/s
50th percentile latency range-agg-2 3.76075 ms
90th percentile latency range-agg-2 4.1732 ms
99th percentile latency range-agg-2 4.34566 ms
100th percentile latency range-agg-2 4.3695 ms
50th percentile service time range-agg-2 2.43203 ms
90th percentile service time range-agg-2 2.52251 ms
99th percentile service time range-agg-2 2.61991 ms
100th percentile service time range-agg-2 2.62173 ms
error rate range-agg-2 0 %
Min Throughput cardinality-agg-low 2.01 ops/s
Mean Throughput cardinality-agg-low 2.01 ops/s
Median Throughput cardinality-agg-low 2.01 ops/s
Max Throughput cardinality-agg-low 2.01 ops/s
50th percentile latency cardinality-agg-low 5.04604 ms
90th percentile latency cardinality-agg-low 5.60356 ms
99th percentile latency cardinality-agg-low 5.89914 ms
100th percentile latency cardinality-agg-low 5.90544 ms
50th percentile service time cardinality-agg-low 3.50927 ms
90th percentile service time cardinality-agg-low 4.11425 ms
99th percentile service time cardinality-agg-low 4.23608 ms
100th percentile service time cardinality-agg-low 4.26253 ms
error rate cardinality-agg-low 0 %
Min Throughput cardinality-agg-high 0.81 ops/s
Mean Throughput cardinality-agg-high 0.81 ops/s
Median Throughput cardinality-agg-high 0.81 ops/s
Max Throughput cardinality-agg-high 0.81 ops/s
50th percentile latency cardinality-agg-high 184263 ms
90th percentile latency cardinality-agg-high 213523 ms
99th percentile latency cardinality-agg-high 220275 ms
100th percentile latency cardinality-agg-high 220679 ms
50th percentile service time cardinality-agg-high 1218.54 ms
90th percentile service time cardinality-agg-high 1280.08 ms
99th percentile service time cardinality-agg-high 1322.3 ms
100th percentile service time cardinality-agg-high 1323.51 ms
error rate cardinality-agg-high 0 %
Min Throughput cardinality-agg-very-high 0.03 ops/s
Mean Throughput cardinality-agg-very-high 0.03 ops/s
Median Throughput cardinality-agg-very-high 0.03 ops/s
Max Throughput cardinality-agg-very-high 0.03 ops/s
50th percentile latency cardinality-agg-very-high 2.976e+06 ms
90th percentile latency cardinality-agg-very-high 4.15461e+06 ms
99th percentile latency cardinality-agg-very-high 4.4194e+06 ms
100th percentile latency cardinality-agg-very-high 4.43412e+06 ms
50th percentile service time cardinality-agg-very-high 29915 ms
90th percentile service time cardinality-agg-very-high 30067.4 ms
99th percentile service time cardinality-agg-very-high 31207.4 ms
100th percentile service time cardinality-agg-very-high 31251.6 ms
error rate cardinality-agg-very-high 0 %

@opensearch-ci-bot
Copy link
Collaborator

Benchmark Baseline Comparison Results

Benchmark Results for Job: https://build.ci.opensearch.org/job/benchmark-compare/94/

Metric Task Baseline Contender Diff Unit
Cumulative indexing time of primary shards 0 0 0 min
Min cumulative indexing time across primary shard 0 0 0 min
Median cumulative indexing time across primary shard 0 0 0 min
Max cumulative indexing time across primary shard 0 0 0 min
Cumulative indexing throttle time of primary shards 0 0 0 min
Min cumulative indexing throttle time across primary shard 0 0 0 min
Median cumulative indexing throttle time across primary shard 0 0 0 min
Max cumulative indexing throttle time across primary shard 0 0 0 min
Cumulative merge time of primary shards 0 0 0 min
Cumulative merge count of primary shards 0 0 0
Min cumulative merge time across primary shard 0 0 0 min
Median cumulative merge time across primary shard 0 0 0 min
Max cumulative merge time across primary shard 0 0 0 min
Cumulative merge throttle time of primary shards 0 0 0 min
Min cumulative merge throttle time across primary shard 0 0 0 min
Median cumulative merge throttle time across primary shard 0 0 0 min
Max cumulative merge throttle time across primary shard 0 0 0 min
Cumulative refresh time of primary shards 0 0 0 min
Cumulative refresh count of primary shards 4 4 0
Min cumulative refresh time across primary shard 0 0 0 min
Median cumulative refresh time across primary shard 0 0 0 min
Max cumulative refresh time across primary shard 0 0 0 min
Cumulative flush time of primary shards 0 0 0 min
Cumulative flush count of primary shards 1 1 0
Min cumulative flush time across primary shard 0 0 0 min
Median cumulative flush time across primary shard 0 0 0 min
Max cumulative flush time across primary shard 0 0 0 min
Total Young Gen GC time 1.722 1.796 0.074 s
Total Young Gen GC count 99 100 1
Total Old Gen GC time 0 0 0 s
Total Old Gen GC count 0 0 0
Store size 22.1906 22.1906 0 GB
Translog size 5.12227e-08 5.12227e-08 0 GB
Heap used for segments 0 0 0 MB
Heap used for doc values 0 0 0 MB
Heap used for terms 0 0 0 MB
Heap used for norms 0 0 0 MB
Heap used for points 0 0 0 MB
Heap used for stored fields 0 0 0 MB
Segment count 10 10 0
Min Throughput wait-for-snapshot-recovery 4.18497e+07 4.17797e+07 -70008 byte/s
Mean Throughput wait-for-snapshot-recovery 4.18497e+07 4.17797e+07 -70008 byte/s
Median Throughput wait-for-snapshot-recovery 4.18497e+07 4.17797e+07 -70008 byte/s
Max Throughput wait-for-snapshot-recovery 4.18497e+07 4.17797e+07 -70008 byte/s
100th percentile latency wait-for-snapshot-recovery 564614 565401 787.5 ms
100th percentile service time wait-for-snapshot-recovery 564614 565401 787.5 ms
error rate wait-for-snapshot-recovery 0 0 0 %
Min Throughput wait-until-merges-finish 111.768 110.069 -1.69825 ops/s
Mean Throughput wait-until-merges-finish 111.768 110.069 -1.69825 ops/s
Median Throughput wait-until-merges-finish 111.768 110.069 -1.69825 ops/s
Max Throughput wait-until-merges-finish 111.768 110.069 -1.69825 ops/s
100th percentile latency wait-until-merges-finish 8.62953 8.78909 0.15956 ms
100th percentile service time wait-until-merges-finish 8.62953 8.78909 0.15956 ms
error rate wait-until-merges-finish 0 0 0 %
Min Throughput default 2.00501 2.00497 -4e-05 ops/s
Mean Throughput default 2.00607 2.00603 -4e-05 ops/s
Median Throughput default 2.00599 2.00595 -4e-05 ops/s
Max Throughput default 2.00744 2.0074 -4e-05 ops/s
50th percentile latency default 7.3976 7.28429 -0.11332 ms
90th percentile latency default 7.88417 7.87229 -0.01188 ms
99th percentile latency default 8.34853 10.296 1.94749 ms
100th percentile latency default 8.39505 11.5384 3.14335 ms
50th percentile service time default 5.92355 5.94011 0.01656 ms
90th percentile service time default 6.49028 6.48167 -0.00861 ms
99th percentile service time default 7.33214 8.78585 1.45371 ms
100th percentile service time default 7.42384 10.1911 2.76729 ms
error rate default 0 0 0 %
Min Throughput desc_sort_timestamp 2.00541 2.0052 -0.00021 ops/s
Mean Throughput desc_sort_timestamp 2.00657 2.0063 -0.00027 ops/s
Median Throughput desc_sort_timestamp 2.00648 2.00622 -0.00026 ops/s
Max Throughput desc_sort_timestamp 2.00807 2.00774 -0.00033 ops/s
50th percentile latency desc_sort_timestamp 9.84603 9.363 -0.48303 ms
90th percentile latency desc_sort_timestamp 10.6424 10.1273 -0.51512 ms
99th percentile latency desc_sort_timestamp 13.6791 13.452 -0.22701 ms
100th percentile latency desc_sort_timestamp 15.1053 14.8322 -0.27306 ms
50th percentile service time desc_sort_timestamp 8.46366 8.10575 -0.35791 ms
90th percentile service time desc_sort_timestamp 9.20232 8.37293 -0.82939 ms
99th percentile service time desc_sort_timestamp 12.5362 12.0176 -0.51855 ms
100th percentile service time desc_sort_timestamp 14.1079 13.656 -0.45186 ms
error rate desc_sort_timestamp 0 0 0 %
Min Throughput asc_sort_timestamp 2.0062 2.00613 -7e-05 ops/s
Mean Throughput asc_sort_timestamp 2.00753 2.00743 -9e-05 ops/s
Median Throughput asc_sort_timestamp 2.00742 2.00733 -9e-05 ops/s
Max Throughput asc_sort_timestamp 2.00924 2.00912 -0.00011 ops/s
50th percentile latency asc_sort_timestamp 10.5916 10.3773 -0.21435 ms
90th percentile latency asc_sort_timestamp 11.2607 10.9827 -0.27801 ms
99th percentile latency asc_sort_timestamp 12.815 11.9138 -0.90118 ms
100th percentile latency asc_sort_timestamp 13.2622 12.4795 -0.78274 ms
50th percentile service time asc_sort_timestamp 9.17289 9.01844 -0.15444 ms
90th percentile service time asc_sort_timestamp 9.72383 9.37611 -0.34772 ms
99th percentile service time asc_sort_timestamp 11.2679 10.7196 -0.54834 ms
100th percentile service time asc_sort_timestamp 11.7229 11.2204 -0.50257 ms
error rate asc_sort_timestamp 0 0 0 %
Min Throughput desc_sort_with_after_timestamp 2.00344 2.00358 0.00014 ops/s
Mean Throughput desc_sort_with_after_timestamp 2.00417 2.00435 0.00017 ops/s
Median Throughput desc_sort_with_after_timestamp 2.00411 2.00428 0.00017 ops/s
Max Throughput desc_sort_with_after_timestamp 2.00513 2.00534 0.00021 ops/s
50th percentile latency desc_sort_with_after_timestamp 108.3 113.026 4.72589 ms
90th percentile latency desc_sort_with_after_timestamp 113.209 115.008 1.79972 ms
99th percentile latency desc_sort_with_after_timestamp 127.813 131.702 3.88914 ms
100th percentile latency desc_sort_with_after_timestamp 130.408 135.189 4.78175 ms
50th percentile service time desc_sort_with_after_timestamp 107.034 111.826 4.79248 ms
90th percentile service time desc_sort_with_after_timestamp 112.205 113.838 1.63385 ms
99th percentile service time desc_sort_with_after_timestamp 126.716 130.407 3.69012 ms
100th percentile service time desc_sort_with_after_timestamp 129.311 134.184 4.87318 ms
error rate desc_sort_with_after_timestamp 0 0 0 %
Min Throughput asc_sort_with_after_timestamp 2.0036 2.00336 -0.00024 ops/s
Mean Throughput asc_sort_with_after_timestamp 2.00437 2.00407 -0.0003 ops/s
Median Throughput asc_sort_with_after_timestamp 2.00431 2.00402 -0.00029 ops/s
Max Throughput asc_sort_with_after_timestamp 2.00536 2.00499 -0.00037 ops/s
50th percentile latency asc_sort_with_after_timestamp 207.672 209.007 1.33527 ms
90th percentile latency asc_sort_with_after_timestamp 210.774 211.378 0.60423 ms
99th percentile latency asc_sort_with_after_timestamp 244.727 240.039 -4.68764 ms
100th percentile latency asc_sort_with_after_timestamp 254.343 245.568 -8.77495 ms
50th percentile service time asc_sort_with_after_timestamp 206.442 207.734 1.29275 ms
90th percentile service time asc_sort_with_after_timestamp 209.847 210.192 0.34514 ms
99th percentile service time asc_sort_with_after_timestamp 243.918 239.013 -4.90482 ms
100th percentile service time asc_sort_with_after_timestamp 253.542 244.501 -9.04053 ms
error rate asc_sort_with_after_timestamp 0 0 0 %
Min Throughput desc_sort_timestamp_can_match_shortcut 2.00549 2.00542 -8e-05 ops/s
Mean Throughput desc_sort_timestamp_can_match_shortcut 2.00667 2.00657 -0.0001 ops/s
Median Throughput desc_sort_timestamp_can_match_shortcut 2.00657 2.00648 -9e-05 ops/s
Max Throughput desc_sort_timestamp_can_match_shortcut 2.00819 2.00806 -0.00013 ops/s
50th percentile latency desc_sort_timestamp_can_match_shortcut 7.33903 7.48189 0.14286 ms
90th percentile latency desc_sort_timestamp_can_match_shortcut 7.76434 7.7677 0.00335 ms
99th percentile latency desc_sort_timestamp_can_match_shortcut 8.75477 8.74289 -0.01188 ms
100th percentile latency desc_sort_timestamp_can_match_shortcut 8.89971 8.76741 -0.13229 ms
50th percentile service time desc_sort_timestamp_can_match_shortcut 5.96596 5.96338 -0.00259 ms
90th percentile service time desc_sort_timestamp_can_match_shortcut 6.26396 6.15964 -0.10432 ms
99th percentile service time desc_sort_timestamp_can_match_shortcut 7.69019 7.27858 -0.41161 ms
100th percentile service time desc_sort_timestamp_can_match_shortcut 7.74427 7.32167 -0.4226 ms
error rate desc_sort_timestamp_can_match_shortcut 0 0 0 %
Min Throughput desc_sort_timestamp_no_can_match_shortcut 2.00654 2.00654 1e-05 ops/s
Mean Throughput desc_sort_timestamp_no_can_match_shortcut 2.00793 2.00793 0 ops/s
Median Throughput desc_sort_timestamp_no_can_match_shortcut 2.00782 2.00783 1e-05 ops/s
Max Throughput desc_sort_timestamp_no_can_match_shortcut 2.00973 2.00974 1e-05 ops/s
50th percentile latency desc_sort_timestamp_no_can_match_shortcut 7.03023 7.02955 -0.00068 ms
90th percentile latency desc_sort_timestamp_no_can_match_shortcut 7.59847 7.47835 -0.12012 ms
99th percentile latency desc_sort_timestamp_no_can_match_shortcut 8.54857 8.14042 -0.40816 ms
100th percentile latency desc_sort_timestamp_no_can_match_shortcut 8.68522 8.36851 -0.31672 ms
50th percentile service time desc_sort_timestamp_no_can_match_shortcut 5.70415 5.6532 -0.05095 ms
90th percentile service time desc_sort_timestamp_no_can_match_shortcut 5.99699 5.82045 -0.17654 ms
99th percentile service time desc_sort_timestamp_no_can_match_shortcut 6.97156 6.54993 -0.42163 ms
100th percentile service time desc_sort_timestamp_no_can_match_shortcut 7.15538 6.59181 -0.56358 ms
error rate desc_sort_timestamp_no_can_match_shortcut 0 0 0 %
Min Throughput asc_sort_timestamp_can_match_shortcut 2.0065 2.0065 -1e-05 ops/s
Mean Throughput asc_sort_timestamp_can_match_shortcut 2.00789 2.00788 -1e-05 ops/s
Median Throughput asc_sort_timestamp_can_match_shortcut 2.00779 2.00778 -1e-05 ops/s
Max Throughput asc_sort_timestamp_can_match_shortcut 2.00969 2.00968 -1e-05 ops/s
50th percentile latency asc_sort_timestamp_can_match_shortcut 9.5542 9.65721 0.103 ms
90th percentile latency asc_sort_timestamp_can_match_shortcut 10.0482 10.049 0.00084 ms
99th percentile latency asc_sort_timestamp_can_match_shortcut 10.7727 11.9356 1.16285 ms
100th percentile latency asc_sort_timestamp_can_match_shortcut 11.3327 12.7693 1.43665 ms
50th percentile service time asc_sort_timestamp_can_match_shortcut 8.29419 8.31485 0.02066 ms
90th percentile service time asc_sort_timestamp_can_match_shortcut 8.44029 8.45938 0.01909 ms
99th percentile service time asc_sort_timestamp_can_match_shortcut 9.41986 9.91488 0.49503 ms
100th percentile service time asc_sort_timestamp_can_match_shortcut 10.1547 11.0748 0.92015 ms
error rate asc_sort_timestamp_can_match_shortcut 0 0 0 %
Min Throughput asc_sort_timestamp_no_can_match_shortcut 2.0065 2.00652 1e-05 ops/s
Mean Throughput asc_sort_timestamp_no_can_match_shortcut 2.00789 2.0079 1e-05 ops/s
Median Throughput asc_sort_timestamp_no_can_match_shortcut 2.00779 2.00779 0 ops/s
Max Throughput asc_sort_timestamp_no_can_match_shortcut 2.00968 2.00969 1e-05 ops/s
50th percentile latency asc_sort_timestamp_no_can_match_shortcut 9.73023 9.28776 -0.44248 ms
90th percentile latency asc_sort_timestamp_no_can_match_shortcut 10.2352 9.97382 -0.26136 ms
99th percentile latency asc_sort_timestamp_no_can_match_shortcut 12.6613 11.1403 -1.52096 ms
100th percentile latency asc_sort_timestamp_no_can_match_shortcut 13.208 12.1069 -1.10106 ms
50th percentile service time asc_sort_timestamp_no_can_match_shortcut 8.41183 8.22539 -0.18645 ms
90th percentile service time asc_sort_timestamp_no_can_match_shortcut 8.8148 8.34047 -0.47432 ms
99th percentile service time asc_sort_timestamp_no_can_match_shortcut 11.0237 10.2011 -0.82256 ms
100th percentile service time asc_sort_timestamp_no_can_match_shortcut 11.4437 11.2739 -0.16973 ms
error rate asc_sort_timestamp_no_can_match_shortcut 0 0 0 %
Min Throughput term 2.00639 2.00641 2e-05 ops/s
Mean Throughput term 2.00776 2.00778 2e-05 ops/s
Median Throughput term 2.00765 2.00768 3e-05 ops/s
Max Throughput term 2.00954 2.00956 2e-05 ops/s
50th percentile latency term 6.31939 6.13982 -0.17957 ms
90th percentile latency term 6.68991 6.59518 -0.09473 ms
99th percentile latency term 6.9761 7.00939 0.03329 ms
100th percentile latency term 7.02819 7.26169 0.23351 ms
50th percentile service time term 5.02112 4.83008 -0.19104 ms
90th percentile service time term 5.20924 5.01655 -0.19269 ms
99th percentile service time term 5.50856 5.68954 0.18098 ms
100th percentile service time term 5.56111 5.87281 0.3117 ms
error rate term 0 0 0 %
Min Throughput multi_terms-keyword 1.301 1.30187 0.00087 ops/s
Mean Throughput multi_terms-keyword 1.30195 1.30386 0.0019 ops/s
Median Throughput multi_terms-keyword 1.30214 1.30396 0.00182 ops/s
Max Throughput multi_terms-keyword 1.30276 1.30526 0.0025 ops/s
50th percentile latency multi_terms-keyword 67220 67021.5 -198.516 ms
90th percentile latency multi_terms-keyword 77961.7 77528.5 -433.273 ms
99th percentile latency multi_terms-keyword 80381.1 79866.7 -514.363 ms
100th percentile latency multi_terms-keyword 80515.7 79996.9 -518.812 ms
50th percentile service time multi_terms-keyword 764.198 760.059 -4.13937 ms
90th percentile service time multi_terms-keyword 772.644 766.391 -6.25314 ms
99th percentile service time multi_terms-keyword 817.864 785.524 -32.3394 ms
100th percentile service time multi_terms-keyword 848.173 789.321 -58.8519 ms
error rate multi_terms-keyword 0 0 0 %
Min Throughput keyword-terms 2.00364 2.00364 -0 ops/s
Mean Throughput keyword-terms 2.00442 2.0044 -2e-05 ops/s
Median Throughput keyword-terms 2.00435 2.00434 -1e-05 ops/s
Max Throughput keyword-terms 2.0054 2.00542 2e-05 ops/s
50th percentile latency keyword-terms 25.42 25.894 0.474 ms
90th percentile latency keyword-terms 32.442 32.1829 -0.25908 ms
99th percentile latency keyword-terms 33.4395 33.8275 0.38799 ms
100th percentile latency keyword-terms 33.5611 34.0297 0.46856 ms
50th percentile service time keyword-terms 23.3463 23.4875 0.14111 ms
90th percentile service time keyword-terms 30.1496 30.0544 -0.09526 ms
99th percentile service time keyword-terms 31.3442 31.5058 0.16165 ms
100th percentile service time keyword-terms 31.3782 31.8165 0.43834 ms
error rate keyword-terms 0 0 0 %
Min Throughput keyword-terms-low-cardinality 2.00632 2.0064 7e-05 ops/s
Mean Throughput keyword-terms-low-cardinality 2.00766 2.00774 8e-05 ops/s
Median Throughput keyword-terms-low-cardinality 2.00755 2.00764 9e-05 ops/s
Max Throughput keyword-terms-low-cardinality 2.00941 2.00952 0.00011 ops/s
50th percentile latency keyword-terms-low-cardinality 16.6329 17.3056 0.67271 ms
90th percentile latency keyword-terms-low-cardinality 23.8739 24.4059 0.53195 ms
99th percentile latency keyword-terms-low-cardinality 24.5315 24.9665 0.43503 ms
100th percentile latency keyword-terms-low-cardinality 24.5623 24.9881 0.42584 ms
50th percentile service time keyword-terms-low-cardinality 14.7859 14.8346 0.04863 ms
90th percentile service time keyword-terms-low-cardinality 21.9532 22.2888 0.33563 ms
99th percentile service time keyword-terms-low-cardinality 22.4687 22.5072 0.03853 ms
100th percentile service time keyword-terms-low-cardinality 22.5386 22.6105 0.07183 ms
error rate keyword-terms-low-cardinality 0 0 0 %
Min Throughput composite-terms 2.00248 2.00249 1e-05 ops/s
Mean Throughput composite-terms 2.00302 2.00303 1e-05 ops/s
Median Throughput composite-terms 2.00298 2.00299 1e-05 ops/s
Max Throughput composite-terms 2.00371 2.00372 2e-05 ops/s
50th percentile latency composite-terms 219.336 219.233 -0.10352 ms
90th percentile latency composite-terms 222.058 223.832 1.77431 ms
99th percentile latency composite-terms 243.648 240.958 -2.69005 ms
100th percentile latency composite-terms 252.335 242.555 -9.77946 ms
50th percentile service time composite-terms 218.149 218.238 0.08897 ms
90th percentile service time composite-terms 220.885 222.959 2.07372 ms
99th percentile service time composite-terms 242.645 240.088 -2.5573 ms
100th percentile service time composite-terms 251.19 241.634 -9.55624 ms
error rate composite-terms 0 0 0 %
Min Throughput composite_terms-keyword 2.00087 2.00123 0.00037 ops/s
Mean Throughput composite_terms-keyword 2.00104 2.00149 0.00045 ops/s
Median Throughput composite_terms-keyword 2.00103 2.00147 0.00043 ops/s
Max Throughput composite_terms-keyword 2.00129 2.00182 0.00054 ops/s
50th percentile latency composite_terms-keyword 367.154 368.008 0.85402 ms
90th percentile latency composite_terms-keyword 375.408 378.088 2.67967 ms
99th percentile latency composite_terms-keyword 389.83 391.233 1.40385 ms
100th percentile latency composite_terms-keyword 394.04 392.415 -1.62457 ms
50th percentile service time composite_terms-keyword 366.057 366.844 0.7867 ms
90th percentile service time composite_terms-keyword 374.423 376.727 2.3044 ms
99th percentile service time composite_terms-keyword 388.497 390.252 1.75494 ms
100th percentile service time composite_terms-keyword 392.982 391.827 -1.15543 ms
error rate composite_terms-keyword 0 0 0 %
Min Throughput composite-date_histogram-daily 2.00604 2.00613 8e-05 ops/s
Mean Throughput composite-date_histogram-daily 2.00734 2.00743 9e-05 ops/s
Median Throughput composite-date_histogram-daily 2.00724 2.00733 9e-05 ops/s
Max Throughput composite-date_histogram-daily 2.009 2.00913 0.00012 ops/s
50th percentile latency composite-date_histogram-daily 4.64375 4.56636 -0.0774 ms
90th percentile latency composite-date_histogram-daily 5.13133 4.98691 -0.14442 ms
99th percentile latency composite-date_histogram-daily 6.02836 5.18516 -0.84319 ms
100th percentile latency composite-date_histogram-daily 6.16331 5.19084 -0.97247 ms
50th percentile service time composite-date_histogram-daily 3.36197 3.23995 -0.12202 ms
90th percentile service time composite-date_histogram-daily 3.58223 3.35902 -0.22321 ms
99th percentile service time composite-date_histogram-daily 4.55331 3.82649 -0.72681 ms
100th percentile service time composite-date_histogram-daily 4.59146 3.84633 -0.74514 ms
error rate composite-date_histogram-daily 0 0 0 %
Min Throughput range 2.0065 2.00653 3e-05 ops/s
Mean Throughput range 2.00789 2.00792 3e-05 ops/s
Median Throughput range 2.00779 2.00781 3e-05 ops/s
Max Throughput range 2.0097 2.00972 2e-05 ops/s
50th percentile latency range 6.20611 6.12885 -0.07725 ms
90th percentile latency range 6.76924 6.49442 -0.27482 ms
99th percentile latency range 7.54035 6.63816 -0.90218 ms
100th percentile latency range 7.56007 6.69737 -0.8627 ms
50th percentile service time range 4.88277 4.735 -0.14778 ms
90th percentile service time range 5.11062 4.96923 -0.14139 ms
99th percentile service time range 6.41815 5.3017 -1.11645 ms
100th percentile service time range 6.67496 5.40639 -1.26857 ms
error rate range 0 0 0 %
Min Throughput range-numeric 2.00656 2.00656 0 ops/s
Mean Throughput range-numeric 2.00795 2.00796 1e-05 ops/s
Median Throughput range-numeric 2.00784 2.00785 1e-05 ops/s
Max Throughput range-numeric 2.00976 2.00978 3e-05 ops/s
50th percentile latency range-numeric 3.99145 3.52587 -0.46558 ms
90th percentile latency range-numeric 4.4814 3.95007 -0.53132 ms
99th percentile latency range-numeric 5.12297 4.09466 -1.02831 ms
100th percentile latency range-numeric 5.14643 4.11599 -1.03044 ms
50th percentile service time range-numeric 2.64244 2.24296 -0.39949 ms
90th percentile service time range-numeric 2.99102 2.34109 -0.64993 ms
99th percentile service time range-numeric 4.06795 2.5056 -1.56234 ms
100th percentile service time range-numeric 4.09543 2.50714 -1.58829 ms
error rate range-numeric 0 0 0 %
Min Throughput keyword-in-range 2.0051 2.00526 0.00016 ops/s
Mean Throughput keyword-in-range 2.0062 2.00639 0.00019 ops/s
Median Throughput keyword-in-range 2.00612 2.0063 0.00019 ops/s
Max Throughput keyword-in-range 2.00762 2.00785 0.00023 ops/s
50th percentile latency keyword-in-range 18.0953 16.891 -1.20433 ms
90th percentile latency keyword-in-range 18.6471 17.3683 -1.27884 ms
99th percentile latency keyword-in-range 19.569 21.3123 1.74332 ms
100th percentile latency keyword-in-range 19.6905 24.9325 5.24191 ms
50th percentile service time keyword-in-range 16.7515 15.6117 -1.13979 ms
90th percentile service time keyword-in-range 17.3912 15.8913 -1.49986 ms
99th percentile service time keyword-in-range 18.5805 19.9783 1.39781 ms
100th percentile service time keyword-in-range 18.6943 23.4255 4.73122 ms
error rate keyword-in-range 0 0 0 %
Min Throughput date_histogram_hourly_agg 2.00547 2.00538 -9e-05 ops/s
Mean Throughput date_histogram_hourly_agg 2.00664 2.00653 -0.00011 ops/s
Median Throughput date_histogram_hourly_agg 2.00655 2.00643 -0.00012 ops/s
Max Throughput date_histogram_hourly_agg 2.00816 2.00801 -0.00015 ops/s
50th percentile latency date_histogram_hourly_agg 7.38948 8.7427 1.35322 ms
90th percentile latency date_histogram_hourly_agg 8.70386 9.51501 0.81115 ms
99th percentile latency date_histogram_hourly_agg 9.01815 9.77227 0.75412 ms
100th percentile latency date_histogram_hourly_agg 9.07516 9.79157 0.7164 ms
50th percentile service time date_histogram_hourly_agg 5.98003 7.60973 1.62971 ms
90th percentile service time date_histogram_hourly_agg 7.18637 7.98177 0.7954 ms
99th percentile service time date_histogram_hourly_agg 7.65661 8.39514 0.73853 ms
100th percentile service time date_histogram_hourly_agg 7.83122 8.69417 0.86295 ms
error rate date_histogram_hourly_agg 0 0 0 %
Min Throughput date_histogram_minute_agg 2.00585 2.00553 -0.00033 ops/s
Mean Throughput date_histogram_minute_agg 2.0071 2.0067 -0.00041 ops/s
Median Throughput date_histogram_minute_agg 2.00701 2.0066 -0.00041 ops/s
Max Throughput date_histogram_minute_agg 2.00872 2.00822 -0.0005 ops/s
50th percentile latency date_histogram_minute_agg 42.4888 43.9686 1.47982 ms
90th percentile latency date_histogram_minute_agg 43.5993 46.1239 2.52468 ms
99th percentile latency date_histogram_minute_agg 46.7307 50.3228 3.59211 ms
100th percentile latency date_histogram_minute_agg 47.4019 51.5926 4.19071 ms
50th percentile service time date_histogram_minute_agg 41.3256 42.578 1.25233 ms
90th percentile service time date_histogram_minute_agg 42.5755 45.0301 2.45455 ms
99th percentile service time date_histogram_minute_agg 45.6805 49.3737 3.69325 ms
100th percentile service time date_histogram_minute_agg 46.3442 50.7813 4.43711 ms
error rate date_histogram_minute_agg 0 0 0 %
Min Throughput scroll 47.4695 46.6776 -0.79187 pages/s
Mean Throughput scroll 47.5747 46.7795 -0.79521 pages/s
Median Throughput scroll 47.584 46.7706 -0.81343 pages/s
Max Throughput scroll 47.6672 46.8748 -0.79235 pages/s
50th percentile latency scroll 6708.88 9030.58 2321.7 ms
90th percentile latency scroll 7502.34 10098.3 2595.99 ms
99th percentile latency scroll 7679.19 10366.1 2686.94 ms
100th percentile latency scroll 7689.01 10380.8 2691.81 ms
50th percentile service time scroll 512.759 520.876 8.11667 ms
90th percentile service time scroll 515.337 526.618 11.2809 ms
99th percentile service time scroll 542.35 548.638 6.28806 ms
100th percentile service time scroll 544.168 554.197 10.0289 ms
error rate scroll 0 0 0 %
Min Throughput query-string-on-message 2.00596 2.00599 2e-05 ops/s
Mean Throughput query-string-on-message 2.00724 2.00727 3e-05 ops/s
Median Throughput query-string-on-message 2.00714 2.00718 4e-05 ops/s
Max Throughput query-string-on-message 2.00889 2.00892 4e-05 ops/s
50th percentile latency query-string-on-message 6.74244 6.59617 -0.14627 ms
90th percentile latency query-string-on-message 7.14689 6.8599 -0.28699 ms
99th percentile latency query-string-on-message 8.07157 7.31748 -0.75409 ms
100th percentile latency query-string-on-message 8.26387 7.62211 -0.64176 ms
50th percentile service time query-string-on-message 5.39673 5.1748 -0.22193 ms
90th percentile service time query-string-on-message 5.55011 5.27228 -0.27783 ms
99th percentile service time query-string-on-message 6.51697 6.10194 -0.41503 ms
100th percentile service time query-string-on-message 6.84218 6.63003 -0.21214 ms
error rate query-string-on-message 0 0 0 %
Min Throughput query-string-on-message-filtered 2.0057 2.00569 -1e-05 ops/s
Mean Throughput query-string-on-message-filtered 2.00692 2.0069 -3e-05 ops/s
Median Throughput query-string-on-message-filtered 2.00683 2.00681 -2e-05 ops/s
Max Throughput query-string-on-message-filtered 2.00851 2.00846 -5e-05 ops/s
50th percentile latency query-string-on-message-filtered 13.8037 13.9634 0.15966 ms
90th percentile latency query-string-on-message-filtered 14.4127 14.4563 0.04356 ms
99th percentile latency query-string-on-message-filtered 18.8472 17.9196 -0.92766 ms
100th percentile latency query-string-on-message-filtered 19.0166 19.3687 0.35211 ms
50th percentile service time query-string-on-message-filtered 12.4753 12.6523 0.17698 ms
90th percentile service time query-string-on-message-filtered 12.7858 12.8901 0.10432 ms
99th percentile service time query-string-on-message-filtered 17.6934 16.7102 -0.98325 ms
100th percentile service time query-string-on-message-filtered 17.8455 18.2248 0.37928 ms
error rate query-string-on-message-filtered 0 0 0 %
Min Throughput query-string-on-message-filtered-sorted-num 2.0056 2.00527 -0.00033 ops/s
Mean Throughput query-string-on-message-filtered-sorted-num 2.0068 2.00639 -0.00042 ops/s
Median Throughput query-string-on-message-filtered-sorted-num 2.00671 2.0063 -0.00041 ops/s
Max Throughput query-string-on-message-filtered-sorted-num 2.00836 2.00785 -0.00051 ops/s
50th percentile latency query-string-on-message-filtered-sorted-num 31.0533 32.1822 1.12895 ms
90th percentile latency query-string-on-message-filtered-sorted-num 31.6728 32.5681 0.89535 ms
99th percentile latency query-string-on-message-filtered-sorted-num 42.0283 33.3498 -8.67847 ms
100th percentile latency query-string-on-message-filtered-sorted-num 49.3528 33.5331 -15.8196 ms
50th percentile service time query-string-on-message-filtered-sorted-num 29.6997 30.8156 1.11585 ms
90th percentile service time query-string-on-message-filtered-sorted-num 30.2174 31.1589 0.94151 ms
99th percentile service time query-string-on-message-filtered-sorted-num 40.8866 31.845 -9.04154 ms
100th percentile service time query-string-on-message-filtered-sorted-num 48.3676 32.1157 -16.2519 ms
error rate query-string-on-message-filtered-sorted-num 0 0 0 %
Min Throughput sort_keyword_can_match_shortcut 2.00639 2.00639 -1e-05 ops/s
Mean Throughput sort_keyword_can_match_shortcut 2.00777 2.00776 -1e-05 ops/s
Median Throughput sort_keyword_can_match_shortcut 2.00767 2.00765 -1e-05 ops/s
Max Throughput sort_keyword_can_match_shortcut 2.00954 2.00952 -2e-05 ops/s
50th percentile latency sort_keyword_can_match_shortcut 5.97481 5.88579 -0.08903 ms
90th percentile latency sort_keyword_can_match_shortcut 6.43498 6.31273 -0.12225 ms
99th percentile latency sort_keyword_can_match_shortcut 6.77 6.45795 -0.31205 ms
100th percentile latency sort_keyword_can_match_shortcut 6.81568 6.49112 -0.32456 ms
50th percentile service time sort_keyword_can_match_shortcut 4.71195 4.59687 -0.11508 ms
90th percentile service time sort_keyword_can_match_shortcut 4.7889 4.66535 -0.12355 ms
99th percentile service time sort_keyword_can_match_shortcut 5.52457 5.00429 -0.52028 ms
100th percentile service time sort_keyword_can_match_shortcut 5.57496 5.05724 -0.51772 ms
error rate sort_keyword_can_match_shortcut 0 0 0 %
Min Throughput sort_keyword_no_can_match_shortcut 2.00657 2.00656 -0 ops/s
Mean Throughput sort_keyword_no_can_match_shortcut 2.00796 2.00796 -0 ops/s
Median Throughput sort_keyword_no_can_match_shortcut 2.00785 2.00784 -1e-05 ops/s
Max Throughput sort_keyword_no_can_match_shortcut 2.00977 2.00978 1e-05 ops/s
50th percentile latency sort_keyword_no_can_match_shortcut 6.13848 6.00983 -0.12865 ms
90th percentile latency sort_keyword_no_can_match_shortcut 6.49499 6.41467 -0.08031 ms
99th percentile latency sort_keyword_no_can_match_shortcut 6.77671 6.7814 0.00468 ms
100th percentile latency sort_keyword_no_can_match_shortcut 6.90498 6.89799 -0.00699 ms
50th percentile service time sort_keyword_no_can_match_shortcut 4.79025 4.68255 -0.1077 ms
90th percentile service time sort_keyword_no_can_match_shortcut 4.89093 4.77762 -0.1133 ms
99th percentile service time sort_keyword_no_can_match_shortcut 5.05366 5.52823 0.47457 ms
100th percentile service time sort_keyword_no_can_match_shortcut 5.1399 5.78561 0.64571 ms
error rate sort_keyword_no_can_match_shortcut 0 0 0 %
Min Throughput sort_numeric_desc 2.00635 2.00634 -2e-05 ops/s
Mean Throughput sort_numeric_desc 2.00771 2.00769 -2e-05 ops/s
Median Throughput sort_numeric_desc 2.00761 2.00758 -3e-05 ops/s
Max Throughput sort_numeric_desc 2.00947 2.00945 -2e-05 ops/s
50th percentile latency sort_numeric_desc 5.61625 5.58807 -0.02818 ms
90th percentile latency sort_numeric_desc 6.09148 5.99699 -0.09449 ms
99th percentile latency sort_numeric_desc 6.42424 6.16707 -0.25717 ms
100th percentile latency sort_numeric_desc 6.48501 6.17923 -0.30578 ms
50th percentile service time sort_numeric_desc 4.30613 4.27131 -0.03482 ms
90th percentile service time sort_numeric_desc 4.44891 4.36562 -0.08329 ms
99th percentile service time sort_numeric_desc 4.97028 4.40671 -0.56357 ms
100th percentile service time sort_numeric_desc 5.14203 4.41073 -0.7313 ms
error rate sort_numeric_desc 0 0 0 %
Min Throughput sort_numeric_asc 2.00653 2.00654 0 ops/s
Mean Throughput sort_numeric_asc 2.00793 2.00793 -0 ops/s
Median Throughput sort_numeric_asc 2.00782 2.00782 -1e-05 ops/s
Max Throughput sort_numeric_asc 2.00974 2.00973 -1e-05 ops/s
50th percentile latency sort_numeric_asc 5.39699 5.15343 -0.24356 ms
90th percentile latency sort_numeric_asc 5.65027 5.51972 -0.13056 ms
99th percentile latency sort_numeric_asc 5.79834 5.67545 -0.12289 ms
100th percentile latency sort_numeric_asc 5.84216 5.69223 -0.14993 ms
50th percentile service time sort_numeric_asc 4.07074 3.84328 -0.22746 ms
90th percentile service time sort_numeric_asc 4.15467 3.92096 -0.23371 ms
99th percentile service time sort_numeric_asc 4.29875 4.26192 -0.03684 ms
100th percentile service time sort_numeric_asc 4.31666 4.53265 0.21599 ms
error rate sort_numeric_asc 0 0 0 %
Min Throughput sort_numeric_desc_with_match 2.00656 2.00656 -1e-05 ops/s
Mean Throughput sort_numeric_desc_with_match 2.00796 2.00795 -1e-05 ops/s
Median Throughput sort_numeric_desc_with_match 2.00784 2.00784 -0 ops/s
Max Throughput sort_numeric_desc_with_match 2.00978 2.00977 -1e-05 ops/s
50th percentile latency sort_numeric_desc_with_match 3.89055 3.88205 -0.0085 ms
90th percentile latency sort_numeric_desc_with_match 4.29936 4.27613 -0.02323 ms
99th percentile latency sort_numeric_desc_with_match 4.45586 4.54512 0.08926 ms
100th percentile latency sort_numeric_desc_with_match 4.4718 4.5984 0.1266 ms
50th percentile service time sort_numeric_desc_with_match 2.60482 2.61415 0.00933 ms
90th percentile service time sort_numeric_desc_with_match 2.69171 2.69806 0.00634 ms
99th percentile service time sort_numeric_desc_with_match 2.8187 2.92276 0.10406 ms
100th percentile service time sort_numeric_desc_with_match 2.91206 3.02716 0.11511 ms
error rate sort_numeric_desc_with_match 0 0 0 %
Min Throughput sort_numeric_asc_with_match 2.00659 2.00659 0 ops/s
Mean Throughput sort_numeric_asc_with_match 2.00799 2.008 1e-05 ops/s
Median Throughput sort_numeric_asc_with_match 2.00788 2.00789 1e-05 ops/s
Max Throughput sort_numeric_asc_with_match 2.00981 2.00983 2e-05 ops/s
50th percentile latency sort_numeric_asc_with_match 3.91376 3.74742 -0.16634 ms
90th percentile latency sort_numeric_asc_with_match 4.30826 4.14935 -0.1589 ms
99th percentile latency sort_numeric_asc_with_match 4.47618 4.3106 -0.16558 ms
100th percentile latency sort_numeric_asc_with_match 4.52172 4.32192 -0.19981 ms
50th percentile service time sort_numeric_asc_with_match 2.64935 2.41151 -0.23784 ms
90th percentile service time sort_numeric_asc_with_match 2.72704 2.4515 -0.27554 ms
99th percentile service time sort_numeric_asc_with_match 2.84652 2.69349 -0.15303 ms
100th percentile service time sort_numeric_asc_with_match 2.88179 2.72794 -0.15384 ms
error rate sort_numeric_asc_with_match 0 0 0 %
Min Throughput range_field_conjunction_big_range_big_term_query 2.00659 2.00659 -0 ops/s
Mean Throughput range_field_conjunction_big_range_big_term_query 2.008 2.00799 -1e-05 ops/s
Median Throughput range_field_conjunction_big_range_big_term_query 2.00789 2.00788 -1e-05 ops/s
Max Throughput range_field_conjunction_big_range_big_term_query 2.00981 2.00982 0 ops/s
50th percentile latency range_field_conjunction_big_range_big_term_query 3.6219 3.39547 -0.22643 ms
90th percentile latency range_field_conjunction_big_range_big_term_query 4.03194 3.97057 -0.06137 ms
99th percentile latency range_field_conjunction_big_range_big_term_query 4.15696 4.15303 -0.00393 ms
100th percentile latency range_field_conjunction_big_range_big_term_query 4.16892 4.2087 0.03977 ms
50th percentile service time range_field_conjunction_big_range_big_term_query 2.30698 2.32822 0.02124 ms
90th percentile service time range_field_conjunction_big_range_big_term_query 2.36605 2.38881 0.02276 ms
99th percentile service time range_field_conjunction_big_range_big_term_query 2.42246 2.52474 0.10229 ms
100th percentile service time range_field_conjunction_big_range_big_term_query 2.42537 2.53529 0.10991 ms
error rate range_field_conjunction_big_range_big_term_query 0 0 0 %
Min Throughput range_field_disjunction_big_range_small_term_query 2.00657 2.00656 -1e-05 ops/s
Mean Throughput range_field_disjunction_big_range_small_term_query 2.00797 2.00796 -1e-05 ops/s
Median Throughput range_field_disjunction_big_range_small_term_query 2.00786 2.00785 -1e-05 ops/s
Max Throughput range_field_disjunction_big_range_small_term_query 2.00978 2.00976 -2e-05 ops/s
50th percentile latency range_field_disjunction_big_range_small_term_query 3.72451 3.68203 -0.04248 ms
90th percentile latency range_field_disjunction_big_range_small_term_query 4.05928 4.09013 0.03084 ms
99th percentile latency range_field_disjunction_big_range_small_term_query 4.27825 4.6761 0.39785 ms
100th percentile latency range_field_disjunction_big_range_small_term_query 4.28907 4.71842 0.42935 ms
50th percentile service time range_field_disjunction_big_range_small_term_query 2.37184 2.32445 -0.04739 ms
90th percentile service time range_field_disjunction_big_range_small_term_query 2.48437 2.39416 -0.09021 ms
99th percentile service time range_field_disjunction_big_range_small_term_query 2.61525 2.47329 -0.14196 ms
100th percentile service time range_field_disjunction_big_range_small_term_query 2.61736 2.49068 -0.12668 ms
error rate range_field_disjunction_big_range_small_term_query 0 0 0 %
Min Throughput range_field_conjunction_small_range_small_term_query 2.00658 2.00659 1e-05 ops/s
Mean Throughput range_field_conjunction_small_range_small_term_query 2.00798 2.008 2e-05 ops/s
Median Throughput range_field_conjunction_small_range_small_term_query 2.00787 2.00789 2e-05 ops/s
Max Throughput range_field_conjunction_small_range_small_term_query 2.0098 2.00983 3e-05 ops/s
50th percentile latency range_field_conjunction_small_range_small_term_query 3.77027 3.69358 -0.07669 ms
90th percentile latency range_field_conjunction_small_range_small_term_query 4.20194 4.07297 -0.12896 ms
99th percentile latency range_field_conjunction_small_range_small_term_query 4.461 4.35812 -0.10288 ms
100th percentile latency range_field_conjunction_small_range_small_term_query 4.58973 4.46281 -0.12692 ms
50th percentile service time range_field_conjunction_small_range_small_term_query 2.47439 2.41086 -0.06352 ms
90th percentile service time range_field_conjunction_small_range_small_term_query 2.53732 2.47352 -0.0638 ms
99th percentile service time range_field_conjunction_small_range_small_term_query 2.64288 2.7786 0.13572 ms
100th percentile service time range_field_conjunction_small_range_small_term_query 2.69327 2.83423 0.14096 ms
error rate range_field_conjunction_small_range_small_term_query 0 0 0 %
Min Throughput range_field_conjunction_small_range_big_term_query 2.0066 2.00659 -0 ops/s
Mean Throughput range_field_conjunction_small_range_big_term_query 2.008 2.008 -0 ops/s
Median Throughput range_field_conjunction_small_range_big_term_query 2.00789 2.00788 -1e-05 ops/s
Max Throughput range_field_conjunction_small_range_big_term_query 2.00984 2.00983 -1e-05 ops/s
50th percentile latency range_field_conjunction_small_range_big_term_query 3.52637 3.57495 0.04857 ms
90th percentile latency range_field_conjunction_small_range_big_term_query 3.95682 4.05593 0.09911 ms
99th percentile latency range_field_conjunction_small_range_big_term_query 4.73341 4.27928 -0.45414 ms
100th percentile latency range_field_conjunction_small_range_big_term_query 5.23901 4.42254 -0.81647 ms
50th percentile service time range_field_conjunction_small_range_big_term_query 2.25204 2.31126 0.05922 ms
90th percentile service time range_field_conjunction_small_range_big_term_query 2.35268 2.36526 0.01258 ms
99th percentile service time range_field_conjunction_small_range_big_term_query 3.42129 2.48448 -0.93681 ms
100th percentile service time range_field_conjunction_small_range_big_term_query 4.10827 2.56091 -1.54735 ms
error rate range_field_conjunction_small_range_big_term_query 0 0 0 %
Min Throughput range-auto-date-histo 0.253941 0.252432 -0.00151 ops/s
Mean Throughput range-auto-date-histo 0.254137 0.252709 -0.00143 ops/s
Median Throughput range-auto-date-histo 0.254164 0.252737 -0.00143 ops/s
Max Throughput range-auto-date-histo 0.254284 0.252863 -0.00142 ops/s
50th percentile latency range-auto-date-histo 859868 865532 5664.25 ms
90th percentile latency range-auto-date-histo 996884 1.00339e+06 6502.56 ms
99th percentile latency range-auto-date-histo 1.02788e+06 1.03436e+06 6480.28 ms
100th percentile latency range-auto-date-histo 1.02959e+06 1.03609e+06 6495.75 ms
50th percentile service time range-auto-date-histo 3915.13 3931.66 16.5242 ms
90th percentile service time range-auto-date-histo 3970.56 4019.85 49.2909 ms
99th percentile service time range-auto-date-histo 4127.62 4071.18 -56.4415 ms
100th percentile service time range-auto-date-histo 4198.63 4083.92 -114.713 ms
error rate range-auto-date-histo 0 0 0 %
Min Throughput range-auto-date-histo-with-metrics 0.0972051 0.0918892 -0.00532 ops/s
Mean Throughput range-auto-date-histo-with-metrics 0.0972522 0.0918988 -0.00535 ops/s
Median Throughput range-auto-date-histo-with-metrics 0.0972463 0.0918989 -0.00535 ops/s
Max Throughput range-auto-date-histo-with-metrics 0.0972952 0.091908 -0.00539 ops/s
50th percentile latency range-auto-date-histo-with-metrics 2.45031e+06 2.60055e+06 150244 ms
90th percentile latency range-auto-date-histo-with-metrics 2.84063e+06 3.01576e+06 175134 ms
99th percentile latency range-auto-date-histo-with-metrics 2.92811e+06 3.10899e+06 180880 ms
100th percentile latency range-auto-date-histo-with-metrics 2.93293e+06 3.11419e+06 181260 ms
50th percentile service time range-auto-date-histo-with-metrics 10248.6 10876.1 627.499 ms
90th percentile service time range-auto-date-histo-with-metrics 10357.1 10974.3 617.188 ms
99th percentile service time range-auto-date-histo-with-metrics 10466.7 11048.4 581.674 ms
100th percentile service time range-auto-date-histo-with-metrics 10503.6 11073.5 569.874 ms
error rate range-auto-date-histo-with-metrics 0 0 0 %
Min Throughput range-agg-1 2.00657 2.00658 1e-05 ops/s
Mean Throughput range-agg-1 2.00797 2.00799 2e-05 ops/s
Median Throughput range-agg-1 2.00786 2.00788 1e-05 ops/s
Max Throughput range-agg-1 2.00979 2.0098 1e-05 ops/s
50th percentile latency range-agg-1 4.05381 3.88658 -0.16723 ms
90th percentile latency range-agg-1 4.77227 4.26427 -0.508 ms
99th percentile latency range-agg-1 4.94315 4.44162 -0.50153 ms
100th percentile latency range-agg-1 4.95023 4.45635 -0.49388 ms
50th percentile service time range-agg-1 3.02408 2.59117 -0.43291 ms
90th percentile service time range-agg-1 3.11851 2.66707 -0.45144 ms
99th percentile service time range-agg-1 3.19297 2.73838 -0.45459 ms
100th percentile service time range-agg-1 3.20438 2.73999 -0.4644 ms
error rate range-agg-1 0 0 0 %
Min Throughput range-agg-2 2.00658 2.00659 1e-05 ops/s
Mean Throughput range-agg-2 2.00799 2.008 2e-05 ops/s
Median Throughput range-agg-2 2.00788 2.00789 2e-05 ops/s
Max Throughput range-agg-2 2.00981 2.00983 2e-05 ops/s
50th percentile latency range-agg-2 3.89373 3.76075 -0.13298 ms
90th percentile latency range-agg-2 4.26031 4.1732 -0.08711 ms
99th percentile latency range-agg-2 4.48222 4.34566 -0.13656 ms
100th percentile latency range-agg-2 4.49206 4.3695 -0.12256 ms
50th percentile service time range-agg-2 2.56272 2.43203 -0.13069 ms
90th percentile service time range-agg-2 2.65253 2.52251 -0.13002 ms
99th percentile service time range-agg-2 2.78896 2.61991 -0.16906 ms
100th percentile service time range-agg-2 2.80778 2.62173 -0.18605 ms
error rate range-agg-2 0 0 0 %
Min Throughput cardinality-agg-low 2.00633 2.00632 -1e-05 ops/s
Mean Throughput cardinality-agg-low 2.00767 2.00767 0 ops/s
Median Throughput cardinality-agg-low 2.00756 2.00757 1e-05 ops/s
Max Throughput cardinality-agg-low 2.00942 2.00942 0 ops/s
50th percentile latency cardinality-agg-low 5.18152 5.04604 -0.13548 ms
90th percentile latency cardinality-agg-low 5.74737 5.60356 -0.14381 ms
99th percentile latency cardinality-agg-low 5.98298 5.89914 -0.08384 ms
100th percentile latency cardinality-agg-low 6.00058 5.90544 -0.09514 ms
50th percentile service time cardinality-agg-low 3.73406 3.50927 -0.22479 ms
90th percentile service time cardinality-agg-low 4.35844 4.11425 -0.24418 ms
99th percentile service time cardinality-agg-low 4.58933 4.23608 -0.35325 ms
100th percentile service time cardinality-agg-low 4.70457 4.26253 -0.44203 ms
error rate cardinality-agg-low 0 0 0 %
Min Throughput cardinality-agg-high 0.831001 0.807622 -0.02338 ops/s
Mean Throughput cardinality-agg-high 0.831748 0.809457 -0.02229 ops/s
Median Throughput cardinality-agg-high 0.83175 0.809936 -0.02181 ops/s
Max Throughput cardinality-agg-high 0.832383 0.81044 -0.02194 ops/s
50th percentile latency cardinality-agg-high 176320 184263 7942.5 ms
90th percentile latency cardinality-agg-high 204450 213523 9073.25 ms
99th percentile latency cardinality-agg-high 210729 220275 9546.85 ms
100th percentile latency cardinality-agg-high 211067 220679 9612.58 ms
50th percentile service time cardinality-agg-high 1183.06 1218.54 35.481 ms
90th percentile service time cardinality-agg-high 1252.04 1280.08 28.0458 ms
99th percentile service time cardinality-agg-high 1398.18 1322.3 -75.8817 ms
100th percentile service time cardinality-agg-high 1410.75 1323.51 -87.24 ms
error rate cardinality-agg-high 0 0 0 %
Min Throughput cardinality-agg-very-high 0.0330573 0.0331131 6e-05 ops/s
Mean Throughput cardinality-agg-very-high 0.0332083 0.0332044 -0 ops/s
Median Throughput cardinality-agg-very-high 0.0332314 0.0332132 -2e-05 ops/s
Max Throughput cardinality-agg-very-high 0.0332748 0.0332688 -1e-05 ops/s
50th percentile latency cardinality-agg-very-high 2.96765e+06 2.976e+06 8349.12 ms
90th percentile latency cardinality-agg-very-high 4.14859e+06 4.15461e+06 6013.62 ms
99th percentile latency cardinality-agg-very-high 4.42279e+06 4.4194e+06 -3382.25 ms
100th percentile latency cardinality-agg-very-high 4.43761e+06 4.43412e+06 -3497 ms
50th percentile service time cardinality-agg-very-high 29843.6 29915 71.4072 ms
90th percentile service time cardinality-agg-very-high 30380.2 30067.4 -312.834 ms
99th percentile service time cardinality-agg-very-high 37120.1 31207.4 -5912.7 ms
100th percentile service time cardinality-agg-very-high 37135 31251.6 -5883.36 ms
error rate cardinality-agg-very-high 0 0 0 %

@prudhvigodithi prudhvigodithi changed the title [Draft] For match_all with approximation retain totalHitsThreshold value to default [Draft] Improve sort-query performance by retaining the default totalHitsThreshold for approximated match_all queries May 3, 2025
Signed-off-by: Prudhvi Godithi <[email protected]>
Copy link
Contributor

github-actions bot commented May 3, 2025

❌ Gradle check result for e85b851: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Copy link
Contributor

github-actions bot commented May 4, 2025

❌ Gradle check result for e85b851: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Copy link
Contributor

github-actions bot commented May 4, 2025

❌ Gradle check result for f42e464: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@prudhvigodithi prudhvigodithi marked this pull request as ready for review May 5, 2025 17:05
@bowenlan-amzn bowenlan-amzn self-requested a review May 5, 2025 22:20
@bowenlan-amzn
Copy link
Member

Accidently clicked approval ...

@bowenlan-amzn
Copy link
Member

bowenlan-amzn commented May 5, 2025

I think you discovered a pretty important part, shortcut total hits, for giving the right hits.total for this "approximation" logic.

Putting down a quick summary of "approximation"

  • Apply to match all or range query over numeric field, optional with a sort field on the same field, without any aggregation.
  • Performance gain comes from building the scorer from the index of numeric field. We terminate early after having a length of size docId iterator. Comparing to normal way, the docId iterator from the index is full range.
    • size is the size of fetched docs in the search response, default to 10 and user can specify. (Seems we can have a sanity check if user provided size is larger than the documents of a shard, then don't do "appximation")
  • Since we have a much smaller docId iterator, the total hits collector won't be able to tell the right hits.total by collecting that, so the shortcut logic changed in this PR seems to me the right way to go!

One idea is to have ApproximateQuery itself able to provide a shortcut total hits, and at the time of building TopDocsCollectorContext, provide that.

cc: @getsaurabh02

@prudhvigodithi
Copy link
Member Author

  • so the shortcut logic changed in this PR seems to me the right way to go!

Thanks @bowenlan-amzn I see you already approved PR, once the gradle check is green we can get this merged.

Copy link
Contributor

github-actions bot commented May 5, 2025

✅ Gradle check result for a0b3511: SUCCESS

@prudhvigodithi
Copy link
Member Author

Thanks for the review folks, just a follow up to see if we can get this merged to main.

@andrross andrross merged commit 560ac10 into opensearch-project:main May 6, 2025
29 of 30 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Performance Roadmap May 6, 2025
@opensearch-trigger-bot
Copy link
Contributor

The backport to 3.0 failed:

The process '/usr/bin/git' failed with exit code 128

To backport manually, run these commands in your terminal:

# Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/OpenSearch/backport-3.0 3.0
# Navigate to the new working tree
pushd ../.worktrees/OpenSearch/backport-3.0
# Create a new branch
git switch --create backport/backport-18189-to-3.0
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 560ac1030c941c8cb01c4fcd29a919bd45ccabee
# Push it to GitHub
git push --set-upstream origin backport/backport-18189-to-3.0
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/OpenSearch/backport-3.0

Then, create a pull request where the base branch is 3.0 and the compare/head branch is backport/backport-18189-to-3.0.

@prudhvigodithi
Copy link
Member Author

Create a manual backport PR #18220.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Improve performance for approximated match_all sort queries
5 participants