SlideShare a Scribd company logo
1 of 31
1© Copyright 2009 EMC Corporation. All rights reserved.
Fast Track Foundations:
Serious about Sequential I/O
James Rowland-Jones
&
Allan Mitchell
2© Copyright 2009 EMC Corporation. All rights reserved.
WTF IS FAST TRACK?
Introduction
3© Copyright 2009 EMC Corporation. All rights reserved.
Blend of Hardware & Software
4© Copyright 2009 EMC Corporation. All rights reserved.
Predictable Performance
Balanced
Configurations
– CPU
– Memory
– Network
– Storage
5© Copyright 2009 EMC Corporation. All rights reserved.
Targeted to the Data Warehouse Workload
Sequential Scanning of Data
Leads to fewer disks
6© Copyright 2009 EMC Corporation. All rights reserved.
Prescriptive
Best Practices
Recommendations
You don’t get to
pick and choose!
7© Copyright 2009 EMC Corporation. All rights reserved.
WHY SQL 2008 ONLY?
8© Copyright 2009 EMC Corporation. All rights reserved.
SQL Server 2008 Enterprise...
...was the Data Warehousing release...
Compression
Star Joins
Few Outer Rows Parallelism
Partitioned Table Parallelism
Resource Governor
Improved Read Ahead
9© Copyright 2009 EMC Corporation. All rights reserved.
SQL 2008 Settings
Startup Parameters
– T1117
– E
Resource Governor
– Reduce Max memory per session
Page Compression ON!
10© Copyright 2009 EMC Corporation. All rights reserved.
Windows 2008 Settings
Multipath I/O Feature is required
Lock Pages In Memory Enabled
11© Copyright 2009 EMC Corporation. All rights reserved.
SEQUENTIAL VS RANDOM I/O
DEMO TIME:
12© Copyright 2009 EMC Corporation. All rights reserved.
Counters
Performance Counter
 Avg. Disk Bytes / Read
 Avg. Disk Sec / Read
 Disk Read Bytes / Sec
 Disk Reads / Sec
Meaning
 Size of I/Os
 Latency “Seek Time”
 Throughput – MB/s
 I/Os per second
 sys.dm_db_index_physical_file_stats
 sys.dm_io_virtual_file_stats
 sys.dm_io_pending_io_requests
DMVs
13© Copyright 2009 EMC Corporation. All rights reserved.
Time to Take the Red Pill...
14© Copyright 2009 EMC Corporation. All rights reserved.
15© Copyright 2009 EMC Corporation. All rights reserved.
DB DESIGN CONSIDERATIONS
Fast Track Thinking
16© Copyright 2009 EMC Corporation. All rights reserved.
Indexing
Think Index Light
 NC Indexes aimed at low volume row lookups
 Indexes are Expensive to maintain
17© Copyright 2009 EMC Corporation. All rights reserved.
Aggregation
Think Aggregation Light
 Introduces Updates (fragmentation)
 Removing aggs reduces maintenance
