cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ulf_W
Advocate I
Advocate I

patch dataverse performance issue

Hey @ all,

 ive designed an app fully worked with dataverse. In general it works all good. 

Sometimes i have a bad performance to patch from a collection of my app to dataverse.

I can’t reproduce these bad performances exactly cause i tried it several times with exact the same data.

In round about 1 of 10 Times the performance suddenly is bad.

I already observed the process on the monitor and there i can see that the Operation of “createRow” takes suddenly 77000ms or 220000 ms instead of the normal value round about 700 -  2000ms.

In my example I always try to patch 200 new rows.

And after round about 100 rows the duration of the createRow Operation increases and the whole process takes minutes.

Iv added the Json of my Monitor to this post.

Maybe anyone have a hint for me to solve my problem.

 

Thanks for your help in advance

 

KR

3 REPLIES 3
ChrisPiasecki
Super User
Super User

Hi @Ulf_W,

 

You may be hitting request limits, especially when trying to do bulk operations in your app. These protection limits are applied over a 5 minute sliding window. You may need to adjust your app to not process so much at once. 

 

Have a look at the following docs regarding request limits.

 

 https://docs.microsoft.com/en-us/power-platform/admin/api-request-limits-allocations#microsoft-power...

https://docs.microsoft.com/en-us/powerapps/developer/data-platform/api-limits

You can look at reports in your admin center to see your volume of requests. 

https://docs.microsoft.com/en-us/power-platform/admin/analytics-common-data-service#api-call-statist...

 

---
Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

Hey Chris,

thanks for your reply....... i am very sure that i doenst reach the limits.

At the moment i am the only one who is working on PowerApps in my company and i nevery reached these limit in a 5minutes period. How i have to understand the limit of concurrent requests? One Patch function is one request or?

 

Hi @Ulf_W,

I doubt the limits are reach with a canvas app and patch operation. Could it be other users are publishing customizations at the same time which locks the tables or other operations causing a slow down, like imports, plugins or workflow executions?

Possible to share more info on the canvas app, if you have a form, try submitform instead of patch?

Cheers

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Users online (5,992)