On-premises data gateway sizing - Power BI (2024)

  • Article

This article targets Power BI administrators who need to install and manage the on-premises data gateway.

The gateway is required whenever Power BI must access data that isn't accessible directly over the Internet. It can be installed on a server on-premises, or VM-hosted infrastructure as a service (IaaS).

Gateway workloads

The on-premises data gateway supports two workloads. It's important you first understand these workloads before we discuss gateway sizing and recommendations.

Cached data workload

The Cached data workload retrieves and transforms source data for loading into Power BI semantic models (previously known as datasets). It does so in three steps:

  1. Connection: The gateway connects to source data.
  2. Data retrieval and transformation: Data is retrieved, and when necessary, transformed. Whenever possible, the Power Query mashup engine pushes transformation steps to the data source—it's known as query folding. When it's not possible, transformations must be done by the gateway. In this case, the gateway will consume more CPU and memory resources.
  3. Transfer: Data is transferred to the Power BI service—a reliable and fast Internet connection is important, especially for large data volumes.

On-premises data gateway sizing - Power BI (1)

Live Connection and DirectQuery workloads

The Live Connection and DirectQuery workload works mostly in pass-through mode. The Power BI service sends queries, and the gateway responds with query results. Generally, query results are small in size.

  • For more information about Live Connection, see Semantic models in the Power BI service (Externally-hosted models).
  • For more information about DirectQuery, see Semantic model modes in the Power BI service (DirectQuery mode).

This workload requires CPU resources for routing queries and query results. Usually there's much less demand for CPU than is required by the Cache data workload—especially when it's required to transform data for caching.

Reliable, fast, and consistent connectivity is important to ensure report users have responsive experiences.

On-premises data gateway sizing - Power BI (2)

Sizing considerations

Determining the correct sizing for your gateway machine can depend on the following variables:

  • For Cache data workloads:
    • The number of concurrent semantic model refreshes
    • The types of data sources (relational database, analytic database, data feeds, or files)
    • The volume of data to be retrieved from data sources
    • Any transformations required to be done by the Power Query mashup engine
    • The volume of data to be transferred to the Power BI service
  • For Live Connection and DirectQuery workloads:
    • The number of concurrent report users
    • The number of visuals on report pages (each visual sends at least one query)
    • The frequency of Power BI dashboard query cache updates
    • The number of real-time reports using the Automatic page refresh feature
    • Whether semantic models enforce Row-level Security (RLS)

Generally, Live Connection and DirectQuery workloads require sufficient CPU, while Cache data workloads require more CPU and memory. Both workloads depend on good connectivity with the Power BI service, and the data sources.

Note

Power BI capacities impose limits on model refresh parallelism, and Live Connection and DirectQuery throughput. There's no point sizing your gateways to deliver more than what the Power BI service supports. Limits differ by Premium SKU (and equivalently sized A SKU). For more information, see Microsoft Fabric capacity licenses and What is Power BI Premium? (Capacity nodes).

Important

At times this article refers to Power BI Premium or its capacity subscriptions (P SKUs). Be aware that Microsoft is currently consolidating purchase options and retiring the Power BI Premium per capacity SKUs. New and existing customers should consider purchasing Fabric capacity subscriptions (F SKUs) instead.

For more information, see Important update coming to Power BI Premium licensing and Power BI Premium FAQ.

Recommendations

Gateway sizing recommendations depend on many variables. In this section, we provide you with general recommendations that you can take into consideration.

Initial sizing

It can be difficult to accurately estimate the right size. We recommend that you start with a machine with at least 8 CPU cores, 8 GB of RAM, and multiple Gigabit network adapters. You can then measure a typical gateway workload by logging CPU and memory system counters. For more information, see Monitor and optimize on-premises data gateway performance.

Connectivity

Plan for the best possible connectivity between the Power BI service and your gateway, and your gateway and the data sources.

  • Strive for reliability, fast speeds, and low, consistent latencies.
  • Eliminate—or reduce—machine hops between the gateway and your data sources.
  • Remove any network throttling imposed by your firewall proxy layer. For more information about Power BI endpoints, see Add Power BI URLs to your allow list.
  • Set up Azure ExpressRoute to establish private, managed connections to Power BI.
  • For data sources in Azure VMs, ensure the VMs are colocated with the Power BI service.
  • For Live Connection workloads to SQL Server Analysis Services (SSAS) involving dynamic RLS, ensure good connectivity between the gateway machine and the on-premises Active Directory.

Clustering

For large-scale deployments, you can create a gateway with multiple cluster members. Clusters avoid single points of failure, and can load balance traffic across gateways. You can:

  • Install one or more gateways in a cluster.
  • Isolate workloads to standalone gateways, or clusters of gateway servers.

