摘要: 一个topic可以有多个分区,多个副本(一般副本数量不大于分区数量)。一份分区下有多个副本,ISRa56爆大奖在线娱乐目前消息量与leader相差不多的副本集合,这是整个副本集合的一个子集”。怎么去理解可用和相差不多这两个词呢?具体来说,ISR集合中的副本必须满足两个条件 副本所在节点必须维持着与zookeeper 阅读全文
posted @ 2020-12-23 17:17 shan_zhayidian 阅读(1193) 评论(0) 推荐(0) 编辑
摘要: over不能单独使用,要和分析函数:rank(),dense_rank(),row_number(),ntile()(参考:/shizhijie/p/9366247.html) 等一起使用。其参数:over(partition by columnname 阅读全文
posted @ 2020-12-23 11:50 shan_zhayidian 阅读(5818) 评论(4) 推荐(0) 编辑
摘要: create table action(userId VARCHAR(10),visitDate VARCHAR(10),visitCount int ); insert into action values('u01','2017/1/21',5),('u02','2017/1/23',6),(' 阅读全文
posted @ 2020-12-23 11:12 shan_zhayidian 阅读(1806) 评论(0) 推荐(0) 编辑
摘要: create table score( uid VARCHAR(10), subject_id VARCHAR(10), score int) DROP TABLE scoreINSERT INTO score VALUES ('1001','01' ,88),('1001','02' ,98),( 阅读全文
posted @ 2020-12-23 10:12 shan_zhayidian 阅读(1040) 评论(0) 推荐(0) 编辑