SlideShare a Scribd company logo
1 of 24
Diving into
SQL Server
2016
Mohamed Zaatar, M.Sc.
Readify Developer
@mzaatar
Page / Copyright ©2014 by Readify Limited2
Page / Copyright ©2014 by Readify Limited3
Page
TO-DO List
› Into Azure
› DB Stretching
› SQL Server data files in Azure
› SQL Server Engine
› JSON Support
› Query Store
› In-Memory Computing
› In-Memory OLTP - Memory-Optimized Tables
› In-Memory Columnstore Indexes
› Security
› Row-level security
› Dynamic data masking
/ Copyright ©201 by Readify Limited4
Page
TO-DO List
› Into Azure
› DB Stretching
› SQL Server data files in Azure
› SQL Server Engine
› JSON Support
› Query Store
› In-Memory Computing
› In-Memory OLTP - Memory-Optimized Tables
› In-Memory Columnstore Indexes
› Security
› Row-level security
› Dynamic data masking
/ Copyright ©201 by Readify Limited5
Page
Stretch Database
/ Copyright ©2014 by Readify Limited6
Page
Database Stretching
/ Copyright ©2014 by Readify Limited7
› Why? Transactional data/save money
› Not same as Linked Server
› Microsoft charges you when query data not when
move it
AzureLocal DB
Page
SQL Server data files in Azure
› Save mdf /ldf files in Azure Blob storage
› Why?
› Backups
› High Availability
› Security
/ Copyright ©2014 by Readify Limited8
Azure
SQL Server (on premises)
DB
1
DB
2
DB
3
MD
F
LDF
Azure Blob Storage
Page
TO-DO List
› Into Azure
› DB Stretching
› SQL Server data files in Azure
› SQL Server Engine
› JSON Support
› Query Store
› In-Memory Computing
› In-Memory OLTP - Memory-Optimized Tables
› In-Memory Columnstore Indexes
› Security
› Row-level security
› Dynamic data masking
/ Copyright ©201 by Readify Limited9
Page / Copyright ©2014 by Readify Limited10
Page
JSON support
› Native support (like xml)
› What to do ?
› Export/export data from string to JSON
› Format strings (varchar) as JSON
› Query
› Validate string against JSON standards
/ Copyright ©2014 by Readify Limited11
Page / Copyright ©2014 by Readify Limited12
Page
Query store
› New in 2016 and SQL Azure v12
› Bunch of tables:
› sys.query_store_plan , sys.query_store_query ,
sys.query_store_query_text
› Why?
› Find and fix
› How many time execute a query
› Top n queries
› Audit the history of queries
/ Copyright ©2014 by Readify Limited13
Page
TO-DO List
› Into Azure
› DB Stretching
› SQL Server data files in Azure
› SQL Server Engine
› JSON Support
› Query Store
› In-Memory Computing
› In-Memory OLTP - Memory-Optimized Tables
› In-Memory Columnstore Indexes
› Security
› Row-level security
› Dynamic data masking
/ Copyright ©201 by Readify Limited14
Page
In-memory OLTP
› i.e. Memory-optimized tables
› ACID? YES !
› Data in memory, saved on commits/check points
› Data consistency? Using row versioning
› Durable/nondurable data? Both are available
› How to access data? T-SQL and Native-complied
table/sp
/ Copyright ©2014 by Readify Limited15
Page
In-memory ColumnStore indexes
/ Copyright ©2014 by Readify Limited16
Page
In-memory ColumnStore indexes
/ Copyright ©2014 by Readify Limited17
ID Name Date Amount
Name DateID Amount
RowStore ColumnStor
e
Page
In-memory ColumnStore indexes
› Columnstore Index (memory-optimized)
› What is new? Clustered Index
› Massive better performance !
/ Copyright ©2014 by Readify Limited18
Page
TO-DO List
› Into Azure
› DB Stretching
› SQL Server data files in Azure
› SQL Server Engine
› JSON Support
› Query Store
› In-Memory Computing
› In-Memory OLTP - Memory-Optimized Tables
› In-Memory Columnstore Indexes
› Security
› Row-level security
› Dynamic data masking
/ Copyright ©201 by Readify Limited19
Page
Row-level Security – aka RLS
› 2014 – enhancement in 2016
› Why? Multi-tenants DB
/ Copyright ©2014 by Readify Limited20
Application Server
Clients
Database
Solution 1
Solution 2
Page
Mohamed Zaatar XXXX-XXXX-XXXX-
6543
xxx
Dynamic data masking
› Customer service verifying credit cards
› By a simple column attribute
/ Copyright ©2014 by Readify Limited21
Applicatio
n Server
Databas
e
Mohamed Zaatar 1234-6123-8787-
6543
123
Matt Davies 7652-2372-2746-
2815
789
Database
Page / Copyright ©2014 by Readify Limited22
Demos ?
https://github.com/mzaatar/DBScripts/
Page
Resources
› https://msdn.microsoft.com/en-us/library/dn935011.aspx
› http://sqlwithmanoj.com/tag/stretch-database/
› https://msdn.microsoft.com/en-US/library/dn466438.aspx
› https://msdn.microsoft.com/en-au/library/dn934994.aspx
› http://blog.sqlauthority.com/2011/10/29/sql-server-fundamentals-of-columnstore-index/
› http://www.nikoport.com/2015/09/02/columnstore-indexes-part-64-t-sql-improvements-in-sql-
server-2016/
› https://msdn.microsoft.com/en-us/library/dn133165.aspx
› https://azure.microsoft.com/en-us/blog/query-store-a-flight-data-recorder-for-your-database/
› https://msdn.microsoft.com/en-us/library/dn765131.aspx
› https://msdn.microsoft.com/en-us/library/mt163865.aspx
/ Copyright ©2014 by Readify Limited23
Thanks