18© Copyright 2009 EMC Corporation. All rights reserved.
Partitioning
Partition Qualification
Data Management
P1 P4P3P2P
2
19© Copyright 2009 EMC Corporation. All rights reserved.
RG1 RG2
RG3 RG4
RG5 RG6
RG7 RG8
RG9
RG10
Conceptual View of Fast Track Hardware
1
3
2
4
5
7
6
8
H
H
4GB
4GB
4GB
4GB
4GB
4GB
4GB
RAID 1
LUN 01
LUN 02
LUN 03
LUN 04
LUN 17
(Logs)
LUN 05
LUN 07
LUN 06
LUN 08
SPARE
SPASPB
FC1
FC2
FC3
FC4
FibreSwitch
LUN 09
LUN 11
LUN 10
LUN 12
LUN 18
(Logs)
LUN 13
LUN 15
LUN 14
LUN 16
SPARE
SPCSPD
FC5
FC6
FC7
FC8
8 Core 32 GB RAM
Server
4GB
20© Copyright 2009 EMC Corporation. All rights reserved.
RG1 RG2
RG3 RG4
RG5 RG6
RG7 RG8
RG9
RG10
Performance View of Fast Track Hardware
1
3
2
4
5
7
6
8
H
H
LUN 01
LUN 02
LUN 03
LUN 04
LUN 17
(Logs)
LUN 05
LUN 07
LUN 06
LUN 08
SPASPB
FC1
FC2
FC3
FC4
FibreSwitch
LUN 09
LUN 11
LUN 10
LUN 12
LUN 18
(Logs)
LUN 13
LUN 15
LUN 14
LUN 16
SPCSPD
FC5
FC6
FC7
FC8
200 mb/s per CPU core is
central to Fast Track
Architecture
32GB
RAM800mb/s
800mb/s
400mb/s
per port
1 LUN =
125
MB/S
SP Port
650MB/s
FCPort
400MB/S
21© Copyright 2009 EMC Corporation. All rights reserved.
Performance Summary
Component Throughput
8 CPU Cores 1600 MB/S
4 HBA Ports (2 adapters) 1600 MB/S
8 FC Ports (4 per array) 3200 MB/S
4 Storage Processors (2 per array) 2600 MB/S
16 LUNS (Data Only) 2000 MB/S
22© Copyright 2009 EMC Corporation. All rights reserved.
Capacity Summary
16x 300GB Data Disks Raw (formatted) 4352 GB
4x 300GB Log Disks Raw (formatted) 1088 GB
LESS RAID 1
8x RAID 1 Raid Groups for Data 2176 GB
2x RAID 1 Raid Groups for Logs 544 GB
LESS TEMPDB SPACE
Tempdb Data files 576 GB
User Data Uncompressed Available 1600 GB
Data Compression Ratio 2.5:1 4000 GB
23© Copyright 2009 EMC Corporation. All rights reserved.
Database Layout
Fi1 Fi2 Fi3 Fi4 Fi5 Fi6 Fi7
Fi9 Fi10 Fi11 Fi12 Fi13 Fi14 Fi15
Fi1 Fi2 Fi3 Fi4 Fi5 Fi6 Fi7
Fi1 Fi2 Fi3 Fi4 Fi5 Fi6 Fi7
Fi9 Fi10 Fi11 Fi12 Fi13 Fi14 Fi15
Fi9 Fi10 Fi11 Fi12 Fi13 Fi14 Fi15 tempLog
Live Log
Stage Log
Live
FG1
Stage
FG1
Tempdb
Primary
Fi8
Fi8
Fi8
Fi16
Fi16
Fi16
Fi0
Fi0
PrimaryPrimary
24© Copyright 2009 EMC Corporation. All rights reserved.
MANAGING FRAGMENTATION
The arch enemy of Sequential I/O
25© Copyright 2009 EMC Corporation. All rights reserved.
Fragmentation
File System Extent Index
26© Copyright 2009 EMC Corporation. All rights reserved.
File System Fragmentation
Pre-Allocate your Database files
Avoid O/S de-fraggers
They know not what they do...
27© Copyright 2009 EMC Corporation. All rights reserved.
Extent Fragmentation
Occurs Courtesy of
Concurrent DML
Updates
Deletes
Follow the guidelines!
Otherwise you’ll be re-loading the tables....
28© Copyright 2009 EMC Corporation. All rights reserved.
Index Fragmentation
 Don’t use ALTER INDEX REORGANIZE
 Do one of the following
– ALTER INDEX REBUILD ...
SORT_IN_TEMPDB = TRUE (MAXDOP 1)
– INSERT ... SELECT into a new table
29© Copyright 2009 EMC Corporation. All rights reserved.
File Groups
Isolate Volatile Data
 Create a separate Filegroup
 One file per LUN to spread the I/O
Isolate Small / Dimension Tables
Stage Data in a Separate DB or File Group
30© Copyright 2009 EMC Corporation. All rights reserved.
DATA LOADING FOR
SEQUENTIAL I/O
Over to Mitchell...
where Allan and Darren live

More Related Content

What's hot

Intro to Cell Broadband Engine for HPC
Intro to Cell Broadband Engine for HPCIntro to Cell Broadband Engine for HPC
Intro to Cell Broadband Engine for HPCSlide_N
 
