cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sasrsc1966
Resolver I
Resolver I

On-Prem Gateway Testing Performance and Joining Tables

So everything I've done so far with PA is using SP Lists. Nice and simple and easy.

But now I'm wanting to test using a SQL Server connection through an on-prem gateway.

I can connect and pull in thousands of rows.

But I want to join 2 of these data sources to create a single gallery view. Normally I'd do a Lookup and not think twice. 
But it seems that for each row (and I have thousands it therefore makes a separate call). Obviously not good performance wise.
I'm asking the DBA to create some SQL views for me that combines the tables and I'm wanting to test that.

My other thought was to create collections for each massive table and join the collections thinking that performance wise that would be quicker, but as I understand it there's a 2000 row limit even for collections. 
Maybe I'm misunderstanding collections or the best practice for joining tables. 
When you have 100,000 rows of data what would you do to address joining tables together?

1 ACCEPTED SOLUTION

Accepted Solutions
v-xiaochen-msft
Community Support
Community Support

Hi @sasrsc1966 ,

 

As far as I know, there are three ways:

1\ Use the delegable formula to query the sql data source

2\ Create sql view

3\ Canvas calls flow and uses flow to get the data in sql, and finally returns the data to canvas

 

For the third method, it can return up to 100,000 data.

vxiaochenmsft_0-1630468364347.png

vxiaochenmsft_1-1630468410922.png

 

Best Regards,

Wearsky

 

 

View solution in original post

1 REPLY 1
v-xiaochen-msft
Community Support
Community Support

Hi @sasrsc1966 ,

 

As far as I know, there are three ways:

1\ Use the delegable formula to query the sql data source

2\ Create sql view

3\ Canvas calls flow and uses flow to get the data in sql, and finally returns the data to canvas

 

For the third method, it can return up to 100,000 data.

vxiaochenmsft_0-1630468364347.png

vxiaochenmsft_1-1630468410922.png

 

Best Regards,

Wearsky

 

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (2,851)