Reputation: 61
Is it possible to execute a batch of select statements using dse cassandra or should i consider a design change?
The reason is i have a lot of select queries i wish to execute against my db cluster and not sure about going about it. I have deleted all my secondary indexes so im not using those anymore.
Upvotes: 1
Views: 62
Reputation: 728
That won't work and even if it would, it isn't adviseable.
Batching only works well if the keys (write executions) are distributed in an equal way, and this is only worth it if you want to do all the updates as a transaction. So in summary you should definitely consider a design change
Upvotes: 2