Solaris 11 Consolidation Tools
Solaris 11 Consolidation ToolsSolaris 11 Consolidation Tools
Solaris 11 Consolidation ToolsRoman Ivanov
 
Advanced Site Recovery -- Technical Briefing
Advanced Site Recovery -- Technical BriefingAdvanced Site Recovery -- Technical Briefing
Advanced Site Recovery -- Technical BriefingJames Price
 
Resume_CQ_Edward
Resume_CQ_EdwardResume_CQ_Edward
Resume_CQ_Edwardcaiqi wang
 
OSインストーラーの自作方法
OSインストーラーの自作方法OSインストーラーの自作方法
OSインストーラーの自作方法LINE Corporation
 
Presentation vmax hardware deep dive
Presentation   vmax hardware deep divePresentation   vmax hardware deep dive
Presentation vmax hardware deep divesolarisyougood
 
Storage Area Networking: SAN Technology Update & Best Practice Deep Dive for ...
Storage Area Networking: SAN Technology Update & Best Practice Deep Dive for ...Storage Area Networking: SAN Technology Update & Best Practice Deep Dive for ...
Storage Area Networking: SAN Technology Update & Best Practice Deep Dive for ...EMC
 
M. Rafaat_EMC_Presentation
M. Rafaat_EMC_PresentationM. Rafaat_EMC_Presentation
M. Rafaat_EMC_PresentationMohamed Raafat
 
A z/OS System Programmer’s Guide to Migrating to a New IBM System z9 EC or z9...
A z/OS System Programmer’s Guide to Migrating to a New IBM System z9 EC or z9...A z/OS System Programmer’s Guide to Migrating to a New IBM System z9 EC or z9...
A z/OS System Programmer’s Guide to Migrating to a New IBM System z9 EC or z9...IBM India Smarter Computing
 
ASCI Terascale Simulation Requirements and Deployments
ASCI Terascale Simulation Requirements and DeploymentsASCI Terascale Simulation Requirements and Deployments
ASCI Terascale Simulation Requirements and DeploymentsGlenn K. Lockwood
 
Mega Launch Recap Slide Deck
Mega Launch Recap Slide DeckMega Launch Recap Slide Deck
Mega Launch Recap Slide DeckVarrow Inc.
 
Presentation symmetrix vmax family with enginuity 5876
Presentation   symmetrix vmax family with enginuity 5876Presentation   symmetrix vmax family with enginuity 5876
Presentation symmetrix vmax family with enginuity 5876solarisyougood
 

What's hot (13)

Intro to Cell Broadband Engine for HPC
Intro to Cell Broadband Engine for HPCIntro to Cell Broadband Engine for HPC
Intro to Cell Broadband Engine for HPC
 
Solaris 11 Consolidation Tools
Solaris 11 Consolidation ToolsSolaris 11 Consolidation Tools
Solaris 11 Consolidation Tools
 
Advanced Site Recovery -- Technical Briefing
Advanced Site Recovery -- Technical BriefingAdvanced Site Recovery -- Technical Briefing
Advanced Site Recovery -- Technical Briefing
 
Resume_CQ_Edward
Resume_CQ_EdwardResume_CQ_Edward
Resume_CQ_Edward
 
OSインストーラーの自作方法
OSインストーラーの自作方法OSインストーラーの自作方法
OSインストーラーの自作方法
 
Presentation vmax hardware deep dive
Presentation   vmax hardware deep divePresentation   vmax hardware deep dive
Presentation vmax hardware deep dive
 
Storage Area Networking: SAN Technology Update & Best Practice Deep Dive for ...
Storage Area Networking: SAN Technology Update & Best Practice Deep Dive for ...Storage Area Networking: SAN Technology Update & Best Practice Deep Dive for ...
Storage Area Networking: SAN Technology Update & Best Practice Deep Dive for ...
 
M. Rafaat_EMC_Presentation
M. Rafaat_EMC_PresentationM. Rafaat_EMC_Presentation
M. Rafaat_EMC_Presentation
 
