SlideShare una empresa de Scribd logo
1 de 37
SAN Basics for DBAs
Joey D’Antoni
November 5, 2011
About Me

      Senior SQL Server DBA at Comcast
      Blog: joedantoni.wordpress.com
      Twitter @jdanton
      Email jdanton1@yahoo.com




      11/7/2011
2 |             Footer Goes Here
      |
Storage

   Understanding Storage Types
   A little bit about SSDs
   RAID Levels
   Components of a SAN
   SAN Benefits
   SANs and DR
   Summary
Storage
Different Kind of Storage
Hard Drive Components
Caching

 Almost all hard drives (SAN, standalone)
  have some form of caching (RAM in front of
  storage)
 For SQL Servers—make sure you have a
  battery backed cache—if you don’t and
  power fails—you will lose data!
Why is storage the bottleneck?
Disk Drives

 Hard Drives can only spin at 15,000 RPM.
 Hard Drive Performance has improved
  approximately 50x
 Have grown in capacity
 During the performance improvement CPU
  speed increase 5521x
Latency

 ―Disk latency is around 13ms, but it depends on the
    quality and rotational speed of the hard drive. RAM
    latency is around 83 nanoseconds. How big is the
    difference?
 If RAM was an F-18 Hornet with a max speed of 1,190
mph (more than 1.5x the speed of sound), disk access
speed is a banana slug with a top speed of 0.007 mph.‖



--credit Christian Paredes Blue Box Group
CPU and Disks

 As CPUs have gotten faster they have the
  ability to drive more IOPs.
 Modern CPUs are so powerful they can
  saturate a 10 GB connection with I/O
  requests—your disks can’t possibly keep up
SSDs (Solid State Drives)
SSDs are Fast

 Much faster on random reads and writes
   At least 5x better performance, often much more
   Up to 350x faster on seeks
 Not nearly as much of difference on
  sequential reads and writes
SSDs are Expensive

 List Prices From Fusion-IO
    160GB SLC ioDrive - $8495
    320GB SLC ioDrive - $15495
    320GB MLC ioDrive - $7495
    640GB MLC ioDrive - $11495

    320GB SLC ioDrive Duo – 16,990
    640GB SLC ioDrive Duo - $30,990
    640GB MLC ioDrive Duo - $14,990
    1.28TB MLC ioDrive Duo - $22,990

 These are really great for TempDB
RAID

 RAID—Redundant Array of Independent
  Disks
 Hard Drives Will Fail, RAID is what gives you
  protection from that
RAID 0
RAID 0, Don’t Do This

 From a major virtualization vendor
  benchmark
RAID 0

 No data protection
  at all
 Best performance
 If you lose one disk,
  you lose it all
 As you add disks
  risk increases
RAID 1--Mirroring

 Mirroring
 No increase in
  write performance
 Read
  performance is
  increased
 50% Capacity
  Loss
RAID 5—Striping (What you SAN Admin Wants)

 Maximum Capacity
 Big Write Penalty—
  gets worse as more
  disks are added
 Not good for highly
  transaction
  databases
 BAARF
RAID 1+0 (10) Mirrored Striping

 Best performance
 Requires 4 or more
  drives
 Only 50% of actual
  capacity is used
Summary of RAID Levels

 Ask for RAID 10 for Everything (you won’t get
  it)
 Make sure your TempDB and Logs are on
  RAID 10
 NEVER USE RAID 0!!!
Storage Area Network
What is a SAN?

 Basically a specialized computer for storage
 Computer, Switches and Hard Drives
 Not a performance device
 Can be used for redundancy and DR
  purposes
 Will serve many servers—so critical piece of
  your infrastructure
SAN Components

 HBA (Fibre) Card—Connects your server to SAN
  via Fiber Optic cable
 iSCSI Card—Ethernet Card connecting server to
  SAN
 Switch—Either fibre or ethernet switch
  connecting server to SAN
 SAN head unit—Controls processing, RAID
  levels
 Disk Array—The physical array behind your SAN
  (a bunch of hard drives)
