Re: tombstones - however there are no deletes

2020-08-21 Thread Alex Ott
Btw, if you seen the number of tombstones that is a multiply of number of scanned rows, like in your case - that’s a explicit signal of either null inserts, or non frozen collections... On Fri 21. Aug 2020 at 20:21, Attila Wind wrote: > > > > > > > > > > > right! silly me (regarding "can't have

Re: tombstones - however there are no deletes

2020-08-21 Thread Attila Wind
right! silly me (regarding "can't have null for clustering column") :-) OK code is modified, we stopped using NULL on that column. In a few days we will see if this was the cause. Thanks for the useful info eveyrone! Helped a lot! Attila Wind http://www.linkedin.com/in/attilaw Mobile: +49

Re: tombstones - however there are no deletes

2020-08-21 Thread Attila Wind
Thanks a lot! I will process every pointers you gave - appreciated! 1. we do have collection column in that table but that is (we have only 1 column) a frozen Map - so I guess "Tombstones are also implicitly created any time you insert or update a row which has an (unfrozen) collection

Re: tombstones - however there are no deletes

2020-08-21 Thread Alex Ott
inserting null for any column will generate the tombstone (and you can't have null for clustering column, except case when it's an empty partition with static column). if you're really inserting the new data, not overwriting existing one - use UNSET instead of null On Fri, Aug 21, 2020 at 10:45

Re: Getting Invalid Yaml exception after we upgraded java version

2020-08-21 Thread manish khandelwal
Pushpendra You can check this Datastax post . Looks like a similar error. You can run cassandra-stress utility to bypass the yaml parser. Regards Manish On Fri, Aug 21, 2020 at 11:29 AM

Re: tombstones - however there are no deletes

2020-08-21 Thread Alex Ott
Tombstones could be not only generated by deletes. this happens when you: - When insert or full update of a non-frozen collection occurs, such as replacing the value of the column with another value like the UPDATE table SET field = new_value …, Cassandra inserts a tombstone marker to

Re: tombstones - however there are no deletes

2020-08-21 Thread Oleksandr Shulgin
On Fri, Aug 21, 2020 at 7:57 AM Attila Wind wrote: > Hi Cassandra Gurus, > > Recently I captured a very interesting warning in the logs saying > > 2020-08-19 08:08:32.492 > [cassandra-client-keytiles_data_webhits-nio-worker-2] WARN > com.datastax.driver.core.RequestHandler - Query '[3 bound

Re: tombstones - however there are no deletes

2020-08-21 Thread Tobias Eriksson
Isn’t it so that explicitly setting a column to NULL also result in a tombstone Then as mentioned the use of list,set,map can also result in tombstones See https://www.instaclustr.com/cassandra-collections-hidden-tombstones-and-how-to-avoid-them/ -Tobias From: Oleksandr Shulgin Reply to:

Re: tombstones - however there are no deletes

2020-08-21 Thread Oleksandr Shulgin
On Fri, Aug 21, 2020 at 9:43 AM Tobias Eriksson wrote: > Isn’t it so that explicitly setting a column to NULL also result in a > tombstone > True, thanks for pointing that out! Then as mentioned the use of list,set,map can also result in tombstones > > See >