使用netstat -lntp来看看有侦听在网络某端口的进程。当然,也可以使用 lsof。

elasticsearch translog 数据保留时间设置 flush_threshold_size retention.size区别

Elasticsearch | 作者 holly1202 | 发布于2019年09月03日 | 阅读数:3663

es中 对于translog的设置 index.translog.flush_threshold_size 和 retention.size 这两个参数默认都是 512m,有什么区别呢
 
默认情况下:当translog达到512m。tanslog会执行刷盘吗,刷盘之后translog 会被清空吗
 
如果设置:index.translog.flush_threshold_size:1g  或者 index.translog.retention.size:1g,其中一个设置为1g, translog的数据保留是怎样的呢
已邀请:

cccthought - 97后IT男

赞同来自:

index.translog.flush_threshold_size: 当内存中的translog达到512m,tanslog会执行刷盘
index.translog.retention.size: 是指translog文件在磁盘上保存的最大大小
这是我的理解

要回复问题请先登录注册