Oracle 10g Database Storage Demystified Jeff Browning, O.C.P, R.H.C.A. Senior Manager Network Appliance, Inc. OracleWorld 2003 San Francisco.

Slides:



Advertisements
Similar presentations
Archive Task Team (ATT) Disk Storage Stuart Doescher, USGS (Ken Gacke) WGISS-18 September 2004 Beijing, China.
Advertisements

Data Storage Solutions Module 1.2. Data Storage Solutions Upon completion of this module, you will be able to: List the common storage media and solutions.
RAID: Redundant Array of Inexpensive Disks Supplemental Material not in book.
Introduction to Storage Area Network (SAN) Jie Feng Winter 2001.
NAS vs. SAN 10/2010 Palestinian Land Authority IT Department By Nahreen Ameen 1.
Preparing For Server Installation Instructor: Enoch E. Damson.
“Redundant Array of Inexpensive Disks”. CONTENTS Storage devices. Optical drives. Floppy disk. Hard disk. Components of Hard disks. RAID technology. Levels.
Enhanced Availability With RAID CC5493/7493. RAID Redundant Array of Independent Disks RAID is implemented to improve: –IO throughput (speed) and –Availability.
RAID- Redundant Array of Inexpensive Drives. Purpose Provide faster data access and larger storage Provide data redundancy.
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.
R.A.I.D. Copyright © 2005 by James Hug Redundant Array of Independent (or Inexpensive) Disks.
RAID TECHNOLOGY. MAGNETIC DISK STORAGE  Before we can fully understand RAID, we must first understand the inner workings of a magnetic hard disk, and.
Storage area Network(SANs) Topics of presentation
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.
High Performance Computing Course Notes High Performance Storage.
Server Platforms Week 11- Lecture 1. Server Market $ 46,100,000,000 ($ 46.1 Billion) Gartner.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Mass-Storage Systems Revised Tao Yang.
Latest trends and technologies in Storage Networking By: Gururaja Nittur Dr. Chung E Wang Advisor: Dr. Chung E Wang Dr. Du Zhang Second Reader: Dr. Du.
Storage Area Network (SAN)
Storage Networking Technologies and Virtualization Section 2 DAS and Introduction to SCSI1.
© 2009 IBM Corporation Statements of IBM future plans and directions are provided for information purposes only. Plans and direction are subject to change.
Trends in Storage Subsystem Technologies Michael Joyce, Senior Director Mylex & OEM Storage Subsystems IBM.
Storage Networking. Storage Trends Storage growth Need for storage flexibility Simplify and automate management Continuous availability is required.
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.
Virtual Network Servers. What is a Server? 1. A software application that provides a specific one or more services to other computers  Example: Apache.
Mass Storage System EMELIZA R. YABUT MSIT. Overview of Mass Storage Structure Traditional magnetic disks structure ◦Platter- composed of one or more.
Secondary Storage Unit 013: Systems Architecture Workbook: Secondary Storage 1G.
Storage Cheap or Fast, Pick One. Storage Great--you can do a lot of computation. But this often generates a lot of data. Where are you going to put it?
BACKUP/MASTER: Immediate Relief with Disk Backup Presented by W. Curtis Preston VP, Service Development GlassHouse Technologies, Inc.
Storage Area Networks The Basics. Storage Area Networks SANS are designed to give you: More disk space Multiple server access to a single disk pool Better.
Managing Storage Lesson 3.
CS 352 : Computer Organization and Design University of Wisconsin-Eau Claire Dan Ernst Storage Systems.
RAID: High-Performance, Reliable Secondary Storage Mei Qing & Chaoxia Liao Nov. 20, 2003.
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.
GeoVision Solutions Storage Management & Backup. ๏ RAID - Redundant Array of Independent (or Inexpensive) Disks ๏ Combines multiple disk drives into a.
Architecture of intelligent Disk subsystem
Chapter 2 Chapter 2: Planning for Server Hardware.
High Performance Computing G Burton – ICG – Oct12 – v1.1 1.
I/O – Chapter 8 Introduction Disk Storage and Dependability – 8.2 Buses and other connectors – 8.4 I/O performance measures – 8.6.
TPT-RAID: A High Performance Multi-Box Storage System
Data Storage CPTE 433 John Beckett. The Paradox “If I can go to a computer store and buy 1000 gigabytes for $50, why does it cost more in your server.
Chapter 5 Section 2 : Storage Networking Technologies and Virtualization.
1 Selecting LAN server (Week 3, Monday 9/8/2003) © Abdou Illia, Fall 2003.
Disk Interfaces Last Update Copyright Kenneth M. Chipps Ph.D. 1.
The concept of RAID in Databases By Junaid Ali Siddiqui.
RAID Systems Ver.2.0 Jan 09, 2005 Syam. RAID Primer Redundant Array of Inexpensive Disks random, real-time, redundant, array, assembly, interconnected,
STORAGE ARCHITECTURE/ MASTER): Disk Storage: What Are Your Options? Randy Kerns Senior Partner The Evaluator Group.
1 COMPUTER ARCHITECTURE (for Erasmus students) Assoc.Prof. Stasys Maciulevičius Computer Dept.
Storage and Backup Overview 15 February 2016TCS Internal.
STORAGE ARCHITECTURE/ MASTER): Where IP and FC Storage Fit in Your Enterprise Randy Kerns Senior Partner The Evaluator Group.
Storage Networking. Storage Trends Storage grows %/year, gets more complicated It’s necessary to pool storage for flexibility Intelligent storage.
1 CEG 2400 Fall 2012 Network Servers. 2 Network Servers Critical Network servers – Contain redundant components Power supplies Fans Memory CPU Hard Drives.
Enhanced Availability With RAID CC5493/7493. RAID Redundant Array of Independent Disks RAID is implemented to improve: –IO throughput (speed) and –Availability.
W4118 Operating Systems Instructor: Junfeng Yang.
RAID Technology By: Adarsha A,S 1BY08A03. Overview What is RAID Technology? What is RAID Technology? History of RAID History of RAID Techniques/Methods.
What is raid? RAID is the term used to describe a storage systems' resilience to disk failure through the use of multiple disks and by the use of data.
Network-Attached Storage. Network-attached storage devices Attached to a local area network, generally an Ethernet-based network environment.
Storage Area Networks The Basics.
Integrating Disk into Backup for Faster Restores
Video Security Design Workshop:
Storage Networking.
Introduction to Networks
Direct Attached Storage Overview
Direct Attached Storage and Introduction to SCSI
Storage Networking.
Cost Effective Network Storage Solutions
CS 295: Modern Systems Organizing Storage Devices
Presentation transcript:

Oracle 10g Database Storage Demystified Jeff Browning, O.C.P, R.H.C.A. Senior Manager Network Appliance, Inc. OracleWorld 2003 San Francisco

 A little history  The notion of storage networking  SAN and NAS – Current-technology SAN: FCP – Current-technology NAS: IP over GbE  RAID: The “packaging” of hard disks – RAID0 – RAID1 – RAID4 – RAID5 – Combinations of RAID levels  Emerging storage technologies – ATA RAID – Serial ATA (SATA) – iSCSI – NFS v. 4 (NFS RDMA)  Conclusion and wrap up Agenda

A Little History  IDE/ATA: The beginning  SCSI: A proliferation of standards – SCSI-1 – SCSI-2: The proliferation begins – SCSI-3: A new approach

In the Beginning There Was IDE/ATA  Introduced by IBM with the AT/PC in 1984  Supported a master/slave concept  Enhanced and adopted by Compaq in 1986 with the Deskpro 386 as the IDE interface – ATA and IDE are now interchangeable terms

What You Could Do with an IDE/ATA Device: Not Much  IDE/ATA was slow (4 MB/s to start)  It didn’t support many devices (usually 2 hard drives)  It wasn’t reliable  But it was, and remains, very, very cheap  It was never used widely for databases

SCSI: A Proliferation of Standards  Invented by Alan Shugart (founder of Seagate) in 1979  Adopted as an ANSI standard in 1986  First version was referred to as SCSI-1

What You Could Do with a SCSI-1 Device: A Bit More  SCSI-1 was still pretty slow (5 MB/s)  It supported 7 peripheral devices  It was more reliable than IDE/ATA  It was also more expensive  This was the first choice for Sun, HP and other open systems vendors and, notably, the Macintosh

SCSI-2: The Proliferation Begins  Fast SCSI: Higher transfer speed (10 MB/s or higher)  Wide SCSI: Width of the bus was increased from 16 to 32 bits  More devices per bus (from 7 to 15)  Other improvements – Improved cables and connectors – Improved signaling – Active termination

SCSI-3: A New Approach  With SCSI-3 the approach changed – Cabling and connection layer no longer defined in the basic spec  So-called “interconnect” or “physical layer” standards  SCSI-3 basic spec only defines a command set and a communication protocol

SCSI-3: The Physical Layer Standards Serial Bus SCSIThis is the form of SCSI-3 found in many hosts today Serial Storage Architecture (SSA) Used by IBM on its larger systems; not common Fibre Channel Protocol (FCP) Defines a standard for SCSI-3 traffic over Fibre Channel networks; by far the most popular form of SCSI-3 today for databases iSCSIEmerging standard for SCSI-3 traffic over IP networks

The Notion of Storage Networking  SCSI provided a way to attach disks to a host  The need for sharing of disk and tape backup resources led to the idea of “shared SCSI”

Storage Networking for Applications  Certain applications required shared disk  Shared SCSI evolved as a way to solve this problem

Storage Networking Evolves  Storage networking evolved along two paths – SAN: With FCP being the dominant protocol – NAS: With Gigabit Ethernet (GbE) NAS became a viable alternative to FCP for many applications  The next section discusses the tradeoffs between these approaches

SAN and NAS  Storage Area Networks (SAN) take the approach of making SCSI sharable  Network Attached Storage (NAS) uses existing file sharing protocols to connect databases to storage  Both approaches have their place: They are different

Fibre Channel Emerges as Dominant SAN  Fibre Channel was designed as a SAN protocol  It was adopted as an ANSI standard in 1994  It has emerged as the de facto standard for creating a SAN

Typical Fibre Channel SAN

Fibre Channel SAN Tradeoffs  Advantages – Bandwidth is good: 2 Gb FC is now common – Host CPU cost per I/O is comparable to SCSI – Latency is low and performance is good – Scalability is good  Disadvantages – More expensive than comparable IP network – Interoperability is poor but improving – Highly complex to setup and administer – Difficult to share disk capacity

NAS Emerges as Alternative to SAN  NFS was created by Sun in in the early 1980s  Version 1 of NFS was widely regarded as inappropriate as a file sharing protocol for databases  Version 2 improved enough that Oracle certified NFS for Oracle datafiles in 1997  Version 3 builds upon those improvements  Version 4 is emerging (more on this later)

Typical IP/GbE NAS

IP/GbE NAS Tradeoffs  Advantages – Bandwidth is pretty good using GbE – Switches/NICs are very inexpensive compared to FC switches/HBAs – Simple and easy to setup and administer – Interoperability is excellent – Disk capacity can be easily shared – even across platforms  Disadvantages – Host CPU cost may be higher than FC, depending on load, but not if the load is spindle-bound (NFS v. 4 fixes this in spades) – CPU Scalability (in the sense of CPU count) can be lower than FC (again NFS v. 4 addresses this)

SAN vs. NAS Suitability  SAN – Suitable for high-end environments where latency, performance, or CPU cost per I/O are critical – Required by some applications where NAS is not supported  NAS – Suitable for low- or mid-end environments where performance or CPU cost is less important than $$ cost – Also suitable for some high-end environments where CPU is compute intensive, not I/O intensive  SAN and NAS are converging

RAID: Redundant Array of Inexpensive Disks  The problem: – Disks are fragile; they fail – Data is precious and must be protected – Tape or disk backup is too slow or too expensive  RAID provides a way to combine disks together with redundancy so that a single disk failure will not lose data  Hot spares and auto-promotion make this a viable long-term solution  Software RAID vs. hardware RAID

RAID and Its Variants RAID0Simple striping; not truly RAID RAID1Disk-to-disk mirroring RAID4Striping with a parity disk RAID5Striping with striped parity RAID1+0 RAID0+1 RAID5+1 Etc. Combinations of RAID protection; can get complex

RAID0: Striping

RAID0 Tradeoffs  Advantages: – Fastest type of RAID; leverages disks well – No disk overhead  Disadvantage: – A single disk loss is critical  Suitability – Any environment where performance is important, and you do not care about the data, e.g. Datamarts

RAID1: Simple Mirroring

RAID1 Tradeoffs  Advantages: – Read capacity is higher than single disk (but lower than striping) – Very fault tolerant; all data is mirrored  Disadvantage: – Single disk capacity for writes – Two write per I/O penalty – Doubles disk cost  Suitability: – Very commonly used for online redo logs

RAID0+1: Striping with Mirroring

RAID1+0: Mirroring with Striping

RAID0+1/RAID1+0 Tradeoffs  Advantages: – Read capacity is high; multiple disks are leveraged – Very fault tolerant; all data is mirrored  Disadvantage: – Two write per I/O penalty – Doubles disk cost  Suitability: – Very common for storing Oracle datafiles where redundancy is highly valued

RAID4: Striping with Parity Disk

RAID4 Tradeoffs  Advantages: – Read Capacity is high; multiple disks are leveraged – Low RAID overhead; almost as good as RAID 0 – RAID protection exists  Disadvantage: – Two disks cannot be lost – Parity disk can become a bottleneck (some vendors avoid this issue with buffering, in which case performance is similar to RAID 1)  Suitability: – Very common for storing Oracle datafiles where redundancy is needed, and the cost of RAID0+1/RAID1+0 is too high

RAID5: Striping with Striped Parity

RAID5 Tradeoffs  Advantages: – Read Capacity is high; multiple disks are leveraged – Low RAID overhead; almost as good as RAID 0 – RAID protection exists  Disadvantage: – Two disks cannot be lost – Slowest RAID; CPU cost of parity striping is high  Suitability: – Very common for storing Oracle datafiles where redundancy is needed, performance is not critical, and the cost of RAID0+1/RAID1+0 is too high

Emerging Storage Technologies  ATA RAID  Serial ATA (SATA)  iSCSI  NFS v. 4 (NFS RDMA)

ATA RAID  A repackaging of cheap ATA/IDE disks  Used as a tape backup substitute  Archive storage is on-line and accessible  Faster than tape  Almost as cheap as tape, or even cheaper if compression is used

Serial ATA  An updating of the ATA/IDE spec to current technology  Intel and Dell  Targeted for desktops and next generation storage appliances  Could become a serious competitor to FCP and serial bus SCSI

iSCSI  Implements SCSI-3 protocol over IP networks  Intel is a leader  Software initiators exist for Windows and Linux  HP-UX and AIX initiators are in public beta  Targets are available from a variety of vendors  Presently immature, but will become viable competitor to FCP – Key is TOE HBAs on both target and initiator  Effectively offloads host/target CPU from IP traffic – Cost per port for switches and HBAs is vastly cheaper than FCP – If performance becomes comparable, FCP could be toast

Typical iSCSI SAN

NFS v. 4 (NFS RDMA)  Basically, a rewrite of NFS  Focused on “local sharing” i.e., database customers and the like, who need to share data across a small, focused network with very good performance  Supports Read Direct Memory Access, a very high performance, low latency I/O protocol  Supports Infiniband as an I/O interface  Leaders are Network Appliance and Sun  Will provide a transparent performance upgrade path for NFS database customers

Agenda  A little history  The notion of storage networking  SAN and NAS – Current-technology SAN: FCP – Current-technology NAS: IP over GbE  RAID: The “packaging” of hard disks – RAID0 – RAID1 – RAID4 – RAID5 – Combinations of RAID levels  Emerging storage technologies – ATA RAID – Serial ATA (SATA) – iSCSI – NFS v. 4 (NFS RDMA)  Conclusion and wrap up

Wrap Up