Perfect statistics histogram in just few steps
A similar question about statistics came to the team twice this week: why does updating with fullscan result in fewer histogram steps than when doing a sampled scan? The answer is: the number of...
View ArticleHow we made backups faster with SQL Server 2017
In my previous blog post on enhancements in SQL Server 2017, we briefly introduced improved backup performance for smaller databases in SQL Server 2017 on high end servers. In the recent PASS Summit...
View ArticleUpgrade your SQL Server to scale before adding new hardware
In SQL Server Tiger team, we closely partner with our customers and partners to ensure they can successfully run and scale their Tier 1 mission critical workloads and applications on SQL Server. Based...
View ArticleNew in SSMS – Always On Availability Group Latency Reports
With SQL Server 2012 we introduced Always On Availability Groups, and the Always On Availability Group Dashboard in SQL Server Management Studio (SSMS). This dashboard can be utilized by database...
View ArticleCentennial apps/desktop bridge, SQL Server and error "The data area passed to...
The title of the blog may throw someone off a little. After all, SQL Server is not a centennial app and the error message doesn't appear to have anything to do with SQL Server. So please bear with us...
View ArticleAnalyze Synchronous Commit Impact on High Commit Rate Workloads
Recently the SQL Server Always On Support team at Microsoft CSS published a blog on analyzing the performance impact of Synchronous Commit AG's with workloads that perform a large number of small...
View ArticleMore Showplan enhancements – Row Goal
As I shared before, we have been working for over a year to make showplan the one-stop-shop for query performance analysis and troubleshooting (as much as possible). With the recent release of SQL...
View ArticleMore Showplan enhancements – UDFs
As I mentioned on yesterday’s post, with the recent release of SQL Server 2017 CU3, we released yet more showplan enhancements: you can see other posts related to showplan enhancements here. In this...
View ArticleSQL Server Replication Enhancement – Dynamic Reloading of Agent Profile...
With SQL Server 2017 Cumulative Update 3, we introduced an improvement to SQL Server Replication wherein, changes to the Replication agent parameters can be reloaded dynamically, without having to...
View ArticleReplication Enhancement – Distribution Database in Availability Group
SQL Server replication uses the publisher, distributor, and subscriber paradigm to provide logical data replication capability between different SQL Server instances, and sometime with heterogeneous...
View ArticleReplication Enhancement – Improved Distribution Database Cleanup
Replication Distribution database is the perhaps the most important entity in the entire replication topology. Apart from storing the replication metadata and history for replication agents, the...
View ArticleSQL Server 2016/2017: Availability group secondary replica redo model and...
When availability group was initially released with SQL Server 2012, the transaction log redo was handled by a single redo thread for each database in an AG secondary replica. This redo model is also...
View ArticleClustered Columnstore Index: Massively Parallel Trickle Insert
A traditional scenario of loading data into CCI is a nightly load from one or more data files containing millions of rows. Recommended technique is to load the data with batchsize >= 102400 as...
View ArticleOptimizing Replication Agent profile parameters for better performance
When SQL Server replication is used on environments with high traffic OLTP systems, users often need to adjust the agent profile parameters to increase the throughput of the log reader and distribution...
View ArticleTEMPDB – Files and Trace Flags and Updates, Oh My!
TL;DR – Update to the latest CU, create multiple tempdb files, if you're on SQL 2014 or earlier enable TF 1117 and 1118, if you're on SQL 2016 enable TF 3427. And now it's time for everyone's favorite...
View ArticlePredicate Pushdown and why should I care?
If you follow this blog, you know that in the last couple years, we have been adding more information to showplan, to make it a one-stop-shop for all your query performance troubleshooting insights....
View ArticleTiger Team at Data Platform Summit 2018
Tiger Team (@mssqltiger) represented by (Tejas Shah and Sourabh Agarwal) will be presenting about the recent investments in SQL Server at the Data Platform Summit (#DPS10), Asia’s Premier Data &...
View ArticleBehavior Change for VSS Backups on VMs with Basic Availability Groups
This week we released SQL Server 2016 SP2 CU2 and SQL Server 2017 CU9. In this blog, I’d like to go into a little more detail on one of the fixes that is part of these CUs which involves the SQL Writer...
View ArticleSQL Server Availability Groups – Enhanced Database Level Failover
Database level health detection failover (DB_Failover) option for Availability Groups was introduced in SQL Server 2016 with the objective to provide a mechanism for availability groups to failover, if...
View ArticleInstalling SQL Server 2017 for Linux on Ubuntu 18.04 LTS
Prior to SQL Server for Linux 2017 CU10 the package dependencies prevented install on Ubuntu 18.04 LTS. The SQL Server 2017 installation packages have updated use the libssl1.0.0 package, allowing...
View Article