Summer Blog

Elasticsearch基础知识

基本概念

基本接口

集群管理

GET /_cat/health?v  // 了解集群健康状态,green:每个索引的shard和replica都是可用的yellow:所以的shard可用,部分replica不可用;red:部分shard不可用

GET /_cat/indices?v // 查看有哪些索引

SQL优化

索引

类型

索引的优点

  1. 大大减少服务器需要扫描的数据量
  2. 帮助服务器避免排序和临时表
  3. 将随机 I/O 变为顺序 I/O

The difference between healthy and unhealthy love

Video

Three main goals

We have three main goals:

signs of unhealthy love

intensity