【问题标题】:Elastic Search total index size弹性搜索总索引大小
【发布时间】:2023-03-26 05:15:02
【问题描述】:

我正在尝试在 elasticsearch 中获取索引(而不是商店)的实际大小。我使用索引 API 来获取统计信息。

GET doc/_stats

“indexing”-“index_total”是实际的索引大小吗?

"total": {
      "docs": {
        "count": 1000000,
        "deleted": 0
      },
      "store": {
        "size_in_bytes": 118078896
      },
      "indexing": {
        "index_total": 1000000,
        "index_time_in_millis": 30985,
        "index_current": 0,
        "index_failed": 0,
        "delete_total": 0,
        "delete_time_in_millis": 0,
        "delete_current": 0,
        "noop_update_total": 0,
        "is_throttled": false,
        "throttle_time_in_millis": 0
      },

【问题讨论】:

    标签: elasticsearch size elasticsearch-indices


    【解决方案1】:

    您可以使用此命令获取所有索引大小,分别显示

    curl '192.168.x.x:9200/_cat/indices?v'
    

    【讨论】:

      猜你喜欢
      • 2023-02-06
      • 2016-10-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多