21,410 reputation
33573
bio website blogs.msdn.com/b/sql_pfe_blog
location In the Ocean somewhere...
age
visits member for 2 years, 9 months
seen 8 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
17
revised A constant scan takes either 0 seconds or 2-3 minutes
added 139 characters in body
Mar
17
answered A constant scan takes either 0 seconds or 2-3 minutes
Mar
13
awarded  performance
Mar
12
answered Is bulk-logged recovery model ever a good choice if point-in-time restore is not needed?
Mar
7
comment SQL Server 2012 Not matching Join Query
It looks like the relationship between those two tables is foggy at best. How flexible is the current structure?
Mar
7
comment Backups in Availability Groups
You need to first verify that your secondary replica is in a SYNCHRONIZING state.
Mar
7
revised Backups in Availability Groups
edited tags
Mar
7
comment Can not ping Always On listener from outside primary node
Are you sure that the hostname is resolving to the right IP address, or resolving at all? That would be my first verification.
Mar
6
comment Frequent Delete & Insert, impact on performance
That's not what I was getting at. It indeed will be dependent on the operations, but in order to see at the magnitude we'd really need to see the table.
Mar
6
comment Frequent Delete & Insert, impact on performance
Fragmentation will really depend on the structure of the table in question. If possible, can you put the DDL for the table creation in your question?
Mar
4
revised GO After every T-SQL statement
added 14 characters in body
Mar
3
revised GO After every T-SQL statement
deleted 34 characters in body
Mar
3
awarded  Enlightened
Mar
1
awarded  Nice Answer
Mar
1
revised GO After every T-SQL statement
added 61 characters in body
Mar
1
comment GO After every T-SQL statement
@MartinSmith My testing is verifying that those combined statements would still be one batch. Were you expecting something different?
Mar
1
revised Significant PLE Drop
edited tags; edited title
Mar
1
comment Significant PLE Drop
Looking at the scale (y axis)... What is the current PLE? Looks like each minor gridline is 40,000. Which would put your current PLE roughly around 18,000 (it looks a few pixels below midway, so I'm being conservative). Is that correct?
Mar
1
revised GO After every T-SQL statement
deleted 12 characters in body
Mar
1
answered GO After every T-SQL statement