Associate Professor Dr. Raed Ibraheem Hamed

Similar documents
High Performance Computing Course Notes High Performance Storage

The term "physical drive" refers to a single hard disk module. Figure 1. Physical Drive

Mass-Storage Structure

Today: Secondary Storage! Typical Disk Parameters!

SYSTEM UPGRADE, INC Making Good Computers Better. System Upgrade Teaches RAID

Definition of RAID Levels

Computer Organization and Technology External Memory

RAID SEMINAR REPORT /09/2004 Asha.P.M NO: 612 S7 ECE

Chapter 14: Mass-Storage Systems

Section 5 MUST BE COMPLETED BY: 12/5

Lenovo RAID Introduction Reference Information

I/O CANNOT BE IGNORED

COT 4600 Operating Systems Fall 2009

Silberschatz, et al. Topics based on Chapter 13

Computer System Architecture

Chapter 13: Mass-Storage Systems. Disk Scheduling. Disk Scheduling (Cont.) Disk Structure FCFS. Moving-Head Disk Mechanism

Chapter 13: Mass-Storage Systems. Disk Structure

Storage Devices for Database Systems

Table 6.1 Physical Characteristics of Disk Systems

Database Management Systems, 2nd edition, Raghu Ramakrishnan, Johannes Gehrke, McGraw-Hill

Che-Wei Chang Department of Computer Science and Information Engineering, Chang Gung University

Distributed Systems 24. Fault Tolerance

Module 13: Secondary-Storage

Introduction Disks RAID Tertiary storage. Mass Storage. CMSC 420, York College. November 21, 2006

Chapter 14: Mass-Storage Systems. Disk Structure

Physical Storage Media

Chapter 12: Mass-Storage Systems. Operating System Concepts 8 th Edition,

Chapter 14 Mass-Storage Structure

Database Systems II. Secondary Storage

Classifying Physical Storage Media. Chapter 11: Storage and File Structure. Storage Hierarchy (Cont.) Storage Hierarchy. Magnetic Hard Disk Mechanism

Classifying Physical Storage Media. Chapter 11: Storage and File Structure. Storage Hierarchy. Storage Hierarchy (Cont.) Speed

Distributed Systems. 19. Fault Tolerance Paul Krzyzanowski. Rutgers University. Fall 2013

MASS-STORAGE STRUCTURE


CSE325 Principles of Operating Systems. Mass-Storage Systems. David P. Duggan. April 19, 2011

File Structures and Indexing

Storage and File Structure. Classification of Physical Storage Media. Physical Storage Media. Physical Storage Media

Chapter 12: Mass-Storage

COMP283-Lecture 3 Applied Database Management

Mladen Stefanov F48235 R.A.I.D

Storage Systems. Storage Systems

Lecture 15 - Chapter 10 Storage and File Structure

CSE 380 Computer Operating Systems

NVIDIA RAID Installation Guide

Routing Journal Operations on Disks Using Striping With Parity 1

Guide to SATA Hard Disks Installation and RAID Configuration

Chapter 10: Mass-Storage Systems

Chapter 11: File System Implementation. Objectives

OS and Hardware Tuning

Computer Organization

OS and HW Tuning Considerations!

Guide to SATA Hard Disks Installation and RAID Configuration

NT2 U3. 2-Bay RAID Storage Enclosure. User Manual May 18, 2010 v1.1

CSCI-GA Database Systems Lecture 8: Physical Schema: Storage

Ch 11: Storage and File Structure

CSE 451: Operating Systems Winter Redundant Arrays of Inexpensive Disks (RAID) and OS structure. Gary Kimura

Modern RAID Technology. RAID Primer A Configuration Guide

Chapter 14: Mass-Storage Systems

Computer Organization

Distributed Systems 23. Fault Tolerance

Unit 3: Storage Management

CMSC 424 Database design Lecture 12 Storage. Mihai Pop

V. Mass Storage Systems

Tape pictures. CSE 30341: Operating Systems Principles

Page 1. Magnetic Disk Purpose Long term, nonvolatile storage Lowest level in the memory hierarchy. Typical Disk Access Time

CSE380 - Operating Systems

Mass-Storage. ICS332 - Fall 2017 Operating Systems. Henri Casanova

Storing Data: Disks and Files

CS3600 SYSTEMS AND NETWORKS

NVIDIA RAID Installation Guide

Database Systems. November 2, 2011 Lecture #7. topobo (mit)

I/O CANNOT BE IGNORED

Administrivia. CMSC 411 Computer Systems Architecture Lecture 19 Storage Systems, cont. Disks (cont.) Disks - review

Appendix D: Storage Systems

Chapter 10: Mass-Storage Systems

Chapter 10: Mass-Storage Systems. Operating System Concepts 9 th Edition

Chapter 12: Mass-Storage Systems. Operating System Concepts 8 th Edition

Chapter 11: Mass-Storage Systems

Computer Architecture and Assembly Language. Spring

CISC 7310X. C11: Mass Storage. Hui Chen Department of Computer & Information Science CUNY Brooklyn College. 4/19/2018 CUNY Brooklyn College

k -bit address bus n-bit data bus Control lines ( R W, MFC, etc.)

Chapter 10 Storage and File Structure

Linux+ Guide to Linux Certification, Third Edition. Chapter 6 Advanced Installation

An Overview of the Computer System. Kafui A. Prebbie 24

CS 554: Advanced Database System

STORAGE MANAGEMENT USING OPENFILER II

Computer Principles and Applications SSC. 151 Dr. Abdel-Hameed Nawar Spring Solution Key to Problem Set 3

Guide to SATA Hard Disks Installation and RAID Configuration

Storage. CS 3410 Computer System Organization & Programming

