cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eduardo Cusa <eduardo.c...@usmediaconsulting.com>
Subject Re: ttl in collections
Date Mon, 05 Jan 2015 19:02:24 GMT
Hi, using the following updates i made expire the direfent values in
deferent times:

update categories_sync  using ttl 60 set category = category + {'2'}  where
userid = 'u1';
update categories_sync  using ttl 120 set category = category + {'3'}
 where userid = 'u1';
update categories_sync  using ttl 180 set category = category + {'4'}
 where userid = 'u1';


I have to worry about the tombstones generated?  Considering that I will
have many daily set updates

Regards






On Mon, Jan 5, 2015 at 3:23 PM, Eduardo Cusa <
eduardo.cusa@usmediaconsulting.com> wrote:

> Hi guys, I have to work with the following model:
>
> userid : text
> categories: [3, 4, 55, 623, ...........]
>
> in my use case, the list of values is updated every day, with 100 millons
> of users and  a total of 500 categories at most.
>
>
> There is a way to assign a TT to each item in the category list?
>
>
> Regards
> Eduardo
>
>
>
>
>
>
>
>

Mime
View raw message