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.

Slides:



Advertisements
Similar presentations
Yukon – What is New Rajesh Gala. Yukon – What is new.NET Framework Programming Data Types Exception Handling Batches Databases Database Engine Administration.
Advertisements

Module 13: Performance Tuning. Overview Performance tuning methodologies Instance level Database level Application level Overview of tools and techniques.
new database engine component fully integrated into SQL Server 2014 optimized for OLTP workloads accessing memory resident data achive improvements.
MAKING BUSINESS INTELLIGENT DBA Delta Force SQL Server 2012 features for the DBA.
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.
XVII Encontro – 29/11/2011. Virgílio Esteves ID&T – Research & Founder of NetPonto Coimbra C# / WPF / Silverlight / XNA / Azure.
USING HADOOP & HBASE TO BUILD CONTENT RELEVANCE & PERSONALIZATION Tools to build your big data application Ameya Kanitkar.
Implementing Database Snapshot & Database Mirroring in SQL Server 2005 Presented by Tarek Ghazali IT Technical Specialist Microsoft SQL Server MVP Microsoft.
2 An Overview of SQL Server 2008 New Features Jeremy Boyd Mindscape MSDN Regional Director & MVP – SQL Server DAT302.
1099 Why Use InterBase? Bill Todd The Database Group, Inc.
Module 11: Programming Across Multiple Servers. Overview Introducing Distributed Queries Setting Up a Linked Server Environment Working with Linked Servers.
Physical Database Design Transparencies. ©Pearson Education 2009 Chapter 11 - Objectives Purpose of physical database design. How to map the logical database.
SQL Server 2016 : New Features
SQL School is strongly committed to provide COMPLETE PRACTICAL REALTIME Trainings on SQL Server Technologies – Dev, SQL DBA, MSBI (SSIS, SSAS, SSRS) and.
Martin Cairney Hybrid data platform – making the most of Azure plus your on- prem kit DAT341 B.
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
Technology Drill Down: Windows Azure Platform Eric Nelson | ISV Application Architect | Microsoft UK |
SQL Server 2016 New Innovations. Microsoft Data Platform Relational Beyond Relational On-premises Cloud Comprehensiv e Connected Choice SQL Server Azure.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
Log Shipping, Mirroring, Replication and Clustering Which should I use? That depends on a few questions we must ask the user. We will go over these questions.
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.
In-Memory OLTP The faster is now simpler in SQL Server 2016.
Warwick Rudd | Principal Consultant – consulting.com.au #456 | Auckland 2015 Mission Critical SQL Server.
SQL Server 2016 – New Features Tilahun Endihnew March 12, 2016.
SQL Server 2016 Mohit K. Gupta | Microsoft SQL Server PFE.
SAP Tuning 실무 SK㈜ ERP TFT.
SQL 2016 – WHAT’S NEW? David Cobb Daveslog.com.
SQL Server 2016 Security Features Marek Chmel Microsoft MVP: Data Platform Microsoft MCT: Regional Lead MCSE: Data Platform Certified Ethical Hacker.
Improve query performance with the new SQL Server 2016 query store!! Michelle Gutzait Principal Consultant at
SQL Server 2016 editions – what’s new Express Mission critical performance SecurityData warehousing Business intelligence Advanced Analytics Hybrid cloud.
You Inherited a Database Now What? What you should immediately check and start monitoring for. Tim Radney, Senior DBA for a top 40 US Bank President of.
STANDARD EDITION USEFUL FEATURES FOR THE REST OF US?
FUN WITH AVAILABILITY GROUPS Christopher Wolff SQL Server Database Engineer, Xero.
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
New BI Features SQL 2016 New features of SQL 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.
HDC: SQL Server 2016 New Features & Demos. Phil Brammer
You Inherited a Database Now What?
In-Memory Capabilities
Data Platform and Analytics Foundational Training
System Center Marketing
Thank You! #sqlsatdnipro Denis
UFC #1433 In-Memory tables 2014 vs 2016
Planning an Effective Upgrade from SQL Server 2008
A Technical Overview of Microsoft® SQL Server™ 2005 High Availability Beta 2 Matthew Stephen IT Pro Evangelist (SQL Server)
Taking your application to memory
Design Seamless Upgrades to SQL Server 2016 with Query Store
Contained DB? Did it do something wrong?
Auditing in SQL Server 2008 DBA-364-M
Working with Very Large Tables Like a Pro in SQL Server 2014
Migrating a Disk-based Table to a Memory-optimized one in SQL Server
Universal SQL Installations Framework (Script review and Demo)
Taking your application to memory
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
SQL Server 2016 Query Data Store
Transact SQL Performance Tips
Stretch Database - Historical data storage in SQL Server 2016
It’s TEMPDB Why Should You Care?
Unleashing Stretched Databases
Working with Very Large Tables Like a Pro in SQL Server 2017
Designing Database Solutions for SQL Server
Presentation transcript:

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 OLTP Enhancements  Always Encrypted  Query Store and Live Query Statistics  Row-Level Security  Stretch Database  AlwaysOn Enhancements