A z/OS System Programmer’s Guide to Migrating to a New IBM System z9 EC or z9...
A z/OS System Programmer’s Guide to Migrating to a New IBM System z9 EC or z9...A z/OS System Programmer’s Guide to Migrating to a New IBM System z9 EC or z9...
A z/OS System Programmer’s Guide to Migrating to a New IBM System z9 EC or z9...
 
ASCI Terascale Simulation Requirements and Deployments
ASCI Terascale Simulation Requirements and DeploymentsASCI Terascale Simulation Requirements and Deployments
ASCI Terascale Simulation Requirements and Deployments
 
Mega Launch Recap Slide Deck
Mega Launch Recap Slide DeckMega Launch Recap Slide Deck
Mega Launch Recap Slide Deck
 
EMCSymmetrix vmax-10
EMCSymmetrix vmax-10EMCSymmetrix vmax-10
EMCSymmetrix vmax-10
 
Presentation symmetrix vmax family with enginuity 5876
Presentation   symmetrix vmax family with enginuity 5876Presentation   symmetrix vmax family with enginuity 5876
Presentation symmetrix vmax family with enginuity 5876
 

Similar to SQL Server Fast Track Foundations Guide

Transforming your Business with Scale-Out Flash: How MongoDB & Flash Accelera...
Transforming your Business with Scale-Out Flash: How MongoDB & Flash Accelera...Transforming your Business with Scale-Out Flash: How MongoDB & Flash Accelera...
Transforming your Business with Scale-Out Flash: How MongoDB & Flash Accelera...MongoDB
 
Z109889 z4 r-storage-dfsms-vegas-v1910b
Z109889 z4 r-storage-dfsms-vegas-v1910bZ109889 z4 r-storage-dfsms-vegas-v1910b
Z109889 z4 r-storage-dfsms-vegas-v1910bTony Pearson
 
Enterprise power systems transition to power7 technology
Enterprise power systems transition to power7 technologyEnterprise power systems transition to power7 technology
Enterprise power systems transition to power7 technologysolarisyougood
 
Presentation power vm common 2012
Presentation   power vm common 2012Presentation   power vm common 2012
Presentation power vm common 2012solarisyougood
 
Z109889 z4 r-storage-dfsms-jburg-v1909d
Z109889 z4 r-storage-dfsms-jburg-v1909dZ109889 z4 r-storage-dfsms-jburg-v1909d
Z109889 z4 r-storage-dfsms-jburg-v1909dTony Pearson
 
Z4R: Intro to Storage and DFSMS for z/OS
Z4R: Intro to Storage and DFSMS for z/OSZ4R: Intro to Storage and DFSMS for z/OS
Z4R: Intro to Storage and DFSMS for z/OSTony Pearson
 
G108277 ds8000-resiliency-lagos-v1905c
G108277 ds8000-resiliency-lagos-v1905cG108277 ds8000-resiliency-lagos-v1905c
G108277 ds8000-resiliency-lagos-v1905cTony Pearson
 
OSBConf 2015 | Contemporary and cost efficient backups to to tape by josef we...
OSBConf 2015 | Contemporary and cost efficient backups to to tape by josef we...OSBConf 2015 | Contemporary and cost efficient backups to to tape by josef we...
OSBConf 2015 | Contemporary and cost efficient backups to to tape by josef we...NETWAYS
 
#IBMEdge: Flash Storage Session
#IBMEdge: Flash Storage Session#IBMEdge: Flash Storage Session
#IBMEdge: Flash Storage SessionBrocade
 
All Flash is not Equal: Tony Pearson contrasts IBM FlashSystem with Solid-Sta...
All Flash is not Equal: Tony Pearson contrasts IBM FlashSystem with Solid-Sta...All Flash is not Equal: Tony Pearson contrasts IBM FlashSystem with Solid-Sta...
All Flash is not Equal: Tony Pearson contrasts IBM FlashSystem with Solid-Sta...Tony Pearson
 
Sparc m6 32 in-memory infrastructure for the entire enterprise
Sparc m6 32 in-memory infrastructure for the entire enterpriseSparc m6 32 in-memory infrastructure for the entire enterprise
Sparc m6 32 in-memory infrastructure for the entire enterprisesolarisyougood
 
