cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Viswanathan Ramachandran <vish.ramachand...@gmail.com>
Subject Writing to multiple tables
Date Mon, 16 Mar 2015 19:13:06 GMT
Hi,

Are Cassandra Batch statements
http://www.datastax.com/documentation/cql/3.1/cql/cql_reference/batch_r.html
 the
recommended way for updating same information in multiple tables?

For example if I have the following tables:

person_by_dob
person_by_ssn
person_by_lastname


Then addition/modification of person will result in three writes.

Is BATCH the recommended way of updating all three tables at one go so that
the information between the three tables is consistent ?

In other words, is it an established cassandra usage pattern to use this
BATCH feature for this purpose?

Are there alternate approaches and recommendations?

Thanks
Vish

Mime
View raw message