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 / Improving Performance ...
Power Apps
Unanswered

Improving Performance using CDS?

(0) ShareShare
ReportReport
Posted on by 3,347

I am needing to do quite a bit of lookups across several databases and tables.  These are on-prem sql databases.  It is taking quite a long time to generate some search results, due to lookups.  I was wondering how much performance improvement can be gained if I can replicate (sync dynamically) some of the tables on my on-prem server to CDS, and then do my lookups there?  Do you think this would help me?  This is one such search I am doing.  It invloves two on-prem sql databases, one table each.  

 

SortByColumns(AddColumns(Filter('[dbo].[tbl_Drawings]',StartsWith(DrawingNumber,TextInput1_4.Text) And TextInput1_5.Text in Title And TextInput1_6.Text in Project),"PDM_Exists",LookUp('[dbo].[VIEW_SWPDM_POWERAPPS]',ValueText=DrawingNumber And ExtensionID=3,DocumentID)),ColumnSortValue,FlipSortDirection)

 

I want to have a good idea that I can do what I want before spending $40/mo for PowerApps Plan 2.

 

I would need to sync both of these tables to CDS.  Updates to the main tables on-prem would need to sync to CDS.  That is a MUST.  Can this be done?  

Categories:
  • v-micsh-msft Profile Picture
    Microsoft Employee on at

    Well, this is a large topic.

     

    How large of the data stored in your table?

    Would a local collection be helpful in your scenario?

    Create and update a collection in your App

     

    As currently the Data store created for Common Data service for Apps is only available with the same region of your Azure AD, it should be better than querying from the On-premise side.

    More performance considerations, see:

    Performance considerations with PowerApps

     

    Syncing data between On-Premise SQL Database and the Common Data Service database should be available through Microsoft Flow:

    https://flow.microsoft.com/en-us/search/?q=Common+Data+Service

     

    You may first start a PowerApps Plan 2 free trial to take a test first.

     

    Regards,

    Michael

  • martinav Profile Picture
    3,347 on at

    My table is several thousand lines.  The largest is 12,000.  Is that a problem?  I presume there is some copy function, then to keep the data in sync, you are talking about using the MS Flow "SQL Server - When an Item is created" action.  Yes?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 232 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 202 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard