on 11-05-2015 5:50 PM
Hi, In HANA I heard it is best to use SQL Select Statements vs. Cursor for data selection. This is supposed to be because using cursor does not allow the system to use parallel processing in the engine. Is this true? The reason I ask is becuase a lot of forum questions about SQL show sqlscript with the declare and cursor statements. I would think everyone would be avoiding this practice except in very specific cases...
THanks for any opinion
Hello Kenneth,
Yes, that's true. Using Cursors to iterate over results can kill parallelism. Avoid whenever possible to get the most of the optimizations.
BRs,
Lucas de Oliveira
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.