Cassandra 2.1 簡介

download Cassandra 2.1 簡介

of 22

  • date post

    14-Jul-2015
  • Category

    Technology

  • view

    4.647
  • download

    2

Embed Size (px)

Transcript of Cassandra 2.1 簡介

  • #JCConf#JCConf#JCConf

    Cassandra 2.1

    Cloud Tu

  • #JCConf2

    About Me TWJUG

    IDCloud Tu Icon :

    Blog http://cloudtu.blogspot.tw Cassandra

    http://cloudtu.blogspot.tw/search/label/Cassandra

  • #JCConf3

    &

  • #JCConf4

    Logo Wiki

    : http://zh.wikipedia.org/wiki/Cassandra : http://en.wikipedia.org/wiki/Apache_Cassandra

    Cassandra C*

  • #JCConf5

    v0.8 v2.0

    v1.2

    v1.0

    v2.1()Dark Age

  • #JCConf6

    C* < v1.2

  • #JCConf7

    PRD < v1.2 v1.2 v2.x

  • #JCConf8

    C*

    scale out

    !

  • #JCConf9

    C*

  • #JCConf10

    &

    Apache Cassandra (cassandra.apache.org) &

    (www.datastax.com)

    Apache Cassandra 2.xhttp://cassandra.apache.org/download

    DataStax : DataStax Enterprise( DSE) 4.xhttp://www.datastax.com/download

  • #JCConf11

    Linux

    Windows C* 2.1

    MacOS

    PRD Linux !!!

  • #JCConf12

    NoSQL ColumnFamily RDBMS vs. C* Mapping

    RDBMS CassandraDatabase KeyspaceTable ColumnFamily

  • #JCConf13

    ColumnFamily

    HashMap

    Map

    UScountryduke

    20ColumnValue

    name

    ageColumnName

    SortedMap

    1

    RowKey

    ColumnName

  • #JCConf14

    Cassandra Query Language (CQL)

    CREATE TABLE user (id int PRIMARY KEY,name text,age int,country text

    );

    INSERT INTO user (id, name , age , country) VALUES ( 1, 'duke', 20, 'US');

    SELECT * FROM user;

    id | age | country | name----+-----+---------+------

    1 | 20 | US | duke

  • #JCConf15

    CQL vs. Map Mapping

    UScountryduke

    20ColumnValue

    name

    ageColumnName

    SortedMap

    1

    RowKey

    id | age | country | name----+-----+---------+------

    1 | 20 | US | duke

    RowKey

  • #JCConf16

    CQL vs. Map Mapping

    UScountryduke

    20ColumnValue

    name

    ageColumnName

    SortedMap

    1

    RowKey

    id | age | country | name----+-----+---------+------

    1 | 20 | US | duke ColumnName

  • #JCConf17

    CQL vs. Map Mapping

    UScountryduke

    20ColumnValue

    name

    ageColumnName

    SortedMap

    1

    RowKey

    id | age | country | name----+-----+---------+------

    1 | 20 | US | duke ColumnValue

  • #JCConf18

    C* http://wiki.apache.org/cassandra/GettingStarted !

  • #JCConf19

    DataStax http://www.datastax.com/docs

  • #JCConf20

    DataStax http://www.datastax.com/docs

  • #JCConf21

    https://academy.datastax.com/

    http://planetcassandra.org/summit-presentations/ Cassandra Summit 2014

    http://www.slideshare.net/planetcassandra/tag/cassandra-summit-2014

    https://www.youtube.com/playlist?list=PLqcm6qE9lgKJkxYZUOIykswDndrOItnn2

    http://cloudtu.blogspot.tw/2014/10/cassandra-summit-2014.html

  • #JCConf22