用于水平压实柱系列的 Cassandra 主要压实

标签 cassandra

当我使用配置了 nodetool compact 的 Leveled compaction 对列族执行 Major compaction 时会发生什么?

Documentation说:

compact [keyspace][cf_name]

For column families that use the SizeTieredCompactionStrategy, initiates an immediate major compaction of all column families in keyspace. For each column family in keyspace, this compacts all existing SSTables into a single SSTable. This can cause considerable disk I/O and can temporarily cause up to twice as much disk space to be used. Optionally takes a list of column family names.

这一项与分层压缩有关。水平呢?

最佳答案

自 Cassandra 2.2 以来引入了 LCS 的主要压缩,并带有以下 JIRA 票证: https://issues.apache.org/jira/browse/CASSANDRA-7272

但我从未测试过它,DataStax 的 nodetool compact 手册目前还没有描述 LCS,所以我不确定它是否真的有用。

关于用于水平压实柱系列的 Cassandra 主要压实,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16261336/

相关文章:

Cassandra Read 花费的时间比预期的要长

amazon-ec2 - Cassandra:EC2 多区域的正确配置是什么?

c# - Cassandra 准备好的语句的并发执行返回无效的 JSON 作为结果

docker - Cassandra-Kubernetes重新启动时如何保持Pod IP

c++ - 适用于 Apache Cassandra 的 DataStax C/C++ 驱动程序 : Blob Conversion (GCrypt Crypto Key) Issue

mysql - 如何将 mysql 数据库/表数据转换为 cassandra 数据文件...?

cassandra - 如何归档和清除 Cassandra 数据

cassandra - 将 Cassandra 快照移动到不同的磁盘/服务器/数据中心

cassandra - cassandra cqlsh 中的 OR 操作

cassandra - 在 cassandra 版本 1.2.5 及更高版本中使用可空列过滤主键