elasticsearch基本概念理解+elasticsearch 的shards unassigned处理方法 -- 最佳运维实践 - 集群规划

 1.es与MySQL的概念对比html

2.概念理解运维

2.1 Index : 一个索引便是文档的集合 2.2 Document : 一个文档便是一个可被索引的基础单元信息,一条记录; 2.3 Replicas : 索引一份或多份存储,能够理解成冗余存储以防数据丢失; 2.4 shards : 一个索引被截断若干小片存储,每一个片就是一个shard. 参考:http://www.dataguru.cn/thread-608747-1-1.html

 

https://www.cnblogs.com/kevingrace/p/10682264.html    elasticsearch 最佳运维实践总结curl

https://zhuanlan.zhihu.com/p/90080383   调优 集群规划elasticsearch

 

-----------------------------------------------------------------------------------------url

1,查看elasticsearch有3个UNASSIGNED状态的索引spa

curl -XGET 'http://10.0.0.x:9200/_cat/shards' |grep UNASSIGNED

2.删除有问题的索引.net

[root@192-168-x-x ~]#  curl -XDELETE  http://192.168.x.x:9200/xx-2017.07.18

参考“https://www.cnblogs.com/xiewenming/p/7272188.htmlcode

相关文章
相关标签/搜索