What is the best method to store row data in a sorted order ?

DWQA QuestionsCategory: CassandraWhat is the best method to store row data in a sorted order ?
Editor Staff asked 1 month ago

What is the best method to store row data in a sorted order ?
(1)use a clustering key
(2)minimize the number of partions.
(3)partition
(4)use a primary key

1 Answers
Editor Staff answered 1 month ago

Answer:-(1)use a clustering key