0 votes
in Cassandra by
What are the different types of Partitioners in Cassandra? Explain.

1 Answer

0 votes
by

Murmur3Partitioner is the default partitioner. It is both improved and faster than RandomPartitioner. Uniformly distributes data based on MurmurHash function.

64-bit hash value partition key with Range: 263 to 263-1

RandomPartitioner was the default partitioner prior to Cassandra 1.2. It is used with vnodes. It has a Uniform Distribution.

It uses MD5 hash values with Range: 0 to 2127-1

ByteOrderedPartioner is used for ordered partitioning. It orders rows lexically by key bytes. Using the ordered partitioner allows ordered scans by primary key. This means we can scan rows as though we were moving a cursor through a traditional index.

Related questions

0 votes
asked Feb 3, 2020 in Cassandra by rajeshsharma
0 votes
0 votes
asked Feb 2, 2020 in Cassandra by rajeshsharma
...