读流程

0)插入两行数据

INSERT INTO usersSimple (user_id, fname) VALUES (1745, 'john');
INSERT INTO usersSimple (user_id, fname) VALUES (1744, 'smith');

1)数据存储

在这个bufferCell里

2)调用栈

UnfilteredPartitionIterator queryStorage

3)ssttable存储

 

 【参考】

https://blog.longyb.com/2019/04/22/cassandra_flush_memtable/

posted @ 2022-01-23 08:57  stupidstan2019  阅读(27)  评论(0编辑  收藏  举报