I was recently given a task to move a few multi-terabyte databases inside of an availability group from SAN A to SAN B within a 10-minute window. The good news was there was plenty of time to plan and prepare. For the purpose of this example, I will be using a very...
SQL Server Blog Posts
SQL Server: Replicating Indexed Views as Tables
Replicating Indexed Views as tables, instead of replicating all base tables and then creating an indexed view against those base tables, allows for a smaller subset of data to be replicated over. If you replicate base tables and then create an indexed view,...
How to Set SSIS Package ‘Connection Timeout’ to Unlimited
SUMMARY: When configuring an SSIS OLE DB connection in Microsoft Visual Studio 2015 fails to correctly register the 'Connect Timeout' setting of 0 (unlimited), administrators must utilize specific workarounds—either within the Connection Manager or through an XML...
Always On Changing Cluster Configuration
There are situations where you would want to change the Windows cluster configuration so a failover does NOT occur. Failovers can occur due to quorum (error: The Cluster service is shutting down because quorum was lost) can't be reached for a short period of time when...
Is Your Database Healthy? The Importance of Health Checks for your Database
Ahhhhhh—the fresh smell of a brand new laptop, being pulled out of its box for the first time. Breathe it in. Your tax return really paid off this year, but your shopping doesn’t end with this new device. On the contrary, you’ve got a spree ahead of you. This laptop...
SQL Server Statistics and Trace Flag 2371
SQL Server Statistics are small, lightweight objects that describe the distribution of data in a SQL Server table or column. The SQL Server query optimizer uses statistics to estimate how many rows will be returned by parts of your query. This heavily influences the...
SQL Server Management Studio SSMS SSPI Error
Have you ever run into an SSPI error in SQL Server Management Studio (SSMS)? In this blog entry, we will show you 2 ways you can fix your SSPI error in SQL Server. SSPI Error: Cannot connect. The target principal name is incorrect. Cannot generate SSPI context Details...
SQL Server 2016 Database Engine: New Features and Enhancements
XTIVIA is highlighting new features in SQL Server 2016! We can set you up with all the exciting new features available in SQL Server 2016. Here's how implementing new features will benefit your SQL Server environment. Stretch Database Stretch Database allows you to...
Differences Between Windows and SQL Server Authentication
A common question asked from super users of applications is, "What is the difference between Windows Authentication and SQL Server Authentication?" While there are many details under the covers of SQL Server and Windows Authentication, the differences can be summed up...
Improving Foreign Key Performance with Indexing
A Foreign Key is a constraint. Due to this definition, it only places a limitation on what data can be inserted into a column(s) and does not address the indexes needed to help performance when joining tables Take the following design. If you wanted to join the 2...