Download presentation
Presentation is loading. Please wait.
Published byHenry Aldous Williamson Modified over 7 years ago
1
How SQL Server 2016 SP1 Changes the Game
© 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
2
About Me Senior Program Manager (SQL Tiger Team) 9 Years
@talktosavjani @mssqltiger
3
Agenda & Overview 2016 – A year in review for Microsoft SQL Server
Consistent Programmability Surface Area Scale and Diagnostics improvements in SQL Server 2016 SP1. Understanding SQL Server Memory allocation & limits. Performance, Scale and Availability differentiators in EE. Known issues Other Improvements
4
Microsoft SQL Server - DBMS of the Year
Microsoft SQL Server is the database management system that gained more popularity in our DB-Engines Ranking within the last year than any of the other 315 monitored systems. We thus declare Microsoft SQL Server as the DBMS of the Year 2016. Reference: Reference:
5
2016 – A year in a review for Microsoft SQL Server
Announcing SQL Server on Linux – Consistent data platform Today I’m excited to announce our plans to bring SQL Server to Linux as well. This will enable SQL Server to deliver a consistent data platform across Windows Server and Linux, as well as on-premises and cloud - Scott Guthrie, Executive VP, Cloud & Enterprise, Microsoft SQL Server 2016 Released - it just runs faster With our focused investment in performance and scale, simply upgrading to SQL 2016 could bring 25% performance improvement. SQL 2016 supports 3X more physical memory than previous versions. The new column store engine and query processing technology could increase query performance up to 100X and the new In-memory OLTP engine can process 1.25million batches/sec on a single 4 socket server, which is more than 3X of SQL “ – Rohan Kumar, Director of SQL Software Engineering, Microsoft SQL Server 2014 SP2 Released - Commitment to invest in-market releases SQL Server 2014 SP2, in addition to a rollup of released hotfixes including SQL 2014 SP1 CU7 contains 20+ improvements centered around performance, scalability and diagnostics based on the feedback from customers and SQL community. These improvements enable SQL Server 2014 to perform faster and scale out of the box on modern hardware design. It also showcases the SQL Product Team’s commitment to provide continued value into in-market releases. SQL Server 2016 SP1 Released – Consistent programmability surface area With SQL Server 2016 SP1, we are making key improvements allowing a consistent programmability surface area for developers and organizations across SQL Server editions. This will enable you to build advanced applications that scale across editions and cloud as you grow. Developers and application partners can now build to a single programming surface when creating or upgrading intelligent applications, and use the edition which scales to the application’s needs. SQL Server vNext CTP 1.1 available for download – Consistent data/tools/programmability platform Microsoft is excited to announce that the next version of SQL Server (SQL Server v.Next) Community Technology Preview (CTP) 1.1 is now available for download on both Windows and Linux
6
SQL Server 2016 SP1 - Consistent Programming Surface Area
SQL Server Express Edition SQL Server Standard Edition SQL Server Enterprise Edition SQL Server Developer Edition
7
SQL Server 2016 SP1 - Consistent Programming Surface Area
Build advanced applications to scale across editions using a single application programming surface Easier to upgrade applications with a common surface area and use editions to scale Value of EE continues to be highly differentiated for high perf/scale workloads Programmability Features In-memory OLTP Columnstore Row level security Dynamic data masking Always encrypted Performance/Availability/Operational Features Always On Availability Groups Scale limits (CPU, memory, DB size) Virtualization rights
8
Consistent Programming Surface Area
Feature RTM SP1 Standard Web Express Local DB Row-level security Yes No Dynamic Data Masking Change data capture* No* Database snapshot Columnstore Partitioning Compression In Memory OLTP No** Always Encrypted PolyBase Fine grained auditing Multiple filestream containers * Requires SQL Server Agent which is not part of SQL Server Express Editions. ** Requires creating filestream file groups which is not possible in Local DB due to insufficient permissions.
9
SQL Server 2016 SP1: New Limits
SQL Server 2016 Edition Comparison Chart Features SQL Server 2016 SP1 Enterprise SQL Server 2016 SP1 Standard SQL Server SP1 Web SQL Server 2016 SP1 Express SQL Server 2016 SP1 Developer Scale Maximum number of cores Unlimited 24 cores 16 cores 4 cores Memory: Maximum memory utilized per instance buffer pool size per instance Operating system max 128 GB 64 GB 1410 MB *(NEW) Memory: Maximum columnstore cache 32 GB 16 GB 352 MB Memory: Maximum in-memory data Maximum database size 524 PB 10 GB Windows Server 2016 supports up to 24TB RAM, 128 TB VAS, 512 logical processors (LPs) Windows Server 2012 R2 supports up to 4TB RAM, 128 TB VAS, 320 logical processors (LPs)
10
Understanding the Memory limits for lower editions of SQL Server
Before SQL Server 2012 SQL Server Buffer Pool (Single Page Allocator) Non-buffer pool allocation (CLR memory, thread stacks, Multi page allocation ) Stolen Memory (Plan Cache, Query Execution, Optimizer) Max Server Memory
11
Understanding the Memory limits for lower editions of SQL Server
SQL Server & higher SQL Server Buffer Pool (Editions limits are meant for only buffer pool memory) Columnstore In-Memory OLTP (DB1) Direct allocation In-Memory OLTP (DB2) Thread Stack Plan cache CLR Log Pool In-Memory OLTP (DB3) Max Server Memory
12
SQL Server 2016 SP1: New Limits
10/26/2017 5:43 AM SQL Server 2016 Edition Comparison Chart Features SQL Server SP1 Enterprise SQL Server SP1 Standard SQL Server SP1 Web SQL Server 2016 SP1 Express SQL Server 2016 SP1 Developer Scale Maximum number of cores Unlimited 24 cores 16 cores 4 cores Memory: Maximum memory utilized per instance buffer pool size per instance Operating system max 128 GB 64 GB 1410 MB Operating system max *(NEW) Memory: Maximum columnstore cache 32 GB 16 GB 352 MB Memory: Maximum in- memory data Maximum database size 524 PB 10 GB Windows Server 2016 supports up to 24TB RAM, 128 TB VAS, 512 logical processors (LPs) Windows Server 2012 R2 supports up to 4TB RAM, 128 TB VAS, 320 logical processors (LPs) © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
13
Max Buffer pool size per instance In-Memory OLTP quota (per DB)
10/26/2017 5:43 AM In-memory OLTP Limits (see Features Supported by the Editions of SQL Server 2016) Lower Editions: Memory limited to ¼ of the edition buffer pool memory limit Per database In-memory OLTP blog SQL Server 2016 SP1 Edition Max Buffer pool size per instance In-Memory OLTP quota (per DB) Express 1410MB 352MB Web 64GB 16GB Standard 128GB 32GB Developer Unlimited (OS Max of 24TB) Enterprise Unlimited (OS Max of 24 TB) © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
14
Columnstore memory limit (per instance)
10/26/2017 5:43 AM Columnstore Limits (see Features Supported by the Editions of SQL Server 2016) Lower Editions: Memory limited to ¼ of the edition buffer pool memory limit Per instance Columnstore blog SQL Server 2016 SP1 Edition Columnstore memory limit (per instance) MAXDOP Aggregate pushdown Filter pushdown SIMD support Express 256MB 1 N Web 16GB Standard 32GB 2 Developer Unlimited (OS Max of 24TB) Unlimited Y Enterprise Maximum degree of parallelism (DOP) = 2 in batch mode No aggregate push down operations during Columnstore scan (2-4x performance differences) No filter push down during Columnstore scan that could improve performance of queries using predicate(s) on columns to scan nodes No string filter push down during Columnstore scan that could improve performance of queries using predicate(s) on string columns to scan nodes No Single Instruction Multiple Data (SIMD) support that takes advantage of a set of hardware instructions to speed up aggregation operations © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
15
10/26/2017 5:43 AM Polybase Compute nodes can be deployed on Std, Exp, Web, but requires EE SKU for head node for scale-out Standalone instances can be any edition © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
16
Scalability and Performance in EE
10/26/2017 5:43 AM Scalability and Performance in EE Database engine Advanced R integration (parallel and streaming, non-memory bound, processing) Standalone R Server Polybase head node Master Data Services Data Quality Services Resource Governor IO Resource Governor Partition Table Parallelism NUMA Star join query optimizations Parallel query processing on partitioned tables and indexes Global batch aggregation Distributed partitioned views Online index operations Auto use of indexed views by query optimizer Parallel consistency check Utility Control Point Advanced scanning for disk-based tables Analysis Services Scalable shared databases Data Mining advanced algorithms Perspectives (MOLAP and Tabular) Multiple partitions (Tabular) Writeback dimensions (MOLAP) Proactive caching (MOLAP) Direct writeback (MOLAP) Measure expressions (MOLAP) Push-mode processing (MOLAP) DirectQuery storage mode (Tabular) Power Pivot for SharePoint integration Reporting Services Custom branding Data driven report subscription Scale our deployment (Web farms) Alerting Power View Mobile BI (Datazen) Why do I need SQL Server Enterprise edition now with so many programming features in Standard edition? Enterprise edition continues to deliver the highest levels of mission critical scalability, availability, and performance, advanced business intelligence and analytics, as well as maximum virtualization with software assurance. As an example, customers with mission critical enterprise applications and Enterprise Data Warehouses will need SQL Server Enterprise for Mission Critical high availability using Always On, to enable high-density database computing using maximum virtualization available with software assurance, and for maximum performance and scale above what is provided by Standard Edition (128GB all-up and 32GB for In-memory technologies) with up to 24TB of addressable memory and OS max processors when used with Windows Server In addition, SQL Server Enterprise supports much higher scale limits and grants special virtualization rights for volume license customers. Maximum Virtualization will continue to be a Software Assurance benefit that is only available to Enterprise Edition customers. More details are covered later in this FAQ. © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
17
Availability, Manageability and Security in EE
Always On availability groups up to 8 secondary replicas including 2 synchronous secondary replicas (Standard Edition is limited to 1 non-readable secondary) Connection director Online page and file restore Online index operations Online schema change Fast recovery Mirrored backups Hot add memory and CPU StreamInsight high availability Transparent Database Encryption Extensible key management Oracle publishing Peer to peer transactional replication Change Data Capture for Oracle Advanced Adapters for Integration Services (e.g. Oracle, Teradata, SAP BW, Analysis Services) Advanced Transforms for Integration Services
18
SQL Server 2016 SP1 – Known Issues
10/26/2017 5:43 AM SQL Server 2016 SP1 – Known Issues Uninstall Columnstore, Compression, Partition, Change Data Capture, Multiple FS Containers, and In-Memory OLTP Database may come up suspect. Workaround: restore database to EVAL, remove feature before uninstall. Script: Tigertools github repository SQL Server Reporting Services (SSRS) Secure (https/SSL) connection, displays warning or Print function may not work after installing SQL Server 2016 SP1. SQL Master Data Services (MDS) Trying to add or edit a business rule gives corrupt business rule error. ODBC Driver 13.1 ODBC Driver 13 shipped with SP1 overwrites ODBC Driver 13.1 SQL Server Releases blog © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
19
Other Improvements
20
Not supported as production database.
DBCC CLONEDATABASE DBCC CLONEDATABASE (source_database_name, target_database_name) WITH NO_STATISTICS,NO_QUERYSTORE Fast, minimally invasive and consistent. Introduced first in SQL Server 2014 SP2. Introduced & Enhanced in SQL Server 2016 SP1 with support for: CLR Objects Filestream/FileTable Objects In-Memory tables Query Store (Persisted Query Plan Store) Not supported as production database. KB Database Number of Objects SSMS sp_clonedatabase DBCC CLONEDATABASE Customer DB 20453 Scripting error 378 seconds* 33 seconds (11x) Internal MS DB 80819 OOM 1200 seconds* 24 seconds (50x) ERP DB 7200 seconds* 122 seconds (60x)
21
Performance Enhancements/Changes
Bulk insert into heaps with AUTO TABLOCK under TF 715. SQL 2016 RTM Behavior INSERT..SELECT For User tables – Parallel INSERT requires TABLOCK hint. For Local temp tables – Parallel INSERT by default. SQL 2016 SP1 Behavior INSERT..SELECT For Local temp tables – Parallel INSERT requires TABLOCK hint. TF 9495 disables parallelism in insert
22
Relational CREATE OR ALTER (KB 3190548)
Per-operator level performance stats Query_thread_profile Extended Event Query progress estimation (KB ) Lightweight query execution profiling (KB )
23
Storage engine New sql_memory_model, sql_memory_model_desc columns in DMV sys.dm_os_sys_info to allow DBAs to programmatically identify Lock Pages in Memory (LPIM) privilege to SQL Service account. New column instant_file_initialization_enabled in DMV sys.dm_server_services to allow DBAs to programmatically identify Instant File initialization (IFI) to SQL Service account. Errorlog message logged indicating number of tempdb files or if different tempdb file size or autogrow setting is found.
24
Availability Group: Latency
10/26/2017 5:43 AM Availability Group: Latency recovery_unit_harden_log_timestamps log_block_pushed_to_logpool hadr_logblock_compression hadr_log_block_decompression hadr_transport_receive_log_block_message hadr_log_block_group_commit hadr_capture_filestream_wait hadr_lsn_send_complete hadr_receive_harden_lsn_message log_flush_start log_flush_complete hadr_apply_log_block hadr_capture_log_block hadr_capture_vlfheader hadr_log_block_send_complete hadr_send_harden_lsn_message ucs_connection_send_msg Redones/sec Encryption I/Os/sec Group Commit Time Encrypted I/O bytes/sec Group Commits/Sec Decryption I/Os/sec Log Bytes Compressed/sec Decrypted I/O bytes/sec Log Compressions/sec Send Flow Control Gate Log Compression Cache misses/sec Send Flow Control Enters/sec Send Flow Control Exits/sec Log Compression Cache hits/sec Receive Flow Control Gate Log Bytes Decompressed/sec Receive Flow Control Enters/sec Log Decompressions/sec Receive Flow Control Exits/sec Database Flow Control Delay Database Flow Controls/sec SQL Server 2012 Service Pack 3, SQL Server 2014 Service Pack 2, SQL Server 2016 Service Pack 1 Video about the features working is at © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES EXPRESS IMPLIED OR STATUTORY AS TO THE INFORMATION IN THIS PRESENTATION.
25
SQL Server – Platform of choice
Cloud first engineering Consistent Data Platform on Windows, Linux, Cloud and Containers. Consistent Programmability Experience. Consistent tool experience. Investments in In-market releases driven by customer and community feedback
26
Resources SQL Server 2016 SP1 SQL Server 2016 SP1 Feature Pack
SQL Server 2016 SP1 SQL Server 2016 SP1 Feature Pack SQL Server 2016 Service Pack 1 Release Information
27
Bookmarks SQL Server Tiger Team Blog
Tiger Toolbox GitHub SQL Server Release Blog BP Check SQL Server Standards Support Trace Flags SQL Server Support lifecycle SQL Server Updates Twitter
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.