Introduction to SQL Server on
Red Hat Enterprise Linux and Open
Shift
Travis Wright
Principal Program Manager
May 3, 2017
Most secure database over the last 7 years
Highest performing data warehouse
End-to-end mobile BI at a fraction of the cost
In-database Advanced Analytics
An industry leader four years in a row
SQL Server 2016Everything Built-in
This graphic was published by Gartner, Inc. as part of a larger research document and should be
evaluated in the context of the entire document. The Gartner document is available upon request.
Gartner does not endorse any vendor, product or service depicted in its research publications, and
does not advise technology users to select only those vendors with the highest ratings or other
designation. Gartner research publications consist of the opinions of Gartner's research organization
and should not be construed as statements of fact. Gartner disclaims all warranties, expressed or
implied, with respect to this research, including any warranties of merchantability or fitness for a
particular purpose.
Most secure database over the last 7 years
Highest performing data warehouse
End-to-end mobile BI at a fraction of the cost
In-database Advanced Analytics
0
20
40
60
80
100
120
140
160
180
200
Vulnerabilities(2010-2016)
An industry leader four years in a row
SQL Server 2016Everything Built-in
Most secure database over the last 7 years
Highest performing data warehouse
End-to-end mobile BI at a fraction of the cost
In-database Advanced Analytics
non-clustered results
An industry leader four years in a row
#1
SQL Server 2016Everything Built-in
Most secure database over the last 7 years
Highest performing data warehouse
End-to-end mobile BI at a fraction of the cost
In-database Advanced Analytics
An industry leader four years in a row
SQL Server 2016Everything Built-in
Highest performing data warehouse
End-to-end mobile BI at a fraction of the cost
In-database Advanced Analytics
1 Million
PREDICTIONS/SEC
An industry leader four years in a row
Most secure database over the last 7 years
SQL Server 2016Everything Built-in
Combining the best of databases & analytics
OLTP DW BI Analytics
Powering the
largest survey of the
Universe (SkyServer)
Leading breakthroughs
in cancer research
Helping increase
crop yield
Businesses
are embracing
choice 1010
0101
0010
{ }
T-SQL
Java
C/C++
C#/VB.NET
PHP
Node.js
Python
Ruby
Heterogenous
environments
Multiple data types
Different
development languages
On-premises, cloud,
and hybrid environments
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, …
20,000 applications for the SQL Server on Linux private
preview program, including more than 55% of Fortune
500 companies.
NEW
1/3 of VMs in Azure are on Linux
SQL Server 2017
Run on Linux & Docker
Support for Graph queries to analyze complex relationships
Advanced Machine Learning with R & Python
Adaptive query processing learns & optimizes for unparalleled performance
SQL Server
2017
Announcing
System Architecture
SQL Platform Abstraction Layer
(SQLPAL)
DB
Engine
IS AS RS
Windows Linux
Windows
Host 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
Windows Linux GA
Developer, Express, Web, Standard, Enterprise  
Database Engine  
R Services, Integration Services, Analysis Services, Reporting Services, MDS, DQS 
Maximum number of cores Unlimited TBD
Maximum memory utilized per instance 12 TB TBD
Maximum database size 524 PB 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)  
Security
Basic 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) 
Tools
Windows 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
Programming Features
• Support for RHEL, SUSE, Ubuntu, Docker
• Package based installs, Docker image
• Support for Open Shift, Kubernetes, Docker Swarm, DC/OS
• Failover Clustering through Pacemaker
• Backup/Restore
• SSMS on Windows connected to Linux
• Command line tools: sqlcmd, bcp, sqlpackage
• SQL Server Agent
• Replication
• Log Shipping
• Transparent Data Encryption
• SCOM Management Pack
• DMVs
• Full Text Search
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
• CLR
• JSON, XML
• Third party tools
What’s working already?
…and more!
SQL Control Access
Database access SQL Authentication
Active Directory Authentication
Granular Permissions
Application access Row-Level Security
Dynamic Data Masking
Monitor Access
Tracking activities Fine-Grained Audit
Protect Data
Encryption at rest Transparent Data Encryption
Backup Encryption
Cell-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 Encryption
Cell-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 2017for Linux
Security
*In progress
What’s coming in SQL Server 2017 for Linux
High availability and disaster recovery
• Resilience against guest &
OS level failures
• Planned & unplanned events
• Minimum downtime for
patching and upgrades
• Minutes RTO
Simple HADR
VM 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 HADR
Failover Cluster
• AG with 2 replicas
Basic Availability Groups
• Warm standbys for DR
Log 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
Tools and programmability
Demos
Road Ahead
SQL Server 2017 Timeline
3/2016
Announce and
private preview
11/2016
Public Preview
@ Connect()
Targeting
2H CY2017
General Availability
Monthly releases
CTP2 – production support for EAP
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 2017 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
Download the bits
www.sqlserveronlinux.com
Apply to join the
SQL Early Adoption Program
https://aka.ms/eapsignup
Resources
RHEL-based SQL Server container Dockerfile
https://github.com/twright-msft/mssql-server-rhel
Example voting application
https://github.com/twright-msft/example-voting-app
JBoss Day Trader application
https://github.com/twright-msft/jboss-daytrader
Install SQL Server on RHEL
https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-
setup-red-hat
SQL Server Developer Tutorials
http://aka.ms/sqldev
Early Adoption Program Info and Sign up
http://aka.ms/eapsignup
Red Hat Product Demo System – Available Now!
• SQL Server
• .NET Core
http://rhpds.redhat.com
Benchmark blog post
http://rhelblog.redhat.com/2017/04/19/microsoft-red-hat-hpe/
THANK YOU
plus.google.com/+RedHat
linkedin.com/company/red-hat
youtube.com/user/RedHatVideos
facebook.com/redhatinc
twitter.com/RedHatNews
Red Hat Summit 2017 - Intro to SQL Server on RHEL and Open Shift

