Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I am relatively new to powerBI so apologies if this is a trivial question. I want to create two reports in two separate workspaces. Both reports use data from different sql server databases. Do I need separate gateways for that? From my understanding, I can use the same gateway for multiple database connections, so what is the advantage of having different gateways? What is the best practice?
Does the answer depend on the following scenarios?
1.) Report A uses database A from the SQL server x.x.x.x:xx and report B uses database B in the same sql server
2.) Report A and Report B use different database from different sql servers
Thank you!
Hi @franco_mango ,
Your understanding is correct; you can use a single gateway to connect to multiple databases, even if those databases are on different servers.
Let's address your scenarios specifically:
Same SQL Server, Different Databases: If Report A uses Database A and Report B uses Database B on the same SQL Server (x.x.x.x:xx), you can definitely use the same gateway for both reports. The on-premises data gateway acts as a bridge, allowing secure data transfer between your on-premises data sources (like SQL Server) and the Power BI service, regardless of the number of databases on that server.
Different SQL Servers: Even if Report A and Report B use databases from different SQL servers, a single gateway can still manage these connections. The gateway is designed to handle multiple data sources, which can include different databases hosted on different SQL Server instances.
While a single gateway can suffice for multiple databases, there are scenarios where using multiple gateways might be beneficial:
For most scenarios, starting with a single gateway is sufficient and keeps the architecture simple. Monitor the performance and if you encounter issues related to load, latency, or reliability, consider adding more gateways as needed. Always ensure your gateway is up to date and review the Power BI Gateway documentation for the latest best practices and features.
For further details on managing gateways and understanding their architecture, I recommend reviewing the On-premises data gateway documentation.
I hope this clarifies your queries. If you have any more questions or need further assistance, feel free to ask.
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum -- China Power BI User Group
Hello @franco_mango ,
no, you can use the same gateway for both instead of having two gateways.
Proud to be a Super User! | |
User | Count |
---|---|
101 | |
90 | |
80 | |
71 | |
69 |
User | Count |
---|---|
114 | |
97 | |
97 | |
73 | |
72 |