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
 
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®
 
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
 
Pay Forecast PowerPoint Presentation Slides
Pay Forecast PowerPoint Presentation Slides Pay Forecast PowerPoint Presentation Slides
Pay Forecast PowerPoint Presentation Slides SlideTeam
 
Working Capital Modeling PowerPoint Presentation Slides
Working Capital Modeling PowerPoint Presentation Slides Working Capital Modeling PowerPoint Presentation Slides
Working Capital Modeling PowerPoint Presentation Slides SlideTeam
 
Neo4j Makes Graphs Easy: Nicole White
Neo4j Makes Graphs Easy: Nicole WhiteNeo4j Makes Graphs Easy: Nicole White
Neo4j Makes Graphs Easy: Nicole WhiteNeo4j
 

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
 
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
 
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
 
Inventory Strategy
Inventory StrategyInventory Strategy
Inventory Strategy
 
Pay Forecast PowerPoint Presentation Slides
Pay Forecast PowerPoint Presentation Slides Pay Forecast PowerPoint Presentation Slides
Pay Forecast PowerPoint Presentation Slides
 
Working Capital Modeling PowerPoint Presentation Slides
Working Capital Modeling PowerPoint Presentation Slides Working Capital Modeling PowerPoint Presentation Slides
Working Capital Modeling PowerPoint Presentation Slides
 
Neo4j Makes Graphs Easy: Nicole White
Neo4j Makes Graphs Easy: Nicole WhiteNeo4j Makes Graphs Easy: Nicole White
Neo4j Makes Graphs Easy: Nicole White
 

Recently uploaded

Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
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
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 

Recently uploaded (20)

Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 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...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 

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