iSCSI vs Fibre Channel

 iSCSI is cheaper, and in smaller shops your
  network admin can manage the switches
 Over 10G Ethernet iSCSI is faster, but that is still
  uncommon
 Fiber is more susceptible to breakage, but
  currently more common
 Fibre is faster, generally
 Note—all SAN components must be the same
  speed, or network traffic reverts to slowest in
  chain
Multi-Pathing

 How your SAN
  admin sleeps at
  night!
 Make sure your
  databases
  servers are
  multi-pathed
SAN Benefits

 Expand Capacity easily and on the fly
 High availability
 Disaster Recovery
SANs and DR

 WARNING!—Don’t try this unless you have a
  real budget and a good SAN admin
 Most SANs vendors have as an option SAN
  replication
 Allows for multi-site failover
 Multi-site clustering fully supported in SQL
  Server 2012
 Expensive—requires fiber connection
  between sites and expensive software
SAN Terms

 LUN—Logical Unit Number, but in practical
  terms, what your SAN admin will call a disk
  that he presents to your server
 Fibre Channel—Fiber Optic connection to
  SAN
 HBA Card—Card that plugs into your server
  to connect it to the SAN
 IOPs—I/O Operations Per Second—the way
  your SAN admin measures performance
SANs and SQL Server—What to ask for

 TempDB absolutely needs its own disk (and
  you should have multiple TempDB files)
 Logs should be on a separate disk from data
  files
 Ideally separate system and user DBs
 If shared instance, put split high utilization
  DBs onto separate disk devices
Shared Environment vs Dedicated
Environment
SANs are Multi-Tenant

 You don’t want to share disks with the
  Exchange server
 File servers are a decent partner for
  database servers
Test Your SAN

 Good free tools available like SQLIO
 Never run this on a production server (and
  warn your SAN admin)
Summary

   RAID 0 is bad
   Hard Drives will always be the bottleneck
   Be nice to your SAN admin—ask for RAID 10
   Split your SQL files across many disks
   SSDs are fast, but pricey
Questions?
Contact Info

 Twitter: @jdanton
 Email: jdanton1@yahoo.com
 Blog (slides): joedantoni.wordpress.com

Más contenido relacionado

La actualidad más candente

Deploying ssd in the data center 2014
Deploying ssd in the data center 2014Deploying ssd in the data center 2014
Deploying ssd in the data center 2014Howard Marks
 
Hybrid Storage Pools (Now with the benefit of hindsight!)
Hybrid Storage Pools (Now with the benefit of hindsight!)Hybrid Storage Pools (Now with the benefit of hindsight!)
Hybrid Storage Pools (Now with the benefit of hindsight!)ahl0003
 
Cassandra Day Chicago 2015: DataStax Enterprise & Apache Cassandra Hardware B...
Cassandra Day Chicago 2015: DataStax Enterprise & Apache Cassandra Hardware B...Cassandra Day Chicago 2015: DataStax Enterprise & Apache Cassandra Hardware B...
Cassandra Day Chicago 2015: DataStax Enterprise & Apache Cassandra Hardware B...DataStax Academy
 
Ceph Day San Jose - Red Hat Storage Acceleration Utlizing Flash Technology
Ceph Day San Jose - Red Hat Storage Acceleration Utlizing Flash TechnologyCeph Day San Jose - Red Hat Storage Acceleration Utlizing Flash Technology
Ceph Day San Jose - Red Hat Storage Acceleration Utlizing Flash TechnologyCeph Community
 
Raid data recovery Tips
Raid data recovery TipsRaid data recovery Tips
Raid data recovery TipsHone Software
 
Cassandra and Solid State Drives
Cassandra and Solid State DrivesCassandra and Solid State Drives
Cassandra and Solid State DrivesRick Branson
 
