CQL3中的集合是否有一定的限制? [英] Does collections in CQL3 have certain limits?

查看:141
本文介绍了CQL3中的集合是否有一定的限制?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于有支持CQL3..One宽行两种方式是使用组合键,另一个是使用集合像地图,List和Set。复合键方法可以有数百万列(转置到行)。这是解决我们的一些用例。

As there are two ways to support wide rows in CQL3..One is to use composite keys and another is to use collections like Map, List and Set. The composite keys method can have millions of columns (transposed to rows).. This is solving some of our use cases.

但是,如果我们使用集合,我想知道如果有一个集合可以提早存储数据一定数量/金额(如使用节俭℃的限制*支持先进的第2行十亿柱)

However, if we use collections, I want to know if there is a limit that the collections can store a certain number/amount of data (Like earlier with Thrift C* supports up-to 2 billion columns in a row)

推荐答案

除了性能问题,也限制了一个协议问题项目数,您可以访问到65536。

Apart from the performance issue, there is a protocol issue which limits the number of items you can access to 65536.

http://mail-archives.apache.org/mod_mbox/cassandra-user/201305.mbox/%3CCAENxBwx6pcSA=cWn=dKW_52K5odw5F3Xigj- zn_4BwFth+4ruA@mail.gmail.com%3E

这篇关于CQL3中的集合是否有一定的限制?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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