Cassandra中每个表的最大分区数限制 [英] maximum number of partitions limit per table in cassandra

查看:1107
本文介绍了Cassandra中每个表的最大分区数限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新的cassandra,根据我的理解,根据配置的分区器(murmur3partitioner或randomaccess分区器)有一个分区限制每个表。如果我们使用murmur3partitioner配置keyspace,这将对每个表实施2 ^ 63个分区的分区限制。在插入行时,如果新插入尝试创建超过限制的新分区,则插入将失败(意味着如果我获得每个表的行键的唯一组合超过2 ^ 63)。

I am new to cassandra, As per my understanding depending on the configured partitioner(murmur3partitioner or randomaccess partitioner) there is a partitions limit per table. if we configure keyspace with murmur3partitioner which would enforce the partitions limit of 2^63 partitions per table. while inserting the row, if the new insertion tries to create new partition beyond the limit, the insertion would fail(means if I get unique combinations of row keys more than 2^63 per table).

任何人都可以澄清一下,我对分区的限制对列族的理解是否正确?

Can anyone please clarify, Is my understanding about partitions limit on column family is correct ?

并且根据我的理解,即使添加节点到集群也没有办法增加分区限制,如果我错了,请纠正我。

And also as per my understanding there is no way to increase the partitions limit even by adding nodes into the cluster, please correct me if I am wrong.

推荐答案

murmur3分区器的值的范围实际上是-2 ^ 63到+ 2 ^ 63-1这是一个大量的数字。你不会在任何实际意义上耗尽价值。别担心。

The range of values for the murmur3 partitioner is actually -2^63 to +2^63-1 That's a massive number. You aren't going to run out of values in any practical sense. No worries.

这篇关于Cassandra中每个表的最大分区数限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