More Related Content

What's hot

PASS VC: SQL Server Performance Monitoring and Baselining
PASS VC: SQL Server Performance Monitoring and BaseliningPASS VC: SQL Server Performance Monitoring and Baselining
PASS VC: SQL Server Performance Monitoring and BaseliningPARIKSHIT SAVJANI
 
Enhancements that will make your sql database roar sp1 edition sql bits 2017
Enhancements that will make your sql database roar sp1 edition sql bits 2017Enhancements that will make your sql database roar sp1 edition sql bits 2017
Enhancements that will make your sql database roar sp1 edition sql bits 2017Bob Ward
 
SQL Server It Just Runs Faster
SQL Server It Just Runs FasterSQL Server It Just Runs Faster
SQL Server It Just Runs FasterBob Ward
 
Sql server 2016 new features
Sql server 2016 new featuresSql server 2016 new features
Sql server 2016 new featuresAjeet Singh
 
Sql server 2016 it just runs faster sql bits 2017 edition
Sql server 2016 it just runs faster   sql bits 2017 editionSql server 2016 it just runs faster   sql bits 2017 edition
Sql server 2016 it just runs faster sql bits 2017 editionBob Ward
 
SQL Server R Services: What Every SQL Professional Should Know
SQL Server R Services: What Every SQL Professional Should KnowSQL Server R Services: What Every SQL Professional Should Know
SQL Server R Services: What Every SQL Professional Should KnowBob Ward
 
Sql server hybrid what every sql professional should know
Sql server hybrid what every sql professional should knowSql server hybrid what every sql professional should know
Sql server hybrid what every sql professional should knowBob Ward
 
Microsoft SQL Server internals & architecture
Microsoft SQL Server internals & architectureMicrosoft SQL Server internals & architecture
Microsoft SQL Server internals & architectureKevin Kline
 
SQL Server 2016 Everything built-in FULL deck
SQL Server 2016 Everything built-in FULL deckSQL Server 2016 Everything built-in FULL deck
SQL Server 2016 Everything built-in FULL deckHamid J. Fard
 
SPSMadrid Get sql spinning with SharePoint. Best practice for the back end
SPSMadrid Get sql spinning with SharePoint. Best practice for the back endSPSMadrid Get sql spinning with SharePoint. Best practice for the back end
SPSMadrid Get sql spinning with SharePoint. Best practice for the back endKnut Relbe-Moe [MVP, MCT]
 
Experience SQL Server 2017: The Modern Data Platform
Experience SQL Server 2017: The Modern Data PlatformExperience SQL Server 2017: The Modern Data Platform
Experience SQL Server 2017: The Modern Data PlatformBob Ward
 
Experience sql server on l inux and docker
Experience sql server on l inux and dockerExperience sql server on l inux and docker
Experience sql server on l inux and dockerBob Ward
 
Brk2045 upgrade sql server 2017 (on prem, iaa-s and paas)
Brk2045 upgrade sql server 2017 (on prem, iaa-s and paas)Brk2045 upgrade sql server 2017 (on prem, iaa-s and paas)
Brk2045 upgrade sql server 2017 (on prem, iaa-s and paas)Bob Ward
 
SQL on Linux
SQL on LinuxSQL on Linux
SQL on LinuxDatavail
 
Postgres_9.0 vs MySQL_5.5
Postgres_9.0 vs MySQL_5.5Postgres_9.0 vs MySQL_5.5
Postgres_9.0 vs MySQL_5.5Trieu Dao Minh
 
Brk2051 sql server on linux and docker
Brk2051 sql server on linux and dockerBrk2051 sql server on linux and docker
Brk2051 sql server on linux and dockerBob Ward
 
