SQL 2016 CTP
Maximiliano Accotto (Owner TriggerDB & MVP SQL Server desde 2005)
http://blog.maxiaccotto.com
http://www.triggerdb.com
http://www.mug.org.ar
1
Mission critical performance
Performance
Operational analytics
In-memory OLTP for
more applications
Query data store
Native JSON
Temporal database
support
Security
Always Encrypted
Row Level
Security
Dynamic Data
Masking
Availability
Enhanced AlwaysOn
• 3synchronousreplicasfor
autofailoveracrossdomains
• Roundrobinloadbalancing
ofreplicas
• DTCfortransactionalintegrity
acrossdatabaseinstances
withAlwaysOn
Enhanced online
operations
Scalability
Enhanced database
caching
Support for Windows
Server 2016
• 12TBmemorysupport
dbo.Patients
Jane Doe
Name
243-24-9812
SSN
USA
Country
Jim Gray 198-33-0987 USA
John Smith 123-82-1095 USA
dbo.Patients
Jane Doe
Name
1x7fg655se2e
SSN
USA
Jim Gray 0x7ff654ae6d USA
John Smith 0y8fj754ea2c USA
Country
Result Set
Jim Gray
Name
Jane Doe
Name
1x7fg655se2e
SSN
USA
Country
Jim Gray 0x7ff654ae6d USA
John Smith 0y8fj754ea2c USA
dbo.Patients
SQL Server
ciphertext
Query
Always Encrypted
Help protect data at rest and in motion, on-premises & cloud
TrustedApps
SELECT Name FROM
Patients WHERE SSN=@SSN
@SSN='198-33-0987'
Result Set
Jim Gray
Name
SELECT Name FROM
Patients WHERE SSN=@SSN
@SSN=0x7ff654ae6d
Column
Encryption
Key
Enhanced
ADO.NET
Library
Column
Master
Key
Client side
PolyBase
Query relational and non-relational data with T-SQL
T-SQL query
SQL Server Hadoop
Quote:
************************
**********************
*********************
**********************
***********************
$658.39
Jim Gray
Name
11/13/58
DOB
WA
State
Ann Smith 04/29/76 ME
Data Scientist
Interact directly with data
Built-in to SQL Server
Data Developer/DBA
Manage data and
analytics together
Built-in advanced analytics
In-database analytics at massive scale
Example Solutions
• Salesforecasting
• Warehouse efficiency
• Predictive maintenance
Relational Data
Analytic Library
T-SQL Interface
Extensibility
?
R
RIntegration
010010
100100
010101
Microsoft Azure
Marketplace
New R scripts
010010
100100
010101
010010
100100
010101
010010
100100
010101
010010
100100
010101
010010
100100
010101
• Credit risk protection
Deeper insights across data
Access any data
PolyBase
Power Query for analytics
and reporting
Enhanced SSIS
• Designersupportforprevious
SSISversions
• SupportforPowerQuery
Scale and manage
Enterprise-grade
Analysis Services
New single SSDT in
Visual Studio 2015
Enhanced MDS
• Exceladd-in15xfaster
• Moregranularsecurityroles
• Archivaloptionsfortransactionlogs
• Reuseentitiesacrossmodels
Powerful insights
Built-in advanced analytics
Business insights through
rich visualizations on
mobile devices
Enhanced Reporting
Services
Order history
Name SSN Date
Jane Doe cm61ba906fd
2/28/200
5
Jim Gray ox7ff654ae6d
3/18/200
5
John Smith i2y36cg776rg
4/10/200
5
Bill Brown nx290pldo90l
4/27/200
5
5/12/200
Order history
Name SSN Date
Jane Doe cm61ba906fd
2/28/200
5
Jim Gray ox7ff654ae6d
3/18/200
5
John Smith i2y36cg776rg
4/10/200
5
Bill Brown nx290pldo90l
4/27/200
5
Customer data
Product data
Order History
Stretch to cloud
Stretch SQL Server into Azure
Stretch warm and cold tables to Azure with remote query
processing
App
Query
Microsoft Azure

Jim Gray ox7ff654ae6d 3/18/2005
Hyperscale cloud
Hybrid solutions
Stretch tables into Azure
Power BI with on-premises data
Hybrid scenarios with SSIS
Enhanced backup to Azure
Simplicity
Easy migration of on-premises
SQL Server
Simplified Add Azure
Replica Wizard
Consistency
Common development,
management and
identity tools
Consistent experience
from on-premises to Azure
TempDB setup
Maintenance Plans
Feature/Limit SQL Server 2014 SQL Server 2016
Maximum size of durable table 256 GB 2 TB
LOB (varbinary(max), [n]varchar(max)) Not supported Supported*
Transparent Data Encryption (TDE) Not supported Supported
Offline Checkpoint Threads 1 1 per container
ALTER PROCEDURE / sp_recompile Not supported Supported (fully online)
Nested native procedure calls Not supported Supported
Natively-compiled scalar UDFs Not supported Supported
ALTER TABLE
Not supported / (DROP / re-
CREATE)
Partially supported / (offline – details
below)
DML triggers Not supported
Partially supported / (AFTER, natively
compiled)
Indexes on NULLable columns Not supported Supported
Non-BIN2 collations in index key columns Not supported Supported
Non-Latin codepages for [var]char columns Not supported Supported
Non-BIN2 comparison / sorting in native modules Not supported Supported
Foreign Keys Not supported Supported
Check/Unique Constraints Not supported Supported
Parallelism Not supported Supported
OUTER JOIN, OR, NOT, UNION [ALL], DISTINCT, EXISTS, IN Not supported Supported
Multiple Active Result Sets (MARS) / (Means better Entity Framework
support.) Not supported Supported
SSMS Table Designer Not supported Supported
http://www.triggerdb.com
Muchas Gracias

