high and low cardinality in Cassandra
I keep coming across these terms: high cardinality and low cardinality in Cassandra . I don't understand what exactly they mean. what effects they have on queries and what is preferred. Please explain with example since that will be be easy to follow. The cardinality of X is nothing more than the number of elements that compose X. In Cassandra the partition key cardinality is very important for partitioning data. Since the partition key is responsible for the distribution of the data across the cluster, choosing a low cardinality key might lead to a situation in which your data are not