2P13 Week 11. A+ Guide to Managing and Maintaining your PC, 6e2 RAID Controllers Redundant Array of Independent (or Inexpensive) Disks Level 0 -- Striped.

Slides:



Advertisements
Similar presentations
File Management in Operating System
Advertisements

RAID (Redundant Arrays of Independent Disks). Disk organization technique that manages a large number of disks, providing a view of a single disk of High.
RAID Oh yes Whats RAID? Redundant Array (of) Independent Disks. A scheme involving multiple disks which replicates data across multiple drives. Methods.
Chapter 12 File Management Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
RAID- Redundant Array of Inexpensive Drives. Purpose Provide faster data access and larger storage Provide data redundancy.
R.A.I.D. Copyright © 2005 by James Hug Redundant Array of Independent (or Inexpensive) Disks.
CSE 486/586 CSE 486/586 Distributed Systems Case Study: Facebook f4 Steve Ko Computer Sciences and Engineering University at Buffalo.
REDUNDANT ARRAY OF INEXPENSIVE DISCS RAID. What is RAID ? RAID is an acronym for Redundant Array of Independent Drives (or Disks), also known as Redundant.
File Management Chapter 12. File Management File management system is considered part of the operating system Input to applications is by means of a file.
File Management Chapter 12. File Management A file is a named entity used to save results from a program or provide data to a program. Access control.
1 Storage (cont’d) Disk scheduling Reducing seek time (cont’d) Reducing rotational latency RAIDs.
Chapter 12 File Management
Chapter 12 File Management
Database Implementation Issues CPSC 315 – Programming Studio Spring 2008 Project 1, Lecture 5 Slides adapted from those used by Jennifer Welch.
High Performance Computing Course Notes High Performance Storage.
METU Department of Computer Eng Ceng 302 Introduction to DBMS Disk Storage, Basic File Structures, and Hashing by Pinar Senkul resources: mostly froom.
1 File Management Chapter File Management File management system consists of system utility programs that run as privileged applications Input to.
B+ - Tree & B - Tree By Phi Thong Ho.
File Management.
Physical Storage Organization. Advanced DatabasesPhysical Storage Organization2 Outline Where and How data are stored? –physical level –logical level.
File Management Chapter 12.
Chapter 12 File Management
Servers Redundant Array of Inexpensive Disks (RAID) –A group of hard disks is called a disk array FIGURE Server with redundant NICs.
1.A file is organized logically as a sequence of records. 2. These records are mapped onto disk blocks. 3. Files are provided as a basic construct in operating.
Chapter 6 RAID. Chapter 6 — Storage and Other I/O Topics — 2 RAID Redundant Array of Inexpensive (Independent) Disks Use multiple smaller disks (c.f.
RAID Ref: Stallings. Introduction The rate in improvement in secondary storage performance has been considerably less than the rate for processors and.
RAID Shuli Han COSC 573 Presentation.
Redundant Array of Independent Disks
Indexing. Goals: Store large files Support multiple search keys Support efficient insert, delete, and range queries.
File Management Chapter 12. File Management File management system is considered part of the operating system Input to applications is by means of a file.
Basic File Structures and Hashing Lectured by, Jesmin Akhter, Assistant professor, IIT, JU.
Chapter pages1 File Management Chapter 12.
Chapter 11 Indexing & Hashing. 2 n Sophisticated database access methods n Basic concerns: access/insertion/deletion time, space overhead n Indexing 
File Management Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Dr. Sunny Jeong & Mike Huang Operating Systems: Internals and Design Principles,
B-Trees And B+-Trees Jay Yim CS 157B Dr. Lee.
Lecture 23 File-System II File Organization. Criteria for File Organization Rapid access –needed when accessing a single record –not needed for batch.
Fall 2000M.B. Ibáñez Lecture 22 File-System I File Concept.
1 File Management Chapter File Management n File management system consists of system utility programs that run as privileged applications n Concerned.
Physical Storage Organization. Advanced DatabasesPhysical Storage Organization2 Outline Where and How data are stored? –physical level –logical level.
File Storage Organization The majority of space on a device is reserved for the storage of files. When files are created and modified physical blocks are.
1 Tree Indexing (1) Linear index is poor for insertion/deletion. Tree index can efficiently support all desired operations: –Insert/delete –Multiple search.
Indexing and hashing Azita Keshmiri CS 157B. Basic concept An index for a file in a database system works the same way as the index in text book. For.
1 File Management Chapter File Management File management system consists of system utility programs that run as privileged (kernel) application.
File Structures. 2 Chapter - Objectives Disk Storage Devices Files of Records Operations on Files Unordered Files Ordered Files Hashed Files Dynamic and.
The concept of RAID in Databases By Junaid Ali Siddiqui.
Marwan Al-Namari Hassan Al-Mathami. Indexing What is Indexing? Indexing is a mechanisms. Why we need to use Indexing? We used indexing to speed up access.
1 File Management Chapter File Management File management system consists of system utility programs that run as privileged applications Input to.
Storage and File structure COP 4720 Lecture 20 Lecture Notes.
Lec 5 part2 Disk Storage, Basic File Structures, and Hashing.
File Management (Chapter 12) Files –Field: Basic element of data. –Record: A collection of related fields that can be treated as a unit. –File: A collection.
Chapter 5 Record Storage and Primary File Organizations
1 CEG 2400 Fall 2012 Network Servers. 2 Network Servers Critical Network servers – Contain redundant components Power supplies Fans Memory CPU Hard Drives.
File Management Chapter File Management File management system consists of system utility programs that run as privileged applications Input to.
Hands-On Microsoft Windows Server 2008 Chapter 7 Configuring and Managing Data Storage.
Chapter 12 File Management Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William Stallings.
Enhanced Availability With RAID CC5493/7493. RAID Redundant Array of Independent Disks RAID is implemented to improve: –IO throughput (speed) and –Availability.
Chapter 11 Indexing And Hashing (1) Yonsei University 1 st Semester, 2016 Sanghyun Park.
ITEC 2620M Introduction to Data Structures Instructor: Prof. Z. Yang Course Website: ec2620m.htm Office: TEL 3049.
SVBIT SUBJECT:- Operating System TOPICS:- File Management
Network-Attached Storage. Network-attached storage devices Attached to a local area network, generally an Ethernet-based network environment.
File Management Chapter 12.
Indexing and hashing.
Azita Keshmiri CS 157B Ch 12 indexing and hashing
Chapter 12 File Management
Oracle SQL*Loader
File Management Chase Goehring.
Indexing and Hashing Basic Concepts Ordered Indices
UNIT IV RAID.
Operating Systems Concepts
Presentation transcript:

2P13 Week 11

A+ Guide to Managing and Maintaining your PC, 6e2 RAID Controllers Redundant Array of Independent (or Inexpensive) Disks Level 0 -- Striped Disk Array without Fault Tolerance: Provides data striping (spreading out blocks of each file across multiple disk drives) but no redundancy. This improves performance but does not deliver fault tolerance. If one drive fails then all data in the array is lost. Level 1 -- Mirroring and Duplexing: Provides disk mirroring. Level 1 provides twice the read transaction rate of single disks and the same write transaction rate as single disks. Level 2 -- Error-Correcting Coding: Not a typical implementation and rarely used, Level 2 stripes data at the bit level rather than the block level.

A+ Guide to Managing and Maintaining your PC, 6e3 Level 4 -- Dedicated Parity Drive: A commonly used implementation of RAID, Level 4 provides block-level striping (like Level 0) with a parity disk. If a data disk fails, the parity data is used to create a replacement disk. A disadvantage to Level 4 is that the parity disk can create write bottlenecks. Level 5 -- Block Interleaved Distributed Parity: Provides data striping at the byte level and also stripe error correction information. This results in excellent performance and good fault tolerance. Level 5 is one of the most popular implementations of RAID. Level 6 -- Independent Data Disks with Double Parity: Provides block-level striping with parity data distributed across all disks. Level 0+1 – A Mirror of Stripes: Not one of the original RAID levels, two RAID 0 stripes are created, and a RAID 1 mirror is created over them. Used for both replicating and sharing data among disks. Level 10 – A Stripe of Mirrors: Not one of the original RAID levels, multiple RAID 1 mirrors are created, and a RAID 0 stripe is created over these. Level 7: A trademark of Storage Computer Corporation that adds caching to Levels 3 or 4. RAID S: EMC Corporation's proprietary striped parity RAID system used in its Symmetrix storage systems.RAID system

A+ Guide to Managing and Maintaining your PC, 6e4 RAID 0 & 1

A+ Guide to Managing and Maintaining your PC, 6e5 RAID 5 RAID 5 ensures that if one of the disks in the striped set fails, its contents can be extracted using the information on the remaining functioning disks.

A+ Guide to Managing and Maintaining your PC, 6e6 RAID 10 Striping + Mirrors, improves performance and give redundancy.

Table 11.4 RAID Levels N = number of data disks; m proportional to log N

Files Data collections created by users The File System is one of the most important parts of the OS to a user Desirable properties of files:

File Structure Provide a means to store data organized as files as well as a collection of functions that can be performed on files Maintain a set of attributes associated with the file Typical operations include: Create Delete Open Close Read Write

Structure Terms Field –basic element of data –contains a single value –fixed or variable length File collection of related fields that can be treated as a unit by some application program fixed or variable length Record Database collection of similar records treated as a single entity may be referenced by name access control restrictions usually apply at the file level collection of related data relationships among elements of data are explicit designed for use by a number of different applications consists of one or more types of files

File Management System Objectives Meet the data management needs of the user Guarantee that the data in the file are valid Optimize performance Provide I/O support for a variety of storage device types Minimize the potential for lost or destroyed data Provide a standardized set of I/O interface routines to user processes Provide I/O support for multiple users in the case of multiple- user systems

The Pile Least complicated form of file organization Data are collected in the order they arrive Each record consists of one burst of data Purpose is simply to accumulate the mass of data and save it Record access is by exhaustive search

The Sequential File Most common form of file structure A fixed format is used for records Key field uniquely identifies the record Typically used in batch applications Only organization that is easily stored on tape as well as disk

Indexed Sequential File Adds an index to the file to support random access Adds an overflow file Greatly reduces the time required to access a single record Multiple levels of indexing can be used to provide greater efficiency in access

Indexed File Records are accessed only through their indexes Variable-length records can be employed Exhaustive index contains one entry for every record in the main file Partial index contains entries to records where the field of interest exists Used mostly in applications where timeliness of information is critical Examples would be airline reservation systems and inventory control systems

Direct or Hashed File Access directly any block of a known address Makes use of hashing on the key value Often used where: very rapid access is required fixed-length records are used records are always accessed one at a time

B-Trees A balanced tree structure with all branches of equal length Standard method of organizing indexes for databases Commonly used in OS file systems Provides for efficient searching, adding, and deleting of items

B-Tree Characteristics

A B-tree is characterized by its minimum degree d and satisfies the following properties: every node has at most 2 d – 1 keys and 2 d children or, equivalently, 2 d pointers every node, except for the root, has at least d – 1 keys and d pointers, as a result, each internal node, except the root, is at least half full and has at least d children the root has at least 1 key and 2 children all leaves appear on the same level and contain no information. This is a logical construct to terminate the tree; the actual implementation may differ. a nonleaf node with k pointers contains k – 1 keys

Inserting Nodes Into a B-Tree

The End