Cassandra Administration

Configure and administer Cassandra for optimum database performance and a completely operational cluster
2.5 (5 ratings)
Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
145 students enrolled
82% off
Take This Course
  • Lectures 40
  • Length 3 hours
  • Skill Level All Levels
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works


Find online courses made by experts from around the world.


Take your courses with you and learn anywhere, anytime.


Learn and practice real-world skills and achieve your goals.

About This Course

Published 12/2014 English

Course Description

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.

About the Author

C Y Kan is an expert in information technology system integration and enterprise application development. He has over 20 years of IT experience, including 12 years of project management and application architecture design in many large-scale distributed systems. He is a specialist in various technologies such as Java, JEE, Spring, Mule, Hadoop, Cassandra, and Oracle.

He received a Bachelor’s degree in electrical and electronic engineering from the University of Hong Kong and a Master’s degree in engineering management from the University of Technology, Sydney. He also holds many professional qualifications such as PMP, PRINCE2 Practitioner, PMI Agile Certified Practitioner, Scrum Master, CISSP, TOGAF9, SOA Certified Architect, ITIL, and Certified Six Sigma Black Belt.

What are the requirements?

  • 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.

What am I going to get from this course?

  • 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

Who is the target audience?

  • 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.

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.


Section 1: Exploring Cassandra

Get a basic idea about Cassandra so that you have the foundation to follow the subsequent videos.


Get to know the features and benefits of Cassandra, and apply them in the common use cases.


Understand the limitations and know the situations where its usage can be avoided.


Know what differentiates Cassandra from other popular NoSQL databases.


Understand the differences between NoSQL and Relational databases.

Section 2: Basic Theory and Mechanism

Know the design trade-off among consistency, availability and partition-tolerance and then choose the appropriate type of NoSQL database.


Create and use the data model correctly by understanding the hierarchy of the data model components.


Understand the inner workings of the read and write operations in Cassandra.


Understand how Cassandra implements replication so that you know how to choose a replication strategy.


Understand how Cassandra takes care of availability in a cluster and also learn how the failover and recovery mechanism works.

Section 3: Prerequisites and Preinstallation Preparation

Get to know the recommended hardware and software requirements.


Get to know the different types of installations with a demonstration of JRE and JNA installation and learn how to configure the recommended system settings in the demo environment.


Learn how to install Cassandra from scratch by building its source code.


Understand the use of software package manager to obtain and install a single node Cassandra cluster and then conduct verification tests.


Learn how to scale out a Cassandra cluster from a single node.

Section 4: Monitoring Cassandra

Learn how to configure Cassandra's logs and their rotations to keep a track of internal details for problem diagnosis, performance tuning, and troubleshooting.


Understand the use of the command-line tool and nodetool to monitor and manage database cluster operations and performance.


Learn to use the GUI tool JConsole to monitor database cluster operations and performance.


Know how to enable the garbage collection log for monitoring and performance tuning.


Get to know how you can check Cassandra's runtime health status by using system tools and JConsole to perform the health check.

Section 5: Data Migration and Indexing

In this video, you'll learn how huge amount of data can be loaded into Cassandra.


Learn how to import and export data in the JSON format.


You need to import and export data in a common CSV format. Use the CQL COPY command to do the task.


Learn how to select an appropriate primary key for a table by taking into account the partition key and the clustering columns.


Understand how to select data using columns that are not in the primary key by creating appropriate secondary indexes.

Section 6: Backup and Restore

Understand how to conduct backup and recovery in Cassandra.


Learn how to take a snapshot and conduct a full backup.


Understand what an incremental backup is and how it works with a snapshot.


Know the autorecovery feature provided by Cassandra. Understand how it works in Cassandra.


Understand the point-in-time recovery feature provided by Cassandra by grasping the various data restore methods.

Section 7: Performance Tuning

Understand the impact of different disk storage and memory configurations by selecting the suitable configurations and settings.


Understand how to tune Java Virtual Machine and garbage collection for high performance.


Learn how to tune read-and-write caches in Cassandra.


Articulate the compaction and compression mechanism of SSTable and how they affect performance by introducing the CQL statements to fine tune their behaviors.


Learn how to run stress tests and trace CQL requests.

Section 8: Conclusion

To ensure data consistency in a cluster, you need to schedule regular node repair.


Scaling in and out of a cluster using the virtual node and nonvirtual node is important. Learn how to remove or decommission a node for scaling in and how to add a node for scaling out.


Save time and effort in preparing virtual machines repeatedly for nodes in a cluster by learning how to use the cloning feature provided by the virtual machine management software to simplify the task.


Learn how to automate tedious steps in Linux shell management by using public key and handy cluster management software to save time and effort.


In this last video of the course, you'll learn how to keep yourself updated with Apache Cassandra.

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Packt Publishing, Tech Knowledge in Motion

Packt has been committed to developer learning since 2004. A lot has changed in software since then - but Packt has remained responsive to these changes, continuing to look forward at the trends and tools defining the way we work and live. And how to put them to work.

With an extensive library of content - more than 4000 books and video courses -Packt's mission is to help developers stay relevant in a rapidly changing world. From new web frameworks and programming languages, to cutting edge data analytics, and DevOps, Packt takes software professionals in every field to what's important to them now.

From skills that will help you to develop and future proof your career to immediate solutions to every day tech challenges, Packt is a go-to resource to make you a better, smarter developer.

Packt Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.

Ready to start learning?
Take This Course