cassandra的备份几份数据呢,参数replication_factor:2,即数据备份到2台服务器,但不能超过集群机器数量哦
create keyspace xxx with placement_strategy = 'org.apache.cassandra.locator.SimpleStrategy' and strategy_options = {replication_factor:2};
cassandra的备份几份数据呢,参数replication_factor:2,即数据备份到2台服务器,但不能超过集群机器数量哦
create keyspace xxx with placement_strategy = 'org.apache.cassandra.locator.SimpleStrategy' and strategy_options = {replication_factor:2};