IMCSummit 2016 Keynote - Benzi Galili - More Memory for In-Memory Easy
IMCSummit 2016 Keynote - Benzi Galili - More Memory for In-Memory EasyIMCSummit 2016 Keynote - Benzi Galili - More Memory for In-Memory Easy
IMCSummit 2016 Keynote - Benzi Galili - More Memory for In-Memory EasyIn-Memory Computing Summit
 
Spinning Brown Donuts: Why Storage Still Counts
Spinning Brown Donuts: Why Storage Still CountsSpinning Brown Donuts: Why Storage Still Counts
Spinning Brown Donuts: Why Storage Still CountsSparkhound Inc.
 
Demystifying Storage
Demystifying  StorageDemystifying  Storage
Demystifying Storagebhavintu79
 
Varrow datacenter storage today and tomorrow
Varrow   datacenter storage today and tomorrowVarrow   datacenter storage today and tomorrow
Varrow datacenter storage today and tomorrowpittmantony
 
VLDB Administration Strategies
VLDB Administration StrategiesVLDB Administration Strategies
VLDB Administration StrategiesMurilo Miranda
 
Presentation database on flash
Presentation   database on flashPresentation   database on flash
Presentation database on flashxKinAnx
 
Solid state solid state drives
Solid state solid state drivesSolid state solid state drives
Solid state solid state drivesPiyush Rochwani
 
Enterprise-class Solid State Drives
Enterprise-class Solid State DrivesEnterprise-class Solid State Drives
Enterprise-class Solid State Drivescalypsori
 

La actualidad más candente (19)

Deploying ssd in the data center 2014
Deploying ssd in the data center 2014Deploying ssd in the data center 2014
Deploying ssd in the data center 2014
 
Hybrid Storage Pools (Now with the benefit of hindsight!)
Hybrid Storage Pools (Now with the benefit of hindsight!)Hybrid Storage Pools (Now with the benefit of hindsight!)
Hybrid Storage Pools (Now with the benefit of hindsight!)
 
Cassandra Day Chicago 2015: DataStax Enterprise & Apache Cassandra Hardware B...
Cassandra Day Chicago 2015: DataStax Enterprise & Apache Cassandra Hardware B...Cassandra Day Chicago 2015: DataStax Enterprise & Apache Cassandra Hardware B...
Cassandra Day Chicago 2015: DataStax Enterprise & Apache Cassandra Hardware B...
 
Ceph Day San Jose - Red Hat Storage Acceleration Utlizing Flash Technology
Ceph Day San Jose - Red Hat Storage Acceleration Utlizing Flash TechnologyCeph Day San Jose - Red Hat Storage Acceleration Utlizing Flash Technology
Ceph Day San Jose - Red Hat Storage Acceleration Utlizing Flash Technology
 
Raid data recovery Tips
Raid data recovery TipsRaid data recovery Tips
Raid data recovery Tips
 
Cassandra and Solid State Drives
Cassandra and Solid State DrivesCassandra and Solid State Drives
Cassandra and Solid State Drives
 
NVMe over Fabric
NVMe over FabricNVMe over Fabric
NVMe over Fabric
 
IMCSummit 2016 Keynote - Benzi Galili - More Memory for In-Memory Easy
IMCSummit 2016 Keynote - Benzi Galili - More Memory for In-Memory EasyIMCSummit 2016 Keynote - Benzi Galili - More Memory for In-Memory Easy
IMCSummit 2016 Keynote - Benzi Galili - More Memory for In-Memory Easy
 
SSD PPT BY SAURABH
SSD PPT BY SAURABHSSD PPT BY SAURABH
SSD PPT BY SAURABH
 
Spinning Brown Donuts: Why Storage Still Counts
Spinning Brown Donuts: Why Storage Still CountsSpinning Brown Donuts: Why Storage Still Counts
Spinning Brown Donuts: Why Storage Still Counts
 
Raid
RaidRaid
Raid
 
Understanding RAID Controller
Understanding RAID ControllerUnderstanding RAID Controller
Understanding RAID Controller
 
Demystifying Storage
Demystifying  StorageDemystifying  Storage
Demystifying Storage
 
Varrow datacenter storage today and tomorrow
Varrow   datacenter storage today and tomorrowVarrow   datacenter storage today and tomorrow
Varrow datacenter storage today and tomorrow
 
VLDB Administration Strategies
VLDB Administration StrategiesVLDB Administration Strategies
VLDB Administration Strategies
 
Presentation database on flash
Presentation   database on flashPresentation   database on flash
Presentation database on flash
 
Raid level 4
Raid level 4Raid level 4
Raid level 4
 
Solid state solid state drives
Solid state solid state drivesSolid state solid state drives
Solid state solid state drives
 
Enterprise-class Solid State Drives
Enterprise-class Solid State DrivesEnterprise-class Solid State Drives
Enterprise-class Solid State Drives
 

Similar a Sql saturday powerpoint dc_san

Linux and H/W optimizations for MySQL
Linux and H/W optimizations for MySQLLinux and H/W optimizations for MySQL
Linux and H/W optimizations for MySQLYoshinori Matsunobu
 
Storage, San And Business Continuity Overview
Storage, San And Business Continuity OverviewStorage, San And Business Continuity Overview
Storage, San And Business Continuity OverviewAlan McSweeney
 
SSD - Solid State Drive PPT by Atishay Jain
SSD - Solid State Drive PPT by Atishay JainSSD - Solid State Drive PPT by Atishay Jain
SSD - Solid State Drive PPT by Atishay JainAtishay Jain
 
SAS vs SATA_ The Key Differences That You Should Know.pptx
SAS vs SATA_ The Key Differences That You Should Know.pptxSAS vs SATA_ The Key Differences That You Should Know.pptx
SAS vs SATA_ The Key Differences That You Should Know.pptxcalltutors
 
Need For Speed- Using Flash Storage to optimise performance and reduce costs-...
Need For Speed- Using Flash Storage to optimise performance and reduce costs-...Need For Speed- Using Flash Storage to optimise performance and reduce costs-...
Need For Speed- Using Flash Storage to optimise performance and reduce costs-...NetAppUK
 
Fulcrum Group Storage And Storage Virtualization Presentation
Fulcrum Group Storage And Storage Virtualization PresentationFulcrum Group Storage And Storage Virtualization Presentation
Fulcrum Group Storage And Storage Virtualization PresentationSteve Meek
 
2015 deploying flash in the data center
2015 deploying flash in the data center2015 deploying flash in the data center
2015 deploying flash in the data centerHoward Marks
 
2015 deploying flash in the data center
2015 deploying flash in the data center2015 deploying flash in the data center
2015 deploying flash in the data centerHoward Marks
 
Storage and performance, Whiptail
Storage and performance, Whiptail Storage and performance, Whiptail
Storage and performance, Whiptail Internet World
 
Need for Speed: Using Flash Storage to Optimise Performance and Reduce Costs
Need for Speed: Using Flash Storage to Optimise Performance and Reduce CostsNeed for Speed: Using Flash Storage to Optimise Performance and Reduce Costs
Need for Speed: Using Flash Storage to Optimise Performance and Reduce CostsNetApp
 
A presentaion on Panasas HPC NAS
A presentaion on Panasas HPC NASA presentaion on Panasas HPC NAS
A presentaion on Panasas HPC NASRahul Janghel
 
Getting The Most Out Of Your Flash/SSDs
Getting The Most Out Of Your Flash/SSDsGetting The Most Out Of Your Flash/SSDs
Getting The Most Out Of Your Flash/SSDsAerospike, Inc.
 
Database performance tuning for SSD based storage
Database  performance tuning for SSD based storageDatabase  performance tuning for SSD based storage
Database performance tuning for SSD based storageAngelo Rajadurai
 
V mware virtual san 5.5 deep dive
V mware virtual san 5.5 deep diveV mware virtual san 5.5 deep dive
V mware virtual san 5.5 deep divesolarisyougood
 

Similar a Sql saturday powerpoint dc_san (20)

