Use multiple statements instead of batches for multi-row operations in CassandraTemplate [DATACASS-289] #460
Labels
status: declined
A suggestion or change that we don't feel we should currently apply
type: enhancement
A general enhancement
Mark Paluch opened DATACASS-289 and commented
CassandraTemplate
DML operations affecting multiple rows (e.g.insert(List<T> entities)
) use Cassandra batches without the possibility of issuing just multiple inserts. Cassandra batches spread over multiple partition keys require the coordinator to manage the work.CassandraTemplate
should perform multiple row operations issuing multiple commands as that is the most efficient way due to the distributed nature.Issue Links:
("depends on")
("is superseded by")
The text was updated successfully, but these errors were encountered: