cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mogulman
Skilled Sharer
Skilled Sharer

Performance Improvement When Starting App

This is an FYI.  I'm working on my first app.  I'm using an On-Premise SQL Server.  I've been for ways to improve performance.  I'm using collections and optimizing views.  I'm using SQL Profiler to check and measure performance.  I found one thing I wasn't expecting.  The Details and Edit screens use Lookups for the Item property.  When the screens load it executes the Lookup even though no Gallery item property is selected.  I have 4 main tables so 8 useless queries.  I added this to avoid the query.

 

If(!IsBlank(varClientID),LookUp('[dbo].[ClientVDT]',ClientID = varClientID))

It only saved me 300ms so not earth shattering.

1 ACCEPTED SOLUTION

Accepted Solutions

I actually read that article in detail before starting my efforts.  He didn't cover the detail I discovered so I thought I would post it.

View solution in original post

2 REPLIES 2
v-micsh-msft
Community Support
Community Support

Thanks for the feedbacks.

Actually Staff Mehdi Slaoui Andaloussi posted a blog talking about this:

Performance considerations with PowerApps

Which shares the query detail when Data (or saying the App) is loading.

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I actually read that article in detail before starting my efforts.  He didn't cover the detail I discovered so I thought I would post it.

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (12,747)