Nordic infrastructure Conference 2017 - SQL Server on Linux Overview

34

Transcript of Nordic infrastructure Conference 2017 - SQL Server on Linux Overview

Page 1: Nordic infrastructure Conference 2017 - SQL Server on Linux Overview
Page 2: Nordic infrastructure Conference 2017 - SQL Server on Linux Overview

SQL Server on Linux Overview

Page 3: Nordic infrastructure Conference 2017 - SQL Server on Linux Overview

SQL Server v.Next

Travis WrightPrincipal Program Manager

Presenter

Travis Wright
Add presenters section here. Presenters Debbi Lyons(Senior PMM), Travis Wright (Principal PM)
Page 4: Nordic infrastructure Conference 2017 - SQL Server on Linux Overview

SQL Server on Linux Agenda

• Why SQL Server on Linux?• Scope• Architecture• Demos• Schedule• How to get involved

Page 5: Nordic infrastructure Conference 2017 - SQL Server on Linux Overview

Businesses are embracing choice 101

001010010

{ }

T-SQLJavaC/C++C#/VB.NET

PHPNode.jsPythonRuby

Heterogenous environments

Multiple data types

Differentdevelopment languages

On-premises, cloud, and hybrid

environments

Page 6: Nordic infrastructure Conference 2017 - SQL Server on Linux Overview

Microsoft is delivering on choice

SQL Server on Linux

HDInsight on Linux

R Server on Linux

Linux in Azure

SQL Server drivers and connectivity

Visual Studio Code extension for SQL Server

Python, Ruby, …

NEW

Page 7: Nordic infrastructure Conference 2017 - SQL Server on Linux Overview

1/12th the cost of Oracle

National Institute of Standards and Technology Comprehensive Vulnerability Database update 12/2016.

Best price/performance

Everything built-in

Highest performing data warehouse

Most secure database

Best TCO Most consistent experience

On-premises to cloud #1 performance

TPC-H

Oracle is #5#2

SQL Server

#1

SQL Server

#3

SQL Server

The power of SQL ServerEverything built-in

June 2016SQL Server 2016

TPC-E

7 years in a rowleast vulnerable

2010 2011 2012 2013 2014 2015 20160

10

20

30

40

50

60

70

80

0 1 40 0 3 0

3429

2215

5

2216

6

43

20

69

18

49

74

3

SQL Server

Oracle

MySQL2

SAP HANA

1/12

Page 8: Nordic infrastructure Conference 2017 - SQL Server on Linux Overview

Only data solution to encrypt your data at rest and in motion

Connect your relational data to big data with PolyBase

Real-time operational analytics without impacting performance

Up to 30x faster transactions, 100x faster queries with InMemory

Unparalleled choice for developer tools and languages

1 T-SQLJavaC/C++C#/VB.NET

PHPNode.jsPythonRuby

For all your applicationsInnovations across all editions

Available nowSQL Server 2016 SP1

Page 9: Nordic infrastructure Conference 2017 - SQL Server on Linux Overview

On the platform of your choiceSQL Server v.Next

Targeting CY2017SQL Server v.Next GA*

*SQL Server v.Next Public Preview available now on Linux, Windows, and Docker.

Page 10: Nordic infrastructure Conference 2017 - SQL Server on Linux Overview

• Buying a SQL Server license—per-server or per-core—grants the option to use it on Windows Server or Linux

• Same set of editions on Linux: Developer, Express, Standard, Web, Enterprise

• Previews are free to download and use in a non-production capacity

LICENSE

LicensingSame license, new choice

Page 11: Nordic infrastructure Conference 2017 - SQL Server on Linux Overview

Stay ahead of the competition with the latest innovationsBe future-ready with Software Assurance

TODAY vNEXT v∞

Always have access to the latest New Version Rights• Improve productivity with

the latest technologies• Lower the cost of acquiring

new product versions• Simplify licensing, budgeting

and administration

Page 12: Nordic infrastructure Conference 2017 - SQL Server on Linux Overview

Scope

Page 13: Nordic infrastructure Conference 2017 - SQL Server on Linux Overview

WindowsPublic Preview

on LinuxLinux GA

Editions Developer, Express, Web, Standard, Enterprise Preview

ServicesDatabase Engine R Services, Integration Services, Analysis Services, Reporting Services, MDS, DQS

Mission critical performance

Maximum number of cores Unlimited TBD TBD

Maximum memory utilized per instance 12 TB TBD TBD

Maximum database size 524 PB TBD TBD

Basic OLTP (Basic In-Memory OLTP, Basic operational analytics) Advanced OLTP (Advanced In-Memory OLTP, Advanced operational analytics) Basic high availability (2-node single database failover, non-readable secondary) Advanced HA (Always On - multi-node, multi-db failover, readable secondaries)

SecurityBasic security (Basic auditing, Row-level security, Data masking, Always Encrypted)

Advanced security (Transparent Data Encryption)

Data warehousing

PolyBase2 Basic data warehousing/data marts (Basic In-Memory ColumnStore, Partitioning, Compression)

Advanced data warehousing (Advanced In-Memory ColumnStore) Advanced data integration (Fuzzy grouping and look ups)

ToolsWindows ecosystem: Full-fidelity Management & Dev Tool (SSMS & SSDT), command line tools Linux/OSX/Windows ecosystem: Dev tools (VS Code), DB Admin GUI tool, command line tools

Developer Programmability (T-SQL, CLR, Data Types, JSON) Windows Filesystem Integration - FileTable

BI & Advanced Analytics

Basic Corporate Business Intelligence (Multi-dimensional models, Basic tabular model)

Basic “R” integration (Connectivity to R Open, Limited parallelism for ScaleR)

Advanced “R” integration (Full parallelism for ScaleR) Hybrid cloud Stretch Database

What’s coming in SQL Server on Linux

Page 14: Nordic infrastructure Conference 2017 - SQL Server on Linux Overview

Programming Features• Support for RHEL, SUSE, Ubuntu, Docker• Package based installs, Docker image• Support for Open Shift, Docker Swarm• Failover Clustering through Pacemaker• Backup/Restore• Replication• Log Shipping• Transparent Data Encryption• SCOM Management Pack• DMVs• Always On Availability Groups (coming in February)• SQL Agent (coming in February)• Full Text Search (coming in February)

Operations Features• All major language driver compatibility• In memory OLTP and ColumnStore• Compression• Always Encrypted, Row Level Security, and Data

Masking• Service Broker• Change Data Capture• Partitioning• Auditing• Common Language Runtime (CLR) - .NET

Framework• JSON, XML

What’s working already?

…and more!

Page 15: Nordic infrastructure Conference 2017 - SQL Server on Linux Overview

What’s coming in SQL Server vNextSupported platforms

Linux Containers

Windows

Windows Server

• RedHat Enterprise Linux (RHEL) 7.3• SUSE Enterprise Linux (SLES) v12

SP2• Ubuntu 16.04, 16.10• Possibly other Linux distributions• Docker: Windows & Linux

containers• Windows Server / Windows 10

• Package based installationExample: yum install mssql-server

Matthew Burrows
Discuss installation process + links to installation process
Matthew Burrows
Package-based installers (APT-GET, YUM, etc.)
Matthew Burrows
Speaker notes; very quick install
Page 16: Nordic infrastructure Conference 2017 - SQL Server on Linux Overview

What’s coming in SQL Server vNext for LinuxTools and programmability

• Windows-based SQL Server tools like SSMS, SSDT, Profiler work when connected to SQL Server on Linux

• 3rd party tools continue to work

• Native command line tools: sqlcmd, bcp, sqlpackage

• Visual Studio Code extension

• New cross-platform DB admin GUI tool (planned)

• All existing drivers and frameworks supported

Page 17: Nordic infrastructure Conference 2017 - SQL Server on Linux Overview

