I need to perfom the simple task of adding new data to a large existing table. My source data is on Teradata and is in a table that looks exactly like my target table (field names, datatype, PI, ...) . For example, I need to add 10 million rows on to a table that already has 800 million rows.
My question is related to performance. Is there a performance difference between a SQL INSERT statement and the MERGE statement? Like:
INSERT INTO targ_tbl SELECT * FROM srce_tble;
and a MERGE statment:
MERGE into ...
↧