Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Difference between Merge and Update statements - forum topic by sudhakarptom

$
0
0

Hi Experts,
We have observed that the MERGE statement is causing row re-distribution across all the AMPS even though we have the same PI defined at the Source and Target tables. It seems that some kind of derived tables is getting created when we use the MERGE statement.As we are procesisng a huge amount of data, row re-ditribution is causing alot of issues with the DB.
But row re-distribution is not happening when we are using join between SOURCE and Target tables.
I was under the impression that MERGE will be always faster than other DML Operations.
Can you please let us know how to avoid the row re-distribution with the MERGE statement.
Thanks,
Sudhakar
 

Forums: 

Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>