Chris G.
Chris G.

Reputation: 25954

Size of list in Cassandra

According to this:
https://docs.datastax.com/en/cql/3.0/cql/cql_using/use_collections_c.html

An item in a list can be max 64k.

Also it states that you can have 64k items in a list.

  1. Does that mean that I can have (1024 * 64 = 65536) items of 64k in a list, map or set?
  2. Or does it mean that I can have (65536/size of internal reference type to each item) items of 64k in a list, map or set?

Upvotes: 4

Views: 771

Answers (1)

arcticless
arcticless

Reputation: 644

It means you'll have max 65536 items in a collection. And each item in your collection won't be greater than 65536.

Upvotes: 4

Related Questions