现在的位置: 首页 > 综合 > 正文

cassandra的replication_factor

2013年08月29日 ⁄ 综合 ⁄ 共 193字 ⁄ 字号 评论关闭

cassandra的备份几份数据呢,参数replication_factor:2,即数据备份到2台服务器,但不能超过集群机器数量哦

create keyspace xxx with placement_strategy = 'org.apache.cassandra.locator.SimpleStrategy' and strategy_options = {replication_factor:2};

抱歉!评论已关闭.