Sql 2016

  • 1.
    SQL 2016 CTP MaximilianoAccotto (Owner TriggerDB & MVP SQL Server desde 2005) http://blog.maxiaccotto.com http://www.triggerdb.com http://www.mug.org.ar 1
  • 2.
    Mission critical performance Performance Operationalanalytics In-memory OLTP for more applications Query data store Native JSON Temporal database support Security Always Encrypted Row Level Security Dynamic Data Masking Availability Enhanced AlwaysOn • 3synchronousreplicasfor autofailoveracrossdomains • Roundrobinloadbalancing ofreplicas • DTCfortransactionalintegrity acrossdatabaseinstances withAlwaysOn Enhanced online operations Scalability Enhanced database caching Support for Windows Server 2016 • 12TBmemorysupport
  • 3.
    dbo.Patients Jane Doe Name 243-24-9812 SSN USA Country Jim Gray198-33-0987 USA John Smith 123-82-1095 USA dbo.Patients Jane Doe Name 1x7fg655se2e SSN USA Jim Gray 0x7ff654ae6d USA John Smith 0y8fj754ea2c USA Country Result Set Jim Gray Name Jane Doe Name 1x7fg655se2e SSN USA Country Jim Gray 0x7ff654ae6d USA John Smith 0y8fj754ea2c USA dbo.Patients SQL Server ciphertext Query Always Encrypted Help protect data at rest and in motion, on-premises & cloud TrustedApps SELECT Name FROM Patients WHERE SSN=@SSN @SSN='198-33-0987' Result Set Jim Gray Name SELECT Name FROM Patients WHERE SSN=@SSN @SSN=0x7ff654ae6d Column Encryption Key Enhanced ADO.NET Library Column Master Key Client side
  • 4.
    PolyBase Query relational andnon-relational data with T-SQL T-SQL query SQL Server Hadoop Quote: ************************ ********************** ********************* ********************** *********************** $658.39 Jim Gray Name 11/13/58 DOB WA State Ann Smith 04/29/76 ME
  • 5.
    Data Scientist Interact directlywith data Built-in to SQL Server Data Developer/DBA Manage data and analytics together Built-in advanced analytics In-database analytics at massive scale Example Solutions • Salesforecasting • Warehouse efficiency • Predictive maintenance Relational Data Analytic Library T-SQL Interface Extensibility ? R RIntegration 010010 100100 010101 Microsoft Azure Marketplace New R scripts 010010 100100 010101 010010 100100 010101 010010 100100 010101 010010 100100 010101 010010 100100 010101 • Credit risk protection
  • 6.
    Deeper insights acrossdata Access any data PolyBase Power Query for analytics and reporting Enhanced SSIS • Designersupportforprevious SSISversions • SupportforPowerQuery Scale and manage Enterprise-grade Analysis Services New single SSDT in Visual Studio 2015 Enhanced MDS • Exceladd-in15xfaster • Moregranularsecurityroles • Archivaloptionsfortransactionlogs • Reuseentitiesacrossmodels Powerful insights Built-in advanced analytics Business insights through rich visualizations on mobile devices Enhanced Reporting Services
  • 7.
    Order history Name SSNDate Jane Doe cm61ba906fd 2/28/200 5 Jim Gray ox7ff654ae6d 3/18/200 5 John Smith i2y36cg776rg 4/10/200 5 Bill Brown nx290pldo90l 4/27/200 5 5/12/200 Order history Name SSN Date Jane Doe cm61ba906fd 2/28/200 5 Jim Gray ox7ff654ae6d 3/18/200 5 John Smith i2y36cg776rg 4/10/200 5 Bill Brown nx290pldo90l 4/27/200 5 Customer data Product data Order History Stretch to cloud Stretch SQL Server into Azure Stretch warm and cold tables to Azure with remote query processing App Query Microsoft Azure  Jim Gray ox7ff654ae6d 3/18/2005
  • 8.
    Hyperscale cloud Hybrid solutions Stretchtables into Azure Power BI with on-premises data Hybrid scenarios with SSIS Enhanced backup to Azure Simplicity Easy migration of on-premises SQL Server Simplified Add Azure Replica Wizard Consistency Common development, management and identity tools Consistent experience from on-premises to Azure
  • 9.
  • 10.
  • 11.
    Feature/Limit SQL Server2014 SQL Server 2016 Maximum size of durable table 256 GB 2 TB LOB (varbinary(max), [n]varchar(max)) Not supported Supported* Transparent Data Encryption (TDE) Not supported Supported Offline Checkpoint Threads 1 1 per container ALTER PROCEDURE / sp_recompile Not supported Supported (fully online) Nested native procedure calls Not supported Supported Natively-compiled scalar UDFs Not supported Supported ALTER TABLE Not supported / (DROP / re- CREATE) Partially supported / (offline – details below) DML triggers Not supported Partially supported / (AFTER, natively compiled) Indexes on NULLable columns Not supported Supported Non-BIN2 collations in index key columns Not supported Supported Non-Latin codepages for [var]char columns Not supported Supported Non-BIN2 comparison / sorting in native modules Not supported Supported Foreign Keys Not supported Supported Check/Unique Constraints Not supported Supported Parallelism Not supported Supported OUTER JOIN, OR, NOT, UNION [ALL], DISTINCT, EXISTS, IN Not supported Supported Multiple Active Result Sets (MARS) / (Means better Entity Framework support.) Not supported Supported SSMS Table Designer Not supported Supported
  • 12.