硬件环境
Elasticsearch 服务器单机2核8G,ESrally 服务器2核1G。
软件版本
Elasticsearch 7.1.0,ESrally 2.3.0,Python 3.8.7。
软件配置
Elasticsearch 的配置使用默认的配置,ESrally 使用的数据集为 geonames。
压力测试过程
1. 完全卸载 python
https://www.cnblogs.com/phpandmysql/p/7066399.html
2. 安装 python 3.8.7
https://cloud.tencent.com/developer/article/1892065
3. 下载离线数据 (比如 documents.json.bz2)并解压
https://developer.aliyun.com/article/851848
4. 安装 ESrally2.3.0
https://developer.aliyun.com/article/851848
5. 下载对应版本的 rally-tracks 仓库,将下载的离线数据 documents.json.bz2 和 documents.json(bz2解压后的数据)拷贝到对应的仓库文件夹里,如 rally-tracks-7.1/geonames
https://developer.aliyun.com/article/851848
6. 运行压力测试命令
esrally race --pipeline=benchmark-only --target-hosts=xxx.com:9200 --track-path=/download/rally-tracks-7.1/geonames --client-options="basic_auth_user:'elastic',basic_auth_password:'elastic'" --challenge=append-no-conflicts --user-tag="zmc:chostpath-geonames-append-no-conflicts" --offline
https://developer.aliyun.com/article/851848
https://esrally.readthedocs.io/en/stable/race.html
7. 压力测试结果
插入记录并创建索引:12000 docs/s
term 查询:90 ops/s
phrase 查询:100 ops/s
运行时间:5861s
[INFO] Racing on track [geonames], challenge [append-no-conflicts] and car ['external'] with version [7.1.0].
Running delete-index [100% done]
Running create-index [100% done]
Running check-cluster-health [100% done]
Running index-append [100% done]
Running refresh-after-index [100% done]
Running force-merge [100% done]
Running refresh-after-force-merge [100% done]
Running wait-until-merges-finish [100% done]
Running index-stats [100% done]
Running node-stats [100% done]
Running default [100% done]
Running term [100% done]
Running phrase [100% done]
Running country_agg_uncached [100% done]
Running country_agg_cached [100% done]
Running scroll [100% done]
Running expression [100% done]
Running painless_static [100% done]
Running painless_dynamic [100% done]
Running decay_geo_gauss_function_score [100% done]
Running decay_geo_gauss_script_score [100% done]
Running field_value_function_score [100% done]
Running field_value_script_score [100% done]
Running large_terms [100% done]
Running large_filtered_terms [100% done]
Running large_prohibited_terms [100% done]
Running desc_sort_population [100% done]
Running desc_sort_population_can_match_shortcut [100% done]
Running desc_sort_population_no_can_match_shortcut [100% done]
Running asc_sort_population [100% done]
Running asc_sort_with_after_population [100% done]
Running desc_sort_geonameid [100% done]
Running desc_sort_with_after_geonameid [100% done]
Running asc_sort_geonameid [100% done]
Running asc_sort_with_after_geonameid [100% done]
Running sort_country_code_can_match_shortcut [100% done]
Running sort_country_code_no_can_match_shortcut [100% done]
------------------------------------------------------
_______ __ _____
/ ____(_)___ ____ _/ / / ___/_________ ________
/ /_ / / __ \/ __ `/ / \__ \/ ___/ __ \/ ___/ _ \
/ __/ / / / / / /_/ / / ___/ / /__/ /_/ / / / __/
/_/ /_/_/ /_/\__,_/_/ /____/\___/\____/_/ \___/
------------------------------------------------------
| Metric | Task | Value | Unit |
|---------------------------------------------------------------:|-------------------------------------------:|----------:|--------:|
| Cumulative indexing time of primary shards | | 16.3405 | min |
| Min cumulative indexing time across primary shards | | 0 | min |
| Median cumulative indexing time across primary shards | | 1.60952 | min |
| Max cumulative indexing time across primary shards | | 3.5906 | 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 | | 8.35022 | min |
| Cumulative merge count of primary shards | | 110 | |
| Min cumulative merge time across primary shards | | 0 | min |
| Median cumulative merge time across primary shards | | 0.663317 | min |
| Max cumulative merge time across primary shards | | 1.98007 | min |
| Cumulative merge throttle time of primary shards | | 0.502533 | min |
| Min cumulative merge throttle time across primary shards | | 0 | min |
| Median cumulative merge throttle time across primary shards | | 0.0425 | min |
| Max cumulative merge throttle time across primary shards | | 0.140433 | min |
| Cumulative refresh time of primary shards | | 7.22975 | min |
| Cumulative refresh count of primary shards | | 1126 | |
| Min cumulative refresh time across primary shards | | 0 | min |
| Median cumulative refresh time across primary shards | | 0.979983 | min |
| Max cumulative refresh time across primary shards | | 1.34425 | min |
| Cumulative flush time of primary shards | | 0.16395 | min |
| Cumulative flush count of primary shards | | 20 | |
| Min cumulative flush time across primary shards | | 0 | min |
| Median cumulative flush time across primary shards | | 0.01165 | min |
| Max cumulative flush time across primary shards | | 0.0436 | min |
| Total Young Gen GC time | | 86.529 | s |
| Total Young Gen GC count | | 12375 | |
| Total Old Gen GC time | | 14.363 | s |
| Total Old Gen GC count | | 262 | |
| Store size | | 1.93473 | GB |
| Translog size | | 2.635 | GB |
| Heap used for segments | | 12.3735 | MB |
| Heap used for doc values | | 0.025116 | MB |
| Heap used for terms | | 11.5903 | MB |
| Heap used for norms | | 0.0585327 | MB |
| Heap used for points | | 0.165386 | MB |
| Heap used for stored fields | | 0.53421 | MB |
| Segment count | | 78 | |
| Min Throughput | index-append | 10122.7 | docs/s |
| Mean Throughput | index-append | 12061.9 | docs/s |
| Median Throughput | index-append | 12170.2 | docs/s |
| Max Throughput | index-append | 17943.6 | docs/s |
| 50th percentile latency | index-append | 2361.55 | ms |
| 90th percentile latency | index-append | 3903.64 | ms |
| 99th percentile latency | index-append | 5380.5 | ms |
| 99.9th percentile latency | index-append | 6845.86 | ms |
| 100th percentile latency | index-append | 7169.77 | ms |
| 50th percentile service time | index-append | 2361.55 | ms |
| 90th percentile service time | index-append | 3903.64 | ms |
| 99th percentile service time | index-append | 5380.5 | ms |
| 99.9th percentile service time | index-append | 6845.86 | ms |
| 100th percentile service time | index-append | 7169.77 | ms |
| error rate | index-append | 38.95 | % |
| 100th percentile latency | force-merge | 6.19035 | ms |
| 100th percentile service time | force-merge | 6.19035 | ms |
| error rate | force-merge | 100 | % |
| Min Throughput | index-stats | 89.56 | ops/s |
| Mean Throughput | index-stats | 89.91 | ops/s |
| Median Throughput | index-stats | 89.97 | ops/s |
| Max Throughput | index-stats | 89.99 | ops/s |
| 50th percentile latency | index-stats | 9.37459 | ms |
| 90th percentile latency | index-stats | 54.1675 | ms |
| 99th percentile latency | index-stats | 94.3803 | ms |
| 99.9th percentile latency | index-stats | 109.661 | ms |
| 100th percentile latency | index-stats | 110.261 | ms |
| 50th percentile service time | index-stats | 7.83051 | ms |
| 90th percentile service time | index-stats | 11.1769 | ms |
| 99th percentile service time | index-stats | 23.3072 | ms |
| 99.9th percentile service time | index-stats | 32.1841 | ms |
| 100th percentile service time | index-stats | 38.6948 | ms |
| error rate | index-stats | 0 | % |
| Min Throughput | node-stats | 89.69 | ops/s |
| Mean Throughput | node-stats | 89.89 | ops/s |
| Median Throughput | node-stats | 89.93 | ops/s |
| Max Throughput | node-stats | 89.96 | ops/s |
| 50th percentile latency | node-stats | 9.01292 | ms |
| 90th percentile latency | node-stats | 14.0279 | ms |
| 99th percentile latency | node-stats | 36.3481 | ms |
| 99.9th percentile latency | node-stats | 44.7931 | ms |
| 100th percentile latency | node-stats | 45.2969 | ms |
| 50th percentile service time | node-stats | 7.95842 | ms |
| 90th percentile service time | node-stats | 10.3212 | ms |
| 99th percentile service time | node-stats | 14.6593 | ms |
| 99.9th percentile service time | node-stats | 37.8478 | ms |
| 100th percentile service time | node-stats | 41.4108 | ms |
| error rate | node-stats | 0 | % |
| Min Throughput | default | 49.96 | ops/s |
| Mean Throughput | default | 50.03 | ops/s |
| Median Throughput | default | 50.03 | ops/s |
| Max Throughput | default | 50.06 | ops/s |
| 50th percentile latency | default | 3.72766 | ms |
| 90th percentile latency | default | 4.44384 | ms |
| 99th percentile latency | default | 12.1458 | ms |
| 99.9th percentile latency | default | 28.4415 | ms |
| 100th percentile latency | default | 31.9552 | ms |
| 50th percentile service time | default | 2.63006 | ms |
| 90th percentile service time | default | 3.15024 | ms |
| 99th percentile service time | default | 5.16804 | ms |
| 99.9th percentile service time | default | 13.9051 | ms |
| 100th percentile service time | default | 25.1866 | ms |
| error rate | default | 0 | % |
| Min Throughput | term | 85.38 | ops/s |
| Mean Throughput | term | 90.45 | ops/s |
| Median Throughput | term | 91.08 | ops/s |
| Max Throughput | term | 93.6 | ops/s |
| 50th percentile latency | term | 4.39383 | ms |
| 90th percentile latency | term | 5.33798 | ms |
| 99th percentile latency | term | 22.3396 | ms |
| 99.9th percentile latency | term | 37.0458 | ms |
| 100th percentile latency | term | 39.3416 | ms |
| 50th percentile service time | term | 3.27235 | ms |
| 90th percentile service time | term | 4.08954 | ms |
| 99th percentile service time | term | 7.21523 | ms |
| 99.9th percentile service time | term | 19.9844 | ms |
| 100th percentile service time | term | 25.2141 | ms |
| error rate | term | 0 | % |
| Min Throughput | phrase | 108.85 | ops/s |
| Mean Throughput | phrase | 109.3 | ops/s |
| Median Throughput | phrase | 109.36 | ops/s |
| Max Throughput | phrase | 109.55 | ops/s |
| 50th percentile latency | phrase | 5.00138 | ms |
| 90th percentile latency | phrase | 6.81791 | ms |
| 99th percentile latency | phrase | 16.087 | ms |
| 99.9th percentile latency | phrase | 31.6739 | ms |
| 100th percentile latency | phrase | 36.0894 | ms |
| 50th percentile service time | phrase | 3.94848 | ms |
| 90th percentile service time | phrase | 5.58848 | ms |
| 99th percentile service time | phrase | 10.0789 | ms |
| 99.9th percentile service time | phrase | 15.0614 | ms |
| 100th percentile service time | phrase | 18.7541 | ms |
| error rate | phrase | 0 | % |
| Min Throughput | country_agg_uncached | 2.96 | ops/s |
| Mean Throughput | country_agg_uncached | 2.97 | ops/s |
| Median Throughput | country_agg_uncached | 2.97 | ops/s |
| Max Throughput | country_agg_uncached | 2.97 | ops/s |
| 50th percentile latency | country_agg_uncached | 274.805 | ms |
| 90th percentile latency | country_agg_uncached | 371.588 | ms |
| 99th percentile latency | country_agg_uncached | 423.822 | ms |
| 100th percentile latency | country_agg_uncached | 444.827 | ms |
| 50th percentile service time | country_agg_uncached | 272.182 | ms |
| 90th percentile service time | country_agg_uncached | 318.665 | ms |
| 99th percentile service time | country_agg_uncached | 393.578 | ms |
| 100th percentile service time | country_agg_uncached | 421.612 | ms |
| error rate | country_agg_uncached | 0 | % |
| Min Throughput | country_agg_cached | 95.56 | ops/s |
| Mean Throughput | country_agg_cached | 96.73 | ops/s |
| Median Throughput | country_agg_cached | 96.85 | ops/s |
| Max Throughput | country_agg_cached | 97.56 | ops/s |
| 50th percentile latency | country_agg_cached | 3.47298 | ms |
| 90th percentile latency | country_agg_cached | 4.1012 | ms |
| 99th percentile latency | country_agg_cached | 10.8617 | ms |
| 99.9th percentile latency | country_agg_cached | 39.351 | ms |
| 100th percentile latency | country_agg_cached | 40.8598 | ms |
| 50th percentile service time | country_agg_cached | 2.39234 | ms |
| 90th percentile service time | country_agg_cached | 2.92377 | ms |
| 99th percentile service time | country_agg_cached | 4.60721 | ms |
| 99.9th percentile service time | country_agg_cached | 10.0582 | ms |
| 100th percentile service time | country_agg_cached | 11.1767 | ms |
| error rate | country_agg_cached | 0 | % |
| Min Throughput | scroll | 19.99 | pages/s |
| Mean Throughput | scroll | 19.99 | pages/s |
| Median Throughput | scroll | 19.99 | pages/s |
| Max Throughput | scroll | 19.99 | pages/s |
| 50th percentile latency | scroll | 1057.47 | ms |
| 90th percentile latency | scroll | 1118.3 | ms |
| 99th percentile latency | scroll | 1166.17 | ms |
| 100th percentile latency | scroll | 1211.34 | ms |
| 50th percentile service time | scroll | 1055.33 | ms |
| 90th percentile service time | scroll | 1116.42 | ms |
| 99th percentile service time | scroll | 1164.84 | ms |
| 100th percentile service time | scroll | 1209.51 | ms |
| error rate | scroll | 0 | % |
| Min Throughput | expression | 1.5 | ops/s |
| Mean Throughput | expression | 1.5 | ops/s |
| Median Throughput | expression | 1.5 | ops/s |
| Max Throughput | expression | 1.5 | ops/s |
| 50th percentile latency | expression | 513.33 | ms |
| 90th percentile latency | expression | 705.775 | ms |
| 99th percentile latency | expression | 771.484 | ms |
| 100th percentile latency | expression | 790.735 | ms |
| 50th percentile service time | expression | 506.926 | ms |
| 90th percentile service time | expression | 703.848 | ms |
| 99th percentile service time | expression | 737.09 | ms |
| 100th percentile service time | expression | 749.866 | ms |
| error rate | expression | 0 | % |
| Min Throughput | painless_static | 1.08 | ops/s |
| Mean Throughput | painless_static | 1.09 | ops/s |
| Median Throughput | painless_static | 1.09 | ops/s |
| Max Throughput | painless_static | 1.09 | ops/s |
| 50th percentile latency | painless_static | 1861.85 | ms |
| 90th percentile latency | painless_static | 2087.31 | ms |
| 99th percentile latency | painless_static | 2159.07 | ms |
| 100th percentile latency | painless_static | 2202.24 | ms |
| 50th percentile service time | painless_static | 892.624 | ms |
| 90th percentile service time | painless_static | 1011.5 | ms |
| 99th percentile service time | painless_static | 1092.92 | ms |
| 100th percentile service time | painless_static | 1116.26 | ms |
| error rate | painless_static | 0 | % |
| Min Throughput | painless_dynamic | 1.25 | ops/s |
| Mean Throughput | painless_dynamic | 1.26 | ops/s |
| Median Throughput | painless_dynamic | 1.26 | ops/s |
| Max Throughput | painless_dynamic | 1.26 | ops/s |
| 50th percentile latency | painless_dynamic | 20631.2 | ms |
| 90th percentile latency | painless_dynamic | 23278.5 | ms |
| 99th percentile latency | painless_dynamic | 23939.1 | ms |
| 100th percentile latency | painless_dynamic | 24000.8 | ms |
| 50th percentile service time | painless_dynamic | 774.843 | ms |
| 90th percentile service time | painless_dynamic | 910.287 | ms |
| 99th percentile service time | painless_dynamic | 1037.79 | ms |
| 100th percentile service time | painless_dynamic | 1054.71 | ms |
| error rate | painless_dynamic | 0 | % |
| Min Throughput | decay_geo_gauss_function_score | 1 | ops/s |
| Mean Throughput | decay_geo_gauss_function_score | 1 | ops/s |
| Median Throughput | decay_geo_gauss_function_score | 1 | ops/s |
| Max Throughput | decay_geo_gauss_function_score | 1 | ops/s |
| 50th percentile latency | decay_geo_gauss_function_score | 682.033 | ms |
| 90th percentile latency | decay_geo_gauss_function_score | 727.937 | ms |
| 99th percentile latency | decay_geo_gauss_function_score | 774.193 | ms |
| 100th percentile latency | decay_geo_gauss_function_score | 790.168 | ms |
| 50th percentile service time | decay_geo_gauss_function_score | 680.622 | ms |
| 90th percentile service time | decay_geo_gauss_function_score | 726.948 | ms |
| 99th percentile service time | decay_geo_gauss_function_score | 773.008 | ms |
| 100th percentile service time | decay_geo_gauss_function_score | 787.638 | ms |
| error rate | decay_geo_gauss_function_score | 0 | % |
| Min Throughput | decay_geo_gauss_script_score | 1 | ops/s |
| Mean Throughput | decay_geo_gauss_script_score | 1 | ops/s |
| Median Throughput | decay_geo_gauss_script_score | 1 | ops/s |
| Max Throughput | decay_geo_gauss_script_score | 1 | ops/s |
| 50th percentile latency | decay_geo_gauss_script_score | 791.567 | ms |
| 90th percentile latency | decay_geo_gauss_script_score | 853.571 | ms |
| 99th percentile latency | decay_geo_gauss_script_score | 910.115 | ms |
| 100th percentile latency | decay_geo_gauss_script_score | 910.951 | ms |
| 50th percentile service time | decay_geo_gauss_script_score | 788.993 | ms |
| 90th percentile service time | decay_geo_gauss_script_score | 852.103 | ms |
| 99th percentile service time | decay_geo_gauss_script_score | 907.527 | ms |
| 100th percentile service time | decay_geo_gauss_script_score | 909.948 | ms |
| error rate | decay_geo_gauss_script_score | 0 | % |
| Min Throughput | field_value_function_score | 1.5 | ops/s |
| Mean Throughput | field_value_function_score | 1.5 | ops/s |
| Median Throughput | field_value_function_score | 1.5 | ops/s |
| Max Throughput | field_value_function_score | 1.5 | ops/s |
| 50th percentile latency | field_value_function_score | 255.192 | ms |
| 90th percentile latency | field_value_function_score | 310.73 | ms |
| 99th percentile latency | field_value_function_score | 350.384 | ms |
| 100th percentile latency | field_value_function_score | 363.814 | ms |
| 50th percentile service time | field_value_function_score | 253.734 | ms |
| 90th percentile service time | field_value_function_score | 309.385 | ms |
| 99th percentile service time | field_value_function_score | 348.971 | ms |
| 100th percentile service time | field_value_function_score | 362.585 | ms |
| error rate | field_value_function_score | 0 | % |
| Min Throughput | field_value_script_score | 1.5 | ops/s |
| Mean Throughput | field_value_script_score | 1.5 | ops/s |
| Median Throughput | field_value_script_score | 1.5 | ops/s |
| Max Throughput | field_value_script_score | 1.5 | ops/s |
| 50th percentile latency | field_value_script_score | 397.055 | ms |
| 90th percentile latency | field_value_script_score | 532.1 | ms |
| 99th percentile latency | field_value_script_score | 580.325 | ms |
| 100th percentile latency | field_value_script_score | 606.881 | ms |
| 50th percentile service time | field_value_script_score | 395.362 | ms |
| 90th percentile service time | field_value_script_score | 530.582 | ms |
| 99th percentile service time | field_value_script_score | 579.485 | ms |
| 100th percentile service time | field_value_script_score | 605.701 | ms |
| error rate | field_value_script_score | 0 | % |
| Min Throughput | large_terms | 0.74 | ops/s |
| Mean Throughput | large_terms | 0.74 | ops/s |
| Median Throughput | large_terms | 0.74 | ops/s |
| Max Throughput | large_terms | 0.75 | ops/s |
| 50th percentile latency | large_terms | 108236 | ms |
| 90th percentile latency | large_terms | 123091 | ms |
| 99th percentile latency | large_terms | 126129 | ms |
| 100th percentile latency | large_terms | 126610 | ms |
| 50th percentile service time | large_terms | 1253.17 | ms |
| 90th percentile service time | large_terms | 1373.83 | ms |
| 99th percentile service time | large_terms | 1732.03 | ms |
| 100th percentile service time | large_terms | 1756.96 | ms |
| error rate | large_terms | 0 | % |
| Min Throughput | large_filtered_terms | 0.74 | ops/s |
| Mean Throughput | large_filtered_terms | 0.74 | ops/s |
| Median Throughput | large_filtered_terms | 0.74 | ops/s |
| Max Throughput | large_filtered_terms | 0.75 | ops/s |
| 50th percentile latency | large_filtered_terms | 109741 | ms |
| 90th percentile latency | large_filtered_terms | 127672 | ms |
| 99th percentile latency | large_filtered_terms | 130818 | ms |
| 100th percentile latency | large_filtered_terms | 131189 | ms |
| 50th percentile service time | large_filtered_terms | 1297.29 | ms |
| 90th percentile service time | large_filtered_terms | 1558.62 | ms |
| 99th percentile service time | large_filtered_terms | 1736.84 | ms |
| 100th percentile service time | large_filtered_terms | 1799.07 | ms |
| error rate | large_filtered_terms | 0 | % |
| Min Throughput | large_prohibited_terms | 0.74 | ops/s |
| Mean Throughput | large_prohibited_terms | 0.75 | ops/s |
| Median Throughput | large_prohibited_terms | 0.75 | ops/s |
| Max Throughput | large_prohibited_terms | 0.75 | ops/s |
| 50th percentile latency | large_prohibited_terms | 107497 | ms |
| 90th percentile latency | large_prohibited_terms | 123966 | ms |
| 99th percentile latency | large_prohibited_terms | 127245 | ms |
| 100th percentile latency | large_prohibited_terms | 127563 | ms |
| 50th percentile service time | large_prohibited_terms | 1270.91 | ms |
| 90th percentile service time | large_prohibited_terms | 1425.12 | ms |
| 99th percentile service time | large_prohibited_terms | 1792.44 | ms |
| 100th percentile service time | large_prohibited_terms | 2057.91 | ms |
| error rate | large_prohibited_terms | 0 | % |
| Min Throughput | desc_sort_population | 1.5 | ops/s |
| Mean Throughput | desc_sort_population | 1.5 | ops/s |
| Median Throughput | desc_sort_population | 1.5 | ops/s |
| Max Throughput | desc_sort_population | 1.51 | ops/s |
| 50th percentile latency | desc_sort_population | 99.4065 | ms |
| 90th percentile latency | desc_sort_population | 122.43 | ms |
| 99th percentile latency | desc_sort_population | 154.982 | ms |
| 100th percentile latency | desc_sort_population | 155.754 | ms |
| 50th percentile service time | desc_sort_population | 97.5085 | ms |
| 90th percentile service time | desc_sort_population | 120.828 | ms |
| 99th percentile service time | desc_sort_population | 153.142 | ms |
| 100th percentile service time | desc_sort_population | 153.402 | ms |
| error rate | desc_sort_population | 0 | % |
| Min Throughput | desc_sort_population_can_match_shortcut | 1.5 | ops/s |
| Mean Throughput | desc_sort_population_can_match_shortcut | 1.51 | ops/s |
| Median Throughput | desc_sort_population_can_match_shortcut | 1.51 | ops/s |
| Max Throughput | desc_sort_population_can_match_shortcut | 1.51 | ops/s |
| 50th percentile latency | desc_sort_population_can_match_shortcut | 35.0935 | ms |
| 90th percentile latency | desc_sort_population_can_match_shortcut | 48.1611 | ms |
| 99th percentile latency | desc_sort_population_can_match_shortcut | 56.0821 | ms |
| 100th percentile latency | desc_sort_population_can_match_shortcut | 69.0124 | ms |
| 50th percentile service time | desc_sort_population_can_match_shortcut | 33.7578 | ms |
| 90th percentile service time | desc_sort_population_can_match_shortcut | 47.1147 | ms |
| 99th percentile service time | desc_sort_population_can_match_shortcut | 48.7841 | ms |
| 100th percentile service time | desc_sort_population_can_match_shortcut | 54.6101 | ms |
| error rate | desc_sort_population_can_match_shortcut | 0 | % |
| Min Throughput | desc_sort_population_no_can_match_shortcut | 1.5 | ops/s |
| Mean Throughput | desc_sort_population_no_can_match_shortcut | 1.51 | ops/s |
| Median Throughput | desc_sort_population_no_can_match_shortcut | 1.51 | ops/s |
| Max Throughput | desc_sort_population_no_can_match_shortcut | 1.51 | ops/s |
| 50th percentile latency | desc_sort_population_no_can_match_shortcut | 36.7691 | ms |
| 90th percentile latency | desc_sort_population_no_can_match_shortcut | 49.3336 | ms |
| 99th percentile latency | desc_sort_population_no_can_match_shortcut | 51.3486 | ms |
| 100th percentile latency | desc_sort_population_no_can_match_shortcut | 52.5137 | ms |
| 50th percentile service time | desc_sort_population_no_can_match_shortcut | 34.9881 | ms |
| 90th percentile service time | desc_sort_population_no_can_match_shortcut | 47.5091 | ms |
| 99th percentile service time | desc_sort_population_no_can_match_shortcut | 49.8161 | ms |
| 100th percentile service time | desc_sort_population_no_can_match_shortcut | 51.5179 | ms |
| error rate | desc_sort_population_no_can_match_shortcut | 0 | % |
| Min Throughput | asc_sort_population | 1.5 | ops/s |
| Mean Throughput | asc_sort_population | 1.51 | ops/s |
| Median Throughput | asc_sort_population | 1.5 | ops/s |
| Max Throughput | asc_sort_population | 1.51 | ops/s |
| 50th percentile latency | asc_sort_population | 96.9029 | ms |
| 90th percentile latency | asc_sort_population | 148.587 | ms |
| 99th percentile latency | asc_sort_population | 156.031 | ms |
| 100th percentile latency | asc_sort_population | 156.577 | ms |
| 50th percentile service time | asc_sort_population | 94.9433 | ms |
| 90th percentile service time | asc_sort_population | 146.143 | ms |
| 99th percentile service time | asc_sort_population | 153.871 | ms |
| 100th percentile service time | asc_sort_population | 154.244 | ms |
| error rate | asc_sort_population | 0 | % |
| Min Throughput | asc_sort_with_after_population | 1.5 | ops/s |
| Mean Throughput | asc_sort_with_after_population | 1.5 | ops/s |
| Median Throughput | asc_sort_with_after_population | 1.5 | ops/s |
| Max Throughput | asc_sort_with_after_population | 1.5 | ops/s |
| 50th percentile latency | asc_sort_with_after_population | 147.043 | ms |
| 90th percentile latency | asc_sort_with_after_population | 204.763 | ms |
| 99th percentile latency | asc_sort_with_after_population | 215.767 | ms |
| 100th percentile latency | asc_sort_with_after_population | 232.581 | ms |
| 50th percentile service time | asc_sort_with_after_population | 145.579 | ms |
| 90th percentile service time | asc_sort_with_after_population | 202.996 | ms |
| 99th percentile service time | asc_sort_with_after_population | 214.688 | ms |
| 100th percentile service time | asc_sort_with_after_population | 230.999 | ms |
| error rate | asc_sort_with_after_population | 0 | % |
| Min Throughput | desc_sort_geonameid | 5.95 | ops/s |
| Mean Throughput | desc_sort_geonameid | 5.96 | ops/s |
| Median Throughput | desc_sort_geonameid | 5.96 | ops/s |
| Max Throughput | desc_sort_geonameid | 5.97 | ops/s |
| 50th percentile latency | desc_sort_geonameid | 73.3388 | ms |
| 90th percentile latency | desc_sort_geonameid | 104.27 | ms |
| 99th percentile latency | desc_sort_geonameid | 124.303 | ms |
| 100th percentile latency | desc_sort_geonameid | 136.391 | ms |
| 50th percentile service time | desc_sort_geonameid | 71.7988 | ms |
| 90th percentile service time | desc_sort_geonameid | 102.812 | ms |
| 99th percentile service time | desc_sort_geonameid | 111.022 | ms |
| 100th percentile service time | desc_sort_geonameid | 123.103 | ms |
| error rate | desc_sort_geonameid | 0 | % |
| Min Throughput | desc_sort_with_after_geonameid | 6 | ops/s |
| Mean Throughput | desc_sort_with_after_geonameid | 6 | ops/s |
| Median Throughput | desc_sort_with_after_geonameid | 6 | ops/s |
| Max Throughput | desc_sort_with_after_geonameid | 6.01 | ops/s |
| 50th percentile latency | desc_sort_with_after_geonameid | 127.455 | ms |
| 90th percentile latency | desc_sort_with_after_geonameid | 176.197 | ms |
| 99th percentile latency | desc_sort_with_after_geonameid | 197.578 | ms |
| 100th percentile latency | desc_sort_with_after_geonameid | 209.627 | ms |
| 50th percentile service time | desc_sort_with_after_geonameid | 124.93 | ms |
| 90th percentile service time | desc_sort_with_after_geonameid | 174.931 | ms |
| 99th percentile service time | desc_sort_with_after_geonameid | 180.919 | ms |
| 100th percentile service time | desc_sort_with_after_geonameid | 182.642 | ms |
| error rate | desc_sort_with_after_geonameid | 0 | % |
| Min Throughput | asc_sort_geonameid | 6.01 | ops/s |
| Mean Throughput | asc_sort_geonameid | 6.01 | ops/s |
| Median Throughput | asc_sort_geonameid | 6.01 | ops/s |
| Max Throughput | asc_sort_geonameid | 6.02 | ops/s |
| 50th percentile latency | asc_sort_geonameid | 72.9257 | ms |
| 90th percentile latency | asc_sort_geonameid | 102.103 | ms |
| 99th percentile latency | asc_sort_geonameid | 110.276 | ms |
| 100th percentile latency | asc_sort_geonameid | 112.747 | ms |
| 50th percentile service time | asc_sort_geonameid | 71.7096 | ms |
| 90th percentile service time | asc_sort_geonameid | 100.905 | ms |
| 99th percentile service time | asc_sort_geonameid | 109.638 | ms |
| 100th percentile service time | asc_sort_geonameid | 111.415 | ms |
| error rate | asc_sort_geonameid | 0 | % |
| Min Throughput | asc_sort_with_after_geonameid | 6.01 | ops/s |
| Mean Throughput | asc_sort_with_after_geonameid | 6.01 | ops/s |
| Median Throughput | asc_sort_with_after_geonameid | 6.01 | ops/s |
| Max Throughput | asc_sort_with_after_geonameid | 6.01 | ops/s |
| 50th percentile latency | asc_sort_with_after_geonameid | 116.886 | ms |
| 90th percentile latency | asc_sort_with_after_geonameid | 161.581 | ms |
| 99th percentile latency | asc_sort_with_after_geonameid | 167.729 | ms |
| 100th percentile latency | asc_sort_with_after_geonameid | 168.86 | ms |
| 50th percentile service time | asc_sort_with_after_geonameid | 115.036 | ms |
| 90th percentile service time | asc_sort_with_after_geonameid | 160.774 | ms |
| 99th percentile service time | asc_sort_with_after_geonameid | 167.06 | ms |
| 100th percentile service time | asc_sort_with_after_geonameid | 167.752 | ms |
| error rate | asc_sort_with_after_geonameid | 0 | % |
| Min Throughput | sort_country_code_can_match_shortcut | 1.5 | ops/s |
| Mean Throughput | sort_country_code_can_match_shortcut | 1.51 | ops/s |
| Median Throughput | sort_country_code_can_match_shortcut | 1.51 | ops/s |
| Max Throughput | sort_country_code_can_match_shortcut | 1.51 | ops/s |
| 50th percentile latency | sort_country_code_can_match_shortcut | 26.413 | ms |
| 90th percentile latency | sort_country_code_can_match_shortcut | 33.2502 | ms |
| 99th percentile latency | sort_country_code_can_match_shortcut | 41.4583 | ms |
| 100th percentile latency | sort_country_code_can_match_shortcut | 42.1279 | ms |
| 50th percentile service time | sort_country_code_can_match_shortcut | 24.9113 | ms |
| 90th percentile service time | sort_country_code_can_match_shortcut | 31.7144 | ms |
| 99th percentile service time | sort_country_code_can_match_shortcut | 39.9495 | ms |
| 100th percentile service time | sort_country_code_can_match_shortcut | 41.0681 | ms |
| error rate | sort_country_code_can_match_shortcut | 0 | % |
| Min Throughput | sort_country_code_no_can_match_shortcut | 1.5 | ops/s |
| Mean Throughput | sort_country_code_no_can_match_shortcut | 1.51 | ops/s |
| Median Throughput | sort_country_code_no_can_match_shortcut | 1.51 | ops/s |
| Max Throughput | sort_country_code_no_can_match_shortcut | 1.51 | ops/s |
| 50th percentile latency | sort_country_code_no_can_match_shortcut | 26.1879 | ms |
| 90th percentile latency | sort_country_code_no_can_match_shortcut | 36.6885 | ms |
| 99th percentile latency | sort_country_code_no_can_match_shortcut | 42.9134 | ms |
| 100th percentile latency | sort_country_code_no_can_match_shortcut | 45.7693 | ms |
| 50th percentile service time | sort_country_code_no_can_match_shortcut | 24.8244 | ms |
| 90th percentile service time | sort_country_code_no_can_match_shortcut | 35.7841 | ms |
| 99th percentile service time | sort_country_code_no_can_match_shortcut | 40.8625 | ms |
| 100th percentile service time | sort_country_code_no_can_match_shortcut | 43.6614 | ms |
| error rate | sort_country_code_no_can_match_shortcut | 0 | % |
[WARNING] Error rate is 38.95 for operation 'index-append'. Please check the logs.
[WARNING] Error rate is 100.0 for operation 'force-merge'. Please check the logs.
[WARNING] No throughput metrics available for [force-merge]. Likely cause: Error rate is 100.0%. Please check the logs.
----------------------------------
[INFO] SUCCESS (took 5861 seconds)
----------------------------------
8. 官方压力测试数据
https://elasticsearch-benchmarks.elastic.co/
https://cloud.tencent.com/document/product/845/55185
https://help.aliyun.com/zh/es/product-overview/comparison-of-stress-testing-results-between-an-elasticsearch-cluster-with-three-4-vcpu-16-gib-data-nodes-and-an-elasticsearch-cluster-with-three-2-vcpu-8-gib-data-nodes