Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the maximum length of data passed to cassandra column

Tags:

cassandra

cql

Is there any limit on maximum length we can specify for a column while creating Cassandra table, if yes, then how much we can specify?

I am new to using Cassandra, please let me know

like image 254
Rajesh Kumar Avatar asked Jan 15 '15 16:01

Rajesh Kumar


People also ask

How much data can Cassandra handle?

Maximum recommended capacity for Cassandra 1.2 and later is 3 to 5TB per node for uncompressed data. For Cassandra 1.1, it is 500 to 800GB per node. Be sure to account for replication.

How do I find the size of a Cassandra database?

If you need to know informaiton about table or tables you can use Nodetool cfstats command. Syntax: If you will only provide the name of keyspace, it will provide stats for all the tables in that keyspace.

How are Cassandra row sizes calculated?

To calculate the size of a row, we need to sum the size of all columns within the row and add that sum to the partition key size. Assuming the size of the partition key is consistent throughout a table, calculating the size of a table is almost identical to calculating the size of a partition.

What is Cassandra partition size?

Partition size is measured by the number of cells (values) that are stored in the partition. Cassandra's hard limit is 2 billion cells per partition, but you'll likely run into performance issues before reaching that limit.


1 Answers

The maximum number of cells (rows x columns) in a single partition is 2 billion and the maximum column key (and row key) size is 64KB and the maximum column value size is 2 GB. you can refer this https://cwiki.apache.org/confluence/display/CASSANDRA2/CassandraLimitations

like image 82
Yasmeen Avatar answered Oct 06 '22 01:10

Yasmeen