可以在CosmosDB中汇总温度值吗? [英] Possible to aggregate temperature value in CosmosDB?

查看:90
本文介绍了可以在CosmosDB中汇总温度值吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在IoT场景中的每个文档中都有温度值.我们每秒有1个文档.

I have temperature value in each documents in IoT scenario. We have 1 doc per sec.

如何计算每小时的平均温度?

How to calculate what is average temperature per hour?

对于Web应用程序绘制有关每小时温度的图形,CosmosDB是否是一个不错的选择?

Is CosmosDB any good choice for Web application drawing graphs about hourly temp?

肯尼(Kenny_I)

Kenny_I

推荐答案

肯尼,您好,

有很多与温度/湿度传感器数据相关的教程,您可以按照它们来学习更多信息:

There are quite a few tutorials related to temperature/humidity sensor data that you can follow to learn more:

Weather forecast using the sensor data from your IoT hub in Azure Machine Learning 

Azure IoT Central文档

Azure IoT Central Documentation

,并使用Azure Stream Analytics作为数据存储而不是Cosmos DB.

The issue is that many of the solutions are based upon real-time data, and use Azure Stream Analytics as the data store and not Cosmos DB.

时间序列见解易于部署并且更好适用于大体积遥测数据.

Time Series Insights is easier to deploy and better suited for high volume telemetry data.

此致

迈克


这篇关于可以在CosmosDB中汇总温度值吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