Demo – Getting Started

Page 18: Nordic infrastructure Conference 2017 - SQL Server on Linux Overview

Goal: SQL Server on Linux supports the same enterprise-grade security capabilities that customers rely on with SQL Server on Windows. All built in.

SQL Control Access  Database access SQL Authentication

Active Directory AuthenticationGranular Permissions

Application access Row-Level Security Dynamic Data Masking

Monitor AccessTracking activities Fine-Grained Audit

Protect Data Encryption at rest Transparent Data Encryption

Backup EncryptionCell-Level Encryption

Encryption in transit Transport Layer Security (SSL/TLS)Encryption in use (client) Always Encrypted

Protect Data Encryption at rest Transparent Data Encryption

Backup EncryptionCell-Level Encryption

Encryption in transit Transport Layer Security (SSL/TLS)*Encryption in use (client) Always Encrypted

Control Access  Database access SQL Authentication

Active Directory Authentication*Granular Permissions

Application access Row-Level Security Dynamic Data Masking

What’s coming in SQL Server vNext for LinuxSecurity

*In progress

Page 19: Nordic infrastructure Conference 2017 - SQL Server on Linux Overview

What’s coming in SQL Server vNext for LinuxHigh availability and disaster recovery

• Resilience against guest & OS level failures

• Planned & unplanned events• Minimum downtime for

patching and upgrades• Minutes RTO

Simple HADRVM Failure

• Protection against accidental or malicious data corruption

• DR protection• Minutes to hours RTO

Backup/Restore

• Instance level protection• Automatic failure detection

& failover• Seconds to minutes RTO• Resilience against OS and

SQL Server failures

Standard HADRFailover Cluster

• AG with 2 replicasBasic Availability Groups*

• Warm standbys for DRLog Shipping*

• Database level protection• Seconds RTO• No data loss• Recover from unplanned

outage• No downtime for planned

maintenance• Offload read/backup

workload to active secondaries

• Failover to geographically distributed secondary site

Availability Groups*

Mission-Critical HADR

*In progress

Page 20: Nordic infrastructure Conference 2017 - SQL Server on Linux Overview

Solution

Backups

Sync LogSynchronization

Async Log Synchronization

HADR

Reports

Linux Clustering

Linux Clustering

Linux Clustering

Linux Clustering

WSFC

WSFCWSFC

WSFC

HADR with Always On Availability GroupsMission critical application using SQL ServerProblem

Page 21: Nordic infrastructure Conference 2017 - SQL Server on Linux Overview

Async Log Synchronization

S3 S1 P

S2S4

SolutionRead Scale with Always On Availability GroupsHigh concurrent read volume application

Problem

Page 22: Nordic infrastructure Conference 2017 - SQL Server on Linux Overview

Sync LogSynchronization

Async Log Synchronization

HALinux

Clustering

WSFC

WSFC

Linux Clustering

HA

SolutionMinimum downtime with Always On Availability GroupsMigrate application from SQL Server on Windows to

LinuxISV application certification on SQL Server on Linux

Problems

Page 23: Nordic infrastructure Conference 2017 - SQL Server on Linux Overview

HADR Roadmap on LinuxCTP1 By CTP2

High AvailabilityVM w/ durable storage ● ●Failover Clustering ● ●Always On Availability Groups ○ In

Progress●

Disaster RecoveryBackup & Restore ● ●Log shipping ○ In

Progress●

Always On Availability Groups ○ In Progress

MigrationAlways On Availability Groups ○ In

Progress●

Page 24: Nordic infrastructure Conference 2017 - SQL Server on Linux Overview

Demo – Failover Clustering

Page 25: Nordic infrastructure Conference 2017 - SQL Server on Linux Overview

Architecture

Page 26: Nordic infrastructure Conference 2017 - SQL Server on Linux Overview

System Architecture

SQL Platform Abstraction Layer (SQLPAL)

RDBMS IS AS RS

