Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Performance for nested loop of different structured tables.

Former Member
0 Likes
401

Hi everyone,

I have been searching over the internet for my problem but haven't found the right solution.

My query is how do you improve performance in a Nested loop of tables that don't have any shared field.

I have found a lot of stuff over the internet for improving performance with Parallel Cursor but they are all using the same field in both the tables.

In my case the two tables do not have any common field.

Please let me know if anyone has an idea.

Regards

Piyush.

2 REPLIES 2
Read only

former_member184455
Active Participant
0 Likes
366

Hi Piyush,

If your tables have no relation (no common fields that restrict the range to be searched for the inner table of the nested loop), the number of loop-steps has to be m times n, where m and n are the number of entries in the two tables. This cannot be speed up.

Another question is: what type of business process is it to mix to tables with no common fields?

And how many entries do the tables have?

Best Regards, Randolf

Read only

0 Likes
366

This message was moderated.