cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

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

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.
Highlighted
Frequent Visitor

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
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (1,813)