You are on page 1of 27

Migration SQL Server

2008R2 to SQL Server


2016

Farid Adam Abdillah


Microsoft
Farid.Abdillah@ag-it.com
Overview
• Evolution of Microsoft SQL Server from 2000 to 2016 : Learn About
Experts Technologies
• Why you should upgrade to Microsoft SQL 2016?
• Feature of Microsoft SQL Server 2016
• Always Encrypted Feature in MS SQL Server 2016
• Microsoft SQL Server 2016 Support Linux Platform
Why upgrade to SQL Server 2016?
End of extended support for SQL Server 2005

It just runs faster!

Wealth of new features → better applications

Risk controlled by Query Store


Enhancements of SQL Server 2016 can be split in 3 major
categories…
Do more. Achieve more.
Mission critical platform Deeper Insights Hyperscale
In-Memory OLTP Real-time operational analytics Stretch Database
Greater T-SQL surface area, terabytes of Running of analytical workloads concurrently Stretch operational tables in a secure manner
memory supported, and higher number of with OLTP workloads into Azure for cost-effective historic data
parallel CPUs availability.
R Integration
Query Store Insights from data across SQL Server and
Hadoop with the simplicity of T-SQL
Enhanced backup to Azure
A flight data recorder for your database Faster restore times, 50% reduction in storage.
Larger DBs
Always Encrypted PolyBase
Sensitive data remains encrypted at all times, Insights from data across SQL Server and
with ability to query Hadoop with the simplicity of T-SQL

Row-Level Security Mobile BI/SSRS/SSAS


Fine-grained access control for table rows
Mobile reports on SSRS with Mobile Report
Publisher. SSAS performance improvements
Dynamic data masking
Real-time obfuscation of data to prevent
unauthorized access Temporal Tables, JSON
Track change history, integrate with modern
Enhanced Always On service easily
Distributed Availability Groups, Basic
Availability Groups, Automatic Failover
What’s new in SQL Server 2016 & SP1
Performance Security Data Marts and Business Advanced Hybrid
OLAP cubes Intelligence Analytics
• 24 cores max and 128 • Always Encrypted • Partitioning • Basic tabular (16GB • Single-threaded • Stretch Database
GB max memory memory per instance) for RRE
• Row-level security • Compression
24 Cores, 128 GB memory

• Backup to Azure
• In-memory OLTP • Dynamic data • In-memory • Modernized reports • Connectivity to R enhancements
• Operational masking ColumnStore* Open
analytics* • Pin report to Power BI
• Fine-grained • Change data capture
• Basic High Availability auditing • Enhanced multi-
• Data snapshot
Standard

• Query Store dimensional models


• PolyBase
• Temporal • Direct query of
• JSON support
indexed views
• In-memory OLTP • Always Encrypted • Partitioning • Modernized reports • Stretch Database
• Operational • Row-level security • Compression
1 GB memory, max 10 GB

• Backup to Azure
analytics** • Dynamic data • In-memory
masking ColumnStore**
• Fine-grained • Data snapshot
auditing • PolyBase
Express

• JSON support

Bold items are newly available in these editions in SQL Server 2016 SP1
* Standard Edition: In-memory columnstore and Operational Analytics limited to 32 GB of memory and 2 parallel cores
** Express Edition: In-memory columnstore and Operational Analytics limited to 256 MB of memory and 1 core
Do more. Achieve more.
Always Encrypted
Protect data at rest and in motion, on-premises and in the cloud
Encrypted sensitive data and corresponding keys
are never seen in plaintext in SQL Server
Client SQL Server or SQL Database

"SELECT Name FROM Customers "SELECT Name FROM Customers


WHERE SSN = @SSN","111-22-3333" WHERE SSN =
@SSN",0x7ff654ae6d
ciphertext

Result Set Result Set


ADO .NET
Name Name
Wayne Jefferson 0x19ca706fbd9a

dbo.Customers
Name SSN Country
trust boundary 0x19ca706fbd9a 0x7ff654ae6d USA

ciphertext
Row-level security
Protect data privacy by ensuring the right access across rows
Fine-grained access control over specific rows in a
database table
Help prevent unauthorized access when multiple users Customer 1
share the same tables, or to implement connection Customer 2
filtering in multitenant applications Customer 3

Administer via SQL Server Management Studio or SQL SQL Database


Server Data Tools
Enforcement logic inside the database and schema
bound to the table.
Dynamic Data Masking
Prevent the abuse of sensitive data by hiding it from users
Configuration made easy in the new Azure Table.CreditCardNo
portal
4465-6571-7868-5796
4468-7746-3848-1978
Policy-driven at the table and column level, for
4484-5434-6858-6550
a defined set of users

