In HBase what does ColumnFamily TTL really mean? -
let's assume have 2 cf (cf1, cf2).
let's assume cf2 has ttl of 1 day, , cf2 has 2 columnqualifiers.
does mean during major compaction cells in cf2 older day automatically dropped (as long min-version == 0)?
i'm confused because in documentation keep referring rows not sure mean...
as per understanding docs, row refers version of particular rowkey in column family.
versions - max no of versions rowkey maintained in column family.
ttl - duration retain version of rowkey
min_versions - minimum no of versions rowkey maintained @ point of time.
i explain above 3 example. lets say, cf2 has been configured versions = 100, ttl = 1day, min_versions=3
so, max 100 versions maintained particular rowkey in cf2 , version older 1day removed major compaction if no of versions > 3. ensures 3 version of record there cf2.
Comments
Post a Comment