在尝试使用Cassandra时,我发现Cassandra会写入以下文件:
原文链接:https://www.f2er.com/nosql/203357.html/.../cassandra/commitlog/CommitLog-<id>.log /.../cassandra/data/Keyspace1/Standard1-1-Data.db /.../cassandra/data/Keyspace1/Standard1-1-Filter.db /.../cassandra/data/Keyspace1/Standard1-1-Index.db /.../cassandra/data/system/LocationInfo-1-Data.db /.../cassandra/data/system/LocationInfo-1-Filter.db /.../cassandra/data/system/LocationInfo-1-Index.db /.../cassandra/data/system/LocationInfo-2-Data.db /.../cassandra/data/system/LocationInfo-2-Filter.db /.../cassandra/data/system/LocationInfo-2-Index.db /.../cassandra/data/system/LocationInfo-3-Data.db /.../cassandra/data/system/LocationInfo-3-Filter.db /.../cassandra/data/system/LocationInfo-3-Index.db /.../cassandra/system.log
一般结构似乎是:
/.../cassandra/commitlog/CommitLog-ID.log /.../cassandra/data/KEYSPACE/COLUMN_FAMILY-N-Data.db /.../cassandra/data/KEYSPACE/COLUMN_FAMILY-N-Filter.db /.../cassandra/data/KEYSPACE/COLUMN_FAMILY-N-Index.db /.../cassandra/system.log
什么是Cassandra文件结构?更具体地说,数据,commitlog目录是如何使用的,以及数据目录(Data / Filter / Index)中文件的结构是什么?