1、VERSIONS
1)作用范围在单个column family上,
2)定义该column family内单行数据最多保留多少个版本,
3)多余的版本会在major compaction时候删除掉。
4)0.98版本之后,默认值1。
2、MIN_VERSIONS
1)作用范围在单个column family上,
2)定义该column family内单行数据最少保留多少个版本,即使数据过期了
3)而且该column family设置了TTL参数,MIN_VERSIONS参数才有效。
4)默认值0,表示数据过期了,不保留任何历史版本的数据。
3、官方的原文解释
The minimum number of row versions parameter is used together with the time-to-live parameter
and can be combined with the number of row versions parameter to allow configurations
such as “keep the last T minutes worth of data, at most N versions, but keep at least M versions around”
(where M is the value for minimum number of row versions, M<N).
This parameter should only be set when time-to-live is enabled for a column family
and must be less than the number of row versions.