Firebird2.5 Benchmarks(English)20091031
Firebird2.5 Benchmarks(English)20091031Firebird2.5 Benchmarks(English)20091031
Firebird2.5 Benchmarks(English)20091031Tsutomu Hayashi
 
DEFCON 23 - Etienne Martineau - inter vm data exfiltration
DEFCON 23 - Etienne Martineau - inter vm data exfiltrationDEFCON 23 - Etienne Martineau - inter vm data exfiltration
DEFCON 23 - Etienne Martineau - inter vm data exfiltrationFelipe Prado
 
Approaching hyperconvergedopenstack
Approaching hyperconvergedopenstackApproaching hyperconvergedopenstack
Approaching hyperconvergedopenstackIkuo Kumagai
 
Verification of the QorIQ Communication Platform Containing CoreNet Fabric wi...
Verification of the QorIQ Communication Platform Containing CoreNet Fabric wi...Verification of the QorIQ Communication Platform Containing CoreNet Fabric wi...
Verification of the QorIQ Communication Platform Containing CoreNet Fabric wi...DVClub
 
Power 7 Overview
Power 7 OverviewPower 7 Overview
Power 7 Overviewlambertt
 
3. EMC Storage for future Surveillance.pdf
3. EMC Storage for future Surveillance.pdf3. EMC Storage for future Surveillance.pdf
3. EMC Storage for future Surveillance.pdfPawachMetharattanara
 
[db tech showcase Tokyo 2018] #dbts2018 #B17 『オラクル パフォーマンス チューニング - 神話、伝説と解決策』
[db tech showcase Tokyo 2018] #dbts2018 #B17 『オラクル パフォーマンス チューニング - 神話、伝説と解決策』[db tech showcase Tokyo 2018] #dbts2018 #B17 『オラクル パフォーマンス チューニング - 神話、伝説と解決策』
[db tech showcase Tokyo 2018] #dbts2018 #B17 『オラクル パフォーマンス チューニング - 神話、伝説と解決策』Insight Technology, Inc.
 
Ceph Day KL - Delivering cost-effective, high performance Ceph cluster
Ceph Day KL - Delivering cost-effective, high performance Ceph clusterCeph Day KL - Delivering cost-effective, high performance Ceph cluster
Ceph Day KL - Delivering cost-effective, high performance Ceph clusterCeph Community
 

Similar to SQL Server Fast Track Foundations Guide (20)

Transforming your Business with Scale-Out Flash: How MongoDB & Flash Accelera...
Transforming your Business with Scale-Out Flash: How MongoDB & Flash Accelera...Transforming your Business with Scale-Out Flash: How MongoDB & Flash Accelera...
Transforming your Business with Scale-Out Flash: How MongoDB & Flash Accelera...
 
Z109889 z4 r-storage-dfsms-vegas-v1910b
Z109889 z4 r-storage-dfsms-vegas-v1910bZ109889 z4 r-storage-dfsms-vegas-v1910b
Z109889 z4 r-storage-dfsms-vegas-v1910b
 
Enterprise power systems transition to power7 technology
Enterprise power systems transition to power7 technologyEnterprise power systems transition to power7 technology
Enterprise power systems transition to power7 technology
 
Presentation power vm common 2012
Presentation   power vm common 2012Presentation   power vm common 2012
Presentation power vm common 2012
 
Z109889 z4 r-storage-dfsms-jburg-v1909d
Z109889 z4 r-storage-dfsms-jburg-v1909dZ109889 z4 r-storage-dfsms-jburg-v1909d
Z109889 z4 r-storage-dfsms-jburg-v1909d
 
Z4R: Intro to Storage and DFSMS for z/OS
Z4R: Intro to Storage and DFSMS for z/OSZ4R: Intro to Storage and DFSMS for z/OS
Z4R: Intro to Storage and DFSMS for z/OS
 
G108277 ds8000-resiliency-lagos-v1905c
G108277 ds8000-resiliency-lagos-v1905cG108277 ds8000-resiliency-lagos-v1905c
G108277 ds8000-resiliency-lagos-v1905c
 
