简体   繁体   中英

Multiple keyspace or table update for cassandra

Is it a good idea to send batch update statements spanning multiple table? Will it generate a heavier workload on the coordination node?

Yes it is a bad idea to send LOGGED BATCH spanning multiple partition because it can overload the coordinator.

If you need to optimize the network and don't care about batching guarantee (that all mutation will be eventually applied) user UNLOGGED BATCH

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM