Introduciton to Apache Cassandra

31
INTRODUCTION TO CASSANDRA TRENDWISE ANALYTICS

description

 

Transcript of Introduciton to Apache Cassandra

Page 1: Introduciton to Apache Cassandra

INTRODUCTION TO CASSANDRA

TRENDWISE ANALYTICS

Page 2: Introduciton to Apache Cassandra

Contents

- What is the need of Cassandra (NoSQL)

- Types of NoSQL

- Introduction to Cassandra

- Installing and configuring Cassandra on your machine

- Use Cases

- Motivation

Tren

dwis

e An

alyti

cs

2

Page 3: Introduciton to Apache Cassandra

Tren

dwis

e An

alyti

cs

3

RDBMS IS SO COOL !!

Page 4: Introduciton to Apache Cassandra

RDBMS The Awesome and the Not-So-Much

Allows the user to represent complex relationships with the data to insert, select, update, delete, truncate, and merge data.

We can perform a rich variety of operations using functions based on relational algebra to find the desired output.

SQL provides a means of directly creating, altering, and dropping schema structures at runtime.

RDBMS is easy to use and offer a low barrier to entry.

SQL allows you to easily integrate your RDBMS with a wide variety of systems.

Tren

dwis

e An

alyti

cs

4

Page 5: Introduciton to Apache Cassandra

Tren

dwis

e An

alyti

cs

5

→ Because of some of the inherent design decisions in RDBMS, it is not always as easy to scale.

→ Partitioning tolerance is not supported by RDBMS.

→ Simultaneous write operations in bulk are not possible.

Page 6: Introduciton to Apache Cassandra

Tren

dwis

e An

alyti

cs

6

Page 7: Introduciton to Apache Cassandra

Tren

dwis

e An

alyti

cs

7

Page 8: Introduciton to Apache Cassandra

Tren

dwis

e An

alyti

cs

8

Page 9: Introduciton to Apache Cassandra

Tren

dwis

e An

alyti

cs

9

Page 10: Introduciton to Apache Cassandra

Tren

dwis

e An

alyti

cs

10

Page 11: Introduciton to Apache Cassandra

Tren

dwis

e An

alyti

cs

11

Page 12: Introduciton to Apache Cassandra

Tren

dwis

e An

alyti

cs

12

Page 13: Introduciton to Apache Cassandra

Tren

dwis

e An

alyti

cs

13

Page 14: Introduciton to Apache Cassandra

Tren

dwis

e An

alyti

cs

14

Page 15: Introduciton to Apache Cassandra

Tren

dwis

e An

alyti

cs

15

Page 16: Introduciton to Apache Cassandra

Tren

dwis

e An

alyti

cs

16

Page 17: Introduciton to Apache Cassandra

Tren

dwis

e An

alyti

cs

17

Page 18: Introduciton to Apache Cassandra

Tren

dwis

e An

alyti

cs

18

Page 19: Introduciton to Apache Cassandra

Tren

dwis

e An

alyti

cs

19

Page 20: Introduciton to Apache Cassandra

Tren

dwis

e An

alyti

cs

20

Page 21: Introduciton to Apache Cassandra

Tren

dwis

e An

alyti

cs

21

Page 22: Introduciton to Apache Cassandra

Tren

dwis

e An

alyti

cs

22

Page 23: Introduciton to Apache Cassandra

Tren

dwis

e An

alyti

cs

23

Page 24: Introduciton to Apache Cassandra

Tren

dwis

e An

alyti

cs

24

Page 25: Introduciton to Apache Cassandra

Tren

dwis

e An

alyti

cs

25

Page 26: Introduciton to Apache Cassandra

Tren

dwis

e An

alyti

cs

26

Page 27: Introduciton to Apache Cassandra

Tren

dwis

e An

alyti

cs

27

Page 28: Introduciton to Apache Cassandra

Tren

dwis

e An

alyti

cs

28

Page 29: Introduciton to Apache Cassandra

Tren

dwis

e An

alyti

cs

29

Installing and Configuring Cassandra

1. Go to cassandra.apache.org/download/2. Download Latest version of Cassandra3. Create the directories (details in

readme.txt)4. Give the path to your JDK5. Run command 'bin/cassandra -f' to start

the server 6. Open a new tab in terminal and start CQL

shell with bin/cqlsh

Page 30: Introduciton to Apache Cassandra

Tren

dwis

e An

alyti

cs

30

YOU'RE READY TO DO THE MAGIC !!

Page 31: Introduciton to Apache Cassandra

Tren

dwis

e An

alyti

cs

31