ElasticSearch中理想的散装尺寸公式是什么? [英] What is the ideal bulk size formula in ElasticSearch?
本文介绍了ElasticSearch中理想的散装尺寸公式是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我相信应该有一个公式可以计算ElasticSearch中的批量索引编制大小.以下可能是该公式的变量.
I believe there should be a formula to calculate bulk indexing size in ElasticSearch. Probably followings are the variables of such a formula.
- 节点数
- 分片数量/索引
- 文档大小
- RAM
- 磁盘写入速度
- 局域网速度
我想知道是否有人知道或使用数学公式.如果没有,人们如何决定其散装尺寸?通过反复试验?
I wonder If anyone know or use a mathematical formula. If not, how people decide their bulk size? By trial and error?
推荐答案
对此没有黄金法则.从文档中提取:
There is no golden rule for this. Extracted from the doc:
在单个批量调用中没有要执行的正确"数量的操作.您应该尝试不同的设置,以找到适合您特定工作负载的最佳大小.
There is no "correct" number of actions to perform in a single bulk call. You should experiment with different settings to find the optimum size for your particular workload.
这篇关于ElasticSearch中理想的散装尺寸公式是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文