Does collections in CQL3 have certain limits?

后端 未结 5 547
灰色年华
灰色年华 2020-12-17 17:32

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

5条回答
  •  借酒劲吻你
    2020-12-17 18:17

    The revised non-frozen collection-related limits, after CASSANDRA-5428 was resolved in version 2.1 and when using version 3 or later of the native protocol, are:

    ======+==========+================+================
     TYPE | SIZE     | # KEYS         | VALUE SIZE
    ======+==========+================+================
     List | 2B (231)  | n/a             | 65,535 (216-1)  
     Set  | 2B (231)  | n/a             | 65,535 (216-1)  
     Map  | 2B (231)  | 65,535 (216-1)  | 65,535 (216-1)  
    ======+==========+================+================
    

    Clients connecting via Thrift and earlier versions of the C* native protocol are still limited by those respective transports.

提交回复
热议问题