ASA中用于汇总时间跨度数据的内存大小? [英] Size of memery in ASA for aggregating data in timespan?

查看:73
本文介绍了ASA中用于汇总时间跨度数据的内存大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想让ASA汇总IoT遥测数据,例如计算平均温度.窗户的大小是多少?分钟,小时,天,周?


Kenny_I

解决方案

肯尼,

您可以在查询中配置窗口的大小.有关如何执行此操作的更多详细信息,请参见: https://docs.microsoft.com/en-us/azure/stream-analytics/stream-analytics-streaming-unit-consumption


I would like to let ASA to aggregate IoT telemetry data like calculate average temperature. What is size of window? Minute, Hour, Day, Week?


Kenny_I

解决方案

Hi Kenny,

You can configure the size of the window in your query. More details on how to do this is here: https://docs.microsoft.com/en-us/azure/stream-analytics/stream-analytics-window-functions

Do note that aggregations like this stores state in memory. So if you have a high rate of incoming events and a large time window, you'll need higher number of streaming units. To start off, I recommend setting it to 3 or 6 SUs and then increase/decrease it as needed. More information about scaling can be found here:

https://docs.microsoft.com/en-us/azure/stream-analytics/stream-analytics-streaming-unit-consumption


这篇关于ASA中用于汇总时间跨度数据的内存大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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