如何在mongoose中构建数据库进行分析

时间:2021-08-27 15:49:28

in my node.js app users are able to post downloadable content. Making them able to see how many downloads were performed is easy, but I'd like to create a dashboard for the users with a chart showing the downloads in a graph using d3.js). How to smartly structure my mongo database ? It should be flexible but small.

在我的node.js app中,用户可以发布可下载的内容。让他们能够看到执行了多少次下载很容易,但我想为用户创建一个仪表板,其中的图表使用d3.js显示图表中的下载。如何巧妙地构建我的mongo数据库?它应该灵活但小。

1 个解决方案

#1


1  

Take a look here. 10gen has made a real case for analytics with Mongo. http://docs.mongodb.org/ecosystem/use-cases/pre-aggregated-reports/ http://www.mongodb.com/events/analytics-with-mongodb-dataversity

看看这里。 10gen已经成为Mongo分析的真实案例。 http://docs.mongodb.org/ecosystem/use-cases/pre-aggregated-reports/ http://www.mongodb.com/events/analytics-with-mongodb-dataversity

#1


1  

Take a look here. 10gen has made a real case for analytics with Mongo. http://docs.mongodb.org/ecosystem/use-cases/pre-aggregated-reports/ http://www.mongodb.com/events/analytics-with-mongodb-dataversity

看看这里。 10gen已经成为Mongo分析的真实案例。 http://docs.mongodb.org/ecosystem/use-cases/pre-aggregated-reports/ http://www.mongodb.com/events/analytics-with-mongodb-dataversity