0
votes

After going through multiple websites, partition key in cassandra is responsible for identifying the node in the cluster where it stores data. But I don't understand on what parameter number of partitions are created(like keyspace responsible for Replication Factor) in cassandra..! or it creates partitions based on murmur3 without being able to specifying partitions explicitly

Thanks in Advance

1
after sometime of the post I found below link which takes about the partitions and can specify partitions in cassandra.yaml to define the partition: docs.datastax.com/en/cassandra/2.1/cassandra/architecture/… - Kishorekumar Yakkala

1 Answers

0
votes

Cassandra by default uses partitioner based on Murmur3 hash that generates values in range from -2^63 to 2^63-1. Each node in cluster is responsible for particular range of hash values, and data with partition key hashed to values in this range go to that node(s). I recommend to read documentation about Cassandra/DSE architecture - it will make things easier to understand.