1

初回 (ほぼデフォルトのオプション) で、Cassandra は 64MB の SSTable をフラッシュします。しかし、私はこの最初のSSTableを64MBよりも大きくしたいと考えています。そこで、以下のような cassandra 構成をいくつか変更しました (以下の構成の組み合わせで数回)。しかし、変更されていません....そして、memtable_throughput_in_mbオプションは、cassandra 1.2で廃止されました。

memtable_total_space_in_mb: 4096 commitlog_segment_size_in_mb: 32 commitlog_total_space_in_mb: 4096

初期(cassandraがMemtableをSSTableにフラッシュするとき)SSTableのサイズを128MBまたは256MBのように大きくするにはどうすればよいですか?

ありがとう。

4

1 に答える 1

1

From the documentation I could find the SSTable size is relative to each column family so you set it using the sstable_size_in_mb:<value> option when you create the CF. For example if you wanted your SStable to be 128mb you could issue the following CQL command:

ALTER TABLE application.users WITH
    compaction_strategy_options:sstable_size_in_mb:10;
于 2013-05-30T08:50:26.887 に答える