Elastic 基础篇(2)

1、基本概念

1)Elastic和RDMS对比

RDMS Elastic
数据库database 索引index
表table 类型type
行row 文档document
列column 字段field
表结构scheme 映射Mapping
select * from…… GET http://
update table set  PUT http://
delete  DELETE http://

2、核心概念

1)集群

2)节点

3)索引

4)类型

5)文档

6)分片:超大文件存储硬盘不够了,Elastic将改索引划分成多份,这些份就叫分片;

7)副本:Elastic创建分片的一份或多份的拷贝,叫副本;为了保证高可用,副本和主分片不在同一个节点上。

3、

猜你喜欢

转载自www.cnblogs.com/hoge66/p/9995588.html