cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Margaryta
Helper I
Helper I

Power Apps with MySQL Performance Issue

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?

 

 

 

 

2 REPLIES 2
v-xida-msft
Community Support
Community Support

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,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,214)