cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Margaryta
Level: Powered On

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
Community Support Team
Community Support Team

Re: Power Apps with MySQL 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,

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.
Margaryta
Level: Powered On

Re: Power Apps with MySQL Performance Issue

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
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (5,247)