cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tyler Hobbs <>
Subject Re: batch_mutate vs number of write operations on CF
Date Tue, 30 Nov 2010 00:41:54 GMT
Using batch_mutate on a single row will count as 1 write operation, even if
you mutate multiple columns. Using batch_mutate on N rows will count as N
write operations.
- Tyler

On Mon, Nov 29, 2010 at 5:58 PM, Narendra Sharma

> Hi,
> I am using Cassandra 0.7 beta3 and Hector.
> I create a mutation map. The mutation involves adding few columns for a
> given row. After that I use batch_mutate API to send the changes to
> Cassandra.
> Question:
> If there are multiple column writes on same row in a mutation_map, does
> Cassandra show (on JMX write count stats for CF) that as 1 write operation
> or as N write operations where N is the number of entries in mutation map
> for that row.
> Assume all the changes in mutation map are for one row.
> Thanks,
> Naren

View raw message