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 Issue

former_member650190
Discoverer
0 Likes
747

Hi Team,

Can anybody let me know which is better to use parallel cursor or reduce operator for nested loops.

Thanks

Niket

2 REPLIES 2
Read only

FredericGirod
Active Contributor
684

Give your example, performance are always specific case

Read only

Sandra_Rossi
Active Contributor
0 Likes
684

As always, the meaning of "better" depends on the context. If you have a high volume of data, it could be better to use "parallel cursor" on 2 internal tables but the code is less maintainable, and with a low volume of data it could be better to use REDUCE because it's more important to have maintainable code. But of course, there are other factors to consider.

Interview question?