SlideShare a Scribd company logo
1 of 27
Download to read offline
SQL Server 2014
Inside Out
Regis Gimenis
MCS Architect
Michael Stonebraker (http://slideshot.epfl.ch/play/suri_stonebraker)
Latching
24%
Locking
24%
Recovery
24%
Buffer Pool
24%
Operação
(I,U,D)
4%
CREATE TABLE Customer (
CustomerID INT NOT NULL
PRIMARY KEY NONCLUSTERED HASH WITH (BUCKET_COUNT = 1000000),
Name NVARCHAR(250) NOT NULL
INDEX [Name] HASH WITH (BUCKET_COUNT = 1000000),
CustomerSince DATETIME NULL)
WITH (MEMORY_OPTIMIZED = ON, DURABILITY = SCHEMA_AND_DATA)
Demo
10
CREATE CLUSTERED COLUMNSTORE INDEX cci
ON FactSales;
OrderDateKey ProductKey StoreKey RegionKey Quantity SalesAmount
20140301 1001 1 1 4 4.004,00
20140301 1020 4 3 3 3.060,00
20140301 1010 4 1 2 2.020,00
20140301 1020 3 2 3 3.060,00
20140301 1005 5 3 1 1.005,00
20140302 1005 2 1 4 4.020,00
20140302 1001 2 2 3 3.003,00
20140302 1020 3 3 4 4.080,00
20140302 1010 1 1 2 2.020,00
20140303 1020 4 3 3 3.060,00
OrderDateKey ProductKey StoreKey RegionKey Quantity SalesAmount
20140301 1001 1 1 4 4.004,00
20140301 1020 4 3 3 3.060,00
20140301 1010 4 1 2 2.020,00
20140301 1020 3 2 3 3.060,00
20140301 1005 5 3 1 1.005,00
OrderDateKey ProductKey StoreKey RegionKey Quantity SalesAmount
20140302 1005 2 1 4 4.020,00
20140302 1001 2 2 3 3.003,00
20140302 1020 3 3 4 4.080,00
20140302 1010 1 1 2 2.020,00
20140303 1020 4 3 3 3.060,00
OrderDateKey ProductKey StoreKey RegionKey Quantity SalesAmount
20140301 1001 1 1 4 4.004,00
20140301 1020 4 3 3 3.060,00
20140301 1010 4 1 2 2.020,00
20140301 1020 3 2 3 3.060,00
20140301 1005 5 3 1 1.005,00
OrderDateKey ProductKey StoreKey RegionKey Quantity SalesAmount
20140302 1005 2 1 4 4.020,00
20140302 1001 2 2 3 3.003,00
20140302 1020 3 3 4 4.080,00
20140302 1010 1 1 2 2.020,00
20140303 1020 4 3 3 3.060,00
OrderDateKey ProductKey StoreKey RegionKey Quantity SalesAmount
20140301 1001 1 1 4 4.004,00
20140301 1020 4 3 3 3.060,00
20140301 1010 4 1 2 2.020,00
20140301 1020 3 2 3 3.060,00
20140301 1005 5 3 1 1.005,00
OrderDateKey ProductKey StoreKey RegionKey Quantity SalesAmount
20140302 1005 2 1 4 4.020,00
20140302 1001 2 2 3 3.003,00
20140302 1020 3 3 4 4.080,00
20140302 1010 1 1 2 2.020,00
20140303 1020 4 3 3 3.060,00
OrderDateKey ProductKey StoreKey RegionKey Quantity SalesAmount
20140301 1001 1 1 4 4.004,00
20140301 1020 4 3 3 3.060,00
20140301 1010 4 1 2 2.020,00
20140301 1020 3 2 3 3.060,00
20140301 1005 5 3 1 1.005,00
OrderDateKey ProductKey StoreKey RegionKey Quantity SalesAmount
20140302 1005 2 1 4 4.020,00
20140302 1001 2 2 3 3.003,00
20140302 1020 3 3 4 4.080,00
20140302 1010 1 1 2 2.020,00
20140303 1020 4 3 3 3.060,00
OrderDateKey
20140301
20140301
20140301
20140301
20140301
OrderDateKey
20140302
20140302
20140302
20140302
20140303
ProductKey
1001
1020
1010
1020
1005
ProductKey
1005
1001
1020
1010
1020
StoreKey
1
4
4
3
5
StoreKey
2
2
3
1
4
RegionKey
1
3
1
2
3
RegionKey
1
2
3
1
4
Quantity
4
3
2
3
1
Quantity
4
3
4
2
3
SalesAmount
4.004,00
3.060,00
2.020,00
3.060,00
1.005,00
SalesAmount
4.020,00
3.003,00
4.080,00
2.020,00
3.060,00
SELECT ProductKey, Sum (SalesAmount)
FROM FactSales
WHERE OrderDateKey > 20140301
GROUP BY ProductKey
OrderDateKey
20140301
20140301
20140301
20140301
20140301
OrderDateKey
20140302
20140302
20140302
20140302
20140303
ProductKey
1001
1020
1010
1020
1005
ProductKey
1005
1001
1020
1010
1020
StoreKey
1
4
4
3
5
StoreKey
2
2
3
1
4
RegionKey
1
3
1
2
3
RegionKey
1
2
3
1
4
Quantity
4
3
2
3
1
Quantity
4
3
4
2
3
SalesAmount
4.004,00
3.060,00
2.020,00
3.060,00
1.005,00
SalesAmount
4.020,00
3.003,00
4.080,00
2.020,00
3.060,00
OrderDateKey
20140301
20140301
20140301
20140301
20140301
OrderDateKey
20140302
20140302
20140302
20140302
20140303
ProductKey
1001
1020
1010
1020
1005
ProductKey
1005
1001
1020
1010
1020
StoreKey
1
4
4
3
5
StoreKey
2
2
3
1
4
RegionKey
1
3
1
2
3
RegionKey
1
2
3
1
4
Quantity
4
3
2
3
1
Quantity
4
3
4
2
3
SalesAmount
4.004,00
3.060,00
2.020,00
3.060,00
1.005,00
SalesAmount
4.020,00
3.003,00
4.080,00
2.020,00
3.060,00
OrderDateKey ProductKey StoreKey RegionKey Quantity SalesAmount
20140304 1001 3 4 3 3.003,00
20140304 1020 5 2 2 4.020,00
20140304 1010 2 2 1 1.010,00
INSERT INTO FactSales
VALUES (20140304, 1010, 2, 2, 1, 1.010,00)
Demo
19
Secundário
Assíncrono
Síncrono
Windows Azure
Virtual Network
Dados e Log
Windows Azure
Virtual Network
Demo
25
Webcast SQL Server 2014 Inside Out
Webcast SQL Server 2014 Inside Out

More Related Content

What's hot

Low Res Final Proof
Low Res Final ProofLow Res Final Proof
Low Res Final ProofAlex Ramsay
 
Sahara Glass Handles Catalogue
Sahara Glass Handles Catalogue Sahara Glass Handles Catalogue
Sahara Glass Handles Catalogue saharaartwork
 
Su building blocks toys catalog From TonySourcing.com
Su building blocks toys catalog From TonySourcing.comSu building blocks toys catalog From TonySourcing.com
Su building blocks toys catalog From TonySourcing.comTonySourcing.com
 
Glass Hardware 2015 Catalogue
Glass Hardware 2015 CatalogueGlass Hardware 2015 Catalogue
Glass Hardware 2015 Cataloguesaharaartwork
 
Prez r angl the photo presentation
Prez r angl the photo presentation Prez r angl the photo presentation
Prez r angl the photo presentation Igor Varyvoda
 

What's hot (6)

Low Res Final Proof
Low Res Final ProofLow Res Final Proof
Low Res Final Proof
 
Sahara Glass Handles Catalogue
Sahara Glass Handles Catalogue Sahara Glass Handles Catalogue
Sahara Glass Handles Catalogue
 
Glass hardware accessories
Glass hardware accessoriesGlass hardware accessories
Glass hardware accessories
 
Su building blocks toys catalog From TonySourcing.com
Su building blocks toys catalog From TonySourcing.comSu building blocks toys catalog From TonySourcing.com
Su building blocks toys catalog From TonySourcing.com
 
Glass Hardware 2015 Catalogue
Glass Hardware 2015 CatalogueGlass Hardware 2015 Catalogue
Glass Hardware 2015 Catalogue
 
Prez r angl the photo presentation
Prez r angl the photo presentation Prez r angl the photo presentation
Prez r angl the photo presentation
 

Similar to Webcast SQL Server 2014 Inside Out

Execution plans for mere mortals
Execution plans for mere mortalsExecution plans for mere mortals
Execution plans for mere mortalsMike Lawell
 
Money Projection PowerPoint Presentation Slides
Money Projection PowerPoint Presentation Slides Money Projection PowerPoint Presentation Slides
Money Projection PowerPoint Presentation Slides SlideTeam
 
IBM Vision 2017 Conference Session #1148 - Leveraging Planning Analytics & CD...
IBM Vision 2017 Conference Session #1148 - Leveraging Planning Analytics & CD...IBM Vision 2017 Conference Session #1148 - Leveraging Planning Analytics & CD...
IBM Vision 2017 Conference Session #1148 - Leveraging Planning Analytics & CD...QueBIT Consulting
 
Monetary Forecast PowerPoint Presentation Slides
Monetary Forecast PowerPoint Presentation Slides Monetary Forecast PowerPoint Presentation Slides
Monetary Forecast PowerPoint Presentation Slides SlideTeam
 
Mike lawell executionplansformeremortals_2015
Mike lawell executionplansformeremortals_2015Mike lawell executionplansformeremortals_2015
Mike lawell executionplansformeremortals_2015mlawell
 
Income Forecast PowerPoint Presentation Slides
Income Forecast PowerPoint Presentation SlidesIncome Forecast PowerPoint Presentation Slides
Income Forecast PowerPoint Presentation SlidesSlideTeam
 
OpenText Live: Modeling your business processes to new ways of working
OpenText Live: Modeling your business processes to new ways of workingOpenText Live: Modeling your business processes to new ways of working
OpenText Live: Modeling your business processes to new ways of workingOpenText Portfolio
 
How to Realize an Additional 270% ROI on Snowflake
How to Realize an Additional 270% ROI on SnowflakeHow to Realize an Additional 270% ROI on Snowflake
How to Realize an Additional 270% ROI on SnowflakeAtScale
 
Financial Projection PowerPoint Presentation Slides
Financial Projection PowerPoint Presentation Slides Financial Projection PowerPoint Presentation Slides
Financial Projection PowerPoint Presentation Slides SlideTeam
 
Questionnaire mm.doc
Questionnaire mm.docQuestionnaire mm.doc
Questionnaire mm.docArnab Pal
 
Financial Forecast PowerPoint Presentation Slides
Financial Forecast PowerPoint Presentation Slides Financial Forecast PowerPoint Presentation Slides
Financial Forecast PowerPoint Presentation Slides SlideTeam
 
Value stream mapping (current state)
Value stream mapping (current state)Value stream mapping (current state)
Value stream mapping (current state)nestor martinez
 
icecreamshop-entrepereneur idea - shubham parsekar - sybba - 2013
icecreamshop-entrepereneur idea - shubham parsekar - sybba - 2013icecreamshop-entrepereneur idea - shubham parsekar - sybba - 2013
icecreamshop-entrepereneur idea - shubham parsekar - sybba - 2013Shubham Parsekar
 
Nestle Quick Wins Digital Commerce Conversion Workshop
Nestle Quick Wins Digital Commerce Conversion WorkshopNestle Quick Wins Digital Commerce Conversion Workshop
Nestle Quick Wins Digital Commerce Conversion WorkshopMarcos Pueyrredon
 
Agile Connect Online Meetup 9th - Agile Estimation
Agile Connect Online Meetup 9th - Agile EstimationAgile Connect Online Meetup 9th - Agile Estimation
Agile Connect Online Meetup 9th - Agile EstimationAgile Connect®
 
Service Design and the joy of prototyping operating models
Service Design and the joy of prototyping operating modelsService Design and the joy of prototyping operating models
Service Design and the joy of prototyping operating modelsStephen McKernon
 
Business Plan - Term Project
Business Plan - Term ProjectBusiness Plan - Term Project
Business Plan - Term ProjectKevin Swenson
 
Calculating your 2015 marketing budget: How much marketing do you really need?
Calculating your 2015 marketing budget: How much marketing do you really need?Calculating your 2015 marketing budget: How much marketing do you really need?
Calculating your 2015 marketing budget: How much marketing do you really need?SalesEngine
 
Revenue Projection PowerPoint Presentation Slides
Revenue Projection PowerPoint Presentation SlidesRevenue Projection PowerPoint Presentation Slides
Revenue Projection PowerPoint Presentation SlidesSlideTeam
 

Similar to Webcast SQL Server 2014 Inside Out (20)

Execution plans for mere mortals
Execution plans for mere mortalsExecution plans for mere mortals
Execution plans for mere mortals
 
Money Projection PowerPoint Presentation Slides
Money Projection PowerPoint Presentation Slides Money Projection PowerPoint Presentation Slides
Money Projection PowerPoint Presentation Slides
 
IBM Vision 2017 Conference Session #1148 - Leveraging Planning Analytics & CD...
IBM Vision 2017 Conference Session #1148 - Leveraging Planning Analytics & CD...IBM Vision 2017 Conference Session #1148 - Leveraging Planning Analytics & CD...
IBM Vision 2017 Conference Session #1148 - Leveraging Planning Analytics & CD...
 
Monetary Forecast PowerPoint Presentation Slides
Monetary Forecast PowerPoint Presentation Slides Monetary Forecast PowerPoint Presentation Slides
Monetary Forecast PowerPoint Presentation Slides
 
Mike lawell executionplansformeremortals_2015
Mike lawell executionplansformeremortals_2015Mike lawell executionplansformeremortals_2015
Mike lawell executionplansformeremortals_2015
 
Income Forecast PowerPoint Presentation Slides
Income Forecast PowerPoint Presentation SlidesIncome Forecast PowerPoint Presentation Slides
Income Forecast PowerPoint Presentation Slides
 
OpenText Live: Modeling your business processes to new ways of working
OpenText Live: Modeling your business processes to new ways of workingOpenText Live: Modeling your business processes to new ways of working
OpenText Live: Modeling your business processes to new ways of working
 
How to Realize an Additional 270% ROI on Snowflake
How to Realize an Additional 270% ROI on SnowflakeHow to Realize an Additional 270% ROI on Snowflake
How to Realize an Additional 270% ROI on Snowflake
 
Financial Projection PowerPoint Presentation Slides
Financial Projection PowerPoint Presentation Slides Financial Projection PowerPoint Presentation Slides
Financial Projection PowerPoint Presentation Slides
 
Questionnaire mm.doc
Questionnaire mm.docQuestionnaire mm.doc
Questionnaire mm.doc
 
Financial Forecast PowerPoint Presentation Slides
Financial Forecast PowerPoint Presentation Slides Financial Forecast PowerPoint Presentation Slides
Financial Forecast PowerPoint Presentation Slides
 
Value stream mapping (current state)
Value stream mapping (current state)Value stream mapping (current state)
Value stream mapping (current state)
 
icecreamshop-entrepereneur idea - shubham parsekar - sybba - 2013
icecreamshop-entrepereneur idea - shubham parsekar - sybba - 2013icecreamshop-entrepereneur idea - shubham parsekar - sybba - 2013
icecreamshop-entrepereneur idea - shubham parsekar - sybba - 2013
 
Nestle Quick Wins Digital Commerce Conversion Workshop
Nestle Quick Wins Digital Commerce Conversion WorkshopNestle Quick Wins Digital Commerce Conversion Workshop
Nestle Quick Wins Digital Commerce Conversion Workshop
 
Agile Connect Online Meetup 9th - Agile Estimation
Agile Connect Online Meetup 9th - Agile EstimationAgile Connect Online Meetup 9th - Agile Estimation
Agile Connect Online Meetup 9th - Agile Estimation
 
Service Design and the joy of prototyping operating models
Service Design and the joy of prototyping operating modelsService Design and the joy of prototyping operating models
Service Design and the joy of prototyping operating models
 
TeamSixBP
TeamSixBPTeamSixBP
TeamSixBP
 
Business Plan - Term Project
Business Plan - Term ProjectBusiness Plan - Term Project
Business Plan - Term Project
 
Calculating your 2015 marketing budget: How much marketing do you really need?
Calculating your 2015 marketing budget: How much marketing do you really need?Calculating your 2015 marketing budget: How much marketing do you really need?
Calculating your 2015 marketing budget: How much marketing do you really need?
 
Revenue Projection PowerPoint Presentation Slides
Revenue Projection PowerPoint Presentation SlidesRevenue Projection PowerPoint Presentation Slides
Revenue Projection PowerPoint Presentation Slides
 

Recently uploaded

ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKJago de Vreede
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfOverkill Security
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 

Recently uploaded (20)

ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 

Webcast SQL Server 2014 Inside Out

  • 1. SQL Server 2014 Inside Out Regis Gimenis MCS Architect
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 8.
  • 9. CREATE TABLE Customer ( CustomerID INT NOT NULL PRIMARY KEY NONCLUSTERED HASH WITH (BUCKET_COUNT = 1000000), Name NVARCHAR(250) NOT NULL INDEX [Name] HASH WITH (BUCKET_COUNT = 1000000), CustomerSince DATETIME NULL) WITH (MEMORY_OPTIMIZED = ON, DURABILITY = SCHEMA_AND_DATA)
  • 11.
  • 12.
  • 13. CREATE CLUSTERED COLUMNSTORE INDEX cci ON FactSales;
  • 14. OrderDateKey ProductKey StoreKey RegionKey Quantity SalesAmount 20140301 1001 1 1 4 4.004,00 20140301 1020 4 3 3 3.060,00 20140301 1010 4 1 2 2.020,00 20140301 1020 3 2 3 3.060,00 20140301 1005 5 3 1 1.005,00 20140302 1005 2 1 4 4.020,00 20140302 1001 2 2 3 3.003,00 20140302 1020 3 3 4 4.080,00 20140302 1010 1 1 2 2.020,00 20140303 1020 4 3 3 3.060,00 OrderDateKey ProductKey StoreKey RegionKey Quantity SalesAmount 20140301 1001 1 1 4 4.004,00 20140301 1020 4 3 3 3.060,00 20140301 1010 4 1 2 2.020,00 20140301 1020 3 2 3 3.060,00 20140301 1005 5 3 1 1.005,00 OrderDateKey ProductKey StoreKey RegionKey Quantity SalesAmount 20140302 1005 2 1 4 4.020,00 20140302 1001 2 2 3 3.003,00 20140302 1020 3 3 4 4.080,00 20140302 1010 1 1 2 2.020,00 20140303 1020 4 3 3 3.060,00
  • 15. OrderDateKey ProductKey StoreKey RegionKey Quantity SalesAmount 20140301 1001 1 1 4 4.004,00 20140301 1020 4 3 3 3.060,00 20140301 1010 4 1 2 2.020,00 20140301 1020 3 2 3 3.060,00 20140301 1005 5 3 1 1.005,00 OrderDateKey ProductKey StoreKey RegionKey Quantity SalesAmount 20140302 1005 2 1 4 4.020,00 20140302 1001 2 2 3 3.003,00 20140302 1020 3 3 4 4.080,00 20140302 1010 1 1 2 2.020,00 20140303 1020 4 3 3 3.060,00 OrderDateKey ProductKey StoreKey RegionKey Quantity SalesAmount 20140301 1001 1 1 4 4.004,00 20140301 1020 4 3 3 3.060,00 20140301 1010 4 1 2 2.020,00 20140301 1020 3 2 3 3.060,00 20140301 1005 5 3 1 1.005,00 OrderDateKey ProductKey StoreKey RegionKey Quantity SalesAmount 20140302 1005 2 1 4 4.020,00 20140302 1001 2 2 3 3.003,00 20140302 1020 3 3 4 4.080,00 20140302 1010 1 1 2 2.020,00 20140303 1020 4 3 3 3.060,00
  • 16. OrderDateKey ProductKey StoreKey RegionKey Quantity SalesAmount 20140301 1001 1 1 4 4.004,00 20140301 1020 4 3 3 3.060,00 20140301 1010 4 1 2 2.020,00 20140301 1020 3 2 3 3.060,00 20140301 1005 5 3 1 1.005,00 OrderDateKey ProductKey StoreKey RegionKey Quantity SalesAmount 20140302 1005 2 1 4 4.020,00 20140302 1001 2 2 3 3.003,00 20140302 1020 3 3 4 4.080,00 20140302 1010 1 1 2 2.020,00 20140303 1020 4 3 3 3.060,00 OrderDateKey 20140301 20140301 20140301 20140301 20140301 OrderDateKey 20140302 20140302 20140302 20140302 20140303 ProductKey 1001 1020 1010 1020 1005 ProductKey 1005 1001 1020 1010 1020 StoreKey 1 4 4 3 5 StoreKey 2 2 3 1 4 RegionKey 1 3 1 2 3 RegionKey 1 2 3 1 4 Quantity 4 3 2 3 1 Quantity 4 3 4 2 3 SalesAmount 4.004,00 3.060,00 2.020,00 3.060,00 1.005,00 SalesAmount 4.020,00 3.003,00 4.080,00 2.020,00 3.060,00
  • 17. SELECT ProductKey, Sum (SalesAmount) FROM FactSales WHERE OrderDateKey > 20140301 GROUP BY ProductKey OrderDateKey 20140301 20140301 20140301 20140301 20140301 OrderDateKey 20140302 20140302 20140302 20140302 20140303 ProductKey 1001 1020 1010 1020 1005 ProductKey 1005 1001 1020 1010 1020 StoreKey 1 4 4 3 5 StoreKey 2 2 3 1 4 RegionKey 1 3 1 2 3 RegionKey 1 2 3 1 4 Quantity 4 3 2 3 1 Quantity 4 3 4 2 3 SalesAmount 4.004,00 3.060,00 2.020,00 3.060,00 1.005,00 SalesAmount 4.020,00 3.003,00 4.080,00 2.020,00 3.060,00
  • 20.
  • 21.
  • 22.
  • 24. Dados e Log Windows Azure Virtual Network