SQL 2016 – WHAT’S NEW? David Cobb Daveslog.com.

Slides:



Advertisements
Similar presentations
MAKING BUSINESS INTELLIGENT DBA Delta Force SQL Server 2012 features for the DBA.
Advertisements

Microsoft Ignite /16/2017 3:29 PM
What’s New in SQL Server 2016
Jeremy Boyd Director – Mindscape MSDN Regional Director
BARBARIN DAVID SQL Server Senior Consultant Pragmantic SA SQL Server Denali : New administration features.
Passage Three Introduction to Microsoft SQL Server 2000.
Report Management and Creation using Microsoft SQL Server 2008 Reporting Services Chris Testa-O’Neill Database Product Planner Remarc Group.
SQL Server 2014: Overview Phil ssistalk.com.
SQL Server 2016 : New Features
Martin Cairney Hybrid data platform – making the most of Azure plus your on- prem kit DAT341 B.
Learningcomputer.com SQL Server 2008 –Views, Functions and Stored Procedures.
Matt Lavery & Joanna Podgoetsky Being a DBA is cool again with SQL 2016 DAT335 A.
Warwick Rudd – Henry Rooney – How Available is SQL Server 2016? DAT33 6.
Please note that the session topic has changed
SQL Server 2016 New Innovations. Microsoft Data Platform Relational Beyond Relational On-premises Cloud Comprehensiv e Connected Choice SQL Server Azure.
October 15-18, 2013 Charlotte, NC Accelerating Database Performance Using Compression Joseph D’Antoni, Solutions Architect Anexinet.
#SQLSAT454 SQL Server 2016 New Security Features Gianluca
SQL SATURDAY #444 – Kansas City, MO. A LOOK AT ALWAYS ENCRYPTED SQL SATURDAY #444 – KANSAS CITY, MO DAVE WALDEN PRINCIPAL SOLUTIONS ARCHITECT DB BEST.
SQL Server Evolution New innovations Jen Underwood Sr. Program Manager of Business Intelligence & Analytics Microsoft George Walters Sr. Technical Solutions.
How to kill SQL Server Performance Håkan Winther.
Inspirirani ljudima. Ugasite mobitele. Hvala.. Paolo Pialorsi Senior Consultant PiaSys ( Publishing apps for SharePoint 2013 on Microsoft.
SQL Server 2014, more than just in-memory Eric Zierdt.
Scott Fallen Sales Engineer, SQL Sentry Blog: scottfallen.blogspot.com.
Blog: R YOU READY FOR.
Putting Your Head in the Cloud Working with SQL Azure David Postlethwaite 19/09/2015David Postlethwaite.
SQL Server 2016 – New Features Tilahun Endihnew March 12, 2016.
UNIQUE AND NOT DULLwww.MyGareth.com. UNIQUE AND NOT DULLwww.MyGareth.com Agenda New Features in SQL Server 2016  About me  General Enhancements  In-memory.
SQL Server 2016 Security Features Marek Chmel Microsoft MVP: Data Platform Microsoft MCT: Regional Lead MCSE: Data Platform Certified Ethical Hacker.
SQL Server 2016 editions – what’s new Express Mission critical performance SecurityData warehousing Business intelligence Advanced Analytics Hybrid cloud.
Putting Your Head in the Cloud Working with SQL Azure David Postlethwaite 18/06/2016David Postlethwaite.
SQL Server 2016: Real-time operational analytics
Best Practices for Columnstore Indexes Warner Chaves SQL MCM / MVP SQLTurbo.com Pythian.com.
Database Development with SQL Server Data Tools (SSDT) Björn Eriksen, Architect Evangelist DPE Microsoft
A Lap Around Columstore Martin Catherall SQL Saturday #464, Melbourne 20 th February 2016.
Session Name Pelin ATICI SQL Premier Field Engineer.
SQL 2016 PREVIEW What’s New! What’s Great! What’s Meh… PASS Victoria BC Chapter September 24, 2015 Martin S. Stoller
ROLLING DATABASE SNAPSHOTS David Cobb Daveslog.com.
New BI Features SQL 2016 New features of SQL 2016.
Introducing Hekaton The next step in SQL Server OLTP performance Mladen Prajdić
Memory-Optimized Tables Querying at the speed of light.
IIS Server ETL Key Issues  Complex Implementation  Requires two Servers (CapEx and OpEx)  Data Latency in Analytics  More businesses demand/require.
HDC: SQL Server 2016 New Features & Demos. Phil Brammer
Standard/Express edition
In-Memory Capabilities
Data Platform and Analytics Foundational Training
Temporal Databases Microsoft SQL Server 2016
System Center Marketing
Operational Analytics in SQL Server 2016 and Azure SQL Database
Thank You! #sqlsatdnipro Denis
System Center Marketing
Temporal Databases Microsoft SQL Server 2016
UFC #1433 In-Memory tables 2014 vs 2016
A time travel with temporal tables
Planning an Effective Upgrade from SQL Server 2008
A time travel With temporal tables Leonel Abreu
Design Seamless Upgrades to SQL Server 2016 with Query Store
Introduction Module 16 9/5/2018 9:26 PM
SQL Server Data Tools for Visual Studio Part I: Core SQL Server Tools
මොඩියුල විශ්ලේෂණය Buffer Pool Extension භාවිතය.
Migrating a Disk-based Table to a Memory-optimized one in SQL Server
Please support our sponsors
In-Memory OLTP (IMOLTP) What Can It Do For Me?
Understanding Azure SQL DB Service Tiers
Microsoft SQL Server 2014 for Oracle DBAs Module 7
Indexing For Optimal Performance
Four Rules For Columnstore Query Performance
SQL Server 2016 Security Features
What is New in SQL Server 2016 BI Stack
SQL-Server System-Versioned Temporal Tables -Foundation
Presentation transcript:

SQL 2016 – WHAT’S NEW? David Cobb Daveslog.com

David Cobb SQL Trainer / Consultant MCT, MCSE Data Platform for SQL 2012 daveslog.com Presenter Past Roles: Tech Support, Network Admin, Web Developer, DBA Current: Systems Architect for CheckAlt.comCheckAlt.com Training SQL Since: 2002 Favorite Techs of the Moment: PowerShell & Azure

WHAT WE’LL (TRY TO) COVER: Database Engine Improvements  ColumnStore Improvements  In-Memory OLTP  Query Store  Temporal Tables  Always Encrypted  Stretch Database  Live Query Statistics  Row Level Security  Dynamic Data Masking SLIDES DEMOS! Whirlwind tour

WHAT WE’LL SKIP  Reporting Improvements  Analysis Services Improvements  Integration Services Improvements  Looking to CTP3 for more soon…  You can find out more at:

HOW DO I SQL 2016?  30 Day Azure Trial!  MSDN? You get free Azure to learn and test.  If you can use fill in a web form and use Remote Desktop, you can spin up virtual machines in the cloud and learn without downloading or installing.  Windows 10, Server 10, Visual Studio 2015 previews are also available.  Why not?

COLUMNSTORE IMPROVEMENTS  Whitepaper: 

Columnstore Index Feature SQL Server 2012 SQL Server 2014 SQL Server 2016 (CTP2) Azure SQL Database Batch execution for multi-threaded queriesyes Batch execution for single-threaded queriesyes Archival compression option.yes Snapshot isolation and read-committed snapshot isolationyes Specify columnstore index when creating a table.yes AlwaysOn supports columnstore indexes.yes AlwaysOn readable secondary supports read-only columnstore indexes.yes AlwaysOn readable secondary supports updateable columnstore indexes.yes Read-only nonclustered columnstore index on heap or btree.yes yes 1 Updateable nonclustered columnstore index on heap or btreeyes Additional btree indexes allowed on a heap or btree that has a columnstore index.yes Updateable clustered columnstore index.yes Btree index on a clustered columnstore index.yes Columnstore index on a memory-optimized table.Yes! Nonclustered columnstore index definition supports using a filtered condition.yes

IN MEMORY OLTP IMPROVEMENTS  Whitepaper:  Aaron Bertrand Blog: /in-memory-oltp-enhancements /in-memory-oltp-enhancements

KEY IMPROVEMENTS FOR IN MEMORY OLTP Recommended maximum size for in memory table goes from 256MB->2TB Collations besides BIN2 allowed for columns in indexes (advised they don't perform as well) ALTER TABLE can be used on memory-optimized tables to add, drop or alter columns, or to add, drop or rebuild indexes. ALTER PROCEDURE can be used on natively compiled stored procedures Native compiled procedures allows additional syntax (LEFT JOIN, SELECT DISTINCT, UNION, all math functions) Better scaling with additional sockets AlwaysOn replicas see in-memory data changes undelayed. Improved garbage collection

COLUMNSTORE + IN MEMORY OLTP = OPERATIONAL ANALYTICS  In-memory, updateable, non-clustered columnstore index over either disk-based or in-memory tables.  Learn more:  Sunil Agarwal on Data Exposed: Server-2016-Operational-Analytics Server-2016-Operational-Analytics  Sunil’s Ignite 2015 Presentation:

QUERY STORE  Demo  Best 2016 Feature?

TEMPORAL TABLES  Demo  Look back in time at your data  Table Templates  Works along with SQL AUDIT for complete data change history (WHO,WHAT,WHEN)  New Time Travel SQL Syntax!

Source: Syntax for Querying Temporal Data SYNTAX FOR QUERYING TEMPORAL DATA ExpressionQualifying RowsDescription AS OF SysStartTime date_time Returns a table with single record for each row containing the values that were actual (current) at the specified point in time in the past. Internally, a union is performed between the temporal table and its history table and the results are filtered to return the values in the row that was valid at the point in time specified by the parameter. The value for a row is deemed valid if thesystem_start_time_column_name value is less than or equal to the parameter value and thesystem_end_time_column_name value is greater than the parameter value. FROM TO SysStartTime start_date_time Returns a table with the values for all record versions that were active within the specified time range, regardless of whether they started being active before the parameter value for the FROM argument or ceased being active after the parameter value for the TO argument. Internally, a union is performed between the temporal table and its history table and the results are filtered to return the values for all row versions that were active at any time during the time range specified. Records that became active exactly on the lower boundary defined by the FROM endpoint are included and records that became active exactly on the upper boundary defined by the TO endpoint are not included. BETWEEN AND SysStartTime start_date_time Same as above in the FOR SYSTEM_TIME FROM TO description, except the table of rows returned includes rows that became active on the upper boundary defined by the endpoint. CONTAINED IN(, ) SysStartTime >= start_date_time AND SysEndTime <= end_date_time Returns a table with the values for all record versions that were opened and closed within the specified time range defined by the two datetime values for the CONTAINED IN argument. Records that became active exactly on the lower boundary or ceased being active exactly on the upper boundary are included.

ALWAYS ENCRYPTED  Demo  Data encypted in flight and at rest  Better than TDE, encrypted for all users, even admins.  Requires.Net 4.6! (As does SSMS 2016)  Source (MSDN Blog): encrypted-walkthru encrypted-walkthru

STRETCH DATABASE  Demo  Interesting solution to where to put that historical data without taking up valuable disk space or prolonging backups.  Queries don’t change, SQL combines local and ‘stretched’ data.  Looking forward to additional controls here.

LIVE QUERY STATISTICS  Demo  Works with debugging!

ROW LEVEL SECURITY  Demo  Already in V12 version of Azure SQL Database  Extremely customizable, granular control over data access on row by row level.  Source: Francesco Cogno Blog

DYNAMIC DATA MASKING  Demo  Already in V12 version of Azure SQL Database  Effectively protects sensitive data in application layer, not effective for admins or users with SELECT rights.

OTHER STUFF  SELECT * FROM Table FOR JSON AUTO  PolyBase  Managed Backup & Backup to Azure Improvements (Backup to Blob)  Multiple TempDBs upon install  Online ALTER COLUMN  Find out more:

GUESSES FOR NEXT CTP:  Bug fixes and feature improvements on CTP2  PowerBI functionality for onsite SQL Servers?  R for Data Analysis  Mobile Reporting?  ???

RESOURCES  Scott Klein’s Data Exposed series on Channel  SQL 2016 Home Page (datasheet, whitepapers) cloud/products/sql-server-2016/ cloud/products/sql-server-2016/  SQL 2016 – What’s New (Books Online)  Slides and link to scripts will be on SQLSaturday site and daveslog.com daveslog.com

QUESTIONS?  SPEAKERS CRAVE FEEDBACK!   Please fill out evals!