Re: ALTER default_time_to_live

2018-01-22 Thread Alain RODRIGUEZ
Hello Vlad, I don't remember the context of the sentences, but I see no incompatibilities. I believe the misunderstanding comes from the word 'compaction' that is a bit large. In the first sentence it is about tombstone compactions. in sentence two it is about standard, regular compaction accordin

Re: ALTER default_time_to_live

2018-01-18 Thread Vlad
Hi, thanks for answer! I've read article about TWCS, and I don't understand how claim "When rows reach their TTL (10 minutes here), they turn into tombstones. Our table defines that tombstones can be purged 1 minute after they were created.If all rows are created with the same TTL, SSTables wil

Re: ALTER default_time_to_live

2018-01-18 Thread Alain RODRIGUEZ
> > I set default_time_to_live for existing table. Does it affect existing > data? No, it sets a default TTL for the future writes (that is no guarantee, as it can be overwritten in any specific query). It seems data to be deleted, but after compaction, I don't see any disk > space freed as exp

ALTER default_time_to_live

2018-01-18 Thread Vlad
Hi, I set  default_time_to_live for existing table. Does it affect existing data? It seems data to be deleted, but after compaction, I don't see any disk space freed as expected. Database has data for almost year, GC time is ten days, and TTL is also ten days on one table and 100 days on other.