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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (1,277)