You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/analysis-services/analysis-services-async-refresh.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,14 +4,14 @@ description: Describes how to use the Azure Analysis Services REST API to code a
4
4
author: minewiskan
5
5
ms.service: azure-analysis-services
6
6
ms.topic: conceptual
7
-
ms.date: 01/14/2020
7
+
ms.date: 04/15/2020
8
8
ms.author: owend
9
9
ms.reviewer: minewiskan
10
10
11
11
---
12
12
# Asynchronous refresh with the REST API
13
13
14
-
By using any programming language that supports REST calls, you can perform asynchronous data-refresh operations on your Azure Analysis Services tabular models. This includes synchronization of read-only replicas for query scale-out.
14
+
By using any programming language that supports REST calls, you can perform asynchronous data-refresh operations on your Azure Analysis Services tabular models. This includes synchronization of read-only replicas for query scale-out.
15
15
16
16
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](https://docs.microsoft.com/analysis-services/tom/introduction-to-the-tabular-object-model-tom-in-analysis-services-amo) (Tabular Object Model), [PowerShell](https://docs.microsoft.com/analysis-services/powershell/analysis-services-powershell-reference) cmdlets, or [TMSL](https://docs.microsoft.com/analysis-services/tmsl/tabular-model-scripting-language-tmsl-reference) (Tabular Model Scripting Language). However, these methods can require often unreliable, long-running HTTP connections.
17
17
@@ -203,18 +203,18 @@ Here's a C# code sample to get you started, [RestApiSample on GitHub](https://gi
203
203
204
204
### To use the code sample
205
205
206
-
1.Clone or download the repo. Open the RestApiSample solution.
207
-
2.Find the line **client.BaseAddress = …** and provide your [base URL](#base-url).
206
+
1.Clone or download the repo. Open the RestApiSample solution.
207
+
2.Find the line **client.BaseAddress = …** and provide your [base URL](#base-url).
208
208
209
209
The code sample uses [service principal](#service-principal) authentication.
210
210
211
211
### Service principal
212
212
213
213
See [Create service principal - Azure portal](../active-directory/develop/howto-create-service-principal-portal.md) and [Add a service principal to the server administrator role](analysis-services-addservprinc-admins.md) for more info on how to set up a service principal and assign the necessary permissions in Azure AS. Once you've completed the steps, complete the following additional steps:
214
214
215
-
1.In the code sample, find **string authority = …**, replace **common** with your organization’s tenant ID.
216
-
2.Comment/uncomment so the ClientCredential class is used to instantiate the cred object. Ensure the \<App ID> and \<App Key> values are accessed in a secure way or use certificate-based authentication for service principals.
217
-
3.Run the sample.
215
+
1.In the code sample, find **string authority = …**, replace **common** with your organization's tenant ID.
216
+
2.Comment/uncomment so the ClientCredential class is used to instantiate the cred object. Ensure the \<App ID> and \<App Key> values are accessed in a secure way or use certificate-based authentication for service principals.
Copy file name to clipboardExpand all lines: articles/analysis-services/analysis-services-long-operations.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,16 @@
1
1
---
2
-
title: Understanding node movements in Azure Analysis Services | Microsoft Docs
3
-
description: This article describes assuring reliable refresh operations during node movement.
2
+
title: Best practices for long running operations in Azure Analysis Services | Microsoft Docs
3
+
description: This article describes best practices for long running operations.
4
4
author: minewiskan
5
5
ms.service: analysis-services
6
6
ms.topic: conceptual
7
7
ms.date: 04/14/2020
8
8
ms.author: owend
9
9
10
10
---
11
-
# Understanding node movements
11
+
# Best practices for long running operations
12
12
13
-
In Azure Analysis Services, a *node* represents a set amount of processor, memory, and storage resources. A server resource runs within the context of a node. Some operations such as long running queries, refresh operations, and query scale-out synchronization can fail if a server resource moves to a different node. Common error messages in this scenario include:
13
+
In Azure Analysis Services, a *node* represents a host virtual machine where a server resource is running. Some operations such as long running queries, refresh operations, and query scale-out synchronization can fail if a server resource moves to a different node. Common error messages in this scenario include:
14
14
15
15
- "An error has occurred while trying to locate a long running XMLA request. The request might have been interrupted by service upgrade or server restart."
16
16
- "Job with ID '<guid>for model '<database>' was canceled due to service error (inactivity) with message 'Cancelling the refresh request since it was stuck without any updates. This is an internal service issue. Please resubmit the job or file a ticket to get help if this issue happens repeatedly."
@@ -27,7 +27,7 @@ In addition to node movements, there are other failures that can occur. For exam
27
27
28
28
## Refresh REST API
29
29
30
-
Service interruptions can be challenging for long running operations like data refresh. Azure Analysis Services includes a REST API to help mitigate negative impacts from service interruptions. To learn more, see [Asynchronous refresh with the REST API](analysis-services-async-refresh.md).
30
+
Service interruptions can be challenging for long running operations like data refresh. Azure Analysis Services includes a REST API to help mitigate negative impacts from service interruptions. To learn more, see [Asynchronous refresh with the REST API](analysis-services-async-refresh.md).
31
31
32
32
Besides the REST API, there are other approaches you can use to minimize potential issues during long running refresh operations. The main goal is to avoid having to restart the refresh operation from the beginning, and instead perform refreshes in smaller batches that can be committed in stages.
0 commit comments