美文网首页ELK漫漫之路
elasticsearch的优化与使用(简单的记录)

elasticsearch的优化与使用(简单的记录)

作者: 续哥儿 | 来源:发表于2018-07-23 21:06 被阅读0次

    https://github.com/elastic/ansible-elasticsearch ansible快速部署elastic集群
    "index.refresh_interval" : "20s" (这一步是memory buffer 刷到文件系统缓存的间隔时间)
    好吧~我觉得优化elastic还是得从原理去研究了优化(重写一张好了)
    reroute接口中allocate指令 当主节点宕机或者无响应可以加个参数allow_primary:true来解决
    reroute接口中move指令可以让负载过高的,磁盘使用高的节点上的分片移走

    ES读写分离
    https://www.elastic.co/guide/en/elasticsearch/reference/6.3/index-modules-allocation.html
    https://blog.csdn.net/mlljava1111/article/details/51363230

    相关文章

      网友评论

        本文标题:elasticsearch的优化与使用(简单的记录)

        本文链接:https://www.haomeiwen.com/subject/gnwxmftx.html