info
info 命令打印有关 OpenSearch Benchmark 组件的详细信息。
用法
以下示例返回有关名为 nyc_taxis 的工作负载的信息:
opensearch-benchmark info --workload=nyc_taxisOpenSearch Benchmark 返回有关工作负载的信息,如以下示例响应所示:
____ _____ __ ____ __ __
/ __ \____ ___ ____ / ___/___ ____ ___________/ /_ / __ )___ ____ _____/ /_ ____ ___ ____ ______/ /__
/ / / / __ \/ _ \/ __ \\__ \/ _ \/ __ `/ ___/ ___/ __ \ / __ / _ \/ __ \/ ___/ __ \/ __ `__ \/ __ `/ ___/ //_/
/ /_/ / /_/ / __/ / / /__/ / __/ /_/ / / / /__/ / / / / /_/ / __/ / / / /__/ / / / / / / / / /_/ / / / ,<
\____/ .___/\___/_/ /_/____/\___/\__,_/_/ \___/_/ /_/ /_____/\___/_/ /_/\___/_/ /_/_/ /_/ /_/\__,_/_/ /_/|_|
/_/
Showing details for workload [nyc_taxis]:
* Description: Taxi rides in New York in 2015
* Documents: 165,346,692
* Compressed Size: 4.5 GB
* Uncompressed Size: 74.3 GB
===================================
TestProcedure [searchable-snapshot]
===================================
Measuring performance for Searchable Snapshot feature. Based on the default test procedure 'append-no-conflicts'.
Schedule:
----------
1. delete-index
2. create-index
3. check-cluster-health
4. index (8 clients)
5. refresh-after-index
6. force-merge
7. refresh-after-force-merge
8. wait-until-merges-finish
9. create-snapshot-repository
10. delete-snapshot
11. create-snapshot
12. wait-for-snapshot-creation
13. delete-local-index
14. restore-snapshot
15. default
16. range
17. distance_amount_agg
18. autohisto_agg
19. date_histogram_agg
====================================================
TestProcedure [append-no-conflicts] (run by default)
====================================================
Indexes the entire document corpus using a setup that will lead to a larger indexing throughput than the default settings and produce a smaller index (higher compression rate). Document IDs are unique, so all index operations are append only. After that, a couple of queries are run.
Schedule:
----------
1. delete-index
2. create-index
3. check-cluster-health
4. index (8 clients)
5. refresh-after-index
6. force-merge
7. refresh-after-force-merge
8. wait-until-merges-finish
9. default
10. range
11. distance_amount_agg
12. autohisto_agg
13. date_histogram_agg
...
-------------------------------
[INFO] SUCCESS (took 2 seconds)
-------------------------------选项
你可以使用以下选项配合 info 命令:
--workload-repository:定义 OpenSearch Benchmark 加载工作负载的仓库。--workload-path:定义下载的或自定义工作负载的路径。--workload-revision:定义 OpenSearch Benchmark 应该使用的工作负载源代码树中的特定修订版。--workload:根据工作负载的名称定义要使用的工作负载。你可以使用opensearch-benchmark list workloads找到预加载工作负载的列表。--test-procedure:定义要使用的测试过程。你可以使用opensearch-benchmark list test_procedures找到测试过程列表。--include-tasks:定义逗号分隔的要运行的测试过程任务列表。默认情况下,运行测试过程数组中列出的所有任务。--exclude-tasks:定义逗号分隔的不运行的测试过程任务列表。