How SQL Server 2016 SP1 Changes the Game

28

Transcript of How SQL Server 2016 SP1 Changes the Game

Page 1: How SQL Server 2016 SP1 Changes the Game
Page 2: How SQL Server 2016 SP1 Changes the Game

2

About MeSenior Program Manager (SQL Tiger Team)

9 Years@talktosavjani

https://blogs.msdn.microsoft.com/sql_server_team/

https://blogs.msdn.microsoft.com/sqlreleaseservices/

http://www.sqlserverfaq.net

@mssqltiger

Page 3: How SQL Server 2016 SP1 Changes the Game

SQL Server Tiger Team

Page 4: How SQL Server 2016 SP1 Changes the Game

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:

http://db-engines.com/en/blog_post/67

Reference:

https://www.wired.com/2017/01/microsofts-old-school-database-surprise-software-hit-year/

Page 5: How SQL Server 2016 SP1 Changes the Game

₋ Announcing SQL Server on Linux – Consistent data platformToday 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

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 2014. “ – Rohan Kumar, Director of SQL Software Engineering, Microsoft

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.

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.

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

Page 6: How SQL Server 2016 SP1 Changes the Game

SQL Server Tiger Team

Page 7: How SQL Server 2016 SP1 Changes the Game

SQL Server Tiger Team

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

Page 8: How SQL Server 2016 SP1 Changes the Game

SQL Server Tiger Team

* 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.

FeatureRTM SP1

Standard Web Express Local DB Standard Web Express Local DB

Row-level security Yes No No No Yes Yes Yes Yes

Dynamic Data Masking Yes No No No Yes Yes Yes Yes

Change data capture* No No No No Yes Yes No* No*

Database snapshot No No No No Yes Yes Yes Yes

Columnstore No No No No Yes Yes Yes Yes

Partitioning No No No No Yes Yes Yes Yes

Compression No No No No Yes Yes Yes Yes

In Memory OLTP No No No No Yes Yes Yes No**

Always Encrypted No No No No Yes Yes Yes Yes

PolyBase No No No No Yes Yes Yes No

Fine grained auditing No No No No Yes Yes Yes Yes

Multiple filestream containers No No No No Yes Yes Yes No**

Page 9: How SQL Server 2016 SP1 Changes the Game

SQL Server Tiger Team

FeaturesSQL Server 2016 SP1 Enterprise

SQL Server 2016 SP1 Standard

SQL Server 2016 SP1 Web

SQL Server 2016 SP1 Express

SQL Server 2016 SP1 Developer

ScaleMaximum number of cores

Unlimited 24 cores 16 cores 4 cores Unlimited

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

Operating system max 32 GB 16 GB 352 MB Operating system max

*(NEW)Memory: Maximum in-memory data

Operating system max 32 GB 16 GB 352 MB Operating system max

Maximum database size

524 PB 524 PB 524 PB 10 GB 524 PB

SQL Server 2016 Edition Comparison Chart

Page 10: How SQL Server 2016 SP1 Changes the Game

SQL Server Tiger Team

Page 11: How SQL Server 2016 SP1 Changes the Game

SQL Server Tiger Team

(Editions limits are meant for only buffer pool memory)

Page 12: How SQL Server 2016 SP1 Changes the Game

SQL Server Tiger Team

FeaturesSQL Server 2016 SP1 Enterprise

SQL Server 2016 SP1 Standard

SQL Server 2016 SP1 Web

SQL Server 2016 SP1 Express

SQL Server 2016 SP1 Developer

ScaleMaximum number of cores

Unlimited 24 cores 16 cores 4 cores Unlimited

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

Operating system max

32 GB 16 GB 352 MB Operating system max

*(NEW)Memory: Maximum in-memory data

Operating system max

32 GB 16 GB 352 MB Operating system max

Maximum database size

524 PB 524 PB 524 PB 10 GB 524 PB

SQL Server 2016 Edition Comparison Chart

https://blogs.msdn.microsoft.com/sql_server_team/sql-server-2016-sp1-know-your-limits/

Page 13: How SQL Server 2016 SP1 Changes the Game

SQL Server Tiger Team

Features Supported by the Editions of SQL Server 2016

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

DeveloperUnlimited (OS Max of

24TB)

Unlimited (OS Max of

24TB)

EnterpriseUnlimited (OS Max of 24

TB)

Unlimited (OS Max of

24TB)

Page 14: How SQL Server 2016 SP1 Changes the Game

SQL Server Tiger Team

Features Supported by the Editions of SQL Server 2016

SQL Server 2016

SP1 Edition

Columnstore memory limit

(per instance)MAXDOP

Aggregate

pushdown

Filter

pushdown

SIMD

support

Express 256MB 1 N N N

Web 16GB 1 N N N

Standard 32GB 2 N N N

Developer Unlimited (OS Max of 24TB) Unlimited Y Y Y

Enterprise Unlimited (OS Max of 24TB) Unlimited Y Y Y

Page 15: How SQL Server 2016 SP1 Changes the Game

SQL Server Tiger Team

Page 16: How SQL Server 2016 SP1 Changes the Game

SQL Server Tiger Team

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)

Page 17: How SQL Server 2016 SP1 Changes the Game

SQL Server Tiger Team

Page 18: How SQL Server 2016 SP1 Changes the Game

SQL Server Tiger Team

Tigertools github repository

https://blogs.msdn.microsoft.com/sqlreleaseservices/sql-server-2016-sp1-known-issues/https://blogs.msdn.microsoft.com/sql_server_team/sql-server-2016-sp1-things-you-should-know/

Page 19: How SQL Server 2016 SP1 Changes the Game
Page 20: How SQL Server 2016 SP1 Changes the Game

SQL Server Tiger Team

Not supported

as production

database.

KB 3177838

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 1008002 OOM 7200 seconds* 122 seconds (60x)

Page 21: How SQL Server 2016 SP1 Changes the Game

SQL Server Tiger Team

Page 22: How SQL Server 2016 SP1 Changes the Game

SQL Server Tiger Team

Page 23: How SQL Server 2016 SP1 Changes the Game

SQL Server Tiger Team

Page 24: How SQL Server 2016 SP1 Changes the Game

SQL Server Tiger Team

• 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

Page 25: How SQL Server 2016 SP1 Changes the Game

SQL Server Tiger Team

Page 26: How SQL Server 2016 SP1 Changes the Game

SQL Server Tiger Team

https://blogs.msdn.microsoft.com/sqlreleaseservices/sql-server-2016-service-pack-1-sp1-released/

SQL Server 2016 SP1

SQL Server 2016 SP1 Feature Pack

SQL Server 2016 Service Pack 1 Release Information

Page 27: How SQL Server 2016 SP1 Changes the Game

SQL Server Tiger Team

Page 28: How SQL Server 2016 SP1 Changes the Game