Data masking applied in real-time to query


Real-time data masking;
results based on policy SQL Database
partial masking
SQL Server 2016 CTP2
Multiple masking functions available (e.g. full,
partial) for various sensitive data categories
(e.g. Credit Card Numbers, SSN, etc.)
Other security enhancements

Audit success/failure of Enhanced auditing for Transparent Data Backup encryption now
database operations OLTP with ability to track Encryption support for supported with
history of record storage of In-memory compression
changes OLTP Tables
Enhanced AlwaysOn Availability Groups
Unified HA Solution Greater scalability:
Load balancing readable secondaries

Increased number of auto-failover targets


AG_Listener
Log transport performance
AG

Hong Kong
Asynchronous data (Secondary)
Improved manageability:
Movement
DTC support
AG

AG
New Jersey Database-level health monitoring
Synchronous data
New York (Secondary)
Movement
(Primary) Group managed service account
Do more. Achieve more.
Operational analytics
Single system for OLTP and real-time analytics

In-memory
SQL Server
ColumnStore
data warehouse
2-24
hrs

ETL

Fraud detected
Real-time fraud
detection

0100101010110
In-memory
SQL Server
OLTP
Built-in advanced analytics
Running R algorithms at massive data scale
Example Solutions Extensibility
• Sales forecasting R Integration
• Warehouse efficiency R
• Predictive maintenance ?
New R scripts
• Credit risk protection 010010
100100
010010
100100
010010
100100
010101 010101 010101

Data Scientist
Analytic Library Interact directly with data
Microsoft Azure
010010
100100
010010
100100
Marketplace
010101 010101

T-SQL Interface

Relational Data Data Developer/DBA


Manage data and
analytics together
Built-in to SQL Server
PolyBase
Query relational and non-relational data with T-SQL

Quote:
************************

**********************

*********************

**********************

***********************

$658.39

T-SQL query

SQL Server Hadoop

Name DOB State


Jim Gray 11/13/58 WA
Ann Smith 04/29/76 ME
SQL Server Reporting Services

Paginated reports
Design beautiful documents using updated
tools and new features

Mobile reports
Create responsive, interactive reports
optimized for mobile devices

Modern web portal


Consume both types of reports in one web
portal using modern browsers
Enhanced Analysis Services
Deliver high performance and scalability for your BI solutions
Capability
Scale your tabular
models with support Parallel partition processing
for high end servers
NUMA optimization for tabular models

On-demand loading and paging

Tabular and MOLAP modeling enhancements


More memory
Benefits

More cores

High-end server hardware


Common to healthcare, pharmaceutical, financial services, social
networks…
Data Audit Time Travel

Slowly Row-level Track data changes with zero code in your app
Changing error Zoom-in data analysis on any point in time
Dimensions correction
Agile development with JSON

• Interchange data with apps


and services

• Exploit agility of NoSQL to


SQL Server
Web app, service easily extend your app
Do more. Achieve more.
Stretch SQL Server into Azure (Stretch DB)
Stretch cold data to Azure with remote query processing

Microsoft Azure

Jim Gray ox7ff654ae6d 3/18/2005

Order history Stretch to cloud


Name SSN Date
Customer data
2/28/200
Jane Doe cm61ba906fd Query
5
Product data
3/18/200
Jim Gray ox7ff654ae6d

John Smith
 Order History
i2y36cg776rg
5
4/10/200 App
5
4/27/200
Bill Brown nx290pldo90l
5
5/12/200
Enhanced backup to Azure

Managed backup Backup to Azure block blobs Azure Storage snapshot


Granular control of the backup Cost savings on storage backup
schedule Fastest method for creating
Significantly improved restore
Local staging support for faster performance backups and running restores
recovery and resilient to transient Uses SQL Server db files on Azure
More granular control over Azure
network issues Blob Storage
storage
Support for system databases
Maximum backup size 12TB
Support simple recovery mode
The evolution of Microsoft SQL Server

SQL Server
XML ● KPIs 2000

SQL Server
Management Studio ● Mirroring 2005

Compression ● Policy-Based Mgmt ● Programmability SQL Server


2008

PowerPivot ● SharePoint Integration ● Master Data Services SQL Server


2008 R2

SQL Server
AlwaysOn ● ColumnStore Index ● Data Quality Services ● Power View ● Cloud Connectivity
2012

In-Memory Across Workloads ● Performance & Scale ● Hybrid Cloud Optimized ● HDInsight ● Cloud BI SQL Server
2014

