What’s New in SQL Server 2014: Database Engine Aaron Bertrand SQL Sentry

Slides:



Advertisements
Similar presentations
Top Tuning Tools for SQL Server Kevin Kline & Aaron Bertrand SQL Sentry.
Advertisements

Big Data Working with Terabytes in SQL Server Andrew Novick
SQL Server 2014 – Features Drilldown Tara Shankar Jana Senior Premier Field Engineer (Microsoft)
Dandy Weyn Sr. Technical Product Mkt.
Dos and don’ts of Columnstore indexes The basis of xVelocity in-memory technology What’s it all about The compression methods (RLE / Dictionary encoding)
Microsoft Ignite /16/2017 3:29 PM
Meanwhile RAM cost continues to drop Moore’s Law on total CPU processing power holds but in parallel processing… CPU clock rate stalled… Because.
SharePoint and SQL Server integration Demo: SQL Server Optimizing Configurations SQL Server 2014 for SharePoint 2013 Avoiding ginormous transaction.
Microsoft SQL Server x 46% 900+ For Hosting Service Providers
Managing and Monitoring SQL Server 2005 Shankar Pal Program Manager SQL Server, Redmond.
Manage & Configure SQL Database on the Cloud Haishi Bai Technical Evangelist Microsoft.
Performance and Scalability. Performance and Scalability Challenges Optimizing PerformanceScaling UpScaling Out.
Chapter 2: Designing Physical Storage MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design Study Guide (70-443)
Key Perf considerations & bottlenecks Windows Azure VM characteristics Monitoring TroubleshootingBest practices.
SQL Server 2014: Overview Phil ssistalk.com.
© 2008 Quest Software, Inc. ALL RIGHTS RESERVED. Perfmon and Profiler 101.
Srik Raghavan Principal Lead Program Manager Kevin Cox Principal Program Manager SESSION CODE: DAT206.
Meet Kevin Liu Principal Lead Program Manager Kevin Liu has been with Microsoft and the SQL Server engine team for 7 years, working on key projects like.
Ἑ κατόν by Niko Neugebauer. Niko Neugebauer PASS EvangelistPASS Evangelist SQL Server MVPSQL Server MVP SQLPort ( founder & leaderSQLPort.
SharePoint enhancements through SQL Server RSS integration with SharePoint What’s New Elimination of IIS
SQL School is strongly committed to provide COMPLETE PRACTICAL REALTIME Trainings on SQL Server Technologies – Dev, SQL DBA, MSBI (SSIS, SSAS, SSRS) and.
SQLintersection Putting the "Squeeze" on Large Tables Improve Performance and Save Space with Data Compression Justin Randall Tuesday,
Matt Lavery & Joanna Podgoetsky Being a DBA is cool again with SQL 2016 DAT335 A.
SQL Server 2014 – The Hybrid platform Integration with Windows Azure features in SQL Server 2014.
October 15-18, 2013 Charlotte, NC Accelerating Database Performance Using Compression Joseph D’Antoni, Solutions Architect Anexinet.
How to kill SQL Server Performance Håkan Winther.
SQL Server 2014, more than just in-memory Eric Zierdt.
Vedran Kesegić. About me  M.Sc., FER, Zagreb  HRPro d.o.o. Before: Vipnet, FER  13+ years with SQL Server (since SQL 2000)  Microsoft Certified.
Warwick Rudd | Principal Consultant – consulting.com.au #456 | Auckland 2015 Mission Critical SQL Server.
Configuring SQL Server for a successful SharePoint Server Deployment Haaron Gonzalez Solution Architect & Consultant Microsoft MVP SharePoint Server
SQL 2016 – WHAT’S NEW? David Cobb Daveslog.com.
No more waiting. Sponsors About me  Database Technology Specialist  MVP  Blogger  Author 3
STANDARD EDITION USEFUL FEATURES FOR THE REST OF US?
Doing fast! Optimizing Query performance with ColumnStore Indexes in SQL Server 2012 Margarita Naumova | SQL Master Academy.
Best Practices for Columnstore Indexes Warner Chaves SQL MCM / MVP SQLTurbo.com Pythian.com.
A Lap Around Columstore Martin Catherall SQL Saturday #464, Melbourne 20 th February 2016.
Session Name Pelin ATICI SQL Premier Field Engineer.
Microsoft Dynamics NAV Dynamics NAV 2016 one Azure SQL Dmitry Chadayev Microsoft.
Hitting the SQL Server “Go Faster” Button Rob Douglas #509 | Brisbane 2016.
Introducing Hekaton The next step in SQL Server OLTP performance Mladen Prajdić
Use Cases for In-Memory OLTP Warner Chaves SQL MCM / MVP SQLTurbo.com Pythian.com.
Memory-Optimized Tables Querying at the speed of light.
Standard/Express edition
Data Platform and Analytics Foundational Training
Thank You! #sqlsatdnipro Denis
14 Features in SQL Server 2014 You Haven’t Considered
Hitting the SQL Server “Go Faster” Button
Very Large Databases in your future
Design Seamless Upgrades to SQL Server 2016 with Query Store
Introduction to SQL Server Management for the Non-DBA
Database Administration for the Non-DBA
Blazing-Fast Performance:
Working with Very Large Tables Like a Pro in SQL Server 2014
SQL Server 2017 has more cool features than just running on Linux
Hitting the SQL Server “Go Faster” Button
Configuring SQL Server
In-Memory OLTP (IMOLTP) What Can It Do For Me?
Real world In-Memory OLTP
What’s new in SQL Server 2016 Availability Groups
Migrating your SQL Server Instance
SQL Server 2014 Hidden Treasures Denis Reznik Microsoft SQL Server MVP
Hidden Gems of SQL Server 2014
Very large Databases in your future Eric Peterson.
Configuring SQL Server
Hidden Gems of SQL Server 2014
Hidden Gems of SQL Server 2014
Your Data Any Place, Any Time
Hidden Gems of SQL Server 2014
Working with Very Large Tables Like a Pro in SQL Server 2017
Designing Database Solutions for SQL Server
Presentation transcript:

What’s New in SQL Server 2014: Database Engine Aaron Bertrand SQL Sentry

2 © SQLintersection. All rights reserved. About Me Aaron Bertrand Senior Consultant Microsoft MVP since 1997 Author, MVP Deep Dives 1 & sqlsentry.com /

3 © SQLintersection. All rights reserved. Agenda  Scalability Enhancements  Compatibility Level Changes  Backup / Restore Enhancements  Cloud Enhancements  Performance Enhancements  Availability Group Enhancements  T-SQL Enhancements  Security Enhancements

4 © SQLintersection. All rights reserved. Scalability Enhancements  640 processors, 4 TB memory  (Virtual = 64 processors, 1 TB)  Standard Edition now supports 128 GB RAM per instance  2008 = system max, 2012 = 64 GB

5 © SQLintersection. All rights reserved. Compatibility Level Changes  Compatibility Level of 90 is now “retired”  Can still attach 2005/90 databases, but they get upgraded to 100  This is different from 2012, which did not support 2000/80 at all

6 © SQLintersection. All rights reserved. Backup / Restore Enhancements  Backup to URL / Azure  Backup Encryption  Supported in Standard / BI / Enterprise

7 © SQLintersection. All rights reserved. Cloud Enhancements  Host a data file as Windows Azure blob  Host a database in a Windows Azure Virtual Machine  Deploy a database to Windows Azure wizard

8 © SQLintersection. All rights reserved. Performance Enhancements: In-Memory OLTP  New index structure eliminates locking and latching  This Is *NOT* DBCC PINTABLE – it still needed to use latching  Optimistic MVCC – update = new row, modified B-tree = no page hotspot  Use natively compiled procedures for biggest benefit (no context switching)  Can also create in-memory TVPs and table variables  Sweet spot: Highly concurrent workloads with small transactions  Down-sides:  Some data types not supported  No parallelism  Plenty of functionality not covered in natively compiled procedures  256 GB limit on table size  Only supported in Enterprise Edition  Not all bottlenecks are solved!

9 © SQLintersection. All rights reserved.

10 © SQLintersection. All rights reserved. Performance Enhancements: Columnstore Indexes  Updatable, clustered Columnstore now supported  New COLUMNSTORE_ARCHIVE compression  Better compression at higher CPU cost – 80-90% compression  Far fewer data type restrictions than 2012  More operators support batch mode processing  Sweet spot: Real-time analytics involving large scans and aggregations  Niko Neugebauer has a thorough 28-part blog series:

11 © SQLintersection. All rights reserved.

12 © SQLintersection. All rights reserved. Performance Enhancements: Buffer Pool Extension  Extend buffer pool to SSDs  Only puts “clean” evicted pages there; no durability risk  Sweet spot: OLTP databases larger than available memory  (Not for large scans etc.)  Only supported in Standard and Enterprise (not BI, according to BOL)  You *can* put it on spinny disks, but please don’t

13 © SQLintersection. All rights reserved. Performance Enhancements: Delayed Durability  Proceed after commit, but before t-log acknowledge  Sweet spot: Particularly helpful on servers with slow log disks  Caveat:  Need to have ~64K data loss tolerance

14 © SQLintersection. All rights reserved. Performance Enhancements: Cardinality Estimator  Great enhancements in estimates  It can make a lot of bad queries better  There can still be regressions, but these should be uncommon  Can turn it on/off for a database with compatibility level  Can turn it on/off at the query level with QUERYTRACEON 2312 / 9481

15 © SQLintersection. All rights reserved. Performance Enhancements: Resource Governor  Now governs I/O  MIN_IOPS_PER_VOLUME and MAX_IOPS_PER_VOLUME per resource pool  MAX_OUTSTANDING_IO_PER_VOLUME at instance level  Latter wins  Important to note:  These settings do not specify I/O size or throughput  Still Enterprise Edition only

16 © SQLintersection. All rights reserved. Performance Enhancements: Miscellaneous  Tempdb will now defer / bypass flushing to disk of some bulk operations  SELECT INTO #temp tables, SORT_IN_TEMPDB index maintenance  This fix may be back-ported to SQL Server 2012 SP2  Can now rebuild individual partitions  Incremental statistics – per partition  Can set low priority lock waits for rebuild / switch operations  More online operations  SELECT INTO can now run in parallel  Compatibility level must be 110+  sys.dm_exec_query_profiles  Monitor a query plan in real time

17 © SQLintersection. All rights reserved. Availability Group Enhancements  Add Azure Replica wizard  Secondary replicas now 8 instead of 4  Secondaries now remain read-available during primary/quorum outage  Supposed to be back-ported to 2012 as well, likely in SP2  FCIs can now use cluster shared volumes (CSVs)  Many new DMVs, functions, extended events for diagnostics  Still no word about a replacement for mirroring in Standard Edition

18 © SQLintersection. All rights reserved. T-SQL Enhancements  Can now include *simple* index def within CREATE/DECLARE TABLE  But not if index is filtered or has INCLUDE columns CREATE TYPE dbo.foo AS TABLE ( bar INT, INDEX x NONCLUSTERED(bar DESC) );  Syntax to support In-Memory OLTP  mostly DDL changes

19 © SQLintersection. All rights reserved. Security Enhancements  New server-level permissions:  CONNECT ANY DATABASE  IMPERSONATE ANY LOGIN  SELECT ALL USER SECURABLES  New database-level permission:  ALTER ANY DATABASE EVENT SESSION

20 © SQLintersection. All rights reserved. Other SQL Server 2014 Sessions  Jonathan Kehayias - Today at noon in this room Enterprise Availability and Performance on Commodity Hardware with SQL 2014 Today at noon in this room  Steve Jones - Today at 2:15 in this room Protecting Your Data with Encryption While Maintaining Performance in SQL 2014  Tim Chapman - Today at 3:45 in this room SQL Server 2012 & 2014 Enhancements for Developers  Mike Zwilling - Tomorrow at 11:45 in Palazzo E SQL Server 2014 : Columnstore Architecture and Capabilities  Richard Campbell - Tomorrow at 2:15 in Palazzo E Microsoft Q&A : Hidden Gems in SQL Server 2014  Three Microsoft sessions on In-Memory OLTP, all day Wednesday in this room  On-demand webinars: