• An example tutorial of aggregate query by day in mongodb


    Preface Recently, when writing a project, we encountered a problem. Mongodb was used to record the execution results of use cases, but the date format was used to record the time. Now there is a requirement to count the successful use cases and the failed use cases every day in days. When it comes to […]

  • Using HyperLogLog Function to Realize Advanced Analysis in Apache Spark


    Pre-aggregation is a common technology in high performance analysis. For example, 10 billion accessed data per hour can be aggregated through common query latitudes and reduced to 10 million accessed statistics, which can reduce the data processing by 1000 times, thus greatly reducing the amount of computation and improving the response speed in query. Higher-level […]

  • Mongodb Aggregation Power Node Java Institute Arrangement


    Today, I would like to share with you some interesting knowledge in mongodb, including aggregation and cursors. One: Polymerization Common aggregation operations are like SQL server: count, distinct, group, mapReduce. <1> count Count is the simplest, easiest, and most commonly used aggregation tool, and it’s almost exactly the same as count in our C#. <2> […]

  • A very useful Aggregate introductory tutorial in mongodb


    Preface Aggregate translates to aggregate, but the experience of using it in practice is very much like the pipeline in linux. After each pipeline is processed, the result is handed over to the next pipeline. Your data is like water flow. Finally, you can get the data you want through each pipeline. What do we […]