Professional Documents
Culture Documents
Cassandra Tutorial - Data Types - Why Cassandra For Big Data?
Cassandra Tutorial - Data Types - Why Cassandra For Big Data?
CASSANDRA
SUMMARY OF CONTENTS
What is Apache Cassandra?
Evolution of Cassandra ?
Why Cassandra for Big Data?
Apache Cassandra Data types ?
Data Distribution in Apache Cassandra
How to Add Data in Cassandra ?
How to Read Data ?
How to Delete Data ?
Use Cases ?
Advantages and Limitations
W H A T I S A PA C H E C A S S A N D R A ?
2.Its data model offers the convenient of the column indexes with the
performance of log structured updates, strong support for denormalization and
materialized views and built in caching.
Cassandra uses a peer-to-peer model for distributing the data, which enables it
to fully distribute data in the form of variable-length rows, stored by partition
keys. Cassandra
is built for its scalability, continuous availability, and has having no single
point of
failure.
You can insert data into the columns of a row in a table using the command
INSERT. Syntax for creating data in a table is shown below.
Let us assume there is a table called std with columns (std_id, std_name,
std_city, std_phone, std_fee) and you have to insert the following data
into the std table.
A D D I N G D AT A I N C A S S A N D R A ?
Use the commands given below to fill the table with required data.
1. Mobility
2. Security and Fraud Detection
3. Personalization and
Recommendation
4. IOT
5. Cloud Operations
A D VA N TA G E S?
1. Open source
2. Peer to peer Architecture
3. Elastic Scalability
4. High Availability and Fault
Tolerence
5. High performance
6. Column oriented
7. Tunable Consistency
8. Schema-Free
L I M I TAT I O N S ?
1. A single column value may not be larger than 2 Giga Bytes.
2. The maximum number of column per row is 2 billion.
3. All data read should fit in memory due to thrift streaming
support lack.
4. The key must be less than 64k bytes.
THANK YOU