CHAPTER 3

image

Indexes and Composite Columns

In previous chapters we have discussed big data problems, Cassandra data modeling concepts, and various schema management techniques. Although you should avoid normalizing the form of your data too much, you still need to model read requirements around columns rather than primary keys in your database applications.

The following topics will be covered in this chapter

  • Indexing concept
  • Data partitioning
  • Cassandra read/write mechanism
  • Secondary indexes
  • Composite columns
  • What’s new in Cassandra 2.0

Indexes

An index in a database is a data structure for faster retrieval of a data set in a table. Indexes can ...

Get Beginning Apache Cassandra Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.