Linux and H/W optimizations for MySQL
Linux and H/W optimizations for MySQLLinux and H/W optimizations for MySQL
Linux and H/W optimizations for MySQL
 
Storage, San And Business Continuity Overview
Storage, San And Business Continuity OverviewStorage, San And Business Continuity Overview
Storage, San And Business Continuity Overview
 
SQL 2005 Disk IO Performance
SQL 2005 Disk IO PerformanceSQL 2005 Disk IO Performance
SQL 2005 Disk IO Performance
 
SSD - Solid State Drive PPT by Atishay Jain
SSD - Solid State Drive PPT by Atishay JainSSD - Solid State Drive PPT by Atishay Jain
SSD - Solid State Drive PPT by Atishay Jain
 
SAS vs SATA_ The Key Differences That You Should Know.pptx
SAS vs SATA_ The Key Differences That You Should Know.pptxSAS vs SATA_ The Key Differences That You Should Know.pptx
SAS vs SATA_ The Key Differences That You Should Know.pptx
 
Need For Speed- Using Flash Storage to optimise performance and reduce costs-...
Need For Speed- Using Flash Storage to optimise performance and reduce costs-...Need For Speed- Using Flash Storage to optimise performance and reduce costs-...
Need For Speed- Using Flash Storage to optimise performance and reduce costs-...
 
Fulcrum Group Storage And Storage Virtualization Presentation
Fulcrum Group Storage And Storage Virtualization PresentationFulcrum Group Storage And Storage Virtualization Presentation
Fulcrum Group Storage And Storage Virtualization Presentation
 
2015 deploying flash in the data center
2015 deploying flash in the data center2015 deploying flash in the data center
2015 deploying flash in the data center
 
2015 deploying flash in the data center
2015 deploying flash in the data center2015 deploying flash in the data center
2015 deploying flash in the data center
 
IO Dubi Lebel
IO Dubi LebelIO Dubi Lebel
IO Dubi Lebel
 
Storage and performance, Whiptail
Storage and performance, Whiptail Storage and performance, Whiptail
Storage and performance, Whiptail
 
Need for Speed: Using Flash Storage to Optimise Performance and Reduce Costs
Need for Speed: Using Flash Storage to Optimise Performance and Reduce CostsNeed for Speed: Using Flash Storage to Optimise Performance and Reduce Costs
Need for Speed: Using Flash Storage to Optimise Performance and Reduce Costs
 
A presentaion on Panasas HPC NAS
A presentaion on Panasas HPC NASA presentaion on Panasas HPC NAS
A presentaion on Panasas HPC NAS
 
Nachos 2
Nachos 2Nachos 2
Nachos 2
 
Nachos 2
Nachos 2Nachos 2
Nachos 2
 
Getting The Most Out Of Your Flash/SSDs
Getting The Most Out Of Your Flash/SSDsGetting The Most Out Of Your Flash/SSDs
Getting The Most Out Of Your Flash/SSDs
 
seminar.pdf
seminar.pdfseminar.pdf
seminar.pdf
 
Database performance tuning for SSD based storage
Database  performance tuning for SSD based storageDatabase  performance tuning for SSD based storage
Database performance tuning for SSD based storage
 
Storage spaces direct webinar
Storage spaces direct webinarStorage spaces direct webinar
Storage spaces direct webinar
 
V mware virtual san 5.5 deep dive
V mware virtual san 5.5 deep diveV mware virtual san 5.5 deep dive
V mware virtual san 5.5 deep dive
 

Más de Joseph D'Antoni

The modern analytics architecture
The modern analytics architectureThe modern analytics architecture
The modern analytics architectureJoseph D'Antoni
 
Building perfect sql servers, every time -oops
Building perfect sql servers, every time -oopsBuilding perfect sql servers, every time -oops
Building perfect sql servers, every time -oopsJoseph D'Antoni
 
Pass 2013 dantoni azure a gs
Pass 2013 dantoni azure a gsPass 2013 dantoni azure a gs
Pass 2013 dantoni azure a gsJoseph D'Antoni
 
