Hi everyone!
I had a SQL Server database on Azure connected to Power Apps and everything worked fine. But I needed to migrate from SQL Server to MySQL. The new database is placed in a google cloud instance. I managed to connect it to an existing PowerApp, having replaced the original data source with the new MySQL database.
It seems to work, but the performance is noticeably worse. The app works much slower than it used to with the SQL Server data source.
In addition, the cloud instance's CPU utilization is low (around 2% usually), which makes me think the issue is somehow caused by the power app itself.
Please advise, am I doing something wrong? Or is there any way to solve this performance issue?
Hi @Margaryta ,
Do you mean that the canvas app perform worse when you migrate your data source from SQL Server to MySQL?
I think this issue may be related to different cloud instance the SQL and MySQL hosted on. Actually, the PowerApps service is based on Azure server, when you connect to service hosted in Azure server from your PowerApps app, it would be faster than connect to third-party service from PowerApps app.
As an available solution, please consider add proper Index within your MySQL Table to improve retrieve performance, then try it again in your canvas app, check if the issue is solved.
If you want to quickly measure your app’s performance by turning on Developer Tools in Microsoft Edge or Google Chrome while running the app.
There are also some performance tips for canvas app, please check the following article:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/performance-tips
Best regards,
Hi @v-xida-msft,
Thanks for your reply and the information provided.
I got that the process of connecting to the third-party service might take more time. But isn' the connection being established once (not every time I make a new request)? While the performance became worse overall. Or is an app establishing a new connection each time I do something?
Additionally, my indexes are alright (actually almost nothing changed in the new database comparing to the previous one).
I suppose that some of the performance tips might make it work faster, but it still seems weird to me that the speed lowered that much.
Regards,
Margaryta
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
195 | |
52 | |
41 | |
39 | |
35 |
User | Count |
---|---|
263 | |
86 | |
71 | |
69 | |
66 |