• Elasticsearch5.x 引擎健康情况


    查看引擎健康情况

    [root@w]# curl -XGET "http://localhost:9200/_cat/health?v"
    epoch      timestamp cluster  status node.total node.data shards  pri relo init unassign pending_tasks max_task_wait_time active_shards_percent
    1562237054 18:44:14  log yellow          6         3  12722 7021    0    6     1314           634               5.1h                 90.6%
    

    如果出现这条信息,说明你的elastic search已经正常运行了,恭喜你

    标题含义
    epoch unix 的时间
    timestamp 时间戳
    cluster 集群
    status 健康状态:红为异常, 绿黄为健康
    node.total 节点的总数
    node.data 节点的数据
    shards 分片
    pri active_primary_shards 已激活的主要分片
    relo 回收的切片
    init 已经初始的切片数量
    unassign 未分配切片数量
    pending_tasks 被搁置的任务数量
    max_task_wait_time 任务等待的最大时间
    active_shards_percents 激活分片的百分比

    注意 status黄色和绿色的区别:

    • 红色:所有的分片没有全部激活
    • 黄色:主要分片全部启动,但是备份的分片没有启动
    • 绿色:主要分片和其备份都已经启动
  • 相关阅读:
    spring自动装配的歧义性
    spring装配bean
    spring面向切面编程理解
    spring入门实现打印Hello Spring!
    spring依赖注入的理解
    java中数组和集合的区别
    java中final关键字的作用
    什么是视图?
    什么是事务?
    sql多表查询的总结
  • 原文地址:https://www.cnblogs.com/xzlive/p/11134261.html
Copyright © 2020-2023  润新知