使用 man ascii 来查看 ASCII 表。

Elasticsearch 内存使用详情

Elasticsearch | 作者 Tsukiand | 发布于2021年03月18日 | 阅读数:2150

最近在grafana上画图描述Elasticsearch使用的内存情况,对elasticsearch使用内存有些疑惑。
通过_cat API可以获取segments的详细信息
 
segments.memory 我理解是segment占用的所有内存。包括heap(FST,常驻内存无法GC)和non-heap(加载到non-heap中的terms dictionary and postings for indexed fields)
segments.terms_memory 我理解就是加载到non-heap中的terms dictionary
segments.store_fields_memory 这个不是很理解
segments.points_memory 这个不是很理解
segments.index_writer_memory 这个我理解就是index_buffer就是数据flush磁盘钱占用的内存
 
还有就是整个es的内存占用情况不是很清晰,包括heap使用以及non-heap使用情况,希望大佬解答一下。谢谢
 
已邀请:

carlosfu

赞同来自: Tsukiand w_b

可以看看 wood大佬的:https://elasticsearch.cn/article/32

要回复问题请先登录注册