Enhanced Always On ● In-Memory OLTP ● Stretch DB ● Temporal Tables ● Enhanced Backup to Cloud ● Polybase ● Real-Time SQL Server
Operational Analytics ● Row-Level Security ● Query Store ● R Services● Always Encrypted ● Mobile BI 2016
What’s new in SQL Server 2016 since 2008 R2
Real-time operational analytics with SQL Server Data Tools Transparent Data Encryption Mobile BI Enhanced productivity and performance Stretch database
in-memory OLTP or on disk Enhanced SSIS Power View
Local DB runtime (Express) Always Encrypted Partitioning for efficient data loading
In-memory for more applications Enterprise-grade Analysis Services Configurable reporting alerts
Data-tier application component project Enhanced separation of duty Hybrid scenarios with SSIS
Unparalleled scalability with Windows template Advanced tabular models Reporting as SharePoint Shared Service
Server 2016, with 12TB memory and CC certification at High Assurance Level Enhanced backup to Azure
Data-Tier Application Framework (DAC Fx) In-memory analytics Build organization knowledge base
Windows Server 2016 max cores for 2014
Enhanced multidimensional models Connect to 3rd party data cleansing Easy migration to the cloud
Enhanced AlwaysOn, with 8 secondaries Interoperability support (ADO.NET,
Backup encryption support JSON support providers
and Replica Wizard ODBC, JDBC, PDO, ADO APIs and .NET Simplified cloud DR with AlwaysOn
C/C++, Java, Linux and PHP platforms) Enhanced separation of duties Enhanced DQS Master Data Hub replicas
Multiple node failover clustering (3
Enhanced MDS Master Data Services Add-in for Excel
synchronous, up to 8 replicas) Enhanced support for ANSI SQL Default schema for groups
standards Modern Reporting Services Graphical tools in SSIS Simplified backup to Azure
In memory OLTP SQL Server Audit
Transact-SQL Static Code Analysis tools Temporal tables Extensible object model Support for backup of previous
Buffer Pool Extension to SSDs
SQL Server fine-grained auditing Advanced data mining SSIS as a Server versions of SQL Server to Azure
Enhanced query processing Transact-SQL code snippets
Create mobile reports using the SQL Broader data integration with more Cloud back-up encryption support
Resource Governor adds IO governance Intellisense sources: DB vendors, cloud, Hadoop
Server Mobile Report Publisher
FileTable build on FILESTREAM Simplified cloud Disaster Recovery with
SysPrep as cluster level Consume with Power BI mobile apps Pipeline improvements
AlwaysOn replicas in Azure VMs
Predictable performance with tiering of Remote Blob Storage with SharePoint Azure HDInsight Service
compute, network and story with 2010 New Azure Deployment UI for SQL
Power BI Server
Windows Server 2012 R2
Statistical Semantic Search Power Map for Excel
Delayed Durability Larger SQL Server VMs and memory
Spatial features, include Full Globe and Operational analytics Mash up data from different sources, sizes available in Azure
Clustered Shared Volume support, VHDX arcs such as Oracle & Hadoop
support (Windows Server 2012 R2) In-memory ColumnStore DAC enhancements: Import/export with
Large user-defined data types HA for StreamInsight, complex event
Manage on-premises and cloud apps Deployment rights for APS Azure SQL Database
processing
(System Center 2012 R2) Distributed Replay R built-in to your T-SQL
Enhanced In-memory ColumnStore SQL Server Data Tools support for BI SQL Server Data Tools
Query optimization enhancements Contained Database Authentication for DW RRE APIs with full parallelism and no
Change Data Capture for Oracle License Monthly (with SA)
memory limits for scale/performance
Recovery Advisor System Center Management Pack PolyBase for simple T-SQL to query Import PowerPivot models into Analysis
for SQL Server 2012 Built-in In-memory Advanced Analytics Resource Governor enhancements
Windows Server Core structured and unstructured data Services
Live Migration Windows PowerShell 2.0 support Advanced tabular model Snapshot backups to Azure via SQL
Enhanced database caching
Server Management Studio
Online operations enhancements Multi-server Management with SQL Up to 15,000 partitions Direct query
Server Utility Control Point
Query Store Analytics Platform System Advanced data mining
Data Tier Application Component
Temporal support SSDT in Visual Studio
Microsoft SQL Server – On-premises & cloud

Consistent experience is everything


Thank You
Farid Adam Abdillah
Database Administration Engineer
Microsoft
Farid.Abdillah@ag-it.com

You might also like