Windows Linux

WindowsHost Ext.

Linux Host

Extension

SQL Platform Abstraction Layer(SQLPAL)

Win32-like APIs

Host Extension mapping to OS system calls

(IO, Memory, CPU scheduling)

SQL OS API

SQL OS v2

Everything else

System Resource & Latency

Sensitive Code Paths

Page 27: Nordic infrastructure Conference 2017 - SQL Server on Linux Overview

Demo - Performance

Page 28: Nordic infrastructure Conference 2017 - SQL Server on Linux Overview

SQL Server v.Next Timeline

3/2016Announce and private preview

11/2016Public Preview @ Connect()

Targeting CY2017GA

Monthly releases

CTP2 – production support for EAP

Page 29: Nordic infrastructure Conference 2017 - SQL Server on Linux Overview

ISVs, service providers and hosters with customers in EAP will also be added to EAP so they can participate there.

• Direct access to engineering team via PM buddy and Yammer group

• Visibility into roadmap• Provide feedback and input into design of new features and functionality

• Full production support from Microsoft Support via special support channel

• License amendment to allow running vNext in production prior to GA

• Release to release upgrade support

• Real world usage of SQL Server in production to verify quality, scale and performance

• Discover bugs• Discover issues preventing customer adoption in production

• Document customer evidence

• NDA• Sign license agreement amendment

• Complete pre-deployment questionnaire

• Meet with Microsoft Support

Customer Benefits

Microsoft Goals Requirements

SQL Server Early Adoption Program

Page 30: Nordic infrastructure Conference 2017 - SQL Server on Linux Overview

Developing new applications on LinuxChoose your pathDeploy your

applicationChoose your development environment

Upgrade to SQL Server v.Next

Easily upgrade to SQL Server v.Next GAUse simple backup and restore from Windows to Linux

Easily upgrade to SQL Server v.Next GAGo-live

SQL Server 2016 on Windows Deploy today and easily migrate to v.Next

SQL Server v.Next CTP Test your app today and go live close to GA with the Early Adoption Program

OR

macOS

Page 31: Nordic infrastructure Conference 2017 - SQL Server on Linux Overview

Migrate to SQL Server v.NextGet free SQL Server licenses today when you migrate!*

Use migration tools and partners

Identify appsfor migration

Run SQL Server v.Next

Deploy to production

SQL Server Migration Assistant

Global partner ecosystem

Oracle

Sybase

DB2

AND OR

Easily upgrade to SQL Server v.Next GAUse simple backup and restore from Windows to Linux

Easily upgrade to SQL Server v.Next GA Go-live

SQL Server 2016 on Windows Deploy today and easily migrate to v.Next

SQL Server v.Next CTPTest your app today and go live close to GA with the Early Adoption Program

*Software Assurance subscription required. Some restrictions may apply. Limited time offer—free training and subsidized deployment services available until December 31, 2016. https://www.microsoft.com/en-us/sql-server/sql-license-migration

Page 32: Nordic infrastructure Conference 2017 - SQL Server on Linux Overview

Download the bitshttp://sqlserveronlinux.com

Apply to join the SQL Early Adoption Programhttps://aka.ms/eapsignup

Page 33: Nordic infrastructure Conference 2017 - SQL Server on Linux Overview

Additional Resources• Code Projects shown in demos today:

• https://github.com/twright-msft/dotnet-mssql-connect• https://github.com/twright-msft/example-voting-app• https://github.com/twright-msft/columnstore-demo • Benchmarking tool – coming soon!

• Get started programming with SQL Server• http://aka.ms/sqldev

• Training videos and certifications• http://aka.ms/nicconf

• Join us in the community• Reddit.com/r/sqlserver• Stack Overflow – tag: sql-server• Twitter - @SQLServer, #SQLServer• Connect.microsoft.com for feature requests and bug reports

Page 34: Nordic infrastructure Conference 2017 - SQL Server on Linux Overview

© 2016 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.