Advertisement

提升Elasticsearch读取性能

阅读量:

文章目录

  • 背景

    • Flush interval adjustment for translog flush.
    • Index refresh interval refresh_interval.
    • Optimization of segment merging.
    • The indexing buffer configuration.
    • Utilizing bulk requests for efficiency.
    • Bulk thread pool and queue management.
      • Concurrent execution of bulk requests.
  • 磁盘间负载均衡

    • 节点间负载均衡
    • 索引流程进行优化与调整
    • 自动生成doc ID
      • 配置字段映射关系
      • 修改源字段配置
      • 禁用默认所有字段
      • 针对分析过的字段禁止使用Norms规则
      • index_options参数配置

背景

在默认配置中,在ES的设置下是综合权衡数据可靠性、搜索实时性和write throughput等多个因素的结果。有时,在业务场景中对数据可靠性和搜索实时性的要求不高——相反地对于write throughput的要求却很高。这时——适当采取一些策略调

全部评论 (0)

还没有任何评论哟~