Accelerating Database Performance Using Compression
Accelerating Database Performance Using CompressionAccelerating Database Performance Using Compression
Accelerating Database Performance Using CompressionJoseph D'Antoni
 
Sql server 2012 ha and dr sql saturday boston
Sql server 2012 ha and dr sql saturday bostonSql server 2012 ha and dr sql saturday boston
Sql server 2012 ha and dr sql saturday bostonJoseph D'Antoni
 
Accelerating Database Performance with Compression
Accelerating Database Performance with CompressionAccelerating Database Performance with Compression
Accelerating Database Performance with CompressionJoseph D'Antoni
 
Sql Server 2012 HA and DR -- SQL Saturday Richmond
Sql Server 2012 HA and DR -- SQL Saturday RichmondSql Server 2012 HA and DR -- SQL Saturday Richmond
Sql Server 2012 HA and DR -- SQL Saturday RichmondJoseph D'Antoni
 
Sql server 2012 ha and dr sql saturday tampa
Sql server 2012 ha and dr sql saturday tampaSql server 2012 ha and dr sql saturday tampa
Sql server 2012 ha and dr sql saturday tampaJoseph D'Antoni
 
Windows server 2012 failover clustering new features
Windows server 2012 failover clustering new featuresWindows server 2012 failover clustering new features
Windows server 2012 failover clustering new featuresJoseph D'Antoni
 
Sql server 2012 ha and dr sql saturday dc
Sql server 2012 ha and dr sql saturday dcSql server 2012 ha and dr sql saturday dc
Sql server 2012 ha and dr sql saturday dcJoseph D'Antoni
 
Always on availability groups way too deep
Always on availability groups way too deepAlways on availability groups way too deep
Always on availability groups way too deepJoseph D'Antoni
 
South jersey sql virtualization
South jersey sql virtualizationSouth jersey sql virtualization
South jersey sql virtualizationJoseph D'Antoni
 
Sql server 2012 ha dr 24_hop_final
Sql server 2012 ha dr 24_hop_finalSql server 2012 ha dr 24_hop_final
Sql server 2012 ha dr 24_hop_finalJoseph D'Antoni
 
Sql server 2012 ha dr 24_hop_final
Sql server 2012 ha dr 24_hop_finalSql server 2012 ha dr 24_hop_final
Sql server 2012 ha dr 24_hop_finalJoseph D'Antoni
 
Sql server 2012 ha dr nova
Sql server 2012 ha dr novaSql server 2012 ha dr nova
Sql server 2012 ha dr novaJoseph D'Antoni
 

Más de Joseph D'Antoni (20)

DBA Fundamentals VC
DBA Fundamentals VCDBA Fundamentals VC
DBA Fundamentals VC
 
The modern analytics architecture
The modern analytics architectureThe modern analytics architecture
The modern analytics architecture
 
Building perfect sql servers, every time -oops
Building perfect sql servers, every time -oopsBuilding perfect sql servers, every time -oops
Building perfect sql servers, every time -oops
 
Pass 2013 dantoni azure a gs
Pass 2013 dantoni azure a gsPass 2013 dantoni azure a gs
Pass 2013 dantoni azure a gs
 
Accelerating Database Performance Using Compression
Accelerating Database Performance Using CompressionAccelerating Database Performance Using Compression
Accelerating Database Performance Using Compression
 
Pass bac jd_sm
Pass bac jd_smPass bac jd_sm
Pass bac jd_sm
 
Sql server 2012 ha and dr sql saturday boston
Sql server 2012 ha and dr sql saturday bostonSql server 2012 ha and dr sql saturday boston
Sql server 2012 ha and dr sql saturday boston
 
Accelerating Database Performance with Compression
Accelerating Database Performance with CompressionAccelerating Database Performance with Compression
Accelerating Database Performance with Compression
 
Sql Server 2012 HA and DR -- SQL Saturday Richmond
Sql Server 2012 HA and DR -- SQL Saturday RichmondSql Server 2012 HA and DR -- SQL Saturday Richmond
Sql Server 2012 HA and DR -- SQL Saturday Richmond
 
