Cassandra Community Webinar | Make Life Easier - An Introduction to Cassandra Query Language
Upcoming SlideShare
Loading in...5
×
 

Cassandra Community Webinar | Make Life Easier - An Introduction to Cassandra Query Language

on

  • 1,190 views

An Introduction to Cassandra Query Language ...

An Introduction to Cassandra Query Language

Speaker: Matt Stump, Solutions Architect at DataStax

Matt is currently a solutions architect at DataStax and is the author of the forthcoming "Cassandra: A Beginner's Guide" published by Packt. He has an extensive background in high performance computing working with companies such as SourceNinja and Symantec. He brings a wealth of knowledge not only in Cassandra, but also in Solr, as he was an extremely early implementer of the technology.

Statistics

Views

Total Views
1,190
Views on SlideShare
1,167
Embed Views
23

Actions

Likes
0
Downloads
21
Comments
0

1 Embed 23

https://twitter.com 23

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Cassandra Community Webinar | Make Life Easier - An Introduction to Cassandra Query Language Cassandra Community Webinar | Make Life Easier - An Introduction to Cassandra Query Language Presentation Transcript

    • Making things easy with CQL3 Matt Stump DataStax
    • id : user1 password : 4cffdce7d84fb56f email : foobar@example.com name : Foo
    • id : user1 password : 4cffdce7d84fb56f email : foobar@example.com name : Foo id : user2 password : 4cffdcabef44fb56f email : bar@example.com name : Bar
    • id : user1 password : 4cffdce7d84fb56f email : foobar@example.com name : Foo id : user2 password : 4cffdcabef44fb56f email : bar@example.com name : Bar email_marketing : false permissions : admin
    • id : user1 password : 4cffdce7d84fb56f email : foobar@example.com name : Foo id : user2 password : 4cffdcabef44fb56f email : bar@example.com name : Bar email_marketing : false permissions : admin Column Family
    • ColumnFamily = SQL Table
    • id : user1 password : 4cffdce7d84fb56f email : foobar@example.com name : Foo id : user2 password : 4cffdcabef44fb56f email : bar@example.com name : Bar email_marketing : false permissions : admin Column Family id : user1 password : 4cffdce7d84fb56f email : foobar@example.com name : Foo id : user2 password : 4cffdcabef44fb56f email : bar@example.com name : Bar email_marketing : false permissions : admin Column Family Keyspace
    • Keyspace is a collection of ColumnFamilies
    • id : user2 password : 4cffdcabef44fb56f email : bar@example.com name : Bar email_marketing : false permissions : admin Columns are sorted
    • id : user2 password : 4cffdcabef44fb56f email : bar@example.com name : Bar email_marketing : false permissions : admin Columns are sorted
    • 2^128
    • 2^128 HASH("user1") = 3
    • 2^128 HASH("user1") = 3
    • id : user1 [event, time] : data [event, time] : data [event, time] : data
    • id : user1 [purchase, 2011-02-04] : bread [event, time] : data [login, 2011-02-04] : mainpage [login, 2011-02-03] : mainpage [purchase, 2011-02-05] : soap
    • id : user1 [purchase, 2011-02-04] : bread [event, time] : data [login, 2011-02-04] : mainpage [login, 2011-02-03] : mainpage [purchase, 2011-02-05] : soap id : user2 [purchase, 2013-02-04] : apple [event, time] : data [login, 2013-02-03] : twitter
    • References • http://www.datastax.com/docs • http://cassandra.apache.org/doc/cql3/CQL.html • http://www.datastax.com/dev/blog/lightweight-transactions-in-cassandra-2-0