Viewing 15 posts - 31 through 45 (of 142 total)
Shawn Melton (6/9/2015)
Have you issued DBCC UPDATEUSAGE (MyDatabase) WIT...
June 9, 2015 at 4:11 pm
I haven't try something like that from powershell but sounds like a good idea, the source code will be in github so I am looking at what are my options
Thanks!
April 25, 2015 at 8:38 am
thanks
I always try not to use hints because things can change (like another dba dropping an index) and stuff will fail in weird ways 🙂
I just tried that as to...
March 24, 2015 at 4:03 pm
I had that idea, but well that was letting me rebuild that index so, it was in there...
March 24, 2015 at 3:04 pm
it seems that dropping and recreating the indexes did the trick
March 24, 2015 at 1:51 pm
At the SSIS Toolbox there is a "Data Conversion" Component, you can put that between your source and the destination, that I am assuming is a table and change the...
March 24, 2015 at 11:36 am
Could you please post the execution plan?
Maybe adding a few indexes at those temp tables it can help, the aggregation is what is killing you
March 24, 2015 at 11:12 am
Hi
Have you trying by converting each field to the specific type on the ssis side? there is a component for it
March 24, 2015 at 11:02 am
yes, those are based on a full scan
March 16, 2015 at 3:56 pm
If I let the query run forever since it is scanning the whole table
Hmm, isn't it scanning the nonclustered index rather than the whole table (clustered index)?
Yeah just the nonclustered,...
March 16, 2015 at 2:00 pm
Thanks again
I will see what I can find with the stored metrics.
But I still consider this a bug, we create indexes, statistics, keep maintenance's plans and the optimizer just don't...
March 16, 2015 at 5:06 am
Thanks
What is really annoying is that I even trimmed the query as to return the same column where I have the clustered index on..
I know that the solutions provided will...
March 16, 2015 at 4:42 am
Yes, those are local variables
The option(recompile) or the optimIze hint work, but, MS SQL shouldn't be doing this, I have a clustered index for a reason, I need to trust...
March 16, 2015 at 4:19 am
Jeff Moden (3/15/2015)
It almost sounds like a "simple" case of "bad" parameter sniffing.
That sounds right, but, what can I do about it?
I can't just go and change tons of code...
March 15, 2015 at 11:37 am
The recompile works, the same as forcing the proper index with a hint, but in this case what I really want to figure out is what is SQL thinking, if...
March 15, 2015 at 10:27 am
Viewing 15 posts - 31 through 45 (of 142 total)