SQL Server 2019 ctp2.2
SQL Server 2019 ctp2.2SQL Server 2019 ctp2.2
SQL Server 2019 ctp2.2Gianluca Hotz
 
Tuning Sql Server for SharePoint--- Community Day Belgium 2013
Tuning Sql Server for SharePoint--- Community Day Belgium 2013Tuning Sql Server for SharePoint--- Community Day Belgium 2013
Tuning Sql Server for SharePoint--- Community Day Belgium 2013Isabelle Van Campenhoudt
 

What's hot (20)

PASS VC: SQL Server Performance Monitoring and Baselining
PASS VC: SQL Server Performance Monitoring and BaseliningPASS VC: SQL Server Performance Monitoring and Baselining
PASS VC: SQL Server Performance Monitoring and Baselining
 
Enhancements that will make your sql database roar sp1 edition sql bits 2017
Enhancements that will make your sql database roar sp1 edition sql bits 2017Enhancements that will make your sql database roar sp1 edition sql bits 2017
Enhancements that will make your sql database roar sp1 edition sql bits 2017
 
SQL Server It Just Runs Faster
SQL Server It Just Runs FasterSQL Server It Just Runs Faster
SQL Server It Just Runs Faster
 
Sql server 2016 new features
Sql server 2016 new featuresSql server 2016 new features
Sql server 2016 new features
 
Sql server 2016 it just runs faster sql bits 2017 edition
Sql server 2016 it just runs faster   sql bits 2017 editionSql server 2016 it just runs faster   sql bits 2017 edition
Sql server 2016 it just runs faster sql bits 2017 edition
 
SQL Server R Services: What Every SQL Professional Should Know
SQL Server R Services: What Every SQL Professional Should KnowSQL Server R Services: What Every SQL Professional Should Know
SQL Server R Services: What Every SQL Professional Should Know
 
Optimizing SQL Server 2012 for SharePoint 2013
Optimizing SQL Server 2012 for SharePoint 2013Optimizing SQL Server 2012 for SharePoint 2013
Optimizing SQL Server 2012 for SharePoint 2013
 
Sql server hybrid what every sql professional should know
Sql server hybrid what every sql professional should knowSql server hybrid what every sql professional should know
Sql server hybrid what every sql professional should know
 
Microsoft SQL Server internals & architecture
Microsoft SQL Server internals & architectureMicrosoft SQL Server internals & architecture
Microsoft SQL Server internals & architecture
 
SQL Server 2016 Everything built-in FULL deck
SQL Server 2016 Everything built-in FULL deckSQL Server 2016 Everything built-in FULL deck
SQL Server 2016 Everything built-in FULL deck
 
SPSMadrid Get sql spinning with SharePoint. Best practice for the back end
SPSMadrid Get sql spinning with SharePoint. Best practice for the back endSPSMadrid Get sql spinning with SharePoint. Best practice for the back end
SPSMadrid Get sql spinning with SharePoint. Best practice for the back end
 
Exploring sql server 2016 bi
Exploring sql server 2016 biExploring sql server 2016 bi
Exploring sql server 2016 bi
 
Experience SQL Server 2017: The Modern Data Platform
Experience SQL Server 2017: The Modern Data PlatformExperience SQL Server 2017: The Modern Data Platform
Experience SQL Server 2017: The Modern Data Platform
 
Experience sql server on l inux and docker
Experience sql server on l inux and dockerExperience sql server on l inux and docker
Experience sql server on l inux and docker
 
Brk2045 upgrade sql server 2017 (on prem, iaa-s and paas)
Brk2045 upgrade sql server 2017 (on prem, iaa-s and paas)Brk2045 upgrade sql server 2017 (on prem, iaa-s and paas)
Brk2045 upgrade sql server 2017 (on prem, iaa-s and paas)
 
SQL on Linux
SQL on LinuxSQL on Linux
SQL on Linux
 
Postgres_9.0 vs MySQL_5.5
Postgres_9.0 vs MySQL_5.5Postgres_9.0 vs MySQL_5.5
Postgres_9.0 vs MySQL_5.5
 
Brk2051 sql server on linux and docker
Brk2051 sql server on linux and dockerBrk2051 sql server on linux and docker
Brk2051 sql server on linux and docker
 
SQL Server 2019 ctp2.2
SQL Server 2019 ctp2.2SQL Server 2019 ctp2.2
SQL Server 2019 ctp2.2
 
Tuning Sql Server for SharePoint--- Community Day Belgium 2013
Tuning Sql Server for SharePoint--- Community Day Belgium 2013Tuning Sql Server for SharePoint--- Community Day Belgium 2013
Tuning Sql Server for SharePoint--- Community Day Belgium 2013
 

Viewers also liked

