Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You can have distributed <em>consistency</em> (for a single operation) without transactions, but not <em>atomicity</em> (for groups of operations). Although 'consistency' in Cassandra is used in a slightly more specific sense than for <a href="http://en.wikipedia.org/wiki/ACID" rel="nofollow noreferrer">ACID</a> databases in general.</p> <p>Cassandra supports tunable consistency levels (CLs) - you can specify the consistency level for each read and write. See <a href="http://wiki.apache.org/cassandra/API" rel="nofollow noreferrer">http://wiki.apache.org/cassandra/API</a>. </p> <p>These levels range from <code>CL.ANY</code> (which reads or writes from/to a single node, initially) to <code>CL.ALL</code> (which gives you full consistency, at the expense of availability).</p> <p>However, it doesn't give you a way to group operations into atomic transactions so they all succeed or all fail (though I think multiple operations on the same row are atomic, but not independent).</p> <p>See also: </p> <ul> <li><a href="https://stackoverflow.com/questions/2976932/cassandra-transaction-support">Cassandra - transaction support</a></li> <li><a href="http://ria101.wordpress.com/2010/05/12/locking-and-transactions-over-cassandra-using-cages/" rel="nofollow noreferrer">Locking and transactions over Cassandra using Cages</a></li> <li><a href="http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/best-practices-for-simulating-transactions-in-Cassandra-td7064256.html" rel="nofollow noreferrer">Best practices for simulating transactions in Cassandra</a></li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload