使用cassandra-cli更新列族并更改其gc_grace_seconds值的命令是什么
发布于 2013-11-20 21:46:09
在cassandra-cli上没有“秒”
UPDATE COLUMN FAMILY cf with GC_GRACE = 86400; //one day发布于 2014-02-26 10:56:57
对于CQLSH
alter table <table_name> with GC_GRACE_SECONDS = <timeout>;例如:
alter table yawn with GC_GRACE_SECONDS = 3600;其中哈欠是我们的表名,3600是一个小时;
发布于 2013-03-21 05:46:19
use ks;
update column family cf with gc_grace_seconds = 864000;https://stackoverflow.com/questions/15526379
复制相似问题