Re: estimated number of keys vs ttl

2018-05-23 Thread Eric Stevens
I believe that key estimates won't immediately respond to expired TTL, Not
until after compaction has completely dropped the records (which will
include subtle logic related to gc_grace and partitions with data in
multiple SSTables).

On Wed, May 23, 2018 at 6:18 AM Rahul Singh 
wrote:

> If the TTL actually reduces the key count , should. It’s possible to TTL a
> row from a partition but not the whole partition. 1 key = 1 partition != 1
> row != 1 cell
>
> --
> Rahul Singh
> rahul.si...@anant.us
>
> Anant Corporation
>
> On May 23, 2018, 6:07 AM -0500, Grzegorz Pietrusza ,
> wrote:
>
> Hi
>
> I'm using tablestats to get estimated number of partitioning keys. In my
> case all writes are done with TTL of a few days. Is the key count decreased
> when TTL hits?
>
> Regards
> Grzegorz
>
>


Re: estimated number of keys vs ttl

2018-05-23 Thread Rahul Singh
If the TTL actually reduces the key count , should. It’s possible to TTL a row 
from a partition but not the whole partition. 1 key = 1 partition != 1 row != 1 
cell

--
Rahul Singh
rahul.si...@anant.us

Anant Corporation

On May 23, 2018, 6:07 AM -0500, Grzegorz Pietrusza , 
wrote:
> Hi
>
> I'm using tablestats to get estimated number of partitioning keys. In my case 
> all writes are done with TTL of a few days. Is the key count decreased when 
> TTL hits?
>
> Regards
> Grzegorz


estimated number of keys vs ttl

2018-05-23 Thread Grzegorz Pietrusza
Hi

I'm using tablestats to get estimated number of partitioning keys. In my
case all writes are done with TTL of a few days. Is the key count decreased
when TTL hits?

Regards
Grzegorz