SlideShare a Scribd company logo
Cassandra Essentials Tutorial Series


Managing Objects and
Data in Apache
Cassandra
Agenda
 Primary interfaces for managing objects and data
 The CQL and CLI utilities
 What is CQL?
 CQL Basics
 Examples of using CQL and the CLI
 Where to get Cassandra
Primary Interfaces for objects/data
 The Cassandra CLI (command Line Interface)
 The Cassandra CQL (Cassandra Query
  Language) interface
                                     1



                               6          2




                               5          3



                                     4
The Cassandra Command Line Interface (CLI)
 Originalinterface designed to create objects
 (e.g. column families), input, and manipulate
 data
The Cassandra Query Language (CQL) Utility
 Utility
        used to create objects/manipulate data
  using a SQL-like language
The Cassandra Query Language
 Objects  such as keyspaces, column families, and
  indexes are created, altered, and removed with
  RDBMS-like CREATE , ALTER, and DROP
 Data is inserted, changed, and removed with
  DML INSERT, UPDATE, and DELETE commands
 Data is queried with the SELECT command
 CQL has some current limitations and does not
  support operations such as GROUP BY, ORDER BY,
  etc.
Specifying a Data Consistency Option in CQL
   Cassandra offers tunable data consistency
   Choose between strong and eventual consistency (All to any
    node responding) depending on the need
   Can be done on a per-operation basis, and for both reads and
    writes
   Handles Multi-data center operations
   Done with the USING CONSISTENCY clause

               Writes             Reads
                  Any               One
                  One               Quorum
                  Quorum            Local_Quorum
                  Local_Quorum      Each_Quorum
                  Each_Quorum       All
                  All
Where to get Cassandra
   Go to www.datastax.com
   DataStax makes free smart start installers available for Cassandra
    that include:
       The most up-to-date Cassandra version that is production
        quality
       A version of DataStax OpsCenter, which is a visual, browser-
        based management tool for managing and monitoring
        Cassandra
       Drivers and connectors for popular development languages
       Same database and application
       Automatic configuration assistance for ensuring optimal
        performance and setup for either stand-alone or cluster
        implementations
       Getting Started Guide
For More Information




               www.datastax.com
Cassandra Essentials Tutorial Series


Managing Objects and
Data in Apache
Cassandra

More Related Content

PPTX
Cassandra training
PPT
Apache cassandra
PPTX
Apache Cassandra
ODP
Intro to cassandra
PDF
What is Apache Cassandra? | Apache Cassandra Tutorial | Apache Cassandra Intr...
PPT
Cassandra architecture
PPTX
An Overview of Apache Cassandra
PDF
Cassandra Workshop - Cassandra from scratch in one day
Cassandra training
Apache cassandra
Apache Cassandra
Intro to cassandra
What is Apache Cassandra? | Apache Cassandra Tutorial | Apache Cassandra Intr...
Cassandra architecture
An Overview of Apache Cassandra
Cassandra Workshop - Cassandra from scratch in one day

What's hot (20)

