cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

Power app to on prem SQL taking too long to return rows.

My power apps form taking too long to return 25 rows of data.  I need help trouble shooting issue, please contact me or what number can I call for support?

7 REPLIES 7
Super User
Super User

How long is it taking to return the 25 rows to Power Apps?

Is it filtering these rows from a larger data set in Power Apps?

How long does the same data take in SSMS?

it took me 50 seconds to return 16 rows. other times it will take over 1 min.

I forgot to include not filtering talking place and querying to data in SQL is quick.

In SSMS takes about second to retrieve the same number of rows.

Is this true with all data coming through your on-prem gateway or just one specific data set?

Querying our on-prem data thru Power BI no issues.  Only issue we see are thru power apps and DBogunovic who comment earlier is the creator of the power app.

It's hard to say what could be causing the slowness on the Power Apps side. Here is some documentation on tuning the data gateway

https://docs.microsoft.com/en-us/data-integration/gateway/service-gateway-performance

I would suggest enabling the additional logging if you haven't already. Then, pull the rows into Power Apps and look through the logs.

You can also do a SQL trace in the SQL Server Profiler, which I've used to tune some Power Apps query performance. That may not help you a lot unless your data is coming from a view or stored procedure, though.

https://docs.microsoft.com/en-us/sql/tools/sql-server-profiler/sql-server-profiler?view=sql-server-v...

---
If this answered your question, please click "Accept Solution". If this helped, please Thumbs Up.

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (30,709)