UNIQUE AND NOT DULLwww.MyGareth.com Agenda (cont) New Features in SQL Server 2016  PolyBase  JSON Support  TempDB enhancements  References

UNIQUE AND NOT DULLwww.MyGareth.com Gareth Swanepoel From South Africa originally Been in IT for 25+ years Was first a sysadmin, then a DBA Sr. Data Platform & BI Consultant with Pragmatic Works Author - SQL 2012 Pro Admin Speaker – SQL User Groups, SQL Saturdays, SQL PASS Summit, webinars Twitter Website :

UNIQUE AND NOT DULLwww.MyGareth.com

UNIQUE AND NOT DULLwww.MyGareth.com General Enhancements  Advanced Analytics (RRE integration)  Data Exploration and Predictive Modeling with R over SQL Server data  Operationalizing your R code using T-SQL  Transactional replication from SQL Server to Azure SQL DB  Per Session Wait Statistics  sys.dm_exec_session_wait_stats (instance level – sys.dm_os_wait_stats)  Instant File Initialisation configuration during initial setup  Enhanced backup to Azure

UNIQUE AND NOT DULLwww.MyGareth.com In-memory OLTP Enhancements Feature/LimitSQL Server 2014SQL Server 2016 Maximum size of durable table256 GB2 TB LOB (varbinary(max), [n]varchar(max))Not supportedSupported* Transparent Data Encryption (TDE)Not supportedSupported Offline Checkpoint Threads11 per container ALTER PROCEDURE / sp_recompileNot supportedSupported (fully online) Nested native procedure callsNot supportedSupported Natively-compiled scalar UDFsNot supportedSupported ALTER TABLE Not supported Not supported (DROP / re-CREATE) Partially supported (offline – details below) DML triggersNot supported Partially supported (AFTER, natively compiled) Indexes on NULLable columnsNot supportedSupported Non-BIN2 collations in index key columnsNot supportedSupported Non-Latin codepages for [var]char columnsNot supportedSupported Non-BIN2 comparison / sorting in native modulesNot supportedSupported Foreign KeysNot supportedSupported Check/Unique ConstraintsNot supportedSupported ParallelismNot supportedSupported OUTER JOIN, OR, NOT, UNION [ALL], DISTINCT, EXISTS, INNot supportedSupported Multiple Active Result Sets (MARS) (Means better Entity Framework support.) Not supportedSupported SSMS Table DesignerNot supportedSupported

UNIQUE AND NOT DULLwww.MyGareth.com Always Encrypted  Protects data at rest and in motion  Encryption key resides with the application  Encryption and Decryption are transparent & happen on application side  Always Encrypted Driver -.NET Framework 4.6

UNIQUE AND NOT DULLwww.MyGareth.com Always Encrypted  Encryption is at the column level, rather than at the database level  Feature-based restrictions:  Temporal tables  Triggers are partially supported  Full-text search  Replication  Change Data Capture  In-memory OLTP  Stretch database

UNIQUE AND NOT DULLwww.MyGareth.com  Flight data recorder (black box) for your database  Query store retains multiple execution plans per query  Collects query text along with all relevant properties  Two stores:  Plan store – persisting execution plan information AND metrics  Runtime statistics store – persisting the statistics information  Catalog views: sys.query_store_plan, sys.query_store_query, sys.query_store_query_text Query Store

UNIQUE AND NOT DULLwww.MyGareth.com  Easily find & fix plan regression  Pinpoint the most expensive queries  Minimise SQL Server upgrade risks  Analyse workload patterns With query store, you can ….