Sql server 2012 ha and dr sql saturday tampa
Sql server 2012 ha and dr sql saturday tampaSql server 2012 ha and dr sql saturday tampa
Sql server 2012 ha and dr sql saturday tampa
 
Windows server 2012 failover clustering new features
Windows server 2012 failover clustering new featuresWindows server 2012 failover clustering new features
Windows server 2012 failover clustering new features
 
Sql server 2012 ha and dr sql saturday dc
Sql server 2012 ha and dr sql saturday dcSql server 2012 ha and dr sql saturday dc
Sql server 2012 ha and dr sql saturday dc
 
Always on availability groups way too deep
Always on availability groups way too deepAlways on availability groups way too deep
Always on availability groups way too deep
 
South jersey sql virtualization
South jersey sql virtualizationSouth jersey sql virtualization
South jersey sql virtualization
 
Virtualization for DBA
Virtualization for DBAVirtualization for DBA
Virtualization for DBA
 
Sql server 2012 ha dr 24_hop_final
Sql server 2012 ha dr 24_hop_finalSql server 2012 ha dr 24_hop_final
Sql server 2012 ha dr 24_hop_final
 
Sql server 2012 ha dr 24_hop_final
Sql server 2012 ha dr 24_hop_finalSql server 2012 ha dr 24_hop_final
Sql server 2012 ha dr 24_hop_final
 
Sql server 2012 ha dr nova
Sql server 2012 ha dr novaSql server 2012 ha dr nova
Sql server 2012 ha dr nova
 
Sql server 2012 ha dr
Sql server 2012 ha drSql server 2012 ha dr
Sql server 2012 ha dr
 
Sql saturday dc vm ware
Sql saturday dc vm wareSql saturday dc vm ware
Sql saturday dc vm ware
 

Último

GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
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
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
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
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
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
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
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
 
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
 
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
 
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
 
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
 

Último (20)

GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
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
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
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
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
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
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
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...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
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
 
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
 
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...
 

