Advantages and limitations of column family databases

NoSQL Concepts

Miriam Antona

Software engineer

Advantages - flexibility

  • Rows within a column family can have different columns
  • Add new columns to a row if we need them
  • Avoids filling with default values
  • Flexibility mustn't be considered as the only criterion
    • Evaluate key-value and document databases
NoSQL Concepts

Advantages - speed

  • Related columns are stored together on disk
  • Very fast writing / retrieving
NoSQL Concepts

Advantages - scalability

  • Scale horizontally
    • Sharding across multiple servers
NoSQL Concepts

Advantages - large volumes of data

  • Designed to handle large volumes of data
    • speed
    • horizontal scalability
    • efficient data compression
NoSQL Concepts

Limitations

  • Atomic reads/writes but no multirow transactions
  • No joins support
  • No subqueries support
  • Need to define the queries quite well
    • Queries change -> may need to change the column families
    • Can be costly
NoSQL Concepts

Let's practice!

NoSQL Concepts

Preparing Video For Download...