You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Nikolay Mihaylov <nm...@nmmm.nu> on 2015/01/02 19:07:47 UTC

Re: Tombstones without DELETE

Hi Tyler,

sorry for very stupid question - what is a collection ?

Nick

On Wed, Dec 31, 2014 at 6:27 PM, Tyler Hobbs <ty...@datastax.com> wrote:

> Overwriting an entire collection also results in a tombstone being
> inserted.
>
> On Wed, Dec 24, 2014 at 7:09 AM, Ryan Svihla <rs...@datastax.com> wrote:
>
>> You should probably ask on the Cassandra user mailling list.
>>
>> However, TTL is the only other case I can think of.
>>
>> On Tue, Dec 23, 2014 at 1:36 PM, Davide D'Agostino <in...@daddye.it>
>> wrote:
>>
>>> Hi there,
>>>
>>> Following this:
>>> https://groups.google.com/a/lists.datastax.com/forum/#!searchin/java-driver-user/tombstone/java-driver-user/cHE3OOSIXBU/moLXcif1zQwJ
>>>
>>> Under what conditions Cassandra generates a tombstone?
>>>
>>> Basically I have not even big table on cassandra (90M rows) in my code
>>> there is no delete and I use prepared statements (but binding all necessary
>>> values).
>>>
>>> I'm aware that a tombstone gets created when:
>>>
>>> 1. You delete the row
>>> 2. You set a column to null while previously it had a value
>>> 3. When you use prepared statements and you don't bind all the values
>>>
>>> Anything else that I should be aware of?
>>>
>>> Thanks!
>>>
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to java-driver-user+unsubscribe@lists.datastax.com.
>>>
>>
>>
>>
>> --
>>
>> [image: datastax_logo.png] <http://www.datastax.com/>
>>
>> Ryan Svihla
>>
>> Solution Architect
>>
>> [image: twitter.png] <https://twitter.com/foundev> [image: linkedin.png]
>> <http://www.linkedin.com/pub/ryan-svihla/12/621/727/>
>>
>> DataStax is the fastest, most scalable distributed database technology,
>> delivering Apache Cassandra to the world’s most innovative enterprises.
>> Datastax is built to be agile, always-on, and predictably scalable to any
>> size. With more than 500 customers in 45 countries, DataStax is the
>> database technology and transactional backbone of choice for the worlds
>> most innovative companies such as Netflix, Adobe, Intuit, and eBay.
>>
>>
>
>
> --
> Tyler Hobbs
> DataStax <http://datastax.com/>
>

Re: Tombstones without DELETE

Posted by Tyler Hobbs <ty...@datastax.com>.
No worries!  They're a data type that was introduced in 1.2:
http://www.datastax.com/dev/blog/cql3_collections

On Fri, Jan 2, 2015 at 12:07 PM, Nikolay Mihaylov <nm...@nmmm.nu> wrote:

> Hi Tyler,
>
> sorry for very stupid question - what is a collection ?
>
> Nick
>
> On Wed, Dec 31, 2014 at 6:27 PM, Tyler Hobbs <ty...@datastax.com> wrote:
>
>> Overwriting an entire collection also results in a tombstone being
>> inserted.
>>
>> On Wed, Dec 24, 2014 at 7:09 AM, Ryan Svihla <rs...@datastax.com>
>> wrote:
>>
>>> You should probably ask on the Cassandra user mailling list.
>>>
>>> However, TTL is the only other case I can think of.
>>>
>>> On Tue, Dec 23, 2014 at 1:36 PM, Davide D'Agostino <in...@daddye.it>
>>> wrote:
>>>
>>>> Hi there,
>>>>
>>>> Following this:
>>>> https://groups.google.com/a/lists.datastax.com/forum/#!searchin/java-driver-user/tombstone/java-driver-user/cHE3OOSIXBU/moLXcif1zQwJ
>>>>
>>>> Under what conditions Cassandra generates a tombstone?
>>>>
>>>> Basically I have not even big table on cassandra (90M rows) in my code
>>>> there is no delete and I use prepared statements (but binding all necessary
>>>> values).
>>>>
>>>> I'm aware that a tombstone gets created when:
>>>>
>>>> 1. You delete the row
>>>> 2. You set a column to null while previously it had a value
>>>> 3. When you use prepared statements and you don't bind all the values
>>>>
>>>> Anything else that I should be aware of?
>>>>
>>>> Thanks!
>>>>
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to java-driver-user+unsubscribe@lists.datastax.com.
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> [image: datastax_logo.png] <http://www.datastax.com/>
>>>
>>> Ryan Svihla
>>>
>>> Solution Architect
>>>
>>> [image: twitter.png] <https://twitter.com/foundev> [image: linkedin.png]
>>> <http://www.linkedin.com/pub/ryan-svihla/12/621/727/>
>>>
>>> DataStax is the fastest, most scalable distributed database technology,
>>> delivering Apache Cassandra to the world’s most innovative enterprises.
>>> Datastax is built to be agile, always-on, and predictably scalable to any
>>> size. With more than 500 customers in 45 countries, DataStax is the
>>> database technology and transactional backbone of choice for the worlds
>>> most innovative companies such as Netflix, Adobe, Intuit, and eBay.
>>>
>>>
>>
>>
>> --
>> Tyler Hobbs
>> DataStax <http://datastax.com/>
>>
>
>


-- 
Tyler Hobbs
DataStax <http://datastax.com/>