在ADX群集中执行创建 - 材料视图查询时,获得与缓存策略相关的错误

发布于 2025-02-13 21:32:59 字数 817 浏览 0 评论 0原文

我正在尝试使用回填属性集执行以下ADX群集的命令,然后返回操作ID:

   .create async ifnotexists materialized-view with (backfill=true, docString="Asset Trends") AssetTrend on table Variables
{
Variables 
| where variable == 'severity' and model=='conditionMonitor' and 
  timestamp between (datetime(2022-06-29) .. 1d) 
| summarize Normal = countif(value<=1), CheckSUM = countif(value>1 and 
  value<=250), OutofSpecification = countif(value>250 and value<=500),
   MaintenanceRequired = countif(value>500 and value<=750), 
   Failure = countif(value>750 and value<=1000) 
   by bin(timestamp,1s)
}

我收到以下错误: 请让我知道我该如何解决。

I am trying to execute the following command of ADX cluster with backfill property set, then operation id is getting returned :

   .create async ifnotexists materialized-view with (backfill=true, docString="Asset Trends") AssetTrend on table Variables
{
Variables 
| where variable == 'severity' and model=='conditionMonitor' and 
  timestamp between (datetime(2022-06-29) .. 1d) 
| summarize Normal = countif(value<=1), CheckSUM = countif(value>1 and 
  value<=250), OutofSpecification = countif(value>250 and value<=500),
   MaintenanceRequired = countif(value>500 and value<=750), 
   Failure = countif(value>750 and value<=1000) 
   by bin(timestamp,1s)
}

I am getting the following error :
enter image description here
Please let me know how can I fix this.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

墟烟 2025-02-20 21:32:59
  • 解决方案已在错误消息中给您:

由于无效状态,不能执行管理员命令:
state ='具有回填选项的实现视图创建不是
支持具有冷藏量的桌子。 请增加
热缓存策略涵盖表中的所有范围或使用
没有回填'

使用回填选项不支持冷cache中的数据。
如有必要,在持续时间内增加热量缓存周期
查看创建。 这可能需要扩展

cache polition(热和冷cache)

  • The solution was given to you in the error message:

An admin command cannot be executed due to an invalid state:
State='Materialized view creation with backfill option is not
supported for tables with extents in cold cache. Please increase the
hot cache policy to cover all extents in table or create the view with
no backfill'

Using the backfill option is not supported for data in cold cache.
Increase the hot cache period, if necessary, for the duration of the
view creation. This may require scale-out.

Cache policy (hot and cold cache)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文