Sql saturday powerpoint dc_san

  • 1. SAN Basics for DBAs Joey D’Antoni November 5, 2011
  • 2. About Me  Senior SQL Server DBA at Comcast  Blog: joedantoni.wordpress.com  Twitter @jdanton  Email jdanton1@yahoo.com 11/7/2011 2 | Footer Goes Here |
  • 3. Storage  Understanding Storage Types  A little bit about SSDs  RAID Levels  Components of a SAN  SAN Benefits  SANs and DR  Summary
  • 7. Caching  Almost all hard drives (SAN, standalone) have some form of caching (RAM in front of storage)  For SQL Servers—make sure you have a battery backed cache—if you don’t and power fails—you will lose data!
  • 8. Why is storage the bottleneck?
  • 9. Disk Drives  Hard Drives can only spin at 15,000 RPM.  Hard Drive Performance has improved approximately 50x  Have grown in capacity  During the performance improvement CPU speed increase 5521x
  • 10. Latency  ―Disk latency is around 13ms, but it depends on the quality and rotational speed of the hard drive. RAM latency is around 83 nanoseconds. How big is the difference? If RAM was an F-18 Hornet with a max speed of 1,190 mph (more than 1.5x the speed of sound), disk access speed is a banana slug with a top speed of 0.007 mph.‖ --credit Christian Paredes Blue Box Group
  • 11. CPU and Disks  As CPUs have gotten faster they have the ability to drive more IOPs.  Modern CPUs are so powerful they can saturate a 10 GB connection with I/O requests—your disks can’t possibly keep up
  • 12. SSDs (Solid State Drives)
  • 13. SSDs are Fast  Much faster on random reads and writes  At least 5x better performance, often much more  Up to 350x faster on seeks  Not nearly as much of difference on sequential reads and writes
  • 14. SSDs are Expensive  List Prices From Fusion-IO 160GB SLC ioDrive - $8495 320GB SLC ioDrive - $15495 320GB MLC ioDrive - $7495 640GB MLC ioDrive - $11495 320GB SLC ioDrive Duo – 16,990 640GB SLC ioDrive Duo - $30,990 640GB MLC ioDrive Duo - $14,990 1.28TB MLC ioDrive Duo - $22,990  These are really great for TempDB
  • 15. RAID  RAID—Redundant Array of Independent Disks  Hard Drives Will Fail, RAID is what gives you protection from that
  • 17. RAID 0, Don’t Do This  From a major virtualization vendor benchmark
  • 18. RAID 0  No data protection at all  Best performance  If you lose one disk, you lose it all  As you add disks risk increases
  • 19. RAID 1--Mirroring  Mirroring  No increase in write performance  Read performance is increased  50% Capacity Loss
  • 20. RAID 5—Striping (What you SAN Admin Wants)  Maximum Capacity  Big Write Penalty— gets worse as more disks are added  Not good for highly transaction databases  BAARF
  • 21. RAID 1+0 (10) Mirrored Striping  Best performance  Requires 4 or more drives  Only 50% of actual capacity is used
  • 22. Summary of RAID Levels  Ask for RAID 10 for Everything (you won’t get it)  Make sure your TempDB and Logs are on RAID 10  NEVER USE RAID 0!!!
  • 24. What is a SAN?  Basically a specialized computer for storage  Computer, Switches and Hard Drives  Not a performance device  Can be used for redundancy and DR purposes  Will serve many servers—so critical piece of your infrastructure
  • 25. SAN Components  HBA (Fibre) Card—Connects your server to SAN via Fiber Optic cable  iSCSI Card—Ethernet Card connecting server to SAN  Switch—Either fibre or ethernet switch connecting server to SAN  SAN head unit—Controls processing, RAID levels  Disk Array—The physical array behind your SAN (a bunch of hard drives)
  • 26. iSCSI vs Fibre Channel  iSCSI is cheaper, and in smaller shops your network admin can manage the switches  Over 10G Ethernet iSCSI is faster, but that is still uncommon  Fiber is more susceptible to breakage, but currently more common  Fibre is faster, generally  Note—all SAN components must be the same speed, or network traffic reverts to slowest in chain
  • 27. Multi-Pathing  How your SAN admin sleeps at night!  Make sure your databases servers are multi-pathed
  • 28. SAN Benefits  Expand Capacity easily and on the fly  High availability  Disaster Recovery
  • 29. SANs and DR  WARNING!—Don’t try this unless you have a real budget and a good SAN admin  Most SANs vendors have as an option SAN replication  Allows for multi-site failover  Multi-site clustering fully supported in SQL Server 2012  Expensive—requires fiber connection between sites and expensive software
  • 30. SAN Terms  LUN—Logical Unit Number, but in practical terms, what your SAN admin will call a disk that he presents to your server  Fibre Channel—Fiber Optic connection to SAN  HBA Card—Card that plugs into your server to connect it to the SAN  IOPs—I/O Operations Per Second—the way your SAN admin measures performance
  • 31. SANs and SQL Server—What to ask for  TempDB absolutely needs its own disk (and you should have multiple TempDB files)  Logs should be on a separate disk from data files  Ideally separate system and user DBs  If shared instance, put split high utilization DBs onto separate disk devices
  • 32. Shared Environment vs Dedicated Environment
  • 33. SANs are Multi-Tenant  You don’t want to share disks with the Exchange server  File servers are a decent partner for database servers
  • 34. Test Your SAN  Good free tools available like SQLIO  Never run this on a production server (and warn your SAN admin)
  • 35. Summary  RAID 0 is bad  Hard Drives will always be the bottleneck  Be nice to your SAN admin—ask for RAID 10  Split your SQL files across many disks  SSDs are fast, but pricey
  • 37. Contact Info  Twitter: @jdanton  Email: jdanton1@yahoo.com  Blog (slides): joedantoni.wordpress.com