Cassandra Administration [Video]

Cassandra Administration [Video]

Progressing
C Y Kan

Configure and administer Cassandra for optimum database performance and a completely operational cluster
$72.25
RRP $84.99
$12.99 p/month

Get Access

Get Unlimited Access to every Packt eBook and Video course

Enjoy full and instant access to over 3000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Video Details

ISBN 139781782164203
Course Length2 hours and 51 minutes

About This Book

  • Quickly grasp the concepts behind Cassandra and understand its internal working mechanism
  • Build a single node cluster into a running multi-node cluster from scratch
  • Learn through clearly demonstrated steps how to administrate and manage day-to-day operations with Cassandra, including data migration, backup, restore, monitoring, and performance tuning

Who This Book Is For

If you are a beginner or intermediate architect, developer, or database administrator with basic knowledge of Linux and a general understanding of databases, this book will be great for you. Experience of Cassandra is not required.

Table of Contents

Exploring Cassandra
Apache Cassandra Overview
Features and Benefits
When Not to Use Cassandra
Other Similar NoSQL Databases
Differences from Relational Databases
Basic Theory and Mechanism
Understanding the CAP Theorem and Eventual Consistency
Creating the Data Model
Write and Read Paths
Understanding the Cluster Architecture
Detecting Seed, Gossip, and Failure
Prerequisites and Preinstallation Preparation
Preinstallation Planning
Single Node Preparation
Building from the Source Tarball
Installing and Configuring Cassandra
Building a Cluster of Multiple Nodes
Monitoring Cassandra
Logging and Log Rotation
The CLI Monitoring Tool -- nodetool
The GUI Monitoring Tool -- JConsole
Garbage Collection
System-Level Monitoring
Data Migration and Indexing
Loading Bulk Data
JSON Format Import and Export
Using the CQL Command -- COPY
Using Primary Indexes
Using Secondary Indexes
Backup and Restore
Understanding Backup and Recovery Concepts
Taking a Snapshot
Incremental Backup
Using the Commitlog Feature
Using Restore Methods
Performance Tuning
Storage Strategies and OS Tuning
JVM Tuning
Caching Strategies
Compaction and Compression
Stress Testing
Conclusion
Repairing Nodes
Scaling In and Out
Supplement 1 -- Cloning Virtual Machine
Supplement 2 -- Installing and Configuring ClusterSSH
Closing Comments

What You Will Learn

  • Create, install, and configure a Cassandra cluster
  • Use tools to monitor cluster availability and performance
  • Export data into different data formats
  • Use primary index and secondary indexes correctly to perform queries on data
  • Backup and restore data to secure the system in the event of failure
  • Tune the performance of Java Virtual Machine (JVM), caches, and compaction
  • Conduct a stress test on a Cassandra cluster and interpret the performance results
  • Scale in and out of a Cassandra cluster

In Detail

Cassandra is the flagship product among the NoSQL databases with its distributed, fault-tolerant, extremely fast, linearly scalable, and low-cost features. These make it a high-calibre core component of the rapidly expanding cloud computing and mission critical data systems. This course shows you how to plan and prepare the right installation platform for a cluster and effectively administer Cassandra.

This quick-start video course covers administration tasks performed in real-world systems. It starts by providing you with a solid grounding in Cassandra architecture basics and then proceeds to build a single node cluster from scratch using step-by-step demonstrations. It then moves on progressively to show you how to build a completely operating multi node cluster.

This video course provides you with the necessary know-how to effectively administrate and perform operations in Cassandra. You will also get to know, from an architecture perspective, how Cassandra differs from traditional databases and other popular NoSQL databases.

The course starts off by showing you the steps to build your own cluster, and introduces you to the different use cases for Cassandra. Along the way, you will encounter caveats based on scenarios that may not be a good fit. After learning how to install Cassandra, you will learn how to use different monitoring tools and methods to import and export large amount of data. Next, primary and secondary indexes are explained to help you select the appropriate indexing that enables fast and efficient data lookup to respond to search and retrieval requests. Finally, you will use various tools to facilitate performance tuning, and conduct a stress test on a cluster, and interpret the performance results.

By the end of this course, you will have developed the required skills to install and set up any Cassandra cluster, along with administrating and managing daily operations easily.

Style and Approach

Packt video courses are designed to cover the breadth of the topic in short, hands-on, task-based videos. Each course is divided into short manageable sections, so you can watch the whole thing or jump to the bit you need. The focus is on practical instructions and screencasts showing you how to get the job done.

A practical video course with step-by-step examples on how to administer a Cassandra cluster; showing you operational tips to monitor, index, migrate, backup, and restore data with a focus on how to utilize Cassandra to its full potential.

Authors

Screenshots

Table of Contents

Exploring Cassandra
Apache Cassandra Overview
Features and Benefits
When Not to Use Cassandra
Other Similar NoSQL Databases
Differences from Relational Databases
Basic Theory and Mechanism
Understanding the CAP Theorem and Eventual Consistency
Creating the Data Model
Write and Read Paths
Understanding the Cluster Architecture
Detecting Seed, Gossip, and Failure
Prerequisites and Preinstallation Preparation
Preinstallation Planning
Single Node Preparation
Building from the Source Tarball
Installing and Configuring Cassandra
Building a Cluster of Multiple Nodes
Monitoring Cassandra
Logging and Log Rotation
The CLI Monitoring Tool -- nodetool
The GUI Monitoring Tool -- JConsole
Garbage Collection
System-Level Monitoring
Data Migration and Indexing
Loading Bulk Data
JSON Format Import and Export
Using the CQL Command -- COPY
Using Primary Indexes
Using Secondary Indexes
Backup and Restore
Understanding Backup and Recovery Concepts
Taking a Snapshot
Incremental Backup
Using the Commitlog Feature
Using Restore Methods
Performance Tuning
Storage Strategies and OS Tuning
JVM Tuning
Caching Strategies
Compaction and Compression
Stress Testing
Conclusion
Repairing Nodes
Scaling In and Out
Supplement 1 -- Cloning Virtual Machine
Supplement 2 -- Installing and Configuring ClusterSSH
Closing Comments

Video Details

ISBN 139781782164203
Course Length2 hours and 51 minutes
Read More