Viewing 15 posts - 826 through 840 (of 5,843 total)
1) You are at the mercy of how many rows are in the temp table referenced
2) CONVERT and CONVERT_IMPLICITs potentially affecting plan choice. Mismatched ad hocs, variables, column data types...
August 5, 2016 at 10:45 am
lmarkum (8/5/2016)
August 5, 2016 at 10:33 am
I couldn't care less about PLE, and in fact never check it. What matters is physical IO stalls. Track those via internal DMV and/or using avg disk sec/read and write...
August 5, 2016 at 8:51 am
Can you post up the two plans you spoke of for us to review please?
The switch to nested loop is likely the cause of the vastly increased logical IOs. Spinning...
August 5, 2016 at 8:49 am
1) I am wondering if a CROSS APPLY for that COUNT(DISTINCT..) query would be better. Not sure if it would or not.
2) Optimal indexing can easily result in 5-6 ORDERS...
August 3, 2016 at 8:46 am
Brandie Tarvin (8/3/2016)
I appreciate the suggestion, Eric. But my hands are tied on third party software. We're not allowed to use unapproved stuff. Hence hacking SSMS Object Explorer Details is...
August 3, 2016 at 8:40 am
Luis Cazares (8/1/2016)
AFAIK, that would mean that there's no stored procedure and those...
August 1, 2016 at 12:50 pm
Thanks for the very interesting follow-up! I can't count the number of clients I have had over the years that have totally screwed up their virtualization efforts, often disastrously so!
August 1, 2016 at 11:02 am
VastSQL (8/1/2016)
Hi Experts,Have observed that the log file is growing huge because of Index Rebuild operation? Can anyone help me understand why?
TIA
My question is how are you doing your index...
August 1, 2016 at 10:15 am
Numerous potential causes here. You REALLY need to review the stuff you can find with a web search on these words:
argenis fernandez dbcc checkdb
There are some serious magic-bullets available, and...
August 1, 2016 at 10:14 am
I tune production systems for a living and have been doing this for about 20 years now. There are exceptionally few companies out there that have a test platform that...
July 30, 2016 at 6:51 pm
For several reasons I'm not to keen on a calculated column for the hashes, performance being an obvious one, I rather hash the content on the insert.
SO VERY TRUE!! There...
July 30, 2016 at 7:32 am
1) Why write your own script? Just use sp_whoisactive!! AMAZING FREE script from Adam Machanic.
2) You typically need to use 2 connections to create blocking.
spid1:
BEGIN TRAN
SELECT *
...
July 30, 2016 at 7:29 am
1) Try CASTing it as the data type you want.
2) What do you get when you do DATALENGTH(..) on your calculation?
July 29, 2016 at 4:57 pm
lk4772 (7/29/2016)
I have a stored procedure that is only doing 1 thing - a MERGE command. When I run the code in the stored procedure, it is successful, as...
July 29, 2016 at 4:55 pm
Viewing 15 posts - 826 through 840 (of 5,843 total)