使用ResAPI处理Azure Analysis Service模型失败 [英] Process Azure Analysis Service model failed using ResAPI

查看:84
本文介绍了使用ResAPI处理Azure Analysis Service模型失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我正在尝试使用RestAPI处理Azure分析服务,但是当它失败时我没有得到错误消息的响应。使用以下Rest API。


https://docs.microsoft.com/en-us/azure/analysis-services/analysis-services-async-refresh 

解决方案

您好Vamshi Krishna K,


您能否共享正在使用的REST API以及完整的错误消息调查问题?


同时,我建议你通过以下方法刷新数据。


你需要执行任何一个刷新数据的以下操作。


数据刷新操作可能需要一些时间,具体取决于许多因素,包括数据量,使用分区的优化级别等。这些操作传统上一直是使用现有方法调用,例如使用  TOM  (表格
对象模型),  PowerShell   cmdlet,或  TMSL  (表格式为
模型脚本语言)。但是,这些方法可能需要经常不可靠,长时间运行的HTTP连接。


有关更多详细信息,请参阅"使用REST API进行异步刷新"。


使用PowerShell:


Invoke-ProcessASDatabase :根据底层元数据类型,使用特定ProcessType或RefreshType对指定数据库执行Process操作。


Invoke-ProcessASDatabase -DatabaseName" DB1"  
-RefreshType" Full"


OR


你可以使用Azure自动化自动执行该过程。


有关详细信息,请参阅"如何自动处理Azure Analysis服务模型"。


希望这会有所帮助。


Hi I am trying to process Azure analysis service using RestAPI, but I am not getting response with the error message when it is failed. using below Rest API.

https://docs.microsoft.com/en-us/azure/analysis-services/analysis-services-async-refresh 

解决方案

Hi Vamshi Krishna K,

Could you share the REST API which you are using along with complete error message to investigate the issue?

Meanwhile, I would suggest you to go through the below approaches to refresh the data.

You need to perform any one of the following actions to refreshing the data.

Data-refresh operations can take some time depending on a number of factors including data volume, level of optimization using partitions, etc. These operations have traditionally been invoked with existing methods such as using TOM (Tabular Object Model), PowerShell cmdlets, or TMSL (Tabular Model Scripting Language). However, these methods can require often unreliable, long-running HTTP connections.

For more details, refer "Asynchronous refresh with the REST API".

Using PowerShell:

Invoke-ProcessASDatabase: Conducts the Process operation on a specified Database with a specific ProcessType or RefreshType depending on the underlying metadata type.

Invoke-ProcessASDatabase -DatabaseName "DB1"  -RefreshType "Full"

OR

You can automate the process using Azure Automation.

For more details, refer "How to automate processing your Azure Analysis services models".

Hope this helps.


这篇关于使用ResAPI处理Azure Analysis Service模型失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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