OSBConf 2015 | Contemporary and cost efficient backups to to tape by josef we...
OSBConf 2015 | Contemporary and cost efficient backups to to tape by josef we...OSBConf 2015 | Contemporary and cost efficient backups to to tape by josef we...
OSBConf 2015 | Contemporary and cost efficient backups to to tape by josef we...
 
#IBMEdge: Flash Storage Session
#IBMEdge: Flash Storage Session#IBMEdge: Flash Storage Session
#IBMEdge: Flash Storage Session
 
All Flash is not Equal: Tony Pearson contrasts IBM FlashSystem with Solid-Sta...
All Flash is not Equal: Tony Pearson contrasts IBM FlashSystem with Solid-Sta...All Flash is not Equal: Tony Pearson contrasts IBM FlashSystem with Solid-Sta...
All Flash is not Equal: Tony Pearson contrasts IBM FlashSystem with Solid-Sta...
 
Sparc m6 32 in-memory infrastructure for the entire enterprise
Sparc m6 32 in-memory infrastructure for the entire enterpriseSparc m6 32 in-memory infrastructure for the entire enterprise
Sparc m6 32 in-memory infrastructure for the entire enterprise
 
Firebird2.5 Benchmarks(English)20091031
Firebird2.5 Benchmarks(English)20091031Firebird2.5 Benchmarks(English)20091031
Firebird2.5 Benchmarks(English)20091031
 
DEFCON 23 - Etienne Martineau - inter vm data exfiltration
DEFCON 23 - Etienne Martineau - inter vm data exfiltrationDEFCON 23 - Etienne Martineau - inter vm data exfiltration
DEFCON 23 - Etienne Martineau - inter vm data exfiltration
 
Approaching hyperconvergedopenstack
Approaching hyperconvergedopenstackApproaching hyperconvergedopenstack
Approaching hyperconvergedopenstack
 
Verification of the QorIQ Communication Platform Containing CoreNet Fabric wi...
Verification of the QorIQ Communication Platform Containing CoreNet Fabric wi...Verification of the QorIQ Communication Platform Containing CoreNet Fabric wi...
Verification of the QorIQ Communication Platform Containing CoreNet Fabric wi...
 
Power 7 Overview
Power 7 OverviewPower 7 Overview
Power 7 Overview
 
3. EMC Storage for future Surveillance.pdf
3. EMC Storage for future Surveillance.pdf3. EMC Storage for future Surveillance.pdf
3. EMC Storage for future Surveillance.pdf
 
[db tech showcase Tokyo 2018] #dbts2018 #B17 『オラクル パフォーマンス チューニング - 神話、伝説と解決策』
[db tech showcase Tokyo 2018] #dbts2018 #B17 『オラクル パフォーマンス チューニング - 神話、伝説と解決策』[db tech showcase Tokyo 2018] #dbts2018 #B17 『オラクル パフォーマンス チューニング - 神話、伝説と解決策』
[db tech showcase Tokyo 2018] #dbts2018 #B17 『オラクル パフォーマンス チューニング - 神話、伝説と解決策』
 
Ceph Day KL - Delivering cost-effective, high performance Ceph cluster
Ceph Day KL - Delivering cost-effective, high performance Ceph clusterCeph Day KL - Delivering cost-effective, high performance Ceph cluster
Ceph Day KL - Delivering cost-effective, high performance Ceph cluster
 
Ibm cell
Ibm cell Ibm cell
Ibm cell
 

Recently uploaded

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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
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
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
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
 
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
 
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
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
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
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
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
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
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
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 

Recently uploaded (20)

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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
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
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
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 ...
 
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...
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
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
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
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
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 

