Viewing 5 posts - 1 through 5 (of 5 total)
As a bit of a side interest on this problem, does this table suffer from any INSERTs from a GUI?
If so, are the INSERTs done in order by [SubscriberID],[UserID],[DeviceID] ?
I...
July 16, 2014 at 8:37 am
Using a temp table, indexing the temp tables using a covered index and selecting from the temp table worked extremely well. The merge is down to 20 minutes. ...
July 15, 2014 at 4:41 am
Thanks for the help. I will try the temp tables, indexing the temp tables and using the covered index.
July 14, 2014 at 1:55 pm
The table scan actually doesn't take that long. I ran the "select" part of the merge statement and that part returned 10M rows into a temp table is 4...
July 14, 2014 at 12:59 pm
Thanks for the reply. I attached the explain plan for your review. The three varchars are a necessary join. I'll look into the links you provided.
July 14, 2014 at 12:40 pm
Viewing 5 posts - 1 through 5 (of 5 total)