查看各个索引占用存储空间
GET _cat/indices?v&h=index,docs.count,store.size&bytes=gb&pretty&s=store.size:desc
本文介绍了一种使用 Elasticsearch 的 REST API 查看各个索引所占用的存储空间的方法。通过 GET 请求并指定参数,可以获取到索引名称、文档数量及所占用的存储空间大小等信息。
查看各个索引占用存储空间
GET _cat/indices?v&h=index,docs.count,store.size&bytes=gb&pretty&s=store.size:desc
564
3434
1941
9099

被折叠的 条评论
为什么被折叠?