In Cassandra, I can create a composite partition key, separate from my clustering key:
CREATE TABLE footable ( column1 text, column2 text, column3 text, column4 text, PRIMARY KEY ((column1, column2)) )
As I understand it, quering by partition key is an extremely efficient (most efficient?) Method for retrieving data. However, I do not know if it is also effective for querying only part of the partitionβs composite key.
In MSSQL, this will be effective if the components are included starting from the first (column1 instead of column2, in this example). Is it so in Kassandra? This is a very efficient query for rows based only on column1, here?
Mark
source share