Optimizing Your Workforce Productivity & Retention - Human Capital Insights -...
Optimizing Your Workforce Productivity & Retention - Human Capital Insights -...Optimizing Your Workforce Productivity & Retention - Human Capital Insights -...
Optimizing Your Workforce Productivity & Retention - Human Capital Insights -...ADP, LLC
 
CAN A FOREST BE CREATED WITH RECYCLING
CAN A FOREST  BE CREATED WITH RECYCLINGCAN A FOREST  BE CREATED WITH RECYCLING
CAN A FOREST BE CREATED WITH RECYCLINGUmut Dilsiz
 
見守りサービスMiimaミーマ 資料
見守りサービスMiimaミーマ 資料見守りサービスMiimaミーマ 資料
見守りサービスMiimaミーマ 資料kaisya_account
 
CASD Research Writing Workshop.KA.2016.
CASD Research Writing Workshop.KA.2016.CASD Research Writing Workshop.KA.2016.
CASD Research Writing Workshop.KA.2016.Kojo Ahiakpa
 
Datenbank-Refactoring mit LiquiBase
Datenbank-Refactoring mit LiquiBaseDatenbank-Refactoring mit LiquiBase
Datenbank-Refactoring mit LiquiBaseBenjamin Schmid
 
Trivadis TechEvent 2016 A few thoughts on the subject Continuous integration ...
Trivadis TechEvent 2016 A few thoughts on the subject Continuous integration ...Trivadis TechEvent 2016 A few thoughts on the subject Continuous integration ...
Trivadis TechEvent 2016 A few thoughts on the subject Continuous integration ...Trivadis
 
Challenges and Best Practices of Database Continuous Delivery
Challenges and Best Practices of Database Continuous DeliveryChallenges and Best Practices of Database Continuous Delivery
Challenges and Best Practices of Database Continuous DeliveryDBmaestro - Database DevOps
 
Oracle Engineered Systems - Chance oder Risiko?
Oracle Engineered Systems - Chance oder Risiko?Oracle Engineered Systems - Chance oder Risiko?
Oracle Engineered Systems - Chance oder Risiko?Trivadis
 
Lizenzfallen aus der Praxis - Was ist denn jetzt mit der Virtualisierung?
Lizenzfallen aus der Praxis - Was ist denn jetzt mit der Virtualisierung?Lizenzfallen aus der Praxis - Was ist denn jetzt mit der Virtualisierung?
Lizenzfallen aus der Praxis - Was ist denn jetzt mit der Virtualisierung?Trivadis
 
Liquibase – a time machine for your data
Liquibase – a time machine for your dataLiquibase – a time machine for your data
Liquibase – a time machine for your dataNeev Technologies
 
NoSQL Data Architecture Patterns
NoSQL Data ArchitecturePatternsNoSQL Data ArchitecturePatterns
NoSQL Data Architecture PatternsMaynooth University
 