SQL Server Fast Track Foundations Guide

  • 1. 1© Copyright 2009 EMC Corporation. All rights reserved. Fast Track Foundations: Serious about Sequential I/O James Rowland-Jones & Allan Mitchell
  • 2. 2© Copyright 2009 EMC Corporation. All rights reserved. WTF IS FAST TRACK? Introduction
  • 3. 3© Copyright 2009 EMC Corporation. All rights reserved. Blend of Hardware & Software
  • 4. 4© Copyright 2009 EMC Corporation. All rights reserved. Predictable Performance Balanced Configurations – CPU – Memory – Network – Storage
  • 5. 5© Copyright 2009 EMC Corporation. All rights reserved. Targeted to the Data Warehouse Workload Sequential Scanning of Data Leads to fewer disks
  • 6. 6© Copyright 2009 EMC Corporation. All rights reserved. Prescriptive Best Practices Recommendations You don’t get to pick and choose!
  • 7. 7© Copyright 2009 EMC Corporation. All rights reserved. WHY SQL 2008 ONLY?
  • 8. 8© Copyright 2009 EMC Corporation. All rights reserved. SQL Server 2008 Enterprise... ...was the Data Warehousing release... Compression Star Joins Few Outer Rows Parallelism Partitioned Table Parallelism Resource Governor Improved Read Ahead
  • 9. 9© Copyright 2009 EMC Corporation. All rights reserved. SQL 2008 Settings Startup Parameters – T1117 – E Resource Governor – Reduce Max memory per session Page Compression ON!
  • 10. 10© Copyright 2009 EMC Corporation. All rights reserved. Windows 2008 Settings Multipath I/O Feature is required Lock Pages In Memory Enabled
  • 11. 11© Copyright 2009 EMC Corporation. All rights reserved. SEQUENTIAL VS RANDOM I/O DEMO TIME:
  • 12. 12© Copyright 2009 EMC Corporation. All rights reserved. Counters Performance Counter  Avg. Disk Bytes / Read  Avg. Disk Sec / Read  Disk Read Bytes / Sec  Disk Reads / Sec Meaning  Size of I/Os  Latency “Seek Time”  Throughput – MB/s  I/Os per second  sys.dm_db_index_physical_file_stats  sys.dm_io_virtual_file_stats  sys.dm_io_pending_io_requests DMVs
  • 13. 13© Copyright 2009 EMC Corporation. All rights reserved. Time to Take the Red Pill...
  • 14. 14© Copyright 2009 EMC Corporation. All rights reserved.
  • 15. 15© Copyright 2009 EMC Corporation. All rights reserved. DB DESIGN CONSIDERATIONS Fast Track Thinking
  • 16. 16© Copyright 2009 EMC Corporation. All rights reserved. Indexing Think Index Light  NC Indexes aimed at low volume row lookups  Indexes are Expensive to maintain
  • 17. 17© Copyright 2009 EMC Corporation. All rights reserved. Aggregation Think Aggregation Light  Introduces Updates (fragmentation)  Removing aggs reduces maintenance
  • 18. 18© Copyright 2009 EMC Corporation. All rights reserved. Partitioning Partition Qualification Data Management P1 P4P3P2P 2
  • 19. 19© Copyright 2009 EMC Corporation. All rights reserved. RG1 RG2 RG3 RG4 RG5 RG6 RG7 RG8 RG9 RG10 Conceptual View of Fast Track Hardware 1 3 2 4 5 7 6 8 H H 4GB 4GB 4GB 4GB 4GB 4GB 4GB RAID 1 LUN 01 LUN 02 LUN 03 LUN 04 LUN 17 (Logs) LUN 05 LUN 07 LUN 06 LUN 08 SPARE SPASPB FC1 FC2 FC3 FC4 FibreSwitch LUN 09 LUN 11 LUN 10 LUN 12 LUN 18 (Logs) LUN 13 LUN 15 LUN 14 LUN 16 SPARE SPCSPD FC5 FC6 FC7 FC8 8 Core 32 GB RAM Server 4GB
  • 20. 20© Copyright 2009 EMC Corporation. All rights reserved. RG1 RG2 RG3 RG4 RG5 RG6 RG7 RG8 RG9 RG10 Performance View of Fast Track Hardware 1 3 2 4 5 7 6 8 H H LUN 01 LUN 02 LUN 03 LUN 04 LUN 17 (Logs) LUN 05 LUN 07 LUN 06 LUN 08 SPASPB FC1 FC2 FC3 FC4 FibreSwitch LUN 09 LUN 11 LUN 10 LUN 12 LUN 18 (Logs) LUN 13 LUN 15 LUN 14 LUN 16 SPCSPD FC5 FC6 FC7 FC8 200 mb/s per CPU core is central to Fast Track Architecture 32GB RAM800mb/s 800mb/s 400mb/s per port 1 LUN = 125 MB/S SP Port 650MB/s FCPort 400MB/S
  • 21. 21© Copyright 2009 EMC Corporation. All rights reserved. Performance Summary Component Throughput 8 CPU Cores 1600 MB/S 4 HBA Ports (2 adapters) 1600 MB/S 8 FC Ports (4 per array) 3200 MB/S 4 Storage Processors (2 per array) 2600 MB/S 16 LUNS (Data Only) 2000 MB/S
  • 22. 22© Copyright 2009 EMC Corporation. All rights reserved. Capacity Summary 16x 300GB Data Disks Raw (formatted) 4352 GB 4x 300GB Log Disks Raw (formatted) 1088 GB LESS RAID 1 8x RAID 1 Raid Groups for Data 2176 GB 2x RAID 1 Raid Groups for Logs 544 GB LESS TEMPDB SPACE Tempdb Data files 576 GB User Data Uncompressed Available 1600 GB Data Compression Ratio 2.5:1 4000 GB
  • 23. 23© Copyright 2009 EMC Corporation. All rights reserved. Database Layout Fi1 Fi2 Fi3 Fi4 Fi5 Fi6 Fi7 Fi9 Fi10 Fi11 Fi12 Fi13 Fi14 Fi15 Fi1 Fi2 Fi3 Fi4 Fi5 Fi6 Fi7 Fi1 Fi2 Fi3 Fi4 Fi5 Fi6 Fi7 Fi9 Fi10 Fi11 Fi12 Fi13 Fi14 Fi15 Fi9 Fi10 Fi11 Fi12 Fi13 Fi14 Fi15 tempLog Live Log Stage Log Live FG1 Stage FG1 Tempdb Primary Fi8 Fi8 Fi8 Fi16 Fi16 Fi16 Fi0 Fi0 PrimaryPrimary
  • 24. 24© Copyright 2009 EMC Corporation. All rights reserved. MANAGING FRAGMENTATION The arch enemy of Sequential I/O
  • 25. 25© Copyright 2009 EMC Corporation. All rights reserved. Fragmentation File System Extent Index
  • 26. 26© Copyright 2009 EMC Corporation. All rights reserved. File System Fragmentation Pre-Allocate your Database files Avoid O/S de-fraggers They know not what they do...
  • 27. 27© Copyright 2009 EMC Corporation. All rights reserved. Extent Fragmentation Occurs Courtesy of Concurrent DML Updates Deletes Follow the guidelines! Otherwise you’ll be re-loading the tables....
  • 28. 28© Copyright 2009 EMC Corporation. All rights reserved. Index Fragmentation  Don’t use ALTER INDEX REORGANIZE  Do one of the following – ALTER INDEX REBUILD ... SORT_IN_TEMPDB = TRUE (MAXDOP 1) – INSERT ... SELECT into a new table
  • 29. 29© Copyright 2009 EMC Corporation. All rights reserved. File Groups Isolate Volatile Data  Create a separate Filegroup  One file per LUN to spread the I/O Isolate Small / Dimension Tables Stage Data in a Separate DB or File Group
  • 30. 30© Copyright 2009 EMC Corporation. All rights reserved. DATA LOADING FOR SEQUENTIAL I/O Over to Mitchell...
  • 31. where Allan and Darren live

Editor's Notes

  1. 1
  2. SMP - Symmetric MultiProcessing Scale up design that is balanced provides
  3. T1117 Ensures even growth of all files in a file group E Extent Allocation now 64 contiguous extents per file
  4. 1 Gigabit = 128 MegaBytes
  5. 1 Gigabit = 128 MegaBytes
  6. Disk blocks per database file should be kept contiguous on the physical platter within the NTFS file system
  7. 31
  8. 1 Gigabit = 128 MegaBytes