Viewing 15 posts - 826 through 840 (of 5,841 total)
lmarkum (8/5/2016)
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
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...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
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...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
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...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
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...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 3, 2016 at 8:40 am
Luis Cazares (8/1/2016)
AFAIK, that would mean that there's no stored procedure and those...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
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!
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
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...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
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...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
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...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
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...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
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 *
...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
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?
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
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...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
July 29, 2016 at 4:55 pm
sudhakara (7/28/2016)
Select statement is being executed through the session which holds the IX lock on the table. Not sure why the select statement holding this IX.
The current SELECT statement currently...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
July 28, 2016 at 12:24 pm
Viewing 15 posts - 826 through 840 (of 5,841 total)