Skip to main content

2018 | Buch

Expert Apache Cassandra Administration

insite
SUCHEN

Über dieses Buch

Follow this handbook to build, configure, tune, and secure Apache Cassandra databases. Start with the installation of Cassandra and move on to the creation of a single instance, and then a cluster of Cassandra databases.
Cassandra is increasingly a key player in many big data environments, and this book shows you how to use Cassandra with Apache Spark, a popular big data processing framework. Also covered are day-to-day topics of importance such as the backup and recovery of Cassandra databases, using the right compression and compaction strategies, and loading and unloading data.
Expert Apache Cassandra Administration provides numerous step-by-step examples starting with the basics of a Cassandra database, and going all the way through backup and recovery, performance optimization, and monitoring and securing the data. The book serves as an authoritative and comprehensive guide to the building and management of simple to complex Cassandra databases. The book:Takes you through building a Cassandra database from installation of the software and creation of a single database, through to complex clusters and data centers
Provides numerous examples of actual commands in a real-life Cassandra environment that show how to confidently configure, manage, troubleshoot, and tune Cassandra databases
Shows how to use the Cassandra configuration properties to build a highly stable, available, and secure Cassandra database that always operates at peak efficiency
What You'll LearnInstall the Cassandra software and create your first database
Understand the Cassandra data model, and the internal architecture of a Cassandra databaseCreate your own Cassandra cluster, step-by-stepRun a Cassandra cluster on DockerWork with Apache Spark by connecting to a Cassandra databaseDeploy Cassandra clusters in your data center, or on Amazon EC2 instances
Back up and restore mission-critical Cassandra databases
Monitor, troubleshoot, and tune production Cassandra databases, and cut your spending on resources such as memory, servers, and storage

Who This Book Is For
Database administrators, developers, and architects who are looking for an authoritative and comprehensive single volume for all their Cassandra administration needs. Also for administrators who are tasked with setting up and maintaining highly reliable and high-performing Cassandra databases. An excellent choice for big data administrators, database administrators, architects, and developers who use Cassandra as their key data store, to support high volume online transactions, or as a decentralized, elastic data store.

Inhaltsverzeichnis

Frontmatter

Introduction, Installation, and Configuration

Frontmatter
Chapter 1. Apache Cassandra: An Introduction
Abstract
Apache Cassandra is quite different from a typical relational database management system (RDBMS) such as MySQL or the Oracle database. This chapter sets the stage for the need for NoSQL databases in general, and for Cassandra.
Sam R. Alapati
Chapter 2. Installing Cassandra and Getting Started with CQL Shell
Abstract
Once you create a Cassandra cluster, you learn how to work with cqlsh, the command line interface to the CQL shell. By the time you complete this chapter, you’ll know how to start and stop your cluster, how to create keyspaces and tables, and how to insert and query data.
Sam R. Alapati
Chapter 3. Deploying a Cassandra Cluster
Abstract
The idea behind starting with a simple one-node cluster was to get novices get comfortable with the Cassandra terminology and learn the basics of starting and stopping Cassandra nodes.
Sam R. Alapati

The Data Model, Cluster Architecture, and the Cassandra Query Language

Frontmatter
Chapter 4. Cassandra Data Modeling, and the Reading and Writing of Data
Abstract
Data modeling in Cassandra is different from traditional data modeling in a relational database in many ways. This chapter introduces you to the key aspects of Cassandra data modeling, wherein the queries you anticipate running in the database have a lot to do with how you structure your data inside tables.
Sam R. Alapati
Chapter 5. Cassandra Architecture
Abstract
Cassandra has several interesting architectural features that set it apart from a relational database. This chapter introduces the Cassandra architecture. You’ll also learn about the Cassandra storage engine and how the database stores its data.
Sam R. Alapati
Chapter 6. Introduction to the Cassandra Query Language
Abstract
This chapter provides a quick summary of the Cassandra Query Language (CQL).
Sam R. Alapati
Chapter 7. Cassandra on Docker, Apache Spark, and the Cassandra Cluster Manager
Abstract
Now that you know quite a bit about the architecture of Cassandra, as well as how to configure a cluster, it’s time to learn about orchestrating a Cassandra cluster in various environments.
Sam R. Alapati
Chapter 8. Backup, Recovery, and Moving Data
Abstract
Backing up and restoring data are key functions of a Cassandra administrator. This chapter shows you how to back up your data by taking periodic snapshots of data. Cassandra also enables you to take incremental backups and back up the commit log segments. All these backups come in handy when you need to perform a full restore of the database
Sam R. Alapati

Maintaining, Monitoring, Tuning, and Securing Apache Cassandra

Frontmatter
Chapter 9. Maintaining Cassandra
Abstract
This chapter is about common Cassandra management tasks and node management.
Sam R. Alapati
Chapter 10. Monitoring, Logging, and Metrics
Abstract
Monitoring Cassandra is in many ways similar to how you manage a traditional relational database. The complexity lies in the fact that Cassandra is a distributed database, so you’ll be concerning yourself also with the distribution of data and the balancing of the workload among the nodes of a cluster.
Sam R. Alapati
Chapter 11. Tuning Cassandra Performance
Abstract
Cassandra has numerous configuration knobs, and nowhere is this truer than in the area of performance tuning, where the database administrator can control several aspects of performance. Out of the box, Cassandra runs with default settings for many performance-related configuration properties. As an administrator, you should know these defaults and modify them to suit your environment.
Sam R. Alapati
Chapter 12. Securing Cassandra
Abstract
Securing a Cassandra cluster involves a varied set of tasks including authentication, authorization, and encryption.
Sam R. Alapati
Backmatter
Metadaten
Titel
Expert Apache Cassandra Administration
verfasst von
Sam R. Alapati
Copyright-Jahr
2018
Verlag
Apress
Electronic ISBN
978-1-4842-3126-5
Print ISBN
978-1-4842-3125-8
DOI
https://doi.org/10.1007/978-1-4842-3126-5