<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                # cat indices 原文鏈接 : [https://www.elastic.co/guide/en/elasticsearch/reference/5.0/cat-indices.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.0/cat-indices.html) 譯文鏈接 : [http://www.apache.wiki/display/Elasticsearch/cat+indices](http://www.apache.wiki/display/Elasticsearch/cat+indices) 貢獻者 : [那伊抹微笑](/display/~wangyangting) **indices** 命令提供了每一個索引的 **cross-section**(橫截面)。這些信息跨越了多個節點。 ``` % curl 'localhost:9200/_cat/indices/twi*?v' health status index pri rep docs.count docs.deleted store.size pri.store.size green open twitter 5 1 11434 0 64mb 32mb green open twitter2 2 0 2030 0 5.8mb 5.8mb ``` 我們可以很快的知道一個索引的分片數量,**Lucene** 級別的文檔數量,包括隱藏的文檔(例如,嵌套的類型),已刪除的文檔,主存儲的大小,和總存儲大小(包括副本在內的所有分片)。這些暴漏的 **metric**(度量)直接來自 **Lucene API**。 ## Primaries 默認情況下,索引的統計信息將顯示它們所有的索引分片,包括副本。提供一個 **pri** 標記可以只查看 **primaries context** 中的相關統計信息。 ## 示例 哪些索引是 **yellow** ? ``` % curl localhost:9200/_cat/indices?health=yellow yellow open wiki 2 1 6401 1115 151.4mb 151.4mb yellow open twitter 5 1 11434 0 32mb 32mb ``` 什么索引使用的硬盤空間最大(不包括副本)? ``` % curl 'localhost:9200/_cat/indices?bytes=b' | sort -rnk8 green open wiki 2 0 6401 1115 158843725 158843725 green open twitter 5 1 11434 0 67155614 33577857 green open twitter2 2 0 2030 0 6125085 6125085 ``` 在 **wiki** 索引的分片中有多少合并操作已完成? ``` % curl 'localhost:9200/_cat/indices/wiki?pri&v&h=health,index,pri,rep,docs.count,mt' health index docs.count mt pri.mt green wiki 9646 16 16 ``` 每一個索引使用了多少內存? ``` % curl 'localhost:9200/_cat/indices?v&h=i,tm' i tm wiki 8.1gb test 30.5kb user 1.9mb ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看