Re: How default_time_to_live would delete rows without tombstones in Cassandra?

2018-10-01 Thread Gabriel Giussi
aying I did > not try it explicitely. > > Another clue to explore would be to use the TTL as a default value if >> that's a good fit. TTLs set at the table level with >> 'default_time_to_live' **should not generate any tombstone at all in >> C*3.0+**. Not tested on

Re: How default_time_to_live would delete rows without tombstones in Cassandra?

2018-09-27 Thread Alain RODRIGUEZ
too quickly, even though I wrote this a thing 'to explore', even saying I did not try it explicitely. Another clue to explore would be to use the TTL as a default value if > that's a good fit. TTLs set at the table level with > 'default_time_to_live' **should not g

Fwd: How default_time_to_live would delete rows without tombstones in Cassandra?

2018-09-17 Thread Gabriel Giussi
From https://docs.datastax.com/en/cassandra/3.0/cassandra/dml/dmlAboutDeletes.html > Cassandra allows you to set a default_time_to_live property for an entire table. Columns and rows marked with regular TTLs are processed as described above; but when a record exceeds the table-level

Re: default_time_to_live vs TTL on insert statement

2018-07-12 Thread Nitan Kainth
Okay so it means regular update and any ttl set with write overrides default setting. Which means datastax documentation is incorrect and should be updated. Sent from my iPhone > On Jul 12, 2018, at 9:35 AM, DuyHai Doan wrote: > > To set TTL on a column only and not on the whole CQL row, use U

Re: default_time_to_live vs TTL on insert statement

2018-07-12 Thread DuyHai Doan
Datastax. >> >> On 11 July 2018 at 19:56, Nitan Kainth wrote: >> >>> Hi DuyHai, >>> >>> Could you please explain in what case C* will error based on documented >>> statement: >>> >>> You can set a default TTL

Re: default_time_to_live vs TTL on insert statement

2018-07-12 Thread Nitan Kainth
set a default TTL for an entire table by setting the table's >> default_time_to_live >> <https://docs.datastax.com/en/cql/3.3/cql/cql_reference/cqlCreateTable.html#tabProp__cqlTableDefaultTTL> >> property. If you try to set a TTL for a specific column that is longer >> than the

Re: default_time_to_live vs TTL on insert statement

2018-07-11 Thread kurt greaves
gt; statement: > > You can set a default TTL for an entire table by setting the table's > default_time_to_live > <https://docs.datastax.com/en/cql/3.3/cql/cql_reference/cqlCreateTable.html#tabProp__cqlTableDefaultTTL> > property. If you try to set a TTL for a specific colu

Re: default_time_to_live vs TTL on insert statement

2018-07-11 Thread Nitan Kainth
Hi DuyHai, Could you please explain in what case C* will error based on documented statement: You can set a default TTL for an entire table by setting the table's default_time_to_live <https://docs.datastax.com/en/cql/3.3/cql/cql_reference/cqlCreateTable.html#tabProp__cqlTableDe

Re: default_time_to_live vs TTL on insert statement

2018-07-11 Thread DuyHai Doan
default_time_to_live <https://docs.datastax.com/en/cql/3.3/cql/cql_reference/cqlCreateTable.html#tabProp__cqlTableDefaultTTL> property applies if you don't specify any TTL on your CQL statement However you can always override the default_time_to_live <https://docs.datastax.com/

default_time_to_live vs TTL on insert statement

2018-07-11 Thread Nitan Kainth
Hi, As per document: https://docs.datastax.com/en/cql/3.3/cql/cql_using/useExpireExample.html - You can set a default TTL for an entire table by setting the table's default_time_to_live <https://docs.datastax.com/en/cql/3.3/cql/cql_reference/cqlCreateTa

Re: ALTER default_time_to_live

2018-01-22 Thread Alain RODRIGUEZ
gt; > In above example TTL is 10 minutes, but time window is only one. As far as > I understand C* never compacts passed bucket. Does it check tombstones > anyway? > > > On Thursday, January 18, 2018 1:32 PM, Alain RODRIGUEZ > wrote: > > > I set default_time_to_live

Re: ALTER default_time_to_live

2018-01-18 Thread Vlad
le TTL is 10 minutes, but time window is only one. As far as I understand C* never compacts passed bucket. Does it check tombstones anyway? On Thursday, January 18, 2018 1:32 PM, Alain RODRIGUEZ wrote: I set  default_time_to_live for existing table. Does it affect existing data? No,

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 &g

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

Re: default_time_to_live setting in time series data

2018-01-11 Thread Eunsu Kim
t; We are collecting monitoring data in excess of 100K TPS in Cassandra. >> >> All data is time series data and must have a TTL. >> >> Currently we have set default_time_to_live on the table. >> >> Does th

Re: default_time_to_live setting in time series data

2018-01-11 Thread Jeff Jirsa
> Currently we have set default_time_to_live on the table. > > Does this have a negative impact on Cassandra throughput performance? > > Thank you in advance. > > - > To unsubscribe, e-mail: user-unsubscr...@cassandra.apac

Re: default_time_to_live setting in time series data

2018-01-11 Thread kurt greaves
e have set default_time_to_live on the table. Does this have a negative impact on Cassandra throughput performance? Thank you in advance. - To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org For additional commands, e-ma

default_time_to_live setting in time series data

2018-01-11 Thread Eunsu Kim
Hi everyone We are collecting monitoring data in excess of 100K TPS in Cassandra. All data is time series data and must have a TTL. Currently we have set default_time_to_live on the table. Does this have a negative impact on Cassandra throughput performance? Thank you in advance

Re: Changing default_time_to_live

2014-05-28 Thread Robert Coli
On Mon, May 19, 2014 at 5:51 AM, Keith Wright wrote: > Hi all, we are using C* 2.0.6 and have set the default_time_to_live > parameter on a number of our LCS column families. I was wondering what > would happen if we were to decrease this value via a table alter. Would > subsequent

Changing default_time_to_live

2014-05-19 Thread Keith Wright
Hi all, we are using C* 2.0.6 and have set the default_time_to_live parameter on a number of our LCS column families. I was wondering what would happen if we were to decrease this value via a table alter. Would subsequent compactions of data written before that alter honor the new value and

RE: default_time_to_live

2013-10-01 Thread Pieter Callewaert
www.be-mobile.be<http://www.be-mobile.be/> Email: pieter.callewa...@be-mobile.be<mailto:pieter.callewa...@be-mobile.be> Tel: + 32 9 330 51 80 From: Sylvain Lebresne [mailto:sylv...@datastax.com] Sent: dinsdag 1 oktober 2013 19:10 To: user@cassandra.apache.org Subject: Re: default

Re: default_time_to_live

2013-10-01 Thread Sylvain Lebresne
You're not supposed to change the table settings by modifying system.schema_columnfamilies as this will skip proper propagation of the change. Instead, you're supposed to do an ALTER TABLE, so something like: ALTER TABLE hol WITH default_time_to_live=10; That being said, if you restar

default_time_to_live

2013-10-01 Thread Pieter Callewaert
UPDATE system.schema_columnfamilies SET default_time_to_live = 10 WHERE keyspace_name = 'testschema' AND columnfamily_name = 'hol'; Confirming it is set: cqlsh:testschema> select default_time_to_live from system.schema_columnfamilies where keyspace_name = 'te