Red Hat Summit 2017 - Intro to SQL Server on RHEL and Open Shift

  • 1.
    Introduction to SQLServer on Red Hat Enterprise Linux and Open Shift Travis Wright Principal Program Manager May 3, 2017
  • 3.
    Most secure databaseover the last 7 years Highest performing data warehouse End-to-end mobile BI at a fraction of the cost In-database Advanced Analytics An industry leader four years in a row SQL Server 2016Everything Built-in This graphic was published by Gartner, Inc. as part of a larger research document and should be evaluated in the context of the entire document. The Gartner document is available upon request. Gartner does not endorse any vendor, product or service depicted in its research publications, and does not advise technology users to select only those vendors with the highest ratings or other designation. Gartner research publications consist of the opinions of Gartner's research organization and should not be construed as statements of fact. Gartner disclaims all warranties, expressed or implied, with respect to this research, including any warranties of merchantability or fitness for a particular purpose.
  • 4.
    Most secure databaseover the last 7 years Highest performing data warehouse End-to-end mobile BI at a fraction of the cost In-database Advanced Analytics 0 20 40 60 80 100 120 140 160 180 200 Vulnerabilities(2010-2016) An industry leader four years in a row SQL Server 2016Everything Built-in
  • 5.
    Most secure databaseover the last 7 years Highest performing data warehouse End-to-end mobile BI at a fraction of the cost In-database Advanced Analytics non-clustered results An industry leader four years in a row #1 SQL Server 2016Everything Built-in
  • 6.
    Most secure databaseover the last 7 years Highest performing data warehouse End-to-end mobile BI at a fraction of the cost In-database Advanced Analytics An industry leader four years in a row SQL Server 2016Everything Built-in
  • 7.
    Highest performing datawarehouse End-to-end mobile BI at a fraction of the cost In-database Advanced Analytics 1 Million PREDICTIONS/SEC An industry leader four years in a row Most secure database over the last 7 years SQL Server 2016Everything Built-in
  • 8.
    Combining the bestof databases & analytics OLTP DW BI Analytics
  • 9.
    Powering the largest surveyof the Universe (SkyServer) Leading breakthroughs in cancer research Helping increase crop yield
  • 10.
    Businesses are embracing choice 1010 0101 0010 {} T-SQL Java C/C++ C#/VB.NET PHP Node.js Python Ruby Heterogenous environments Multiple data types Different development languages On-premises, cloud, and hybrid environments
  • 11.
    Microsoft is delivering on choice SQLServer 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, … 20,000 applications for the SQL Server on Linux private preview program, including more than 55% of Fortune 500 companies. NEW 1/3 of VMs in Azure are on Linux
  • 12.
    SQL Server 2017 Runon Linux & Docker Support for Graph queries to analyze complex relationships Advanced Machine Learning with R & Python Adaptive query processing learns & optimizes for unparalleled performance SQL Server 2017 Announcing
  • 13.
    System Architecture SQL PlatformAbstraction Layer (SQLPAL) DB Engine IS AS RS Windows Linux Windows Host 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
  • 15.
    Windows Linux GA Developer,Express, Web, Standard, Enterprise   Database Engine   R Services, Integration Services, Analysis Services, Reporting Services, MDS, DQS  Maximum number of cores Unlimited TBD Maximum memory utilized per instance 12 TB TBD Maximum database size 524 PB 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)   Security Basic 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)  Tools Windows 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
  • 16.
    Programming Features • Supportfor RHEL, SUSE, Ubuntu, Docker • Package based installs, Docker image • Support for Open Shift, Kubernetes, Docker Swarm, DC/OS • Failover Clustering through Pacemaker • Backup/Restore • SSMS on Windows connected to Linux • Command line tools: sqlcmd, bcp, sqlpackage • SQL Server Agent • Replication • Log Shipping • Transparent Data Encryption • SCOM Management Pack • DMVs • Full Text Search 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 • CLR • JSON, XML • Third party tools What’s working already? …and more!
  • 17.
    SQL Control Access Databaseaccess SQL Authentication Active Directory Authentication Granular Permissions Application access Row-Level Security Dynamic Data Masking Monitor Access Tracking activities Fine-Grained Audit Protect Data Encryption at rest Transparent Data Encryption Backup Encryption Cell-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 Encryption Cell-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 2017for Linux Security *In progress
  • 18.
    What’s coming inSQL Server 2017 for Linux High availability and disaster recovery • Resilience against guest & OS level failures • Planned & unplanned events • Minimum downtime for patching and upgrades • Minutes RTO Simple HADR VM 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 HADR Failover Cluster • AG with 2 replicas Basic Availability Groups • Warm standbys for DR Log 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
  • 19.
  • 20.
  • 21.
  • 22.
    SQL Server 2017Timeline 3/2016 Announce and private preview 11/2016 Public Preview @ Connect() Targeting 2H CY2017 General Availability Monthly releases CTP2 – production support for EAP
  • 23.
    ISVs, service providersand 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 2017 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
  • 24.
    Download the bits www.sqlserveronlinux.com Applyto join the SQL Early Adoption Program https://aka.ms/eapsignup
  • 25.
    Resources RHEL-based SQL Servercontainer Dockerfile https://github.com/twright-msft/mssql-server-rhel Example voting application https://github.com/twright-msft/example-voting-app JBoss Day Trader application https://github.com/twright-msft/jboss-daytrader Install SQL Server on RHEL https://docs.microsoft.com/en-us/sql/linux/sql-server-linux- setup-red-hat SQL Server Developer Tutorials http://aka.ms/sqldev Early Adoption Program Info and Sign up http://aka.ms/eapsignup Red Hat Product Demo System – Available Now! • SQL Server • .NET Core http://rhpds.redhat.com Benchmark blog post http://rhelblog.redhat.com/2017/04/19/microsoft-red-hat-hpe/
  • 26.