PDF
Apache Cassandra Interview Questions and Answers | Cassandra Tutorial | Cassa...
PPTX
Cassandra an overview
PPTX
Cassandra ppt 2
PDF
Apache Cassandra overview
PPT
NOSQL Database: Apache Cassandra
PDF
Intro to Cassandra
PDF
Cassandra 101
PPTX
Cassandra Architecture FTW
PPTX
Presentation of Apache Cassandra
PPTX
Cassandra tutorial
PDF
The Cassandra Distributed Database
PDF
Cassandra overview
PPT
Apache Cassandra training. Overview and Basics
PPTX
Cassandra internals
PDF
Cassandra Tutorial
PDF
Apache Cassandra in the Real World
PDF
Cassandra basics 2.0
PDF
Elassandra: Elasticsearch as a Cassandra Secondary Index (Rémi Trouville, Vin...
PPTX
Evaluating Apache Cassandra as a Cloud Database
PDF
Cassandra NoSQL Tutorial
Apache Cassandra Interview Questions and Answers | Cassandra Tutorial | Cassa...
Cassandra an overview
Cassandra ppt 2
Apache Cassandra overview
NOSQL Database: Apache Cassandra
Intro to Cassandra
Cassandra 101
Cassandra Architecture FTW
Presentation of Apache Cassandra
Cassandra tutorial
The Cassandra Distributed Database
Cassandra overview
Apache Cassandra training. Overview and Basics
Cassandra internals
Cassandra Tutorial
Apache Cassandra in the Real World
Cassandra basics 2.0
Elassandra: Elasticsearch as a Cassandra Secondary Index (Rémi Trouville, Vin...
Evaluating Apache Cassandra as a Cloud Database
Cassandra NoSQL Tutorial
Ad

Viewers also liked (20)

PPTX
Android Firebase
PDF
Managing Cassandra at Scale by Al Tobey
PPTX
API Design Best Practices & Tech Talk : API Craft Meetup @ Apigee
PDF
Cassandra and docker
PPTX
Next Best Action: Personalization with Apigee
PPTX
Economic models for reinventing telco webcast by vision mobile, apigee
PPTX
Apigee centralite io t webinar july 2015 share (2)
PPTX
Cassandra via-docker
PPTX
Apigee Insights: Data & Context-Driven Actions
PDF
Cassandra on Docker
PDF
Introduction to Usergrid - ApacheCon EU 2014
PDF
UI Testing Best Practices - An Expected Journey
PDF
DataStax: Dockerizing Cassandra on Modern Linux
PDF
A Checklist for Every API Call
PDF
Rock-solid Magento Deployments (and Development)
PDF
Magento 2 Code Generation Tools
PPTX
Node.js - Extending the Programmability of Apigee Edge
PDF
The right tools for the right job (or: surviving Magento 2 coding)
PDF
Max Yekaterynenko - Magento Architecture, Next Steps
PDF
I Love APIs 2015: Crash Course Foundational Topics in Apigee Edge Workshop
Android Firebase
Managing Cassandra at Scale by Al Tobey
API Design Best Practices & Tech Talk : API Craft Meetup @ Apigee
Cassandra and docker
Next Best Action: Personalization with Apigee
Economic models for reinventing telco webcast by vision mobile, apigee
Apigee centralite io t webinar july 2015 share (2)
Cassandra via-docker
Apigee Insights: Data & Context-Driven Actions
Cassandra on Docker
Introduction to Usergrid - ApacheCon EU 2014
UI Testing Best Practices - An Expected Journey
DataStax: Dockerizing Cassandra on Modern Linux
A Checklist for Every API Call
Rock-solid Magento Deployments (and Development)
Magento 2 Code Generation Tools
Node.js - Extending the Programmability of Apigee Edge
The right tools for the right job (or: surviving Magento 2 coding)
Max Yekaterynenko - Magento Architecture, Next Steps
I Love APIs 2015: Crash Course Foundational Topics in Apigee Edge Workshop
Ad

Similar to Managing Objects and Data in Apache Cassandra (20)

PPTX
Appache Cassandra
PDF
Migrating Oracle database to Cassandra
PPTX
PPTX
5 Ways to Use Spark to Enrich your Cassandra Environment
PDF
CASSANDRA A DISTRIBUTED NOSQL DATABASE FOR HOTEL MANAGEMENT SYSTEM
PPTX
Cassandra implementation for collecting data and presenting data
PPTX
Introduction to NoSQL CassandraDB
PPTX
Cassandra Learning
PDF
cassandra
PDF
Cassandra Database
PPTX
Apache Cassandra introduction
PDF
Introduction to Apache Cassandra
PPTX
PPTX
Why Cassandra?
PDF
Trivadis TechEvent 2016 Big Data Cassandra, wieso brauche ich das? by Jan Ott
PPTX
Cassandra synergy
PPTX
Unit -3 _Cassandra-CRUD Operations_Practice Examples
PPTX
Unit -3 -Features of Cassandra, CQL Data types, CQLSH, Keyspaces
PPTX
Scaling opensimulator inventory using nosql
PPTX
Learning Cassandra NoSQL
Appache Cassandra
Migrating Oracle database to Cassandra
5 Ways to Use Spark to Enrich your Cassandra Environment
CASSANDRA A DISTRIBUTED NOSQL DATABASE FOR HOTEL MANAGEMENT SYSTEM
Cassandra implementation for collecting data and presenting data
Introduction to NoSQL CassandraDB
Cassandra Learning
cassandra
Cassandra Database
Apache Cassandra introduction
Introduction to Apache Cassandra
Why Cassandra?
Trivadis TechEvent 2016 Big Data Cassandra, wieso brauche ich das? by Jan Ott
Cassandra synergy
Unit -3 _Cassandra-CRUD Operations_Practice Examples
Unit -3 -Features of Cassandra, CQL Data types, CQLSH, Keyspaces
Scaling opensimulator inventory using nosql
Learning Cassandra NoSQL

More from DataStax (20)

PPTX
Is Your Enterprise Ready to Shine This Holiday Season?
PPTX
Designing Fault-Tolerant Applications with DataStax Enterprise and Apache Cas...
PPTX
Running DataStax Enterprise in VMware Cloud and Hybrid Environments
PPTX
Best Practices for Getting to Production with DataStax Enterprise Graph
PPTX
Webinar | Data Management for Hybrid and Multi-Cloud: A Four-Step Journey
PPTX
Webinar | How to Understand Apache Cassandra™ Performance Through Read/Writ...
PDF
Webinar | Better Together: Apache Cassandra and Apache Kafka
PDF
Top 10 Best Practices for Apache Cassandra and DataStax Enterprise
PDF
Introduction to Apache Cassandra™ + What’s New in 4.0
PPTX
Webinar: How Active Everywhere Database Architecture Accelerates Hybrid Cloud...
PPTX
Webinar | Aligning GDPR Requirements with Today's Hybrid Cloud Realities
PDF
Designing a Distributed Cloud Database for Dummies
PDF
How to Power Innovation with Geo-Distributed Data Management in Hybrid Cloud
PDF
How to Evaluate Cloud Databases for eCommerce
PPTX
Webinar: DataStax Enterprise 6: 10 Ways to Multiply the Power of Apache Cassa...
PPTX
Webinar: DataStax and Microsoft Azure: Empowering the Right-Now Enterprise wi...
PPTX
Webinar - Real-Time Customer Experience for the Right-Now Enterprise featurin...
PPTX
Datastax - The Architect's guide to customer experience (CX)
PPTX
An Operational Data Layer is Critical for Transformative Banking Applications
PPTX
Becoming a Customer-Centric Enterprise Via Real-Time Data and Design Thinking
Is Your Enterprise Ready to Shine This Holiday Season?
Designing Fault-Tolerant Applications with DataStax Enterprise and Apache Cas...
Running DataStax Enterprise in VMware Cloud and Hybrid Environments
Best Practices for Getting to Production with DataStax Enterprise Graph
Webinar | Data Management for Hybrid and Multi-Cloud: A Four-Step Journey
Webinar | How to Understand Apache Cassandra™ Performance Through Read/Writ...
Webinar | Better Together: Apache Cassandra and Apache Kafka
Top 10 Best Practices for Apache Cassandra and DataStax Enterprise
Introduction to Apache Cassandra™ + What’s New in 4.0
Webinar: How Active Everywhere Database Architecture Accelerates Hybrid Cloud...
Webinar | Aligning GDPR Requirements with Today's Hybrid Cloud Realities
Designing a Distributed Cloud Database for Dummies
How to Power Innovation with Geo-Distributed Data Management in Hybrid Cloud
How to Evaluate Cloud Databases for eCommerce
Webinar: DataStax Enterprise 6: 10 Ways to Multiply the Power of Apache Cassa...
Webinar: DataStax and Microsoft Azure: Empowering the Right-Now Enterprise wi...
Webinar - Real-Time Customer Experience for the Right-Now Enterprise featurin...
Datastax - The Architect's guide to customer experience (CX)
An Operational Data Layer is Critical for Transformative Banking Applications
Becoming a Customer-Centric Enterprise Via Real-Time Data and Design Thinking

Recently uploaded (20)

PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Machine learning based COVID-19 study performance prediction
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
NewMind AI Monthly Chronicles - July 2025
PPTX
Cloud computing and distributed systems.
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
cuic standard and advanced reporting.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Big Data Technologies - Introduction.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Machine learning based COVID-19 study performance prediction
Per capita expenditure prediction using model stacking based on satellite ima...
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Diabetes mellitus diagnosis method based random forest with bat algorithm
Encapsulation_ Review paper, used for researhc scholars
Understanding_Digital_Forensics_Presentation.pptx
NewMind AI Monthly Chronicles - July 2025
Cloud computing and distributed systems.
The Rise and Fall of 3GPP – Time for a Sabbatical?
cuic standard and advanced reporting.pdf
The AUB Centre for AI in Media Proposal.docx
Unlocking AI with Model Context Protocol (MCP)
Big Data Technologies - Introduction.pptx
Chapter 3 Spatial Domain Image Processing.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Review of recent advances in non-invasive hemoglobin estimation
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...

Managing Objects and Data in Apache Cassandra

  • 1. Cassandra Essentials Tutorial Series Managing Objects and Data in Apache Cassandra
  • 2. Agenda  Primary interfaces for managing objects and data  The CQL and CLI utilities  What is CQL?  CQL Basics  Examples of using CQL and the CLI  Where to get Cassandra
  • 3. Primary Interfaces for objects/data  The Cassandra CLI (command Line Interface)  The Cassandra CQL (Cassandra Query Language) interface 1 6 2 5 3 4
  • 4. The Cassandra Command Line Interface (CLI)  Originalinterface designed to create objects (e.g. column families), input, and manipulate data
  • 5. The Cassandra Query Language (CQL) Utility  Utility used to create objects/manipulate data using a SQL-like language
  • 6. The Cassandra Query Language  Objects such as keyspaces, column families, and indexes are created, altered, and removed with RDBMS-like CREATE , ALTER, and DROP  Data is inserted, changed, and removed with DML INSERT, UPDATE, and DELETE commands  Data is queried with the SELECT command  CQL has some current limitations and does not support operations such as GROUP BY, ORDER BY, etc.
  • 7. Specifying a Data Consistency Option in CQL  Cassandra offers tunable data consistency  Choose between strong and eventual consistency (All to any node responding) depending on the need  Can be done on a per-operation basis, and for both reads and writes  Handles Multi-data center operations  Done with the USING CONSISTENCY clause Writes Reads  Any  One  One  Quorum  Quorum  Local_Quorum  Local_Quorum  Each_Quorum  Each_Quorum  All  All
  • 8. Where to get Cassandra  Go to www.datastax.com  DataStax makes free smart start installers available for Cassandra that include:  The most up-to-date Cassandra version that is production quality  A version of DataStax OpsCenter, which is a visual, browser- based management tool for managing and monitoring Cassandra  Drivers and connectors for popular development languages  Same database and application  Automatic configuration assistance for ensuring optimal performance and setup for either stand-alone or cluster implementations  Getting Started Guide
  • 9. For More Information www.datastax.com
  • 10. Cassandra Essentials Tutorial Series Managing Objects and Data in Apache Cassandra