11 2016 档案

摘要:installation 推荐安装java native access提升casssandra内存的使用效率。 settings 修改所有节点的cassandra.yaml配置文件,位于/etc/cassandra, <install_location>/conf/ 修改cassandra-rack 阅读全文
posted @ 2016-11-21 11:19 RogerIs谭纶 阅读(144) 评论(0) 推荐(0)
摘要:1. create keyspace 2. create table exchange, tick_date 两个字段作为row key / partition key; exchange, tick_date, symbol 3个字段作为(compound)primary key,复合主键,称之为 阅读全文
posted @ 2016-11-20 23:03 RogerIs谭纶 阅读(220) 评论(0) 推荐(0)
摘要:keyspace类似关系数据库的schema或database; cassandra可以支持column数量到2 billion; primary index 建立在primay key基础上。primary key有1个或多个column组成,但不管哪种情况,第一部分(通常用括号括起来)作为par 阅读全文
posted @ 2016-11-20 23:02 RogerIs谭纶 阅读(232) 评论(0) 推荐(0)
摘要:Series,一维数组,列表形式,例如: 阅读全文
posted @ 2016-11-06 16:57 RogerIs谭纶 阅读(79) 评论(0) 推荐(0)