24,883 reputation
44585
bio website blogs.msdn.com/b/sql_pfe_blog
location In the Ocean somewhere...
age
visits member for 3 years, 4 months
seen 1 hour 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.


Feb
26
comment Specifying the failover partner when using Availability Groups
"Otherwise, you'll need to increase your connection timeout to account for the multiple IPs." Or if you will never have a client that can utilize MultiSubnetFailover you should set the RegisterAllProvidersIP property of the cluster resource (the AG) to 0 to ensure that only the active IP address is published to DNS.
Feb
25
comment SQL Server - Separating data, log, and TempDB files on a SAN
I think what the OP is saying is that regardless of the LUN, they are all hitting the same spindles. In other words, there is no physical separation for isolated pools of disks.
Feb
25
comment Stored Procedure Performance Issue
Can you post both of the actual execution plans for 1) the ad-hoc query and 2) the stored procedure execution?
Feb
22
comment Transaction Log maintenance on Mirror database
@JeremieGrund One way to do this would be to failover to the mirrored database and do the shrink there. Thoroughly test this out in a non-production environment to ensure it has the behavior you want/expect.
Feb
22
revised Transaction Log maintenance on Mirror database
edited tags
Feb
22
answered Transaction Log maintenance on Mirror database
Feb
22
comment Understanding WAIT_TIME_MS
That is also cumulative wait time across the instance, not just a particular database.
Feb
22
awarded  sql-server-2008
Feb
22
comment AlwaysOn Availability Groups: Confusion with some concepts
@UB01 Your comment about Joe having the Create Computer objects permission and therefore passing that onto Cluster1 is correct. Therefore, the Listener creation should be successful because Cluster1 has the necessary permissions.
Feb
22
comment Set up AlwaysOn in virtual environment: How to add nodes to domain?
In the settings of the network adapter, there is a place to put the IP Address of the DNS server. It's where you configure a static IP, subnet mask, etc.
Feb
22
comment Set up AlwaysOn in virtual environment: How to add nodes to domain?
I believe a DNS server is a requirement for a domain. Either way, without seeing the DC a server won't be able to join the domain.
Feb
22
comment Set up AlwaysOn in virtual environment: How to add nodes to domain?
Can your server see (ping) the Domain Controller? Also, can it hit the DNS server?
Feb
21
comment Automatically restart SQL Server 2008
No problem, Martin!
Feb
21
comment Automatically restart SQL Server 2008
@MartinSmith Testing it out on my local machine, yes it looks like it does. Though you need to use the -Force switch to restart the service when a dependent service exists.
Feb
21
revised Automatically restart SQL Server 2008
added 85 characters in body
Feb
21
comment Automatically restart SQL Server 2008
+1 I added my answer just to show the PowerShell way.
Feb
21
answered Automatically restart SQL Server 2008
Feb
19
comment Log all errors in queries
@carlo.borreo No problem, glad to help!
Feb
19
comment Log all errors in queries
@carlo.borreo I have modified my answer to include the predicate (WHERE ([severity] >= (11) )). Let me know if that works for you.
Feb
19
revised Log all errors in queries
added 70 characters in body