UNIQUE AND NOT DULLwww.MyGareth.com  Regressed Queries  Overall Resource Consumption  Top Resource Consuming Queries  Tracked Queries Query Store Views

UNIQUE AND NOT DULLwww.MyGareth.com Regressed Queries

UNIQUE AND NOT DULLwww.MyGareth.com Top Resource Consumers

UNIQUE AND NOT DULLwww.MyGareth.com Live Query Statistics  Include Live Query Statistics

UNIQUE AND NOT DULLwww.MyGareth.com Live Query Plan

UNIQUE AND NOT DULLwww.MyGareth.com Activity Monitor

UNIQUE AND NOT DULLwww.MyGareth.com Row-Level Security  Row level access control  Based on user’s group membership or execution context  Restriction logic located at the DB tier rather than at the app tier  Optimizer automatically applies predicate function to queries  Security Predicates:  Filter  Block  Steps:  Create predicate function  Create security policy to bind function to table(s)

UNIQUE AND NOT DULLwww.MyGareth.com Stretch Database  Leverages Azure to store and query archive data  Archives data transparently and securely  Reduced cost, performance gains against current (on-premises) data  Can join across local and remote data  User code will still point to SQL on-premises instance  Run the Stretch Database Advisor EXEC sys.sp_configure N'remote data archive', '1';

UNIQUE AND NOT DULLwww.MyGareth.com Stretch Database

UNIQUE AND NOT DULLwww.MyGareth.com Stretch DB Limitations (CTP 3.0)  Memory-optimized and replicated tables  Tables that contain FILESTREAM data, use Change Tracking or Change Data Capture  Data types such as timestamp, sql_variant, XML, geography or columns that are Always Encrypted  Check, default, or foreign key constraints that reference the table  XML, full-text, spatial, clustered columnstore indexes and indexed views  UPDATE or DELETE statements, CREATE INDEX or ALTER INDEX operations  Limitations:

UNIQUE AND NOT DULLwww.MyGareth.com  Distributed Transaction Coordinator support  Load Balancing for Readable Secondaries  Additional synchronous failover targets – up to 3  Optional setting to fail over based on database failure  Group Managed Service Accounts are fully supported  Improved log transport performance AlwaysOn Enhancements

UNIQUE AND NOT DULLwww.MyGareth.com PolyBase  Introduced in PDW v2  Use T-SQL to access data in Hadoop  Configuration:  Install PolyBase  Choose Hadoop or Azure using sp_configure  Create external data source and file format in SQL  Create external table to reference the data HDFS SQL 2016 Hadoop Results7 2 Map job 5 HDFS blocks DB SQL1 MapReduce

UNIQUE AND NOT DULLwww.MyGareth.com JSON Support  JSON - JavaScript Object Notation.  JSON support is one of the highest ranked requests by customers.  JSON is used primarily to transmit data between a server and web application, as an alternative to XML.  JSON is used in a majority of Web APIs and is growing significantly.  CTP2 – FOR JSON [PATH | AUTO]  CTP3 – OPENJSON, IsJSON ( ), JSON_Value ()

UNIQUE AND NOT DULLwww.MyGareth.com TempDB Enhancements  Trace Flags 1117 & 1118 not required  Setup adds TempDB files = CPU count or 8, whichever is lower  Default initial size is 8MB and the default autogrowth is 64MB  Multiple volumes for TempDB files  Configure TempDB during initial setup

UNIQUE AND NOT DULLwww.MyGareth.com  Microsoft SQL Server 2016 Product Page:  Always Encrypted:  Tim Radney - Introduction to Stretch Database:  SQL Server Query: https://channel9.msdn.com/Shows/Data-Exposed/Query-Store-in-SQL-Server References

UNIQUE AND NOT DULLwww.MyGareth.com  Row-Level Security:  Stretch Database:  PolyBase in SQL Server 2016:  Aaron Bertrand - SQL Server 2016 Advanced JSON Techniques: techniques--part-1/ techniques--part-1/  Klaus Aschenbrenner - TempDB Changes in SQL Server 2016: References

UNIQUE AND NOT DULLwww.MyGareth.comServices Speed development through training and rapid development services from Pragmatic Works.Products BI products to convert to a Microsoft BI platform and simplify development on the platform. Foundation Helping those who do not have the means to get into information technology and to achieve their dreams. Twitter Website : Thanks