最新文章列表

用elasticsearch聚合函数实现distinct查询

1.等价的sql SELECT DISTINCT field1,field2 FROM test_index.test_type  等价于 SELECT field1,field2 FROM test_index.test_type GROUP BY field1,field2   2.而group by的查询,在es中我们可以用Aggregation(聚合)去实现,等价的DSL查询语 ...
ChenghuiZ 评论(0) 有16134人浏览 2017-06-28 08:53

关于graphite聚合aggregator的坑

aggregation-rules.conf中的表达式配置: test.<app>.all.<metrics>count (10) = sum test.<app>.ip*.<<metrics>>count 正确! test.<app>.all.<metrics>count (10) = sum test.& ...
CurrentJ 评论(0) 有582人浏览 2016-08-24 11:56

String Aggregation Techniques

String Aggregation Techniques On occasion it is necessary to aggregate data from a number of rows into a single row, giving a list of data associated with a specific value. Using the SCOTT.EMP table a ...
billdwl 评论(0) 有830人浏览 2012-01-04 09:46

最近博客热门TAG

Java(141747) C(73651) C++(68608) SQL(64571) C#(59609) XML(59133) HTML(59043) JavaScript(54918) .net(54785) Web(54513) 工作(54116) Linux(50906) Oracle(49876) 应用服务器(43288) Spring(40812) 编程(39454) Windows(39381) JSP(37542) MySQL(37268) 数据结构(36423)

博客人气排行榜

    博客电子书下载排行

      >>浏览更多下载

      相关资讯

      相关讨论

      Global site tag (gtag.js) - Google Analytics