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

 1.es与MySQL的概念对比

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 最佳运维实践总结

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

-----------------------------------------------------------------------------------------

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

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

2.删除有问题的索引

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

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

原文地址:https://www.cnblogs.com/hixiaowei/p/11757093.html