web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Create collections and...
Power Apps
Answered

Create collections and make local calls or make repeated calls to remote source?

(0) ShareShare
ReportReport
Posted on by 65

I have a remote mySQL database to which I make repeated calls. Is it more efficient to run a ClearCollect OnStart and gather the subset I need and then make calls to the local collection or make individual calls out to the remote database? I have a bunch of complicated labels in some galleries that need to access this data.

 

Thanks!

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    69,226 Most Valuable Professional on at

    In general it will be more efficient to make calls against the local collection rather than round trip to the database.

  • Verified answer
    v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @kman42 ,

    Yes.

    If you store data in collection, the data processing will only work inside powerapps.

    While if you call remote data from sql server, you need to transfer data everytime you call. This will spend much time.

    The first way will save the time of transferring data, which will make the app perform better.

    What's more, call remote sql sever will also case delegation problem while collection will not.

    The delegation problem may lead to getting wrong result.

     

    Best regards,

    Community Support Team _ Phoebe Liu

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard