Denny Cherry twitter.com/mrdenny.

Slides:



Advertisements
Similar presentations
Tuning the Dennis Shasha and Philippe Bonnet, 2013.
Advertisements

Copyright © 2009 EMC Corporation. Do not Copy - All Rights Reserved.
DiskCon September 2004 Solid State Disks: The Future of Storage?
Copyright © 2006 Quest Software SQL 2005 Disk I/O Performance By Bryan Oliver SQL Server Domain Expert.
1 Jason Drown Mark Rodden (Redundant Array of Inexpensive Disks) RAID.
Agenda Speaker bio Fundamentals of Disk Hardware Architecture and Disk Sector Alignment Fundamentals of the Hardware Architecture Basics of IO, or Acronym.
RAID: Redundant Array of Inexpensive Disks Supplemental Material not in book.
This picture has been released into the public domain by its author, ChiemseeMan at the German Wikipedia projectpublic domainChiemseeManGerman Wikipedia.
Denny Cherry Manager of Information Systems MVP, MCSA, MCDBA, MCTS, MCITP.
Deploying Virtualised Infrastructures for Improved Efficiency and Reduced Cost Adrian Groeneveld Senior Product Marketing Manager Adrian Groeneveld Senior.
RAID Redundant Array of Independent Disks
Enhanced Availability With RAID CC5493/7493. RAID Redundant Array of Independent Disks RAID is implemented to improve: –IO throughput (speed) and –Availability.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Mass-Storage Systems Revised Tao Yang.
© 2009 EMC Corporation. All rights reserved. EMC Proven Professional The #1 Certification Program in the information storage and management industry Data.
1 CSC 486/586 Network Storage. 2 Objectives Familiarization with network data storage technologies Understanding of RAID concepts and RAID levels Discuss.
1 Magnetic Disks 1956: IBM (RAMAC) first disk drive 5 Mb – Mb/in $/year 9 Kb/sec 1980: SEAGATE first 5.25’’ disk drive 5 Mb – 1.96 Mb/in2 625.
Chapter 3 Presented by: Anupam Mittal.  Data protection: Concept of RAID and its Components Data Protection: RAID - 2.
Denny Cherry Manager of Information Systems MVP, MCSA, MCDBA, MCTS, MCITP.
SQL Server, Storage And You Part 2: SAN, NAS and IP Storage.
1 Recap (RAID and Storage Architectures). 2 RAID To increase the availability and the performance (bandwidth) of a storage system, instead of a single.
Denny Cherry Manager of Information Systems MVP, MCSA, MCDBA, MCTS, MCITP.
Denny Cherry twitter.com/mrdenny.
I/O Systems and Storage Systems May 22, 2000 Instructor: Gary Kimura.
CSE 451: Operating Systems Winter 2010 Module 13 Redundant Arrays of Inexpensive Disks (RAID) and OS structure Mark Zbikowski Gary Kimura.
Denny Cherry twitter.com/mrdenny.
© 2009 IBM Corporation Statements of IBM future plans and directions are provided for information purposes only. Plans and direction are subject to change.
Servers Redundant Array of Inexpensive Disks (RAID) –A group of hard disks is called a disk array FIGURE Server with redundant NICs.
Session 3 Windows Platform Dina Alkhoudari. Learning Objectives Understanding Server Storage Technologies Direct Attached Storage DAS Network-Attached.
Data Storage Willis Kim 14 May Types of storages Direct Attached Storage – storage hardware that connects to a single server Direct Attached Storage.
12.1 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts with Java – 8 th Edition Chapter 12: Mass-Storage Systems.
SQL SERVER DAYS 2011 Optimizing SQL Server Performance in a Virtual Environment Denny Cherry twitter.com/mrdenny.
Secondary Storage Unit 013: Systems Architecture Workbook: Secondary Storage 1G.
BACKUP/MASTER: Immediate Relief with Disk Backup Presented by W. Curtis Preston VP, Service Development GlassHouse Technologies, Inc.
Sponsored by: PASS Summit 2010 Preview Storage for the DBA Denny Cherry MVP, MCSA, MCDBA, MCTS, MCITP.
DISKS IS421. DISK  A disk consists of Read/write head, and arm  A platter is divided into Tracks and sector  The R/W heads can R/W at the same time.
Chapter 10 : Designing a SQL Server 2005 Solution for High Availability MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design.
Two or more disks Capacity is the same as the total capacity of the drives in the array No fault tolerance-risk of data loss is proportional to the number.
Day 10 Hardware Fault Tolerance RAID. High availability All servers should be on UPSs –2 Types Smart UPS –Serial cable connects from UPS to computer.
SQL Server, Storage and You Part 1: Storage Basics Wes Brown.
Hardware (The part you can kick). Overview  Selection Process  Equipment Categories  Processors  Memory  Storage  Support.
Introducing Snap Server™ 700i Series. 2 Introducing the Snap Server 700i series Hardware −iSCSI storage appliances with mid-market features −1U 19” rack-mount.
N-Tier Client/Server Architectures Chapter 4 Server - RAID Copyright 2002, Dr. Ken Hoganson All rights reserved. OS Kernel Concept RAID – Redundant Array.
RAID REDUNDANT ARRAY OF INEXPENSIVE DISKS. Why RAID?
Nexenta Proprietary Global Leader in Software Defined Storage Nexenta Technical Sales Professional (NTSP) COURSE CONTENT.
Module – 4 Intelligent storage system
IBM System Storage™ DS3000 Series
1 Selecting LAN server (Week 3, Monday 9/8/2003) © Abdou Illia, Fall 2003.
Chapter 12 – Mass Storage Structures (Pgs )
RAID Disk Arrays Hank Levy. 212/5/2015 Basic Problems Disks are improving, but much less fast than CPUs We can use multiple disks for improving performance.
Storage and Backup Overview 15 February 2016TCS Internal.
Page 1 Mass Storage 성능 분석 강사 : 이 경근 대리 HPCS/SDO/MC.
Hands-On Microsoft Windows Server 2008 Chapter 7 Configuring and Managing Data Storage.
RAID Tony Rogerson SQL Server MVP Torver Computer Consultants
Enhanced Availability With RAID CC5493/7493. RAID Redundant Array of Independent Disks RAID is implemented to improve: –IO throughput (speed) and –Availability.
Optimizing SQL Server Performance in a Virtual Environment Denny Cherry twitter.com/mrdenny.
CS422 Principles of Database Systems Disk Access Chengyu Sun California State University, Los Angeles.
Indexing strategies and good physical designs for performance tuning Kenneth Ureña /SpanishPASSVC.
System Storage TM © 2007 IBM Corporation IBM System Storage™ DS3000 Series Jüri Joonsaar Tartu.
Integrating Disk into Backup for Faster Restores
Denny Cherry twitter.com/mrdenny
Optimizing SQL Server Performance in a Virtual Environment
RAID Disk Arrays Hank Levy 1.
RAID RAID Mukesh N Tekwani
RAID Disk Arrays Hank Levy 1.
ظرفیت سنجی دستگاه های ذخیره ساز در مراکز داده
Mark Zbikowski and Gary Kimura
Optimizing SQL Server Performance in a Virtual Environment
RAID Disk Arrays Hank Levy 1.
RAID RAID Mukesh N Tekwani April 23, 2019
Microsoft Virtual Academy
Presentation transcript:

