摘要: ### cassandra 写入cassandra 首先写入memtable, 与此同时写入commitlog. memtable 在内存,commitlog 在磁盘。 memtable 写完后会flush 到磁盘,成为SSTable. 同时对应的commitlog 会被删除。 之后对已经写入磁盘... 阅读全文
posted @ 2014-12-11 06:00 zhifan 阅读(823) 评论(0) 推荐(0)
摘要: ###获得Cassandra 基本信息####key spaces describe keyspaces; describe keyspace {keyspace}; use {keyspace}; select * from system.schema_keyspaces;... 阅读全文
posted @ 2014-12-11 05:14 zhifan 阅读(1891) 评论(0) 推荐(0)