For more information, see Manage on-premises data gateway high-availability clusters and load balancing.

Semantic model design and settings

Semantic model design, and their settings, can impact on gateway workloads. To reduce gateway workload, you can consider the following actions.

For Import semantic models:

  • Set up less frequent data refresh.
  • Set up incremental refresh to minimize the amount of data to transfer.
  • Whenever possible, ensure query folding takes place.
  • Especially for large data volumes or a need for low-latency results, convert the design to a DirectQuery or Composite model.

For DirectQuery semantic models:

  • Optimize data sources, model, and report designs—for more information, see DirectQuery model guidance in Power BI Desktop.
  • Create aggregations to cache higher-level results to reduce the number of DirectQuery requests.
  • Restrict Automatic page refresh intervals, in report designs and capacity settings.
  • Especially when dynamic RLS is enforced, restrict dashboard cache update frequency.
  • Especially for smaller data volumes or for non-volatile data, convert the design to an Import or Composite model.

For Live Connection semantic models:

  • Especially when dynamic RLS is enforced, restrict dashboard cache update frequency.

Related content

For more information related to this article, check out the following resources:

  • Power BI implementation planning: Data gateways
  • Guidance for deploying a data gateway for Power BI
  • Configure proxy settings for the on-premises data gateway
  • Monitor and optimize on-premises data gateway performance
  • Troubleshoot gateways - Power BI
  • Troubleshoot the on-premises data gateway
  • The importance of query folding
  • Questions? Try asking the Power BI Community
  • Suggestions? Contribute ideas to improve Power BI
On-premises data gateway sizing - Power BI (2024)
Top Articles
How Should A Shipping And Receiving Warehouse Work? Best Practices | Supliful
FAQs • Why not just shoot the gun or knife out of the aggres
Best Free HD Movies Download Sites - MiniTool MovieMaker
The Pope's Exorcist Showtimes Near Emagine Royal Oak
Paradisehilltv
Naviance Hpisd
Used Safari Condo Alto R1723 For Sale
Virginia Henderson: Need Theory Study Guide
Reading Craigslist Pa
Free Puppies In Arkansas Craigslist
Sharp Urgent Care Wait Times
Huffington Horoscope Cancer
Critiques de la série Z Nation
Premier Tattoo Company Westland Services
Unit 7 Lesson 2 Joshua's Law
Dumb Money Showtimes Near Regal Eastview Mall
1 P.m. Pdt
伊南 娜
KMS ver. 1.2.369 – Tactical Relay & Super Haste!
craigslist: panama city, FL jobs, apartments, for sale, services, community, and events
Cheley Packing List
Tierra De Esperanza Capítulo 46 Tokyvideo
Skip The Games Anchorage
Subway Surfers Unblocked Wtf
Death Note: 15 Details About L You'd Only Know If You Read The Manga
What happened to Richard Gere's second wife Carey Lowell? - where is she now? | HELLO!
Fort Bragg Cif Appointment
Activating the DigiD app outside the Netherlands | NetherlandsWorldwide
Best Car Wash Soap for 2022
Quiktrip Maple And West
Ferguson Employee Pipeline
Citibank Branch Locations In Orlando Florida
Großbritanniens Botschafterin: „Europäische Armee neben Nato ist nicht sinnvoll“
Plane 123Movie
Chs.mywork
Fredericksburg Free Lance Star Obituaries
logo!: #ThatGirl: Hilfe, muss ich perfekt sein?!
Jayripk Death Video
Bee & Willow™ 31-Piece LED Tea … curated on LTK
Magicseaweed Encinitas
Haverhill, Suffolk - Suffolk Village Info
Lord Spoda Age
Bloxburg Bedroom Inspiration: Sweet & Cozy Designs
Bobby Shmurda Net Worth 2022 Forbes
Ati Nurses Touch The Leader Case 4
Cu Oit
Rubios Listens Com
Infinite Weight Ark
Holly Holm Camel Toe
Dragon Square Shield Osrs
Legend Of Krystal Forums
Latest Posts
Article information

Author: The Hon. Margery Christiansen

Last Updated:

Views: 6791

Rating: 5 / 5 (50 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: The Hon. Margery Christiansen

Birthday: 2000-07-07

Address: 5050 Breitenberg Knoll, New Robert, MI 45409

Phone: +2556892639372

Job: Investor Mining Engineer

Hobby: Sketching, Cosplaying, Glassblowing, Genealogy, Crocheting, Archery, Skateboarding

Introduction: My name is The Hon. Margery Christiansen, I am a bright, adorable, precious, inexpensive, gorgeous, comfortable, happy person who loves writing and wants to share my knowledge and understanding with you.