Denny Cherry twitter.com/mrdenny

About Me Author or Coauthor of 4 books 6+ SQL Mag articles Dozens of other articles Microsoft MVP since Oct 2008 Microsoft Certified Master Founder of SQL Excursions Sr. DBA for Phreesia 2

Agenda Storage Terminology Array Cache Setup RAID Types Tiered Storage Disk Alignment Spindle Types Physical Array Diagram

Storage Terminology LUN = Logical Unit Number Host = The Server or Servers a LUN is presented to SAN = Storage Area Network Fabric = Fibre network which makes up the SAN Array = Box with the Spindles in it

Storage Terminology Disk = How the OS sees a LUN when presented Spindle = Physical disks in the Storage Array IOps = Physical Operation To Disk Sequential IO = Reads or writes which are sequential on the spindle Random IO = Reads or writes which are located at random positions on the spindle

Array Cache Setup OLTP databases make poor use of SAN read cache OLAP databases make good use of SAN read cache Try reducing read cache and increasing write cache OLTP databases with high buffer cache hit ratios may be able to have the read cache disabled There is no one correct setup. Every system is different.

When Write Cache Gets Full? Doesnt flush to disk until low watermark is hit Force flushes once high watermark is hit Force flushing completely empties write cache Force flushing disables write cache until write cache is disabled If adjustable, set low very low, and high watermark very high (20/90) If cache gets to 100% full – Pray!

Oh crap the power went out! Most arrays have internal batteries Write cache is flushed to disk After flush array powers down On power-up flushed cached is read and committed to LUNs before LUN is made available Make sure SQL is down before the array flushes

RAID 0 Straight Stripe No redundancy Very fast Low cost Any disk failure looses data Can not survive no disks failures Requires 2 or more disks

RAID 1 Full Mirror of data No performance Benefit High Cost Requires 2 disks Can survive 1 disk failure

RAID 0+1 Drives Striped, then Mirrored High Cost High Performance Requires 2 disks Can survive 1 spindle failure Requires even number of disks May survive multiple spindle failure

RAID 10 (1+0) Drives Mirrored, then Striped High Cost High Performance Requires 2 disks Can survive 1 spindle failure Requires even number of disks May survive multiple spindle failure

RAID 5 Low Cost Requires 3+ disks Stripe with Single Parity Can survive a single drive failure Write Penalty Good Performance

Not all RAID 5 is Created Equal RAID 6 can be done this way as well.

RAID 6 Stripe with 2 parity Higher cost per gig than RAID 5 Requires 4+ disks Can survive 2 disk failures Similar penalty as RAID 5

Disk Alignment Can improve SQL disk performance up to 100% (64 1k blocks/64k IO)=100% of IO is impacted Must be done before data is put on the disk Windows Diskpar Windows Diskpart Windows Automatic

Disk Alignment

Tiered Storage Time is Money

Tiered Storage Tier 0 Enterprise Flash Disks low capacity drives Very high cost Very high speed storage Great for Databases

Tiered Storage Tier 1 15k RPM Fibre Channel low capacity drives High cost, high speed storage Great for Databases, Exchange, Virtual Machines

Tiered Storage Tier 2 10k RPM Fibre Channel medium capacity drives Medium cost, medium speed storage Great for File Servers, Database Archives, Exchange

Tiered Storage Tier 3 7.2/5.4k RPM SATA/SAS high capacity drives Low cost, low speed storage Great for Backups, Archives, Exchange

Spindle Types Fibre Channel (FC) Fastest Bus Speeds between 2-4 Gigs SCSI Older Technology, slower bus speeds SATA Newer Technology, even slower bus speeds Enterprise Flash Disks (EFDs) Newest Technology, same bus speeds as FC

Array Diagram