Skip to content

Commit 11d7526

Browse files
author
minewiskan
committed
Adding Optimize section.
1 parent b171b62 commit 11d7526

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

articles/analysis-services/analysis-services-gateway-install.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to install and configure an On-premises data gateway to c
44
author: minewiskan
55
ms.service: azure-analysis-services
66
ms.topic: conceptual
7-
ms.date: 04/27/2021
7+
ms.date: 11/17/2021
88
ms.author: owend
99
ms.reviewer: minewiskan
1010
ms.custom: devx-track-azurepowershell
@@ -39,6 +39,8 @@ To learn more about how Azure Analysis Services works with the gateway, see [Con
3939
* When installing the gateway, the user account you're signed in to your computer with must have Log on as service privileges. When install is complete, the On-premises data gateway service uses the NT SERVICE\PBIEgwService account to log on as a service. A different account can be specified during setup or in Services after setup is complete. Ensure Group Policy settings allow both the account you're signed in with when installing and the service account you choose have Log on as service privileges.
4040
* Sign in to Azure with an account in Azure AD for the same [tenant](/previous-versions/azure/azure-services/jj573650(v=azure.100)#what-is-an-azure-ad-tenant) as the subscription you are registering the gateway in. Azure B2B (guest) accounts are not supported when installing and registering a gateway.
4141
* If data sources are on an Azure Virtual Network (VNet), you must configure the [AlwaysUseGateway](analysis-services-vnet-gateway.md) server property.
42+
* If installing the gateway on an Azure Virtual Machine (VM), ensure optimal performance by configuring Accelerated networking. To learn more, see [Create a Windows VM with accelerated networking](../virtual-network/create-vm-accelerated-networking-powershell.md).
43+
4244

4345
## Download
4446

@@ -150,7 +152,19 @@ Set-AzAnalysisServicesServer -ResourceGroupName $RGName -Name $servername -Gatew
150152
```
151153
---
152154

153-
That's it. If you need to open ports or do any troubleshooting, be sure to check out [On-premises data gateway](analysis-services-gateway.md).
155+
## Optimize
156+
157+
By default, the gateway will spool data before returning it to the Analysis Services server resource, potentially causing slower performance during data load and refresh operations. The default behavior can be overridden.
158+
159+
1. In C:\Program Files\On-Premises data gateway\\**Microsoft.PowerBI.DataMovement.Pipeline.GatewayCore.dll.config** file, set the **StreamBeforeRequestCompletes** property to **True**, and then save.
160+
161+
```json
162+
<setting name="StreamBeforeRequestCompletes" serializeAs="String">
163+
<value>True</value>
164+
</setting>
165+
```
166+
167+
1. In **On-premises data gateway** > **Service Settings**, restart the gateway.
154168

155169
## Next steps
156170

0 commit comments

Comments
 (0)