24,413 reputation
34284
bio website blogs.msdn.com/b/sql_pfe_blog
location In the Ocean somewhere...
age
visits member for 3 years, 4 months
seen 3 hours ago

SQL Server Premier Field Engineer at Microsoft.

Twitter: @SQLife
Blog: http://blogs.msdn.com/b/sql_pfe_blog/
Email: sqlsalt [at] outlook [dot] com

Disclaimer
The views expressed on my posts on this site are mine alone and do not reflect the views of my company. All posts of mine are provided "AS IS" with no warranties, and confers no rights.

The following disclaimer applies to all code, scripts and demos available on my posts:

This Sample Code is provided for the purpose of illustration only and is not intended to be used in a production environment. THIS SAMPLE CODE AND ANY RELATED INFORMATION ARE PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. We grant You a nonexclusive, royalty-free right to use and modify the Sample Code and to reproduce and distribute the object code form of the Sample Code, provided that You agree: (i) to not use Our name, logo, or trademarks to market Your software product in which the Sample Code is embedded; (ii) to include a valid copyright notice on Your software product in which the Sample Code is embedded; and (iii) to indemnify, hold harmless, and defend Us and Our suppliers from and against any claims or lawsuits, including attorneys’ fees, that arise or result from the use or distribution of the Sample Code.


Mar
16
answered What are the differences between leaf and non-leaf pages?
Mar
15
comment PRIMARY KEY CONSTRAINT fundamentals
Which RDBMS are you using?
Mar
14
revised View Disc Usage
edited title
Mar
14
reviewed Reject suggested edit on Dutch characters in DB2 problem
Mar
14
revised View Disc Usage
added 6 characters in body; edited title
Mar
14
answered View Disc Usage
Mar
14
awarded  Notable Question
Mar
13
reviewed Reject suggested edit on SQL Server cluster questions please
Mar
13
comment SQL Server cluster questions please
Also check to see if the passive nodes are possible owners of the instance. What it boils down to is that there are a lot of things that could be causing this and either 1) you need to dig deeper into the problem and/or 2) provide us with more information and details.
Mar
13
comment SQL Server cluster questions please
Can you connect to the instance after failover? If so, look in the SQL Server error log and see what is happening. Could be a few things taking a long time (i.e. database recovery). If you can't connect to the instance, take a look at the cluster log and look for errors/issues.
Mar
13
revised SQL Server cluster questions please
edited tags
Mar
13
comment What is a good, repeatable way to calculate MAXDOP on SQL Server?
I believe the hyperthread_ratio is the amount of logical cores per processor. I ran into that a little while back and if I'm remember correctly that is the conclusion I came to. Maybe @AaronBertrand has more info on that. Don't take that as a hard and fast fact yet before verification.
Mar
10
comment How do I know if my database partitioning is done well?
Table partitioning is not meant to be a performance enhancer. It is for ease of maintenance. Sure, the optimizer could potentially use partition elimination, but that is a secondary and lesser benefit to the administrative benefit of partitioned tables. As for your particular implementation, we'd need to see specifics.
Mar
8
comment Covering Index Question
@AaronBertrand Good point, I didn't read the contextual usage.
Mar
8
comment Covering Index Question
@Tom Depending on what version of SQL Server you are using you can also leverage Extended Events in lieu of SQL Trace.
Mar
2
comment Scheduling a backup in SQL Server 2005
Are you sure you're on the right instance? I'm guessing you're talking about a maintenance plan?
Mar
2
answered When to use identity increment?
Feb
28
comment Find all the queries executed recently on a database
Haha I figured that.
Feb
28
comment Find all the queries executed recently on a database
Yep!!! That looks good to me.
Feb
28
comment Find all the queries executed recently on a database
@AaronBertrand I edited my post to ensure that I specify that my answer is more geared towards native functionality.