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

相關文章
相關標籤/搜索