Hidden gems of SQL Server 2016 Denis Reznik Data Architect at Intapp, Inc. Microsoft Data Platform MVP
About me Denis Reznik Kyiv, Ukraine Data Architect at Intapp, Inc. Microsoft Data Platform MVP Co-Founder of Ukrainian Data Community Kyiv PASS Regional Mentor, CEE Co-author of “SQL Server MVP Deep Dives 2”
SQL Server 2016 Killer Features Hidden Features Query Store Temporal Tables JSON PolyBase Stretch Database R Services Always Encrypted Hidden Features Statistics Auto-Update Input Buffers Query Statistics Session Waits Functions Stats Query Hints
Statistics Auto-Update
? Statistics SELECT * FROM Users WHERE Id BETWEEN 2100 AND 2500 800 2000 2800 4500 5400
Statistics Auto-Update DEMO Statistics Auto-Update
Statistics Update SQL Server 2014 and lower default behavior: 20% of rows + 500 SQL Server 2016 Dynamic threshold for tables with 25000+ rows TF 2371 for lower versions
Input Buffers
DEMO Input Buffers
Query Statistics
DEMO Query Statistics
Session Waits
DEMO Session Waits
Functions Stats
DEMO Functions Stats
Query Hints
Statistics SELECT * FROM Users u INNER JOIN Posts p ON u.Id = p.OwnerUserId WHERE u.DisplayName LIKE 'Jeff%' Users A G L S T ZZZZ Posts 1 800 2000 2800 4500 5400
DEMO Query Hints
SUMMARY Statistics Auto-Update Input Buffers Query Statistics Session Waits Functions Stats Query Hints
#sqlsattallinn Thank You! Denis Reznik @denisreznik denisreznik@outlook.com