高速移動網路新時代 - 雲端與物聯網發展新趨勢 (An Integration Trend of Terminal Devices, IoT and C...
高速移動網路新時代  - 雲端與物聯網發展新趨勢 (An Integration Trend of Terminal Devices, IoT and C...高速移動網路新時代  - 雲端與物聯網發展新趨勢 (An Integration Trend of Terminal Devices, IoT and C...
高速移動網路新時代 - 雲端與物聯網發展新趨勢 (An Integration Trend of Terminal Devices, IoT and C...William Liang
 
01 リスティング広告マニュアル 基礎編
01 リスティング広告マニュアル 基礎編01 リスティング広告マニュアル 基礎編
01 リスティング広告マニュアル 基礎編wombase
 
New features of sql server 2016 bi features
New features of sql server 2016 bi featuresNew features of sql server 2016 bi features
New features of sql server 2016 bi featuresChris Testa-O'Neill
 
Dan seracu autocontrolul pas cu pas
Dan seracu   autocontrolul pas cu pasDan seracu   autocontrolul pas cu pas
Dan seracu autocontrolul pas cu pasLaurentiu Decu
 
コンテンツ マーケティング革命
コンテンツ マーケティング革命コンテンツ マーケティング革命
コンテンツ マーケティング革命Tactus Associates
 

Viewers also liked (20)

Optimizing Your Workforce Productivity & Retention - Human Capital Insights -...
Optimizing Your Workforce Productivity & Retention - Human Capital Insights -...Optimizing Your Workforce Productivity & Retention - Human Capital Insights -...
Optimizing Your Workforce Productivity & Retention - Human Capital Insights -...
 
CAN A FOREST BE CREATED WITH RECYCLING
CAN A FOREST  BE CREATED WITH RECYCLINGCAN A FOREST  BE CREATED WITH RECYCLING
CAN A FOREST BE CREATED WITH RECYCLING
 
見守りサービスMiimaミーマ 資料
見守りサービスMiimaミーマ 資料見守りサービスMiimaミーマ 資料
見守りサービスMiimaミーマ 資料
 
CASD Research Writing Workshop.KA.2016.
CASD Research Writing Workshop.KA.2016.CASD Research Writing Workshop.KA.2016.
CASD Research Writing Workshop.KA.2016.
 
QSpiders - Interacting with My SQL Database
QSpiders - Interacting with My SQL DatabaseQSpiders - Interacting with My SQL Database
QSpiders - Interacting with My SQL Database
 
poster-linked
poster-linkedposter-linked
poster-linked
 
Datenbank-Refactoring mit LiquiBase
Datenbank-Refactoring mit LiquiBaseDatenbank-Refactoring mit LiquiBase
Datenbank-Refactoring mit LiquiBase
 
Jsp applet
Jsp appletJsp applet
Jsp applet
 
Trivadis TechEvent 2016 A few thoughts on the subject Continuous integration ...
Trivadis TechEvent 2016 A few thoughts on the subject Continuous integration ...Trivadis TechEvent 2016 A few thoughts on the subject Continuous integration ...
Trivadis TechEvent 2016 A few thoughts on the subject Continuous integration ...
 
Challenges and Best Practices of Database Continuous Delivery
Challenges and Best Practices of Database Continuous DeliveryChallenges and Best Practices of Database Continuous Delivery
Challenges and Best Practices of Database Continuous Delivery
 
Oracle Engineered Systems - Chance oder Risiko?
Oracle Engineered Systems - Chance oder Risiko?Oracle Engineered Systems - Chance oder Risiko?
Oracle Engineered Systems - Chance oder Risiko?
 
Lizenzfallen aus der Praxis - Was ist denn jetzt mit der Virtualisierung?
Lizenzfallen aus der Praxis - Was ist denn jetzt mit der Virtualisierung?Lizenzfallen aus der Praxis - Was ist denn jetzt mit der Virtualisierung?
Lizenzfallen aus der Praxis - Was ist denn jetzt mit der Virtualisierung?
 
Liquibase – a time machine for your data
Liquibase – a time machine for your dataLiquibase – a time machine for your data
Liquibase – a time machine for your data
 
QSpiders - Variable Length-Subnet-Masks
QSpiders - Variable Length-Subnet-MasksQSpiders - Variable Length-Subnet-Masks
QSpiders - Variable Length-Subnet-Masks
 
NoSQL Data Architecture Patterns
NoSQL Data ArchitecturePatternsNoSQL Data ArchitecturePatterns
NoSQL Data Architecture Patterns
 
高速移動網路新時代 - 雲端與物聯網發展新趨勢 (An Integration Trend of Terminal Devices, IoT and C...
高速移動網路新時代  - 雲端與物聯網發展新趨勢 (An Integration Trend of Terminal Devices, IoT and C...高速移動網路新時代  - 雲端與物聯網發展新趨勢 (An Integration Trend of Terminal Devices, IoT and C...
高速移動網路新時代 - 雲端與物聯網發展新趨勢 (An Integration Trend of Terminal Devices, IoT and C...
 
01 リスティング広告マニュアル 基礎編
01 リスティング広告マニュアル 基礎編01 リスティング広告マニュアル 基礎編
01 リスティング広告マニュアル 基礎編
 
New features of sql server 2016 bi features
New features of sql server 2016 bi featuresNew features of sql server 2016 bi features
New features of sql server 2016 bi features
 
Dan seracu autocontrolul pas cu pas
Dan seracu   autocontrolul pas cu pasDan seracu   autocontrolul pas cu pas
Dan seracu autocontrolul pas cu pas
 
コンテンツ マーケティング革命
コンテンツ マーケティング革命コンテンツ マーケティング革命
コンテンツ マーケティング革命
 

Similar to Diving into sql server 2016

Storage Options on Windows Azure
Storage Options on Windows AzureStorage Options on Windows Azure
Storage Options on Windows AzureHimanshu Desai
 
SharePoint Databases: What you need to know (201512)
SharePoint Databases: What you need to know (201512)SharePoint Databases: What you need to know (201512)
SharePoint Databases: What you need to know (201512)Alan Eardley
 
Database Containerization Platform Checklist
Database Containerization Platform ChecklistDatabase Containerization Platform Checklist
Database Containerization Platform ChecklistAdeesh Fulay
 
Database Containerization Platform Checklist
Database Containerization Platform ChecklistDatabase Containerization Platform Checklist
Database Containerization Platform Checklistrobinsystems
 
SQL Azure - the good, the bad and the ugly.
SQL Azure - the good, the bad and the ugly.SQL Azure - the good, the bad and the ugly.
SQL Azure - the good, the bad and the ugly.Pini Krisher
 
SharePoint Databases: What you need to know (201609)
SharePoint Databases: What you need to know (201609)SharePoint Databases: What you need to know (201609)
SharePoint Databases: What you need to know (201609)Alan Eardley
 
Modern data warehouse
Modern data warehouseModern data warehouse
Modern data warehouseElena Lopez
 
PASS_Summit_2019_Azure_Storage_Options_for_Analytics
PASS_Summit_2019_Azure_Storage_Options_for_AnalyticsPASS_Summit_2019_Azure_Storage_Options_for_Analytics
PASS_Summit_2019_Azure_Storage_Options_for_AnalyticsDustin Vannoy
 
SharePoint Performance: Physical to Virtual to Microsoft Azure Cloud and Offi...
SharePoint Performance: Physical to Virtual to Microsoft Azure Cloud and Offi...SharePoint Performance: Physical to Virtual to Microsoft Azure Cloud and Offi...
SharePoint Performance: Physical to Virtual to Microsoft Azure Cloud and Offi...Joel Oleson
 
Move your on prem data to a lake in a Lake in Cloud
Move your on prem data to a lake in a Lake in CloudMove your on prem data to a lake in a Lake in Cloud
Move your on prem data to a lake in a Lake in CloudCAMMS
 
Azure Database Services for MySQL PostgreSQL and MariaDB
Azure Database Services for MySQL PostgreSQL and MariaDBAzure Database Services for MySQL PostgreSQL and MariaDB
Azure Database Services for MySQL PostgreSQL and MariaDBNicholas Vossburg
 
Fast Track to Your Data Lake on AWS
Fast Track to Your Data Lake on AWSFast Track to Your Data Lake on AWS
Fast Track to Your Data Lake on AWSAmazon Web Services
 
Introducing Azure Databases
Introducing Azure DatabasesIntroducing Azure Databases
Introducing Azure DatabasesGrant Fritchey
 
Afternoons with Azure - Azure Data Services
Afternoons with Azure - Azure Data ServicesAfternoons with Azure - Azure Data Services
Afternoons with Azure - Azure Data ServicesCCG
 
SharePoint 2010 database maintenance
SharePoint 2010 database maintenanceSharePoint 2010 database maintenance
SharePoint 2010 database maintenanceMatt Ranlett
 
Webinar share point performance feb2016 slideshare
Webinar share point performance feb2016 slideshareWebinar share point performance feb2016 slideshare
Webinar share point performance feb2016 slideshareDynatrace
 
Taking SharePoint to the Cloud
Taking SharePoint to the CloudTaking SharePoint to the Cloud
Taking SharePoint to the CloudAaron Saikovski
 
Apache Druid®: A Dance of Distributed Processes
 Apache Druid®: A Dance of Distributed Processes Apache Druid®: A Dance of Distributed Processes
Apache Druid®: A Dance of Distributed ProcessesImply
 
Amazon Redshift in Action: Enterprise, Big Data, and SaaS Use Cases (DAT205) ...
Amazon Redshift in Action: Enterprise, Big Data, and SaaS Use Cases (DAT205) ...Amazon Redshift in Action: Enterprise, Big Data, and SaaS Use Cases (DAT205) ...
Amazon Redshift in Action: Enterprise, Big Data, and SaaS Use Cases (DAT205) ...Amazon Web Services
 

Similar to Diving into sql server 2016 (20)

Storage Options on Windows Azure
Storage Options on Windows AzureStorage Options on Windows Azure
Storage Options on Windows Azure
 
SharePoint Databases: What you need to know (201512)
SharePoint Databases: What you need to know (201512)SharePoint Databases: What you need to know (201512)
SharePoint Databases: What you need to know (201512)
 
Database Containerization Platform Checklist
Database Containerization Platform ChecklistDatabase Containerization Platform Checklist
Database Containerization Platform Checklist
 
Database Containerization Platform Checklist
Database Containerization Platform ChecklistDatabase Containerization Platform Checklist
Database Containerization Platform Checklist
 
SQL Azure - the good, the bad and the ugly.
SQL Azure - the good, the bad and the ugly.SQL Azure - the good, the bad and the ugly.
SQL Azure - the good, the bad and the ugly.
 
SharePoint Databases: What you need to know (201609)
SharePoint Databases: What you need to know (201609)SharePoint Databases: What you need to know (201609)
SharePoint Databases: What you need to know (201609)
 
AWS Tech Talks - Data Lake Analytics
AWS Tech Talks - Data Lake AnalyticsAWS Tech Talks - Data Lake Analytics
AWS Tech Talks - Data Lake Analytics
 
Modern data warehouse
Modern data warehouseModern data warehouse
Modern data warehouse
 
PASS_Summit_2019_Azure_Storage_Options_for_Analytics
PASS_Summit_2019_Azure_Storage_Options_for_AnalyticsPASS_Summit_2019_Azure_Storage_Options_for_Analytics
PASS_Summit_2019_Azure_Storage_Options_for_Analytics
 
SharePoint Performance: Physical to Virtual to Microsoft Azure Cloud and Offi...
SharePoint Performance: Physical to Virtual to Microsoft Azure Cloud and Offi...SharePoint Performance: Physical to Virtual to Microsoft Azure Cloud and Offi...
SharePoint Performance: Physical to Virtual to Microsoft Azure Cloud and Offi...
 
Move your on prem data to a lake in a Lake in Cloud
Move your on prem data to a lake in a Lake in CloudMove your on prem data to a lake in a Lake in Cloud
Move your on prem data to a lake in a Lake in Cloud
 
Azure Database Services for MySQL PostgreSQL and MariaDB
Azure Database Services for MySQL PostgreSQL and MariaDBAzure Database Services for MySQL PostgreSQL and MariaDB
Azure Database Services for MySQL PostgreSQL and MariaDB
 
Fast Track to Your Data Lake on AWS
Fast Track to Your Data Lake on AWSFast Track to Your Data Lake on AWS
Fast Track to Your Data Lake on AWS
 
Introducing Azure Databases
Introducing Azure DatabasesIntroducing Azure Databases
Introducing Azure Databases
 
Afternoons with Azure - Azure Data Services
Afternoons with Azure - Azure Data ServicesAfternoons with Azure - Azure Data Services
Afternoons with Azure - Azure Data Services
 
SharePoint 2010 database maintenance
SharePoint 2010 database maintenanceSharePoint 2010 database maintenance
SharePoint 2010 database maintenance
 
Webinar share point performance feb2016 slideshare
Webinar share point performance feb2016 slideshareWebinar share point performance feb2016 slideshare
Webinar share point performance feb2016 slideshare
 
Taking SharePoint to the Cloud
Taking SharePoint to the CloudTaking SharePoint to the Cloud
Taking SharePoint to the Cloud
 
Apache Druid®: A Dance of Distributed Processes
 Apache Druid®: A Dance of Distributed Processes Apache Druid®: A Dance of Distributed Processes
Apache Druid®: A Dance of Distributed Processes
 
Amazon Redshift in Action: Enterprise, Big Data, and SaaS Use Cases (DAT205) ...
Amazon Redshift in Action: Enterprise, Big Data, and SaaS Use Cases (DAT205) ...Amazon Redshift in Action: Enterprise, Big Data, and SaaS Use Cases (DAT205) ...
Amazon Redshift in Action: Enterprise, Big Data, and SaaS Use Cases (DAT205) ...
 

Recently uploaded

Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfPower Karaoke
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 

Recently uploaded (20)

Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 

Diving into sql server 2016

  • 1. Diving into SQL Server 2016 Mohamed Zaatar, M.Sc. Readify Developer @mzaatar
  • 2. Page / Copyright ©2014 by Readify Limited2
  • 3. Page / Copyright ©2014 by Readify Limited3
  • 4. Page TO-DO List › Into Azure › DB Stretching › SQL Server data files in Azure › SQL Server Engine › JSON Support › Query Store › In-Memory Computing › In-Memory OLTP - Memory-Optimized Tables › In-Memory Columnstore Indexes › Security › Row-level security › Dynamic data masking / Copyright ©201 by Readify Limited4
  • 5. Page TO-DO List › Into Azure › DB Stretching › SQL Server data files in Azure › SQL Server Engine › JSON Support › Query Store › In-Memory Computing › In-Memory OLTP - Memory-Optimized Tables › In-Memory Columnstore Indexes › Security › Row-level security › Dynamic data masking / Copyright ©201 by Readify Limited5
  • 6. Page Stretch Database / Copyright ©2014 by Readify Limited6
  • 7. Page Database Stretching / Copyright ©2014 by Readify Limited7 › Why? Transactional data/save money › Not same as Linked Server › Microsoft charges you when query data not when move it AzureLocal DB
  • 8. Page SQL Server data files in Azure › Save mdf /ldf files in Azure Blob storage › Why? › Backups › High Availability › Security / Copyright ©2014 by Readify Limited8 Azure SQL Server (on premises) DB 1 DB 2 DB 3 MD F LDF Azure Blob Storage
  • 9. Page TO-DO List › Into Azure › DB Stretching › SQL Server data files in Azure › SQL Server Engine › JSON Support › Query Store › In-Memory Computing › In-Memory OLTP - Memory-Optimized Tables › In-Memory Columnstore Indexes › Security › Row-level security › Dynamic data masking / Copyright ©201 by Readify Limited9
  • 10. Page / Copyright ©2014 by Readify Limited10
  • 11. Page JSON support › Native support (like xml) › What to do ? › Export/export data from string to JSON › Format strings (varchar) as JSON › Query › Validate string against JSON standards / Copyright ©2014 by Readify Limited11
  • 12. Page / Copyright ©2014 by Readify Limited12
  • 13. Page Query store › New in 2016 and SQL Azure v12 › Bunch of tables: › sys.query_store_plan , sys.query_store_query , sys.query_store_query_text › Why? › Find and fix › How many time execute a query › Top n queries › Audit the history of queries / Copyright ©2014 by Readify Limited13
  • 14. Page TO-DO List › Into Azure › DB Stretching › SQL Server data files in Azure › SQL Server Engine › JSON Support › Query Store › In-Memory Computing › In-Memory OLTP - Memory-Optimized Tables › In-Memory Columnstore Indexes › Security › Row-level security › Dynamic data masking / Copyright ©201 by Readify Limited14
  • 15. Page In-memory OLTP › i.e. Memory-optimized tables › ACID? YES ! › Data in memory, saved on commits/check points › Data consistency? Using row versioning › Durable/nondurable data? Both are available › How to access data? T-SQL and Native-complied table/sp / Copyright ©2014 by Readify Limited15
  • 16. Page In-memory ColumnStore indexes / Copyright ©2014 by Readify Limited16
  • 17. Page In-memory ColumnStore indexes / Copyright ©2014 by Readify Limited17 ID Name Date Amount Name DateID Amount RowStore ColumnStor e
  • 18. Page In-memory ColumnStore indexes › Columnstore Index (memory-optimized) › What is new? Clustered Index › Massive better performance ! / Copyright ©2014 by Readify Limited18
  • 19. Page TO-DO List › Into Azure › DB Stretching › SQL Server data files in Azure › SQL Server Engine › JSON Support › Query Store › In-Memory Computing › In-Memory OLTP - Memory-Optimized Tables › In-Memory Columnstore Indexes › Security › Row-level security › Dynamic data masking / Copyright ©201 by Readify Limited19
  • 20. Page Row-level Security – aka RLS › 2014 – enhancement in 2016 › Why? Multi-tenants DB / Copyright ©2014 by Readify Limited20 Application Server Clients Database Solution 1 Solution 2
  • 21. Page Mohamed Zaatar XXXX-XXXX-XXXX- 6543 xxx Dynamic data masking › Customer service verifying credit cards › By a simple column attribute / Copyright ©2014 by Readify Limited21 Applicatio n Server Databas e Mohamed Zaatar 1234-6123-8787- 6543 123 Matt Davies 7652-2372-2746- 2815 789 Database
  • 22. Page / Copyright ©2014 by Readify Limited22 Demos ? https://github.com/mzaatar/DBScripts/
  • 23. Page Resources › https://msdn.microsoft.com/en-us/library/dn935011.aspx › http://sqlwithmanoj.com/tag/stretch-database/ › https://msdn.microsoft.com/en-US/library/dn466438.aspx › https://msdn.microsoft.com/en-au/library/dn934994.aspx › http://blog.sqlauthority.com/2011/10/29/sql-server-fundamentals-of-columnstore-index/ › http://www.nikoport.com/2015/09/02/columnstore-indexes-part-64-t-sql-improvements-in-sql- server-2016/ › https://msdn.microsoft.com/en-us/library/dn133165.aspx › https://azure.microsoft.com/en-us/blog/query-store-a-flight-data-recorder-for-your-database/ › https://msdn.microsoft.com/en-us/library/dn765131.aspx › https://msdn.microsoft.com/en-us/library/mt163865.aspx / Copyright ©2014 by Readify Limited23

Editor's Notes

  1. Why yes? Keep transactional data for a long time Query historical data Keep old apps/legacy systems to operate Save money on storage/size Rarely access old data! Limitations: Historical data – no update/delete alter tables or views ! No FK Uniqueness is not enforced PK or Unique keys Enable or reenabling recreate it again NO LOCAL Size is determined by SQL Azure $$ ? Pay for your query
  2. Introduced in 2015 and enhanced in 2016 Save DB files as Blob storage in Azure Why? Fast Migration Cost and limitless storage benefits High availability and disaster recovery Security: separate computing instance from the storage instance. Snapshot backup advancement!
  3. Why? Quickly find and fix a plan performance regression by forcing the previous query plan. Fix queries that have recently regressed in performance due to execution plan changes. Determine the number of times a query was executed in a given time window, assisting a DBA in troubleshooting performance resource problems. Identify top n queries (by execution time, memory consumption, etc.) in the past x hours. Audit the history of query plans for a given query. Analyze the resource (CPU, I/O, and Memory) usage patterns for a particular database.
  4. FULL ACID but operate in memory Operate in memory and IO write if committed Both durable and non-durable
  5. Why ? Multi tenants/departments How ? Silently, explicit
  6. Why? Customer service and Credit card How? Simple attribute on column