Storage Update and Storage Best Practices for Microsoft Server Applications. Dennis Martin President, Demartek January 2009 Copyright 2009 Demartek

PESIT Bangalore South Campus

Storage systems. Computer Systems Architecture CMSC 411 Unit 6 Storage Systems. (Hard) Disks. Disk and Tape Technologies. Disks (cont.

A+ Guide to Hardware: Managing, Maintaining, and Troubleshooting, 5e. Chapter 6 Supporting Hard Drives

Chapter 12: Mass-Storage Systems. Operating System Concepts 9 th Edition

Storage and File Structure

1. Introduction. Traditionally, a high bandwidth file system comprises a supercomputer with disks connected

Chapter 12: Secondary-Storage Structure. Operating System Concepts 8 th Edition,

Module 5a: Introduction To Memory System (MAIN MEMORY)

Storage Optimization with Oracle Database 11g

Disk scheduling Disk reliability Tertiary storage Swap space management Linux swap space management

Transcription:

Associate Professor Dr. Raed Ibraheem Hamed University of Human Development, College of Science and Technology Computer Science Department 2015 2016 1

Points to Cover Storing Data in a DBMS Primary Storage Secondary Storage Tertiary Storage Redundant Array of Independent Disks o RAID 0 o RAID 1 o RAID 2 o RAID 3 o RAID 4 o RAID 5 o RAID 6 2

Storing Data in a DBMS Databases are stored in file formats, which contain records. At physical level, the actual data is stored in electromagnetic format on some device. These storage devices can be broadly categorized into three types 3

Primary Storage Primary Storage, also known as main storage or memory, is the main area in a computer in which data is stored for quick access by the computer's processor. Information must be transferred to primary storage. On today's smaller computers, especially personal computers, the term random access memory (RAM) - or just memory - is used instead of primary, main storage, core memory, or immediate access storage. 4

Secondary Storage Secondary Storage Secondary storage devices are used to store data for future use or as backup. Secondary storage includes memory devices that are not a part of the CPU for example, magnetic disks, optical disks (DVD, CD, etc.), hard disks, flash drives, and magnetic tapes. 5

Tertiary Storage Tertiary Storage is used to store huge volumes of data. Since such storage devices are external to the computer system, they are the slowest in speed. Tape libraries and Optical jukeboxes are widely used as tertiary storage. Typically it involves a robotic mechanism which will insert and removable mass storage media into a storage device according to the system's demands. optical jukeboxes tape library 6

Redundant Array of Independent Disks RAID or Redundant Array of Independent Disks, is a technology to connect multiple secondary storage devices and use them as a single storage media. RAID consists of an array of disks in which multiple disks are connected together to achieve different goals. 7

Redundant Array of Independent Disks Storage servers with 24 hard disk drives and built-in hardware RAID controllers supporting various RAID levels. 8

What are the different operating methods RAID uses? RAID uses the following operating methods : - 1. Striping : Dividing a body of data into blocks and spreading the data blocks across several partitions on numerous drives. Striping is primarily used to increase performance. 2. Mirroring : Replicating data onto two or more disks to provide good fault tolerance. Data mirroring can be performed without data loss or system stoppages if a fault occurs. 9

Data Block A Data Block is the smallest unit of I/O used by a database. Oracle stores data in data blocks. One data block corresponds to a specific number of bytes of physical database space on disk. You set the data block size for every Oracle database when you create the database. 10

Redundant Array of Independent Disks RAID 0 RAID 0 writes data to two or more drives alternately to provide the best performance. RAID 0 has a simple design, is easier to implement and has no overheads for parity. However, data is stored on only one disk. So, if one disk fails, data stored within those disks is lost since it does not use parity. For this reason, RAID 0 has very limited usage, 11

Parity Bit A Parity Bit, or check bit is a bit added to the end of a string of binary code that indicates whether the number of bits in the string with the value one is even or odd. Parity bits are used as the simplest form of error detecting code. 12

Redundant Array of Independent Disks RAID 1 RAID 1 provides a redundant, identical copy of a disk, yielding good fault tolerance. Replacement of a faulty disk does not affect any data loss or system stoppages. However, usable capacity is limited by the smallest capacity and the write performance is lower than RAID 0 since it writes data twice. Also, RAID 1 has a large storage overhead and a high cost/capacity ratio. RAID level 1 is also called mirroring. 13

Redundant Array of Independent Disks RAID 2 Like level 1, with Error-correcting code memory (ECC memory). ECC is a type of computer data storage that can detect and correct the most common kinds of internal data corruption. Due to its complex structure and high cost, RAID 2 is not commercially available. 14

Redundant Array of Independent Disks RAID 3 RAID 3 stripes the data onto multiple disks. The parity bit generated for data word is stored on a different disk. This technique makes it to overcome single disk failures. In this diagram A and B are bytes. This is not commonly used. 15

Redundant Array of Independent Disks RAID 4 In this level, an entire block of data is written onto data disks and then the parity is generated and stored on a different disk. In this diagram A and B are Blocks. This is not commonly used. 16

Redundant Array of Independent Disks RAID 5 RAID 5 uses disk striping with parity across three or more disks. Data redundancy is provided by the parity information. Since data and parity information are arranged on the disk array, two types of information are always on different disks. If one disk fails, just replace it with a new disk and the array rebuilds itself. RAID 5 has a higher read rate and makes good use of capacity. The drawbacks of RAID 5 are slower write rates and slower rebuild times. 17

Redundant Array of Independent Disks RAID 6 Just like RAID 5, this does block level striping. However, it uses dual parity. In this level, two independent parities are generated and stored in distributed fashion among multiple disks. This level requires at least four disk drives to implement RAID. Can handle two disk failure. 18

Thank you??? 19