info

The info command prints details about an OpenSearch Benchmark component.

Usage

The following example returns information about a workload named nyc_taxis:

  1. opensearch-benchmark info --workload=nyc_taxis

OpenSearch Benchmark returns information about the workload, as shown in the following example response:

  1. ____ _____ __ ____ __ __
  2. / __ \____ ___ ____ / ___/___ ____ ___________/ /_ / __ )___ ____ _____/ /_ ____ ___ ____ ______/ /__
  3. / / / / __ \/ _ \/ __ \\__ \/ _ \/ __ `/ ___/ ___/ __ \ / __ / _ \/ __ \/ ___/ __ \/ __ `__ \/ __ `/ ___/ //_/
  4. / /_/ / /_/ / __/ / / /__/ / __/ /_/ / / / /__/ / / / / /_/ / __/ / / / /__/ / / / / / / / / /_/ / / / ,<
  5. \____/ .___/\___/_/ /_/____/\___/\__,_/_/ \___/_/ /_/ /_____/\___/_/ /_/\___/_/ /_/_/ /_/ /_/\__,_/_/ /_/|_|
  6. /_/
  7. Showing details for workload [nyc_taxis]:
  8. * Description: Taxi rides in New York in 2015
  9. * Documents: 165,346,692
  10. * Compressed Size: 4.5 GB
  11. * Uncompressed Size: 74.3 GB
  12. ===================================
  13. TestProcedure [searchable-snapshot]
  14. ===================================
  15. Measuring performance for Searchable Snapshot feature. Based on the default test procedure 'append-no-conflicts'.
  16. Schedule:
  17. ----------
  18. 1. delete-index
  19. 2. create-index
  20. 3. check-cluster-health
  21. 4. index (8 clients)
  22. 5. refresh-after-index
  23. 6. force-merge
  24. 7. refresh-after-force-merge
  25. 8. wait-until-merges-finish
  26. 9. create-snapshot-repository
  27. 10. delete-snapshot
  28. 11. create-snapshot
  29. 12. wait-for-snapshot-creation
  30. 13. delete-local-index
  31. 14. restore-snapshot
  32. 15. default
  33. 16. range
  34. 17. distance_amount_agg
  35. 18. autohisto_agg
  36. 19. date_histogram_agg
  37. ====================================================
  38. TestProcedure [append-no-conflicts] (run by default)
  39. ====================================================
  40. 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.
  41. Schedule:
  42. ----------
  43. 1. delete-index
  44. 2. create-index
  45. 3. check-cluster-health
  46. 4. index (8 clients)
  47. 5. refresh-after-index
  48. 6. force-merge
  49. 7. refresh-after-force-merge
  50. 8. wait-until-merges-finish
  51. 9. default
  52. 10. range
  53. 11. distance_amount_agg
  54. 12. autohisto_agg
  55. 13. date_histogram_agg
  56. ==============================================
  57. TestProcedure [append-no-conflicts-index-only]
  58. ==============================================
  59. Indexes the whole 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.
  60. Schedule:
  61. ----------
  62. 1. delete-index
  63. 2. create-index
  64. 3. check-cluster-health
  65. 4. index (8 clients)
  66. 5. refresh-after-index
  67. 6. force-merge
  68. 7. refresh-after-force-merge
  69. 8. wait-until-merges-finish
  70. =====================================================
  71. TestProcedure [append-sorted-no-conflicts-index-only]
  72. =====================================================
  73. Indexes the whole document corpus in an index sorted by pickup_datetime field in descending order (most recent first) and 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.
  74. Schedule:
  75. ----------
  76. 1. delete-index
  77. 2. create-index
  78. 3. check-cluster-health
  79. 4. index (8 clients)
  80. 5. refresh-after-index
  81. 6. force-merge
  82. 7. refresh-after-force-merge
  83. 8. wait-until-merges-finish
  84. ======================
  85. TestProcedure [update]
  86. ======================
  87. Schedule:
  88. ----------
  89. 1. delete-index
  90. 2. create-index
  91. 3. check-cluster-health
  92. 4. update (8 clients)
  93. 5. refresh-after-index
  94. 6. force-merge
  95. 7. refresh-after-force-merge
  96. 8. wait-until-merges-finish
  97. -------------------------------
  98. [INFO] SUCCESS (took 2 seconds)
  99. -------------------------------

Options

You can use the following options with the info command:

  • --workload-repository: Defines the repository from where OpenSearch Benchmark loads workloads.
  • --workload-path: Defines the path to a downloaded or custom workload.
  • --workload-revision: Defines a specific revision from the workload source tree that OpenSearch Benchmark should use.
  • --workload: Defines the workload to use based on the workload’s name. You can find a list of preloaded workloads using opensearch-benchmark list workloads.
  • --test-procedure: Defines a test procedure to use. You can find a list of test procedures using opensearch-benchmark list test_procedures.
  • --include-tasks: Defines a comma-separated list of test procedure tasks to run. By default, all tasks listed in a test procedure array are run.
  • --exclude-tasks: Defines a comma-separated list of test procedure tasks not to run.