You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Grzegorz Pietrusza <gp...@gmail.com> on 2018/05/23 11:06:58 UTC
estimated number of keys vs ttl
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
Posted by Eric Stevens <mi...@gmail.com>.
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 <ra...@gmail.com>
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.singh@anant.us
>
> Anant Corporation
>
> On May 23, 2018, 6:07 AM -0500, Grzegorz Pietrusza <gp...@gmail.com>,
> 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
Posted by Rahul Singh <ra...@gmail.com>.
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.singh@anant.us
Anant Corporation
On May 23, 2018, 6:07 AM -0500, Grzegorz Pietrusza <gp...@gmail.com>, 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