http://wiki.apache.org/cassandra/CassandraLimitations
Quote: Cassandra has two levels of indices: key and column. But in super columnfamilies there is a third level of sub-columns; they are not indexed, and any request for a sub-column deserializes all sub-columns in this super-column. Therefore, you want to avoid a data model that requires a large number of subcolumns.
=> What is a subcolumn? Interestingly, the term "googling" does not really produce results. I know the concepts of a super-column, but itβs not clear what exactly the term sub-column (as defined) means:
Which concept is correct?
Firstly:
ROW-KEY SubCol SubCol col col col val val val col val
OR
Secondly:
ROW-KEY Column Column SubCol SubCol SubCol SubCol val val val val
In addition to what is in the definitions:
comparator = UTF8Type and subcomparator = UTF8Type and
This is only a matter of definition.
Thanks Marcus
cassandra
Markus Jun 11 2018-11-11T00: 00Z
source share