摘要:
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谭纶
阅读(232)
评论(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谭纶
阅读(241)
评论(0)
推荐(0)
浙公网安备 33010602011771号