Limitations
The upper limits are as follows:
-
Cells in a partition: ~2 billion (2^31); single column value size: 2 GB (1 MB is recommended)
-
Clustering column value length of: 65535 (2^16 - 1)
-
Key length: 65535 (2^16 - 1)
-
Table / column family name length: 222 characters
-
Keyspace name length: 222 characters
-
Query parameters in a query: 65535 (2^16 - 1)
-
Statements in a batch: 65535 (2^16 - 1)
-
Fields in a tuple: 32768 (2^15) (just a few fields, such as 2 to 10, are recommended)
-
Collection (list): collection limit is ~2 billion (2^31); values size is 65535 (2^16 - 1)
-
Collection (set): collection limit is ~2 billion (2^31); values size is 65535 (2^16 - 1)
-
Blob size: 2 GB (less than 1 MB is recommended)
-
Vector: maximum dimension is 8K (2^13)
The limits specified for collections are for non-frozen collections. |