What is the batch limit in Cassandra?

前端 未结 3 1225
有刺的猬
有刺的猬 2020-12-05 23:12

I have a Java client that pushes (INSERT) records in batch to Cassandra cluster. The elements in the batch all have the same row key, so they all will be placed in the same

3条回答
  •  北荒
    北荒 (楼主)
    2020-12-05 23:51

    Looking at the Cassandra logs you'll be able to spot things like:

    ERROR 19:54:13 Batch for [matches] is of size 103.072KiB, exceeding specified threshold of 50.000KiB by 53.072KiB. (see batch_size_fail_threshold_in_kb)

提交回复
热议问题