Outline. Principles of Database Management Systems. Memory Hierarchy: Capacities and access times. CPU vs. Disk Speed
|
|
|
- Ashlie Alexander
- 10 years ago
- Views:
Transcription
1 Outline Principles of Database Management Systems Pekka Kilpeläinen (after Stanford CS245 slide originals by Hector Garcia-Molina, Jeff Ullman and Jennifer Widom) Hardware: Disks Access Times Example - Megatron 747 External sorting Other Topics: Optimizing disk usage DBMS 2001 Notes 2: Hardware 1 DBMS 2001 Notes 2: Hardware 2 P M Typical Computer C Bus Memory Hierarchy: Capacities and access times Terabytes Tertiary Storage s P: processor M: main memory C: disk controller Secondary Storage Gigabytes Disk 10 ms = 10-2 s Megabytes Main memory (+ cache) 100 ns = 10-7 s DBMS 2001 Notes 2: Hardware 3 DBMS 2001 Notes 2: Hardware 4 CPU vs. Disk Speed CPU: MIPS Main memory access sec. DISK read/write approx ms CPU executes roughly 10 6 instructions in the time of a disk access disk access times do not shrink in proportion to CPU speed-up disk I/O major DBMS concern DBMS 2001 Notes 2: Hardware 5 Typical Disk 1 n rotating platters (of two surfaces); Surfaces accessed by heads (moving together), divided into concentric tracks. Tracks under the heads at the same time form a cylinder. Tracks are divided into sectors separated by gaps. DBMS 2001 Notes 2: Hardware 6 1
2 Top View: tracks on a surface track gap sector Typical Numbers Diameter: " Cylinders: (floppy:40) Surfaces: 1 (CD, old floppy) (=tracks/cyl) 2 (floppy, DVD) 30 Sector Size:0.5 4KB 50KB Capacity: 1.44 MB (floppy) several GBs DBMS 2001 Notes 2: Hardware 7 DBMS 2001 Notes 2: Hardware 8 Physical vs. Logical I/O Disk Access Time Sector: indivisible unit of disk I/O Blocks logical (DBMS/OS) units of disk storage transferred btw disk and main memory buffers typically 4 56 KB, consisting of one or more sectors I want block X? block X in memory DBMS 2001 Notes 2: Hardware 9 DBMS 2001 Notes 2: Hardware 10 Time = Seek Time + Rotational Delay + Transfer Time + Other Seek TimeS Time 3x 20x Real seek time x Simplified approximation 1 N Cylinders Traveled DBMS 2001 Notes 2: Hardware 11 DBMS 2001 Notes 2: Hardware 12 2
3 Average Random Seek TimeE(S) N N Rotational Delay R E(S) = 1/N 1/N SEEKTIME (i j) i=1 j=1 = (approx.) 1/3 SEEKTIME (1 N) Head Here Typical E(S): 3 15 ms Block I Want DBMS 2001 Notes 2: Hardware 13 DBMS 2001 Notes 2: Hardware 14 Average Rotational Delay E(R) E(R) = 1/2 x full rotation time Typical rotation speed 3600 RPM full rotation in 1/60 s E(R) = 1/120 s = 8.33 ms Transfer Rate: t typical t: 1 3 MB/second transfer time: (block size)/t Other Delays: Typical Value 0 CPU time to issue I/O Contention for controller Contention for bus, memory DBMS 2001 Notes 2: Hardware 15 DBMS 2001 Notes 2: Hardware 16 So far: Random Block Access What about: Reading Next block? If we do things right (e.g., Arrange by Cylinders, Double Buffer ) Time to get = Block Size + Negligible block t - skip gap - switch track - once in a while, next cylinder DBMS 2001 Notes 2: Hardware 17 DBMS 2001 Notes 2: Hardware 18 3
4 Rule of Thumb Ex: Random I/O: Expensive Sequential I/O: Much less 1 KB Block»Random I/O: 20 ms.»sequential I/O: 1 ms. Cost for Writing similar to Reading. unless we want to verify! need to add (full) rotation + Block size t DBMS 2001 Notes 2: Hardware 19 DBMS 2001 Notes 2: Hardware 20 To Modify a Block? To Modify Block: (a) Read Block (b) Modify in Memory (c) Write Block [(d) Verify?] An Example 4 platters, 8 surfaces Megatron 747 Disk (Example 2.1 in book) 2 13 = 8192 cylinders (or tracks/surface) 2 8 = 256 sectors/track 90% of track length for data, 10% for gaps 2 9 = 512 bytes/sector capacity 2 3 x 2 13 x 2 8 x 2 9 = 2 33 = 8 GB DBMS 2001 Notes 2: Hardware 21 DBMS 2001 Notes 2: Hardware 22 Timing for Megatron 747 (Ex 2.3) Time to read a 4 KB block? MIN: only transfer time: Read 8 sectors (a' 0.5 KB) and pass 7 gaps How much does the disk need to rotate? For data 8/256 x 90% = 72/2560 rotation, for gaps 7/256 x 10% = 7/2560 rotation 3840 RPM 1/64 s for one rotation time (79/2560)/64 s, or about 0.5 ms (i.e. transfer speed approx. 8 MB/s) Maximum block access time Megatron 474 head movements: 1 ms to start&stop + 1 ms/500 cylinders MAX block access time: SEEKTIME(1 8192) = /500 ms = 17.4 ms full rotation: 1/64 s = 15.6 ms transfer: 0.5 ms 33.5 ms DBMS 2001 Notes 2: Hardware 23 DBMS 2001 Notes 2: Hardware 24 4
5 Megatron 474: Average block access time AVGblock access time: AVG SEEKTIME: Assuming random access, avg head movement is 1/3 of all tracks 1 ms + 1/3 x 8191/500 ms = 6.5 ms half rotation: 1/2 x 1/64 s = 7.8 ms transfer: 0.5 ms 14.8 ms Outline Hardware: Disks Access Times Example: Megatron 747 External sorting Other Topics Optimizing Disk Usage here DBMS 2001 Notes 2: Hardware 25 DBMS 2001 Notes 2: Hardware 26 Two-Phase Multiway Merge-Sort Sorting of files or relations is a recurrent task What if the data doesn't fit in main memory? Ex: Sort relation R of 10x byte tuples, using Megatron 747 disk and 50 MB main memory (M) for buffers (Ex. 2.5, , 2.14 in Book). Block size 4 KB 40 tuples/block R takes 10 7 /40 = 250,000 blocks M can hold 50 x 2 20 /2 12 = 12,800 blocks MB 4 KB DBMS 2001 Notes 2: Hardware 27 Merging Sorted Sublists is Easy Sorted file Memory Sorted sublists Always move the smallest head elemenent to the ouput buffer DBMS 2001 Notes 2: Hardware 28 One way to sort: Merge Sort (i) For each main-memory-sized chunk of R: - Read chunk - Sort in memory (say, using quicksort) - Write to disk L1 R sorted L2 chunks (sublists) Memory Ln (ii) Read all chunks + merge + write out Sorted file Memory Sorted sublists DBMS 2001 Notes 2: Hardware 29 DBMS 2001 Notes 2: Hardware 30 5
6 Example: Sorting R (cont.) blocks of R blocks fitting in R R fills memory 250,000/12,800=20 times (last time memory not full) Phase (i): 250,000 blocks first read, then written 500,000 block accesses. If in random order, time 500,000 x 15 ms = 125 minutes Phase (ii): Similarly 125 min; Total 250 min How Large Files Can We Sort? Let B = block size, M = size of main memory available for sorting, R = size of each record M/B buffers fit in memory; one for output Phase (ii) can merge at most (M/B - 1) sublists, each created by sorting at most M/R records M/R x (M/B - 1), roughly M 2 /(BxR) records DBMS 2001 Notes 2: Hardware 31 DBMS 2001 Notes 2: Hardware 32 M 2 /(BxR) in Practise? In our example, M = 50,000,000, B = 4096, R = 100 M 2 /(BxR) = 2500x10 12 /(4096 x 100) = 6.1 x 10 9 records, taking 0.61 terabytes of storage Pretty much! Additional merge-phases can be added to cover even larger data sets. Optimizations Arranging sequentially accessed blocks by cylinders Pre-fetching buffers Mirrored Disks DBMS 2001 Notes 2: Hardware 33 DBMS 2001 Notes 2: Hardware 34 Arranging Blocks by Cylinders Consider our merge-sort example. The blocks of R can be stored on consecutive cylinders, and the 20 sorted sublists can be written likewise Megatron 747 cylinder size 1 MB Time to fill main memory (by 50 cylinders): AVG seek 6.5 ms + 49 one-cylinder seeks a' 1 ms + transfer time for 12,800 blocks a' 0.5 ms transfer time to fill memory once 6.4 s; Seek times ignorable (if no other processes!) Arranging Blocks by Cylinders (cont.) Phase (i) of multiway merge-sort dominated by the transfer time of reading & writing a memory-full of blocks 20 times: 20 x 2 x 6.4 s = 256 s = 4.3 min (vs. previous 125 minutes!) DBMS 2001 Notes 2: Hardware 35 DBMS 2001 Notes 2: Hardware 36 6
7 What about Phase (ii)? In the merge phase, a new block is read when one gets exhausted blocks read in a somewhat random order But we wrote each sublist sequentially along cylinders! Wecan utilize this by using larger buffers, holding entire tracks or even cylinders To increase throughput, apply double buffering Double Buffering Problem: Have a File» Sequence of Blocks B1, B2, B3, Have a Program» Process B1» Process B2» Process B3 DBMS 2001 Notes 2: Hardware 37 DBMS 2001 Notes 2: Hardware 38 Single Buffer Solution (1) Read B1 Buffer (2) Process Data in Buffer (3) Read B2 Buffer (4) Process Data in Buffer Say P = time to process/block R = time to read in 1 block n = # blocks Single buffer time = n(p+r) DBMS 2001 Notes 2: Hardware 39 DBMS 2001 Notes 2: Hardware 40 Double Buffering process Memory: AC A process B Say R P What is processing time? P = Processing time/block R = IO time/block n = # blocks Disk: A B C D E F G done done Double buffering time = nr Single buffering time = n(r+p) DBMS 2001 Notes 2: Hardware 41 DBMS 2001 Notes 2: Hardware 42 7
8 Cylinder-Sized Double-Buffering Cylinder-Sized Double-Buffering (cont.) Consider implementing the merge-phase using two cylinder-sized (1 MB) buffers for each of our 20 sorted sublists Only one seek/cylinder (AVG 6.5 ms) + one full rotation for each of the 8 tracks of a cylinder (each 15.6 ms) ms to read one buffer repeated 1000 times to read entire relation about 2.15 min to read all sublists DBMS 2001 Notes 2: Hardware 43 Writing the sorted relation can be arranged similarly Time to output the buffers for the result also 2.15 min Total time for multiway merge-sort 4.3 min (Phase i) min (Phase ii) = 8.6 minutes (vs. over 4 hours without these tricks!) DBMS 2001 Notes 2: Hardware 44 Mirroring Disks Two or more disks holding identical copies of data Optimizes: Can read blocks from whichever disk is faster. (Writing on each disk happens in parallel.) Enhances reliability: A single disk crash does not cause loss of data. (RAID level 1) Using redundant disks RAID (Redundant Arrays of Independent Disks) different versions, levels 1-6 Basic idea: One of the disks is redundant holding checksums for other disks contents of crashed disks can be recovered from the checksums DBMS 2001 Notes 2: Hardware 45 DBMS 2001 Notes 2: Hardware 46 Error Recovery in Databases Summary Current DB Log Last week s DB Secondary storage, mainly disks I/O times dominate DBMS processing I/Os should be avoided, especially random ones More about this later DBMS 2001 Notes 2: Hardware 47 DBMS 2001 Notes 2: Hardware 48 8
Outline. CS 245: Database System Principles. Notes 02: Hardware. Hardware DBMS ... ... Data Storage
CS 245: Database System Principles Notes 02: Hardware Hector Garcia-Molina Outline Hardware: Disks Access Times Solid State Drives Optimizations Other Topics: Storage costs Using secondary storage Disk
Chapter 2 Data Storage
Chapter 2 22 CHAPTER 2. DATA STORAGE 2.1. THE MEMORY HIERARCHY 23 26 CHAPTER 2. DATA STORAGE main memory, yet is essentially random-access, with relatively small differences Figure 2.4: A typical
CS 464/564 Introduction to Database Management System Instructor: Abdullah Mueen
CS 464/564 Introduction to Database Management System Instructor: Abdullah Mueen LECTURE 14: DATA STORAGE AND REPRESENTATION Data Storage Memory Hierarchy Disks Fields, Records, Blocks Variable-length
Storing Data: Disks and Files
Storing Data: Disks and Files (From Chapter 9 of textbook) Storing and Retrieving Data Database Management Systems need to: Store large volumes of data Store data reliably (so that data is not lost!) Retrieve
Data Storage - I: Memory Hierarchies & Disks
Data Storage - I: Memory Hierarchies & Disks W7-C, Spring 2005 Updated by M. Naci Akkøk, 27.02.2004 and 23.02.2005, based upon slides by Pål Halvorsen, 11.3.2002. Contains slides from: Hector Garcia-Molina,
Database 2 Lecture I. Alessandro Artale
Free University of Bolzano Database 2. Lecture I, 2003/2004 A.Artale (1) Database 2 Lecture I Alessandro Artale Faculty of Computer Science Free University of Bolzano Room: 221 [email protected] http://www.inf.unibz.it/
System Architecture. CS143: Disks and Files. Magnetic disk vs SSD. Structure of a Platter CPU. Disk Controller...
System Architecture CS143: Disks and Files CPU Word (1B 64B) ~ 10 GB/sec Main Memory System Bus Disk Controller... Block (512B 50KB) ~ 100 MB/sec Disk 1 2 Magnetic disk vs SSD Magnetic Disk Stores data
Secondary Storage. Any modern computer system will incorporate (at least) two levels of storage: magnetic disk/optical devices/tape systems
1 Any modern computer system will incorporate (at least) two levels of storage: primary storage: typical capacity cost per MB $3. typical access time burst transfer rate?? secondary storage: typical capacity
Database Management Systems
4411 Database Management Systems Acknowledgements and copyrights: these slides are a result of combination of notes and slides with contributions from: Michael Kiffer, Arthur Bernstein, Philip Lewis, Anestis
Price/performance Modern Memory Hierarchy
Lecture 21: Storage Administration Take QUIZ 15 over P&H 6.1-4, 6.8-9 before 11:59pm today Project: Cache Simulator, Due April 29, 2010 NEW OFFICE HOUR TIME: Tuesday 1-2, McKinley Last Time Exam discussion
Sistemas Operativos: Input/Output Disks
Sistemas Operativos: Input/Output Disks Pedro F. Souto ([email protected]) April 28, 2012 Topics Magnetic Disks RAID Solid State Disks Topics Magnetic Disks RAID Solid State Disks Magnetic Disk Construction
Introduction to I/O and Disk Management
Introduction to I/O and Disk Management 1 Secondary Storage Management Disks just like memory, only different Why have disks? Memory is small. Disks are large. Short term storage for memory contents (e.g.,
Data Storage - II: Efficient Usage & Errors
Data Storage - II: Efficient Usage & Errors Week 10, Spring 2005 Updated by M. Naci Akkøk, 27.02.2004, 03.03.2005 based upon slides by Pål Halvorsen, 12.3.2002. Contains slides from: Hector Garcia-Molina
Storage in Database Systems. CMPSCI 445 Fall 2010
Storage in Database Systems CMPSCI 445 Fall 2010 1 Storage Topics Architecture and Overview Disks Buffer management Files of records 2 DBMS Architecture Query Parser Query Rewriter Query Optimizer Query
File System & Device Drive. Overview of Mass Storage Structure. Moving head Disk Mechanism. HDD Pictures 11/13/2014. CS341: Operating System
CS341: Operating System Lect 36: 1 st Nov 2014 Dr. A. Sahu Dept of Comp. Sc. & Engg. Indian Institute of Technology Guwahati File System & Device Drive Mass Storage Disk Structure Disk Arm Scheduling RAID
Storing Data: Disks and Files. Disks and Files. Why Not Store Everything in Main Memory? Chapter 7
Storing : Disks and Files Chapter 7 Yea, from the table of my memory I ll wipe away all trivial fond records. -- Shakespeare, Hamlet base Management Systems 3ed, R. Ramakrishnan and J. Gehrke 1 Disks and
CS 6290 I/O and Storage. Milos Prvulovic
CS 6290 I/O and Storage Milos Prvulovic Storage Systems I/O performance (bandwidth, latency) Bandwidth improving, but not as fast as CPU Latency improving very slowly Consequently, by Amdahl s Law: fraction
Input / Ouput devices. I/O Chapter 8. Goals & Constraints. Measures of Performance. Anatomy of a Disk Drive. Introduction - 8.1
Introduction - 8.1 I/O Chapter 8 Disk Storage and Dependability 8.2 Buses and other connectors 8.4 I/O performance measures 8.6 Input / Ouput devices keyboard, mouse, printer, game controllers, hard drive,
William Stallings Computer Organization and Architecture 7 th Edition. Chapter 6 External Memory
William Stallings Computer Organization and Architecture 7 th Edition Chapter 6 External Memory Types of External Memory Magnetic Disk RAID Removable Optical CD-ROM CD-Recordable (CD-R) CD-R/W DVD Magnetic
RAID. RAID 0 No redundancy ( AID?) Just stripe data over multiple disks But it does improve performance. Chapter 6 Storage and Other I/O Topics 29
RAID Redundant Array of Inexpensive (Independent) Disks Use multiple smaller disks (c.f. one large disk) Parallelism improves performance Plus extra disk(s) for redundant data storage Provides fault tolerant
External Sorting. Why Sort? 2-Way Sort: Requires 3 Buffers. Chapter 13
External Sorting Chapter 13 Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 1 Why Sort? A classic problem in computer science! Data requested in sorted order e.g., find students in increasing
Systems Infrastructure for Data Science. Web Science Group Uni Freiburg WS 2014/15
Systems Infrastructure for Data Science Web Science Group Uni Freiburg WS 2014/15 Lecture I: Storage Storage Part I of this course Uni Freiburg, WS 2014/15 Systems Infrastructure for Data Science 3 The
Chapter 6. 6.1 Introduction. Storage and Other I/O Topics. p. 570( 頁 585) Fig. 6.1. I/O devices can be characterized by. I/O bus connections
Chapter 6 Storage and Other I/O Topics 6.1 Introduction I/O devices can be characterized by Behavior: input, output, storage Partner: human or machine Data rate: bytes/sec, transfers/sec I/O bus connections
CPS104 Computer Organization and Programming Lecture 18: Input-Output. Robert Wagner
CPS104 Computer Organization and Programming Lecture 18: Input-Output Robert Wagner cps 104 I/O.1 RW Fall 2000 Outline of Today s Lecture The I/O system Magnetic Disk Tape Buses DMA cps 104 I/O.2 RW Fall
1 Storage Devices Summary
Chapter 1 Storage Devices Summary Dependability is vital Suitable measures Latency how long to the first bit arrives Bandwidth/throughput how fast does stuff come through after the latency period Obvious
The Classical Architecture. Storage 1 / 36
1 / 36 The Problem Application Data? Filesystem Logical Drive Physical Drive 2 / 36 Requirements There are different classes of requirements: Data Independence application is shielded from physical storage
Chapter 2: Computer-System Structures. Computer System Operation Storage Structure Storage Hierarchy Hardware Protection General System Architecture
Chapter 2: Computer-System Structures Computer System Operation Storage Structure Storage Hierarchy Hardware Protection General System Architecture Operating System Concepts 2.1 Computer-System Architecture
Q & A From Hitachi Data Systems WebTech Presentation:
Q & A From Hitachi Data Systems WebTech Presentation: RAID Concepts 1. Is the chunk size the same for all Hitachi Data Systems storage systems, i.e., Adaptable Modular Systems, Network Storage Controller,
Mass Storage Structure
Mass Storage Structure 12 CHAPTER Practice Exercises 12.1 The accelerating seek described in Exercise 12.3 is typical of hard-disk drives. By contrast, floppy disks (and many hard disks manufactured before
Database Fundamentals
Database Fundamentals Computer Science 105 Boston University David G. Sullivan, Ph.D. Bit = 0 or 1 Measuring Data: Bits and Bytes One byte is 8 bits. example: 01101100 Other common units: name approximate
COS 318: Operating Systems. Storage Devices. Kai Li and Andy Bavier Computer Science Department Princeton University
COS 318: Operating Systems Storage Devices Kai Li and Andy Bavier Computer Science Department Princeton University http://www.cs.princeton.edu/courses/archive/fall13/cos318/ Today s Topics! Magnetic disks!
Chapter 10: Mass-Storage Systems
Chapter 10: Mass-Storage Systems Physical structure of secondary storage devices and its effects on the uses of the devices Performance characteristics of mass-storage devices Disk scheduling algorithms
WHITE PAPER FUJITSU PRIMERGY SERVER BASICS OF DISK I/O PERFORMANCE
WHITE PAPER BASICS OF DISK I/O PERFORMANCE WHITE PAPER FUJITSU PRIMERGY SERVER BASICS OF DISK I/O PERFORMANCE This technical documentation is aimed at the persons responsible for the disk I/O performance
Disks and RAID. Profs. Bracy and Van Renesse. based on slides by Prof. Sirer
Disks and RAID Profs. Bracy and Van Renesse based on slides by Prof. Sirer 50 Years Old! 13th September 1956 The IBM RAMAC 350 Stored less than 5 MByte Reading from a Disk Must specify: cylinder # (distance
COS 318: Operating Systems. Storage Devices. Kai Li Computer Science Department Princeton University. (http://www.cs.princeton.edu/courses/cos318/)
COS 318: Operating Systems Storage Devices Kai Li Computer Science Department Princeton University (http://www.cs.princeton.edu/courses/cos318/) Today s Topics Magnetic disks Magnetic disk performance
Disk Storage & Dependability
Disk Storage & Dependability Computer Organization Architectures for Embedded Computing Wednesday 19 November 14 Many slides adapted from: Computer Organization and Design, Patterson & Hennessy 4th Edition,
Lecture 16: Storage Devices
CS 422/522 Design & Implementation of Operating Systems Lecture 16: Storage Devices Zhong Shao Dept. of Computer Science Yale University Acknowledgement: some slides are taken from previous versions of
Chapter 9: Peripheral Devices: Magnetic Disks
Chapter 9: Peripheral Devices: Magnetic Disks Basic Disk Operation Performance Parameters and History of Improvement Example disks RAID (Redundant Arrays of Inexpensive Disks) Improving Reliability Improving
Communicating with devices
Introduction to I/O Where does the data for our CPU and memory come from or go to? Computers communicate with the outside world via I/O devices. Input devices supply computers with data to operate on.
Physical Data Organization
Physical Data Organization Database design using logical model of the database - appropriate level for users to focus on - user independence from implementation details Performance - other major factor
CSCA0102 IT & Business Applications. Foundation in Business Information Technology School of Engineering & Computing Sciences FTMS College Global
CSCA0102 IT & Business Applications Foundation in Business Information Technology School of Engineering & Computing Sciences FTMS College Global Chapter 2 Data Storage Concepts System Unit The system unit
HARD DRIVE CHARACTERISTICS REFRESHER
The read/write head of a hard drive only detects changes in the magnetic polarity of the material passing beneath it, not the direction of the polarity. Writes are performed by sending current either one
Chapter 13. Disk Storage, Basic File Structures, and Hashing
Chapter 13 Disk Storage, Basic File Structures, and Hashing Chapter Outline Disk Storage Devices Files of Records Operations on Files Unordered Files Ordered Files Hashed Files Dynamic and Extendible Hashing
lesson 1 An Overview of the Computer System
essential concepts lesson 1 An Overview of the Computer System This lesson includes the following sections: The Computer System Defined Hardware: The Nuts and Bolts of the Machine Software: Bringing the
Chapter 8 Memory Units
Chapter 8 Memory Units Contents: I. Introduction Basic units of Measurement II. RAM,ROM,PROM,EPROM Storage versus Memory III. Auxiliary Storage Devices-Magnetic Tape, Hard Disk, Floppy Disk IV.Optical
RAID Performance Analysis
RAID Performance Analysis We have six 500 GB disks with 8 ms average seek time. They rotate at 7200 RPM and have a transfer rate of 20 MB/sec. The minimum unit of transfer to each disk is a 512 byte sector.
Copyright 2007 Ramez Elmasri and Shamkant B. Navathe. Slide 13-1
Slide 13-1 Chapter 13 Disk Storage, Basic File Structures, and Hashing Chapter Outline Disk Storage Devices Files of Records Operations on Files Unordered Files Ordered Files Hashed Files Dynamic and Extendible
Performance Report Modular RAID for PRIMERGY
Performance Report Modular RAID for PRIMERGY Version 1.1 March 2008 Pages 15 Abstract This technical documentation is designed for persons, who deal with the selection of RAID technologies and RAID controllers
Chapter 13 Disk Storage, Basic File Structures, and Hashing.
Chapter 13 Disk Storage, Basic File Structures, and Hashing. Copyright 2004 Pearson Education, Inc. Chapter Outline Disk Storage Devices Files of Records Operations on Files Unordered Files Ordered Files
COSC 6374 Parallel Computation. Parallel I/O (I) I/O basics. Concept of a clusters
COSC 6374 Parallel I/O (I) I/O basics Fall 2012 Concept of a clusters Processor 1 local disks Compute node message passing network administrative network Memory Processor 2 Network card 1 Network card
Here are my slides from lecture, along with my notes about each slide.
Chapter 3: Storage Here are my slides from lecture, along with my notes about each slide. NOTE: You are expected to attend all class meetings. Please be in the room when class begins and be ready to participate
Agenda. Enterprise Application Performance Factors. Current form of Enterprise Applications. Factors to Application Performance.
Agenda Enterprise Performance Factors Overall Enterprise Performance Factors Best Practice for generic Enterprise Best Practice for 3-tiers Enterprise Hardware Load Balancer Basic Unix Tuning Performance
Summer Student Project Report
Summer Student Project Report Dimitris Kalimeris National and Kapodistrian University of Athens June September 2014 Abstract This report will outline two projects that were done as part of a three months
What is RAID? data reliability with performance
What is RAID? RAID is the use of multiple disks and data distribution techniques to get better Resilience and/or Performance RAID stands for: Redundant Array of Inexpensive / Independent Disks RAID can
University of Dublin Trinity College. Storage Hardware. [email protected]
University of Dublin Trinity College Storage Hardware [email protected] Hardware Issues Hard Disk/SSD CPU Cache Main Memory CD ROM/RW DVD ROM/RW Tapes Primary Storage Floppy Disk/ Memory Stick Secondary
Principles of Database Management Systems. Overview. Principles of Data Layout. Topic for today. "Executive Summary": here.
Topic for today Principles of Database Management Systems Pekka Kilpeläinen (after Stanford CS245 slide originals by Hector Garcia-Molina, Jeff Ullman and Jennifer Widom) How to represent data on disk
CS2510 Computer Operating Systems
CS2510 Computer Operating Systems HADOOP Distributed File System Dr. Taieb Znati Computer Science Department University of Pittsburgh Outline HDF Design Issues HDFS Application Profile Block Abstraction
CS2510 Computer Operating Systems
CS2510 Computer Operating Systems HADOOP Distributed File System Dr. Taieb Znati Computer Science Department University of Pittsburgh Outline HDF Design Issues HDFS Application Profile Block Abstraction
William Stallings Computer Organization and Architecture 8 th Edition. External Memory
William Stallings Computer Organization and Architecture 8 th Edition Chapter 6 External Memory Types of External Memory Magnetic Disk RAID Removable Optical CD-ROM CD-Recordable (CD-R) CD-R/W DVD Magnetic
Indexing on Solid State Drives based on Flash Memory
Indexing on Solid State Drives based on Flash Memory Florian Keusch MASTER S THESIS Systems Group Department of Computer Science ETH Zurich http://www.systems.ethz.ch/ September 2008 - March 2009 Supervised
Chapter 11 I/O Management and Disk Scheduling
Operating Systems: Internals and Design Principles, 6/E William Stallings Chapter 11 I/O Management and Disk Scheduling Dave Bremer Otago Polytechnic, NZ 2008, Prentice Hall I/O Devices Roadmap Organization
Outline. Failure Types
Outline Database Management and Tuning Johann Gamper Free University of Bozen-Bolzano Faculty of Computer Science IDSE Unit 11 1 2 Conclusion Acknowledgements: The slides are provided by Nikolaus Augsten
Introduction Disks RAID Tertiary storage. Mass Storage. CMSC 412, University of Maryland. Guest lecturer: David Hovemeyer.
Guest lecturer: David Hovemeyer November 15, 2004 The memory hierarchy Red = Level Access time Capacity Features Registers nanoseconds 100s of bytes fixed Cache nanoseconds 1-2 MB fixed RAM nanoseconds
DATABASE. Pervasive PSQL Performance. Key Performance Features of Pervasive PSQL. Pervasive PSQL White Paper
DATABASE Pervasive PSQL Performance Key Performance Features of Pervasive PSQL Pervasive PSQL White Paper June 2008 Table of Contents Introduction... 3 Per f o r m a n c e Ba s i c s: Mo r e Me m o r y,
Best Practices for Optimizing SQL Server Database Performance with the LSI WarpDrive Acceleration Card
Best Practices for Optimizing SQL Server Database Performance with the LSI WarpDrive Acceleration Card Version 1.0 April 2011 DB15-000761-00 Revision History Version and Date Version 1.0, April 2011 Initial
External Sorting. Chapter 13. Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 1
External Sorting Chapter 13 Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 1 Why Sort? A classic problem in computer science! Data requested in sorted order e.g., find students in increasing
File System Management
Lecture 7: Storage Management File System Management Contents Non volatile memory Tape, HDD, SSD Files & File System Interface Directories & their Organization File System Implementation Disk Space Allocation
Configuring Apache Derby for Performance and Durability Olav Sandstå
Configuring Apache Derby for Performance and Durability Olav Sandstå Database Technology Group Sun Microsystems Trondheim, Norway Overview Background > Transactions, Failure Classes, Derby Architecture
RAID Overview 91.520
RAID Overview 91.520 1 The Motivation for RAID Computing speeds double every 3 years Disk speeds can t keep up Data needs higher MTBF than any component in system IO Performance and Availability Issues!
Main Memory & Backing Store. Main memory backing storage devices
Main Memory & Backing Store Main memory backing storage devices 1 Introduction computers store programs & data in two different ways: nmain memory ntemporarily stores programs & data that are being processed
RAID HARDWARE. On board SATA RAID controller. RAID drive caddy (hot swappable) SATA RAID controller card. Anne Watson 1
RAID HARDWARE On board SATA RAID controller SATA RAID controller card RAID drive caddy (hot swappable) Anne Watson 1 RAID The word redundant means an unnecessary repetition. The word array means a lineup.
Outline. Database Management and Tuning. Overview. Hardware Tuning. Johann Gamper. Unit 12
Outline Database Management and Tuning Hardware Tuning Johann Gamper 1 Free University of Bozen-Bolzano Faculty of Computer Science IDSE Unit 12 2 3 Conclusion Acknowledgements: The slides are provided
Random-Access Memory (RAM) The Memory Hierarchy. SRAM vs DRAM Summary. Conventional DRAM Organization. Page 1
Random-ccess Memor (RM) The Memor Hierarch Topics Storage technologies and trends Localit of reference Caching in the hierarch Ke features RM is packaged as a chip. Basic storage unit is a cell (one bit
Cloud Storage. Parallels. Performance Benchmark Results. White Paper. www.parallels.com
Parallels Cloud Storage White Paper Performance Benchmark Results www.parallels.com Table of Contents Executive Summary... 3 Architecture Overview... 3 Key Features... 4 No Special Hardware Requirements...
Flash for Databases. September 22, 2015 Peter Zaitsev Percona
Flash for Databases September 22, 2015 Peter Zaitsev Percona In this Presentation Flash technology overview Review some of the available technology What does this mean for databases? Specific opportunities
Optimizing LTO Backup Performance
Optimizing LTO Backup Performance July 19, 2011 Written by: Ash McCarty Contributors: Cedrick Burton Bob Dawson Vang Nguyen Richard Snook Table of Contents 1.0 Introduction... 3 2.0 Host System Configuration...
SQL Server Version. Supported for SC2012 RTM*** Not supported for SC2012 SP1*** SQL Server 2008 SP1, SP2, SP3
Session Overview SQL Server Version SQL Server 2008 SP1, SP2, SP3 Supported for SC2012 RTM*** Not supported for SC2012 SP1*** SQL Server 2008 R2 RTM, SP1 Supported for SC2012 RTM*** and SC2012 SP1***
CS 525 Advanced Database Organization - Spring 2013 Mon + Wed 3:15-4:30 PM, Room: Wishnick Hall 113
CS 525 Advanced Database Organization - Spring 2013 Mon + Wed 3:15-4:30 PM, Room: Wishnick Hall 113 Instructor: Boris Glavic, Stuart Building 226 C, Phone: 312 567 5205, Email: [email protected] Office Hours:
Overview of I/O Performance and RAID in an RDBMS Environment. By: Edward Whalen Performance Tuning Corporation
Overview of I/O Performance and RAID in an RDBMS Environment By: Edward Whalen Performance Tuning Corporation Abstract This paper covers the fundamentals of I/O topics and an overview of RAID levels commonly
Computer Systems Structure Main Memory Organization
Computer Systems Structure Main Memory Organization Peripherals Computer Central Processing Unit Main Memory Computer Systems Interconnection Communication lines Input Output Ward 1 Ward 2 Storage/Memory
Benchmarking Hadoop & HBase on Violin
Technical White Paper Report Technical Report Benchmarking Hadoop & HBase on Violin Harnessing Big Data Analytics at the Speed of Memory Version 1.0 Abstract The purpose of benchmarking is to show advantages
Remote Copy Technology of ETERNUS6000 and ETERNUS3000 Disk Arrays
Remote Copy Technology of ETERNUS6000 and ETERNUS3000 Disk Arrays V Tsutomu Akasaka (Manuscript received July 5, 2005) This paper gives an overview of a storage-system remote copy function and the implementation
RAMCloud and the Low- Latency Datacenter. John Ousterhout Stanford University
RAMCloud and the Low- Latency Datacenter John Ousterhout Stanford University Most important driver for innovation in computer systems: Rise of the datacenter Phase 1: large scale Phase 2: low latency Introduction
6. Storage and File Structures
ECS-165A WQ 11 110 6. Storage and File Structures Goals Understand the basic concepts underlying different storage media, buffer management, files structures, and organization of records in files. Contents
DELL RAID PRIMER DELL PERC RAID CONTROLLERS. Joe H. Trickey III. Dell Storage RAID Product Marketing. John Seward. Dell Storage RAID Engineering
DELL RAID PRIMER DELL PERC RAID CONTROLLERS Joe H. Trickey III Dell Storage RAID Product Marketing John Seward Dell Storage RAID Engineering http://www.dell.com/content/topics/topic.aspx/global/products/pvaul/top
Fusionstor NAS Enterprise Server and Microsoft Windows Storage Server 2003 competitive performance comparison
Fusionstor NAS Enterprise Server and Microsoft Windows Storage Server 2003 competitive performance comparison This white paper compares two important NAS operating systems and examines their performance.
Oracle Database Deployments with EMC CLARiiON AX4 Storage Systems
Oracle Database Deployments with EMC CLARiiON AX4 Storage Systems Applied Technology Abstract This white paper investigates configuration and replication choices for Oracle Database deployment with EMC
SIMULATION AND MODELLING OF RAID 0 SYSTEM PERFORMANCE
SIMULATION AND MODELLING OF RAID 0 SYSTEM PERFORMANCE F. Wan N.J. Dingle W.J. Knottenbelt A.S. Lebrecht Department of Computing, Imperial College London, South Kensington Campus, London SW7 2AZ email:
Solid State Drive Architecture
Solid State Drive Architecture A comparison and evaluation of data storage mediums Tyler Thierolf Justin Uriarte Outline Introduction Storage Device as Limiting Factor Terminology Internals Interface Architecture
Computer-System Architecture
Chapter 2: Computer-System Structures Computer System Operation I/O Structure Storage Structure Storage Hierarchy Hardware Protection General System Architecture 2.1 Computer-System Architecture 2.2 Computer-System
PowerVault MD1200/MD1220 Storage Solution Guide for Applications
PowerVault MD200/MD220 Storage Solution Guide for Applications A Dell Technical White Paper Dell PowerVault Storage Systems Joe Noyola Systems Performance Analysis Group Chuck Colburn Storage Advanced
Data Storage and Backup. Sanjay Goel School of Business University at Albany, SUNY
Data Storage and Backup Sanjay Goel School of Business University at Albany, SUNY Data Backup 2 Data Backup Why? Files can be accidentally deleted Mission-critical data can become corrupt. Natural disasters
CSCA0201 FUNDAMENTALS OF COMPUTING. Chapter 5 Storage Devices
CSCA0201 FUNDAMENTALS OF COMPUTING Chapter 5 Storage Devices 1 1. Computer Data Storage 2. Types of Storage 3. Storage Device Features 4. Other Examples of Storage Device 2 Storage Devices A storage device
Record Storage and Primary File Organization
Record Storage and Primary File Organization 1 C H A P T E R 4 Contents Introduction Secondary Storage Devices Buffering of Blocks Placing File Records on Disk Operations on Files Files of Unordered Records
Platter. Track. Index Mark. Disk Storage. PHY 406F - Microprocessor Interfacing Techniques
Platter PHY 406F - icroprocessor Interfacing Techniques Disk Storage The major "permanent" storage medium for computers is, at present, generally magnetic media in the form of either magnetic tape or disks.
1 File Management. 1.1 Naming. COMP 242 Class Notes Section 6: File Management
COMP 242 Class Notes Section 6: File Management 1 File Management We shall now examine how an operating system provides file management. We shall define a file to be a collection of permanent data with
