Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 cassandra 中,sstable 存储在磁盘上,而 memtable 在缓存中,所以从 sstable 到 memtable 是否有 100% 的转换,即如果有 10 GB 的 sstable,那么它需要 10 GB 的内存吗?
不,那不是真的。为了更好地理解检查 memtable 相关的 cassandra 配置,例如:memtable_heap_space_in_mb – 这是 Apache Cassandranode 上所有memtables 的总分配空间。默认情况下,这是堆大小的四分之一。
另请阅读有关 cassandra 的写入和读取路径。