摘要: 一、类型及区分 Cassandra的4种Key Primary Key 主键 Composite Key,Compound Key 复合键 Partition Key 分区键 Clustering Key 集群 1.主键 Primary Key(简单主键) 是用来获取某一行的数据, 可以是单一列(S 阅读全文
posted @ 2022-09-14 10:36 李朋_Wechat 阅读(396) 评论(0) 推荐(0) 编辑
摘要: Cassandra的commitLog、memtable、 SStable 和关系数据库一样,Cassandra在写数据之前,也需要先记录日志,称之为commitlog,然后数据才会写入到Column Family对应的Memtable中,并且Memtable中的内容是按照key排序好的。Memta 阅读全文
posted @ 2022-09-14 10:31 李朋_Wechat 阅读(128) 评论(0) 推荐(0) 编辑