Viewing 15 posts - 1 through 15 (of 147 total)
Hi Andrew,
The problem with redundant indexes, like ins_ypsI2, is that there is additional overhead for data updates but no benefit for selects.
The script below will find all redundant indexes in...
May 12, 2015 at 8:14 am
Here are a couple of scripts that make the numbers more useful.
The first gives you all counters, including absolute values (like page life expectancy), percentages calculated by dividing a counter...
May 11, 2015 at 9:14 am
Hi Jeff,
I am aware of your slide set on the subject and I agree with what you say.
Some comments though:
You assume an attacker with the skills to obtain SA...
May 11, 2015 at 6:32 am
You can do this with PowerShell.
And if you have xp_cmdshell enabled (not encouraged for security reasons) you can run it from an SSMS Query window.
exec xp_cmdshell 'powershell.exe -noprofile -command "Get-WmiObject...
May 8, 2015 at 4:13 am
smrtstpetesmith (2/28/2014)
For a bit field, is usingWHERE mybit = 0x0
faster than
WHERE mybit = 0
I am being told to use 0x0 but am not yet convinced.
Thanks!
I suspect the person who told...
March 3, 2014 at 9:53 am
There is no harm in doing that, with a couple of provisos:
Be aware of potential performance issues - each query will run one at a time; they are not submitted...
January 24, 2014 at 9:28 am
Rewritten to get the xml from a variable, but you should be able to apply this logic to your situation:
declare @x xml
select @x = '
<Artists>
<ArtistText>Genie Zhuo</ArtistText>
<Artist Type="Main">
<FullName>Genie Zhuo</FullName>
</Artist>
<Artist Type="Secondary">
<FullName>The Second...
January 15, 2014 at 10:56 am
For IOPS you need to look at the Physical Disk Reads/sec and Writes/sec.
Brent Ozar wrote a post over 6 years ago about how to capture these values and use Excel...
January 14, 2014 at 4:05 am
So you want to measure IOPs without looking at performance counters?
Or you want to measure max IOPs that the storage is capable of, but without using SQLIO?
What is wrong with...
January 13, 2014 at 4:54 pm
I like to think of NOSQL as meaning Not Only SQL rather than No SQL
Haha - perfect.
Thank you for writing this; one of the most interesting articles I've seen for...
January 8, 2014 at 3:36 pm
In my experience, the network is very rarely the cause of poor performance. When it appears to be the network it is more often one of the following:
An app server...
December 20, 2013 at 6:45 am
Actually you can add SQLSales1 to the group, but you have to use a different way of addressing it.
So for example if you know that SQLSales1 is listening on port...
December 12, 2013 at 8:08 am
Rather than look at your code, I've supplied a script I use that does the the same thing (fix orphaned users across all databases).
Mine uses UPDATE_ONE, but you could change...
December 12, 2013 at 6:11 am
Have you compared the query plans? I think that has to be the first step.
You can do this with Profiler.
Also, are you running it just once from SSMS, but multiple...
December 9, 2013 at 3:23 pm
I think OP is asking if there is a way of looking back at changes made to logins.
If so, and you have the default trace running, it can be done...
December 6, 2013 at 10:51 am
Viewing 15 posts - 1 through 15 (of 147 total)