How to optimize merge statement with millions of rows?
Anonymous
May be you can use partitioning scheme where you can define distribution keys and sort keys on certain columns such that the query becomes faster.
Check out your Company Bowl for anonymous work chats.