Cassandra
Cassandra is a highly scalable, eventually consistent, distributed, structured
key-value store.
Cassandra是高扩展性的、最终一致性的、分布式的、结构化的key/value存储系统。
For more information see http://cassandra./
http://wiki./cassandra/
Project description
-------------------
Cassandra brings together the distributed systems technologies from Dynamo and the data model from Google's BigTable. Like Dynamo, Cassandra is eventually consistent. Like BigTable, Cassandra provides a ColumnFamily-based
data model richer than typical key/value systems.
Cassandra结合了源自Dynamo的分布式系统技术(存储模型)与源自Google BigTable的数据组织结构和访问控制技术(数据模型)。Cassandra采用了Dynamo的最终一致性原则,采用了BigTable的基于ColumnFamily的数据模型(优于典型的key/value系统数据模型)。
keyspace类似于关系数据库中的database。
ColumnFamily类似于关系数据库中的关系relation。
key类似于关系数据库中的主键primary key。
column类似于关系数据库中的列名column name。
value类似于关系数据库中一个行列交汇处的值value。
Requirements
------------
* Java >= (OpenJDK and Sun have been tested)
Getting started
---------------
This short guide will walk you through getting a basic one node cluster upand running, and demonstrate some simple reads and writes.
构建并运行只有一个节点的集群,然后演示简单的读写。
在Linux下执行命令如下:
* tar -zxvf apache-cassandra-$
* cd apache-cassandra-$VERSION
* sudo mkdir -p /var/log/cassandra
* sudo chown -R `whoami` /var/log/cassandra
* sudo mkdir -p /var/lib/cassandra
* sudo chown -R `whoami` /var/lib/cassandr
入门指南单节点 来自淘豆网m.daumloan.com转载请标明出处.