Closed tarzanek closed 4 months ago
or if you need longer, then set bigger window size ...
Thanks @tarzanek. Wouldn't 20 windows be: default_time_to_live = 72000 (3600*20)? How did you reach the number of 40372?
yep, sorry, wrong copy paste or typo use the proper value
@tarzanek @guy9 this issue is already finished? If yes, let's close the discussion.
yep, merged, closing
https://github.com/scylladb/scylla-code-samples/commit/cd1194fa2d612e5306e639af599650b6b88563d7 introduced a regression
since TWCS DOESN'T have options like
so conversion per docs:
you need to rewrite it to proper https://enterprise.docs.scylladb.com/stable/cql/compaction.html#twcs-options options
@guy9
so above translated will be cca (you cannot simulate fully)
we should ideally set the default_ttl on table to make sure above won't grow over 20-50 windows that means setting on top of above for table (but please check if it fits the MMS use case, if not warn about this being not ideal and ICS + SAG might be better) - 3600 x 20 or 3600 x 50 MAX (https://thelastpickle.com/blog/2016/12/08/TWCS-part1.html , but my experience with (older) Scylla is 13-20 windows, with newer Scylla it probably can go a bit higher)
so that would be 20h retention for such time series data ...