Sep. 22 nd, 2008 Sang-Won Lee. Toward Flash-based Enterprise Databases

Size: px
Start display at page:

Download "Sep. 22 nd, 2008 Sang-Won Lee. Toward Flash-based Enterprise Databases"

Transcription

1 Towards Flash-based Enterprise Databases Sep. 22 nd, 2008 Sang-Won Lee Sungkyunkwan University, Korea 1 SKKU VLDB Lab.

2 SKKU VLDB Lab. Research Directions Vision: Flash is disk, disk is tape, and tape is dead. (by Jim Gray) Strategy: Do only what only you can do. (by E. W. Dijkstra) Research Goal: Database systems on flash memory pioneer Recent Achievements FAST: One of the most efficient FTL mechanisms (ACM Transactions on Embedded Computing Systems, 2007) IPL: An innovative database storage scheme on flash memory (ACM SIGMOD 2007) A Case for Flash Memory SSD in Enterprise Database Applications (ACM SIGMOD 2008) 2 SKKU VLDB Lab.

3 Flash-based Database Research: Motivations 3 SKKU VLDB Lab.

4 Real Motivations SCI, SCI, SCI, 4 SKKU VLDB Lab.

5 The VERY Real Motivations Rule of the game in storage market is changing Hardware: Dr. Masuoka, Samsung, Toshiba,.. Hwang s Law vs. Moore s Law SW: OS, File System, FTL, DBMS, 5 SKKU VLDB Lab.

6 Flash Memory Market Mobile phone, digital camera, ipod, MP3 etc ( 1 ~ 10 G) Flash already wins over harddisk PC, Laptop : over 10G 2008: the war begins Enterprise server storage: 100G ~ 100T 2009 ~ 2010? In my opinion, flash is more attractive in enterprise rather than PC / Labtop market 6 SKKU VLDB Lab.

7 Flash Memory Solid State Disk (SSD) Provides a block-device interface identical to a hard disk, but uses flash memory as a storage medium 50 years champion VS A new challenger! Identical Interface 7 SKKU VLDB Lab.

8 A Quick Intro to Flash Memory

9 Flash Organization 9 SKKU VLDB Lab.

10 Flash Performance: Chip Level Flash characteristics Erase-before-write ( No in-place update) Asymmetric read/write speed No mechanical latency 10 SKKU VLDB Lab.

11 Sequential Append-only Writes vs. Random Overwrites E.g. 2K page write: new write vs. overwrite in a naïve way New write: 0.2ms Data Blocks: block mapping Free Blocks Overwrite 63 2K-reads = 6.3ms 63 2K-writes = 12.6ms 1 2K-write = 0.2ms 1 erase = 1.5ms Total = 20.6ms 11 SKKU VLDB Lab.

12 Flash Performance: SSD Level (Source: Jim Gray s slide) 12 SKKU VLDB Lab.

13 NAND FlashSSD Architecture 13 SKKU VLDB Lab.

14 Flash Translation Layer ( FTL ) A software layer that makes flash memory appear to the system like a disk drive Address mapping: logical sector <-> physical sector Garbage collection Power-off off recovery Wear leveling and bad block management. 14 SKKU VLDB Lab.

15 Flash SSD Block Diagram e.g. Samsung SSD somewhat old model Pata/ Sata/ Scsi/. More Powerful CPU, Bigger SDRAM Parallelism / Interleaving for Large Bandwidth 15 SKKU VLDB Lab.

16 Opportunities in Flash-based DBMS Research Flash-aware Applications Flash-aware DBMS (Storage, Indexing, Buffer Mgmt., Query Processing ) Flash-aware OSs/File Systems/Device Drivers F T L Flash Chips (SLC, MLC) 16 SKKU VLDB Lab.

17 FAST: A Log Buffer based Flash Translation Layer using Fully Associative Sector Translation Sang-Won Lee, et al. ACM Transactions on Embedded d Computing Systems, July 2007

18 Seoul National University FTL: Hybrid Mapping 18 SKKU VLDB Lab.

19 Seoul National University FTL: Hybrid Mapping Data Blocks Free Blocks Every 2K writes can be buffered in 0.2 ms, not in 20.6 ms When a log block is full, it should be merged Merge operation Log Buffer Blocks: Write buffers based on Locality and Log Structured File System idea 19 SKKU VLDB Lab.

20 Associativity in CPU Cache Directed mapping vs. Fully associative mapping Cache Block Block No. No. Mapping = (Block No.) mod (# of Blocks in Cache) A Block can be placed anywhere in the cache Memory Block No (a) Associativity between memory and CPU cache 20 SKKU VLDB Lab.

21 SNU FTL = BAST BAST: Block Associative Sector Translation Flash Memory Original Data Blocks Log Blocks = Cache for Writes (b) Log blocks: a cache for write operations Sectors from one logical block can be mapped only to one log block Flash Memory Original Data Blocks Log Blocks (c) Block associativity in log block scheme 21 SKKU VLDB Lab.

22 Disadvantages of BAST What if there are many hot blocks? 1. Choose one victim log blocks Data Blocks 2. Merge the victim block 3. Assign a new log block for the new hot block Free Blocks Log Buffer Blocks: Write buffers 22 SKKU VLDB Lab.

23 Disadvantages of BAST(2) Low space utilization of victim blocks Log block thrashing Lo og block ut tilization(% ) # of Log blocks A B C 23 SKKU VLDB Lab.

24 FAST What if we take Fully Associative Sector Translation in log buffer blocks? Sectors from one logical block can be mapped to any log block Flash Memory Original Data Blocks Log Blocks (d) Fully associativity b/w logical sectors and log blocks 24 SKKU VLDB Lab.

25 Sector Writes and Reads in FAST Flash Memory Sectors from one logical block can be mapped to any log block Original Data Blocks Log Blocks Block Mapping Table Sector Mapping Table Sector (over-)write Sector read Append the write sector in log blocks If the log blocks are full, 1. Merge a log block in FIFO manner 2. Get a free block and make it a new log block Search the sector mapping table for the most recent sector If not found, visit the original data blocks via block mapping table 25 SKKU VLDB Lab.

26 Performance Evaluation e Count Eras bast fast o-fast Digital Camera # of Log blocks Eras se Count bast fast LINUX o-fast # of Log blocks 26 SKKU VLDB Lab.

27 Performance Evaluation(2) Era ase Count bast fast o-fast Symbian # of Log blocks e Count Eras bast fast o-fast RANDOM # of Log blocks 27 SKKU VLDB Lab.

28 Design of Flash-Based DBMS: An In-Page Logging Approach SIGMOD 2007 Sang-Won Lee, Bongki Moon (Univ. of Arizona)

29 Traditional DBMS on Flash Memory: Problem (FTL) + pure disk-based DBMS traditional in-place update Because of no update-in-place characteristics, most block write results in a copy-back operation (> 20ms) SQL: Update / Insert / Delete Update Buffer Mgr. Page : 4KB Block : 128KB Dirty Block Write Flash Memory Data Block Area 29 SKKU VLDB Lab.

30 In-page Logging: Basic Ideas Traditional In-Place Update Log-Structured Approach In-Page Logging Approach * No in-place update * No mechanical latency * Fast Read Speed 30 SKKU VLDB Lab.

31 In-page Logging: Basic Ideas(2) Database update and log in traditional DBMS architecture SQL Buffer Log Buffer pi pj DB pi LOG pj 31 SKKU VLDB Lab.

32 In-page Logging: Basic Ideas(3) Write performance: 100x faster in best case Update / Insert / Delete update-in-place Sector : 512B Buffer Mgr. physio-logical log Page : 4KB Block : 128KB 1 sector write = 200 us Flash Memory Data Block Area 32 SKKU VLDB Lab.

33 In-page Logging: Basic Ideas(4) Read When a page Pi is read in after replace-out Buffer Mgr. Pi Re-construct most up-to-date in-memory copy Re-apply the physiological action against the original copy (CPU overhead!) Read Original copy of Pi All log sectors in the flash block (IO overhead) Flash Memory 15 pages: log area (8K): 16 sectors Criticisms: 2x slow read speed It still may be fast enough Locality of updates 33 SKKU VLDB Lab.

34 In-page Logging: Basic Ideas(5) Merge operation: new internal operation in IPL A Physical Flash Block Merge up-to-date 15 data pages log area (8K): 16 sectors clean log area B old B new Merge policies: eager vs. lazy merge Refer to paper 34 SKKU VLDB Lab.

35 IPL Simulation with TPC-C C Performance trend with varying buffer sizes (1G.100u, 8KB log area) 35 SKKU VLDB Lab.

36 In-page Logging: The Unexplored Beauty Traditional In-Place Update Log-Structured Approach In-Page Logging Approach * No in-place update * No mechanical latency * Fast Read Speed * Redo-based Log New Recovery & CC Approach 36 SKKU VLDB Lab.

37 A Case for Flash Memory SSD in Enterprise Database Applications SIGMOD 2008 Sang-Won Lee, Bongki Moon, Chanik Park, Jae-Myung Kim, Sang-Woo Kim 37 SKKU VLDB Lab.

38 Major I/Os in Database SQL Buffer Cache Log Buffer Data File Temporary Tablespace Undo(Rollback) Data Redo Log Access pattern: random Next challenge Access pattern: Append-only sequential writes, then random reads 38 SKKU VLDB Lab.

39 Redo Log 39 SKKU VLDB Lab.

40 Transaction Concept and Log begin_transaction ti select statements; // read Buffer SQL Log Buffer insert/update/deletes; // update pi commit or rollback; DB LOG 40 SKKU VLDB Lab.

41 Transaction Concept and Log (2) Tx1 Tx2 Tx_N SQL Redo Log Buffer Buffer Log Buffer Commit pi DB LOG Redo Log File 512 Byte Block (include wastage) 41 SKKU VLDB Lab.

42 Transaction Commit: Final Performance Bottleneck Transaction response time = read / write + CPU + commit Negligible read / write time Large buffer cache or main memory DBMS CPU time (dual core Intel CPU) TPC-B: 50 us TPC-C: ~ 200 us Commit time = 8 ~ 10ms Final performance bottleneck 42 SKKU VLDB Lab.

43 TPS vs. CPU TPS in TPC-B: HDD vs. SSD CPU saturation knee point 80% 70% % TPS % 40% 30% CPU% % % 0 vu1 vu5 vu10 vu15 vu20 vu25 vu30 vu35 vu40 vu45 vu50 S-SSD(CPU%) HDD(CPU%) S-SSD(TPS) HDD(TPS) 0% 43 SKKU VLDB Lab.

44 TPS in TPC-B: HDD vs. SSD CPU-bound vs. IO-bound: 7200 vs RPM SATA TPS vu1 vu5 vu10 vu15 vu20 vu25 vu30 vu35 vu40 vu45 vu50 vu55 vu60 S SSD(Quad TPS) 10k SATA(Quad TPS) 7200 SATA(Quad TPS) S SSD(Dual TPS) 10k SATA(Dual TPS) 7200 SATA(Dual TPS) 44 SKKU VLDB Lab.

45 Flash as Log Device Communications of the ACM, July 2008 Flash memory storage Adam Sun 45 SKKU VLDB Lab.

46 Rollback Segment 46 SKKU VLDB Lab.

47 Undo Data in Oracle Undo tablespace and rollback segments Tx1 Tx2 Tx_N Buffer Cache pi Log Buffer Data File Temporary Undo(Rollback) Redo Log Tablespace Data 47 SKKU VLDB Lab.

48 Rollback Segment t2 C B 100 t1 t0 A 50 A 100 A 200 Rollback segment Stores undo(old) information Transaction rollback; MVCC Each transaction is assigned to a rollback segment in round-robin Rollback segment disk Each rollback segment is written in (almost) append-only mode Asynch mode by DBWR For read consistency, the rollback segments is randomly accessed 48 SKKU VLDB Lab.

49 Undo Area I/O Pattern (Write) During TPC-C C run (Semi-)Sequential write, then random read 800 Logical sector addres ss (x1000) Time (second) 49 SKKU VLDB Lab.

50 Undo Area I/O Pattern (Read) Full scan of a table while running TPC-C C 50 SKKU VLDB Lab.

51 Temporary Tablespace 51 SKKU VLDB Lab.

52 Temporary Tablespace Index creation Temporary table Sort / Sort merge join Hash join 52 SKKU VLDB Lab.

53 External Merge Sort 1 st phase: run generation 200M Source Data Disk 2 nd phase: merge 2M (in-memory sort) Main memory buffers Disk 100 runs INPUT 1 INPUT 2... OUTPUT.. INPUT 100. Disk Main memory buffers Disk SKKU VLDB Lab.

54 IO Patterns in External Merge Sort Sequential write, then random read 54 SKKU VLDB Lab.

55 External Merge Sort Experiment set up 200M data 100B record 10B sort key In-memory sort area: 2M 55 SKKU VLDB Lab.

56 External Merge Sort Cluster Unit of IO in merge step Disk SSD Change the cluster size 2K ~ 128K Optimal cluster size 64K (hdd) vs. 2K (sdd) Execution Time (sec) Cluster Size in Merge Step (KB) Implications 56 SKKU VLDB Lab.

57 Hash Join Original Relation OUTPUT 1 Partitions... INPUT 2 hash function h B B-1 Disk B main memory buffers Disk 1. Partitioning (or building) phase Partitions of R & S hash fn h2 Hash table for partition Ri (k < B-1 pages) Join Result h2 Disk Input buffer for Si Output buffer B main memory buffers 2. Probing (or matching) phase Disk 57 SKKU VLDB Lab.

58 IO Patterns in Hash Join 58 SKKU VLDB Lab.

59 FlashSSDs in Enterprise Databases 59 SKKU VLDB Lab.

60 Next Challenges in Database SQL Buffer Cache Log Buffer Data File Temporary Tablespace Undo(Rollback) Data Redo Log Access pattern: random writes 60 SKKU VLDB Lab.

61 Flash Perspectives from DB Community There has been discussion of sea-changes in DBMS design arising from new storage technologies replacing disk. Flash memory appears to be both technologically viable and economically supported by a broad market. Flash is the first new persistent storage medium to succeed in this regard in more than three decades. [Hellerstein, Stonebraker and Hamilton (2007)]. Flash is disk, disk is tape, and tape is dead. 61 SKKU VLDB Lab.

62 Some DB Community Papers DAMON 2008: from CPU to Storage in research Modeling the Performance of Algorithms on Flash Memory Devices Ross, Kenneth Fast Scans and Joins using Flash Drives Shah, Mehul A.; Stavros Harizopoulos; Janet L. Wiener; Goetz Graefe VLDB 2008 Flashing Up The Storage Layer, Ioannis Koltsidas (University of Edinburgh), Stratis Viglas (University of Edinburgh) Online Maintenance of Very Large Random Samples on Flash Storage Suman Nath (Microsoft Research), Phillip Gibbons (Intel Research, Pittsburgh, USA) 62 SKKU VLDB Lab.

63 Flash-based DBMS: Research Groups Ken Columbia Sam MIT Graefe HP HKUST INRIA: PicoDBMS team PBFilter: Indexing Flash-Resident Data through Partitioned Summaries Minesota Microsoft / Edinburg university (VLDB 2008) 63 SKKU VLDB Lab.

64 If you want truly to understand d something, try to change it Kurt Lewin 64 SKKU VLDB Lab.

Design of Flash-Based DBMS: An In-Page Logging Approach

Design of Flash-Based DBMS: An In-Page Logging Approach SIGMOD 07 Design of Flash-Based DBMS: An In-Page Logging Approach Sang-Won Lee School of Info & Comm Eng Sungkyunkwan University Suwon,, Korea 440-746 wonlee@ece.skku.ac.kr Bongki Moon Department of Computer

More information

SSDs vs HDDs for DBMS by Glen Berseth York University, Toronto

SSDs vs HDDs for DBMS by Glen Berseth York University, Toronto SSDs vs HDDs for DBMS by Glen Berseth York University, Toronto So slow So cheap So heavy So fast So expensive So efficient NAND based flash memory Retains memory without power It works by trapping a small

More information

Join Processing for Flash SSDs: Remembering Past Lessons

Join Processing for Flash SSDs: Remembering Past Lessons Join Processing for Flash SSDs: Remembering Past Lessons Jaeyoung Do, Jignesh M. Patel Department of Computer Sciences University of Wisconsin-Madison $/MB GB Flash Solid State Drives (SSDs) Benefits of

More information

SSD. DEIM Forum 2014 D8-6 SSD I/O I/O I/O HDD SSD I/O

SSD.    DEIM Forum 2014 D8-6 SSD I/O I/O I/O HDD SSD I/O DEIM Forum 214 D8-6 SSD, 153 855 4-6-1 135 8548 3-7-5 11 843 2-1-2 E-mail: {keisuke,haya,yokoyama,kitsure}@tkl.iis.u-tokyo.ac.jp, miyuki@sic.shibaura-it.ac.jp SSD SSD HDD 1 1 I/O I/O I/O I/O,, OLAP, SSD

More information

SFS: Random Write Considered Harmful in Solid State Drives

SFS: Random Write Considered Harmful in Solid State Drives SFS: Random Write Considered Harmful in Solid State Drives Changwoo Min 1, 2, Kangnyeon Kim 1, Hyunjin Cho 2, Sang-Won Lee 1, Young Ik Eom 1 1 Sungkyunkwan University, Korea 2 Samsung Electronics, Korea

More information

NAND Flash-based Storage. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

NAND Flash-based Storage. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University NAND Flash-based Storage Jin-Soo Kim (jinsookim@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Today s Topics NAND flash memory Flash Translation Layer (FTL) OS implications

More information

NAND Flash-based Storage. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

NAND Flash-based Storage. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University NAND Flash-based Storage Jin-Soo Kim (jinsookim@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Today s Topics NAND flash memory Flash Translation Layer (FTL) OS implications

More information

NAND Flash-based Storage. Computer Systems Laboratory Sungkyunkwan University

NAND Flash-based Storage. Computer Systems Laboratory Sungkyunkwan University NAND Flash-based Storage Jin-Soo Kim (jinsookim@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Today s Topics NAND flash memory Flash Translation Layer (FTL) OS implications

More information

NAND Flash-based Storage. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

NAND Flash-based Storage. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University NAND Flash-based Storage Jin-Soo Kim (jinsookim@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Today s Topics NAND flash memory Flash Translation Layer (FTL) OS implications

More information

Toward Seamless Integration of RAID and Flash SSD

Toward Seamless Integration of RAID and Flash SSD Toward Seamless Integration of RAID and Flash SSD Sang-Won Lee Sungkyunkwan Univ., Korea (Joint-Work with Sungup Moon, Bongki Moon, Narinet, and Indilinx) Santa Clara, CA 1 Table of Contents Introduction

More information

Solid State Drives (SSDs) Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

Solid State Drives (SSDs) Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University Solid State Drives (SSDs) Jin-Soo Kim (jinsookim@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Memory Types FLASH High-density Low-cost High-speed Low-power High reliability

More information

NVMFS: A New File System Designed Specifically to Take Advantage of Nonvolatile Memory

NVMFS: A New File System Designed Specifically to Take Advantage of Nonvolatile Memory NVMFS: A New File System Designed Specifically to Take Advantage of Nonvolatile Memory Dhananjoy Das, Sr. Systems Architect SanDisk Corp. 1 Agenda: Applications are KING! Storage landscape (Flash / NVM)

More information

The Benefits of Solid State in Enterprise Storage Systems. David Dale, NetApp

The Benefits of Solid State in Enterprise Storage Systems. David Dale, NetApp The Benefits of Solid State in Enterprise Storage Systems David Dale, NetApp SNIA Legal Notice The material contained in this tutorial is copyrighted by the SNIA unless otherwise noted. Member companies

More information

LAST: Locality-Aware Sector Translation for NAND Flash Memory-Based Storage Systems

LAST: Locality-Aware Sector Translation for NAND Flash Memory-Based Storage Systems : Locality-Aware Sector Translation for NAND Flash Memory-Based Storage Systems Sungjin Lee, Dongkun Shin, Young-Jin Kim and Jihong Kim School of Information and Communication Engineering, Sungkyunkwan

More information

Storage Architecture and Software Support for SLC/MLC Combined Flash Memory

Storage Architecture and Software Support for SLC/MLC Combined Flash Memory Storage Architecture and Software Support for SLC/MLC Combined Flash Memory Soojun Im and Dongkun Shin Sungkyunkwan University Suwon, Korea {lang33, dongkun}@skku.edu ABSTRACT We propose a novel flash

More information

I/O Devices & SSD. Dongkun Shin, SKKU

I/O Devices & SSD. Dongkun Shin, SKKU I/O Devices & SSD 1 System Architecture Hierarchical approach Memory bus CPU and memory Fastest I/O bus e.g., PCI Graphics and higherperformance I/O devices Peripheral bus SCSI, SATA, or USB Connect many

More information

A New Cache Management Approach for Transaction Processing on Flash-based Database

A New Cache Management Approach for Transaction Processing on Flash-based Database A New Cache Management Approach for Transaction Processing on Flash-based Database Da Zhou Information school Renmin University of China Beijing, Country e-mail:cadizhou@gmail.com Xiaofeng Meng Information

More information

Page Mapping Scheme to Support Secure File Deletion for NANDbased Block Devices

Page Mapping Scheme to Support Secure File Deletion for NANDbased Block Devices Page Mapping Scheme to Support Secure File Deletion for NANDbased Block Devices Ilhoon Shin Seoul National University of Science & Technology ilhoon.shin@snut.ac.kr Abstract As the amount of digitized

More information

OSSD: A Case for Object-based Solid State Drives

OSSD: A Case for Object-based Solid State Drives MSST 2013 2013/5/10 OSSD: A Case for Object-based Solid State Drives Young-Sik Lee Sang-Hoon Kim, Seungryoul Maeng, KAIST Jaesoo Lee, Chanik Park, Samsung Jin-Soo Kim, Sungkyunkwan Univ. SSD Desktop Laptop

More information

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

CSCI-GA Database Systems Lecture 8: Physical Schema: Storage CSCI-GA.2433-001 Database Systems Lecture 8: Physical Schema: Storage Mohamed Zahran (aka Z) mzahran@cs.nyu.edu http://www.mzahran.com View 1 View 2 View 3 Conceptual Schema Physical Schema 1. Create a

More information

COS 318: Operating Systems. Storage Devices. Vivek Pai Computer Science Department Princeton University

COS 318: Operating Systems. Storage Devices. Vivek Pai Computer Science Department Princeton University COS 318: Operating Systems Storage Devices Vivek Pai Computer Science Department Princeton University http://www.cs.princeton.edu/courses/archive/fall11/cos318/ Today s Topics Magnetic disks Magnetic disk

More information

Designing Database Operators for Flash-enabled Memory Hierarchies

Designing Database Operators for Flash-enabled Memory Hierarchies Designing Database Operators for Flash-enabled Memory Hierarchies Goetz Graefe Stavros Harizopoulos Harumi Kuno Mehul A. Shah Dimitris Tsirogiannis Janet L. Wiener Hewlett-Packard Laboratories, Palo Alto,

More information

Storage Systems : Disks and SSDs. Manu Awasthi July 6 th 2018 Computer Architecture Summer School 2018

Storage Systems : Disks and SSDs. Manu Awasthi July 6 th 2018 Computer Architecture Summer School 2018 Storage Systems : Disks and SSDs Manu Awasthi July 6 th 2018 Computer Architecture Summer School 2018 Why study storage? Scalable High Performance Main Memory System Using Phase-Change Memory Technology,

More information

Beyond Block I/O: Rethinking

Beyond Block I/O: Rethinking Beyond Block I/O: Rethinking Traditional Storage Primitives Xiangyong Ouyang *, David Nellans, Robert Wipfel, David idflynn, D. K. Panda * * The Ohio State University Fusion io Agenda Introduction and

More information

Robert Gottstein, Ilia Petrov, Guillermo G. Almeida, Todor Ivanov, Alex Buchmann

Robert Gottstein, Ilia Petrov, Guillermo G. Almeida, Todor Ivanov, Alex Buchmann Using Flash SSDs as Pi Primary Database Storage Robert Gottstein, Ilia Petrov, Guillermo G. Almeida, Todor Ivanov, Alex Buchmann {lastname}@dvs.tu-darmstadt.de Fachgebiet DVS Ilia Petrov 1 Flash SSDs,

More information

Join Processing for Flash SSDs: Remembering Past Lessons

Join Processing for Flash SSDs: Remembering Past Lessons Join Processing for Flash SSDs: Remembering Past essons Jaeyoung Do Univ. of Wisconsin-Madison jae@cs.wisc.edu Jignesh M. Patel Univ. of Wisconsin-Madison jignesh@cs.wisc.edu ABSTRACT Flash solid state

More information

2009. October. Semiconductor Business SAMSUNG Electronics

2009. October. Semiconductor Business SAMSUNG Electronics 2009. October Semiconductor Business SAMSUNG Electronics Why SSD performance is faster than HDD? HDD has long latency & late seek time due to mechanical operation SSD does not have both latency and seek

More information

Using Transparent Compression to Improve SSD-based I/O Caches

Using Transparent Compression to Improve SSD-based I/O Caches Using Transparent Compression to Improve SSD-based I/O Caches Thanos Makatos, Yannis Klonatos, Manolis Marazakis, Michail D. Flouris, and Angelos Bilas {mcatos,klonatos,maraz,flouris,bilas}@ics.forth.gr

More information

Understanding the Relation between the Performance and Reliability of NAND Flash/SCM Hybrid Solid- State Drive

Understanding the Relation between the Performance and Reliability of NAND Flash/SCM Hybrid Solid- State Drive Understanding the Relation between the Performance and Reliability of NAND Flash/SCM Hybrid Solid- State Drive Abstract: A NAND flash memory/storage-class memory (SCM) hybrid solid-state drive (SSD) can

More information

A Memory Management Scheme for Hybrid Memory Architecture in Mission Critical Computers

A Memory Management Scheme for Hybrid Memory Architecture in Mission Critical Computers A Memory Management Scheme for Hybrid Memory Architecture in Mission Critical Computers Soohyun Yang and Yeonseung Ryu Department of Computer Engineering, Myongji University Yongin, Gyeonggi-do, Korea

More information

High Performance SSD & Benefit for Server Application

High Performance SSD & Benefit for Server Application High Performance SSD & Benefit for Server Application AUG 12 th, 2008 Tony Park Marketing INDILINX Co., Ltd. 2008-08-20 1 HDD SATA 3Gbps Memory PCI-e 10G Eth 120MB/s 300MB/s 8GB/s 2GB/s 1GB/s SSD SATA

More information

[537] Flash. Tyler Harter

[537] Flash. Tyler Harter [537] Flash Tyler Harter Flash vs. Disk Disk Overview I/O requires: seek, rotate, transfer Inherently: - not parallel (only one head) - slow (mechanical) - poor random I/O (locality around disk head) Random

More information

Presented by: Nafiseh Mahmoudi Spring 2017

Presented by: Nafiseh Mahmoudi Spring 2017 Presented by: Nafiseh Mahmoudi Spring 2017 Authors: Publication: Type: ACM Transactions on Storage (TOS), 2016 Research Paper 2 High speed data processing demands high storage I/O performance. Flash memory

More information

Storage Systems : Disks and SSDs. Manu Awasthi CASS 2018

Storage Systems : Disks and SSDs. Manu Awasthi CASS 2018 Storage Systems : Disks and SSDs Manu Awasthi CASS 2018 Why study storage? Scalable High Performance Main Memory System Using Phase-Change Memory Technology, Qureshi et al, ISCA 2009 Trends Total amount

More information

Power Analysis for Flash Memory SSD. Dongkun Shin Sungkyunkwan University

Power Analysis for Flash Memory SSD. Dongkun Shin Sungkyunkwan University Power Analysis for Flash Memory SSD Dongkun Shin Sungkyunkwan University dongkun@skku.edu Introduction SSD requires low power/energy than does HDD. attractive to mobile systems and power-hungry data centers

More information

STORING DATA: DISK AND FILES

STORING DATA: DISK AND FILES STORING DATA: DISK AND FILES CS 564- Spring 2018 ACKs: Dan Suciu, Jignesh Patel, AnHai Doan WHAT IS THIS LECTURE ABOUT? How does a DBMS store data? disk, SSD, main memory The Buffer manager controls how

More information

LETTER Solid-State Disk with Double Data Rate DRAM Interface for High-Performance PCs

LETTER Solid-State Disk with Double Data Rate DRAM Interface for High-Performance PCs IEICE TRANS. INF. & SYST., VOL.E92 D, NO.4 APRIL 2009 727 LETTER Solid-State Disk with Double Data Rate DRAM Interface for High-Performance PCs Dong KIM, Kwanhu BANG, Seung-Hwan HA, Chanik PARK, Sung Woo

More information

Adapted from instructor s supplementary material from Computer. Patterson & Hennessy, 2008, MK]

Adapted from instructor s supplementary material from Computer. Patterson & Hennessy, 2008, MK] Lecture 17 Adapted from instructor s supplementary material from Computer Organization and Design, 4th Edition, Patterson & Hennessy, 2008, MK] SRAM / / Flash / RRAM / HDD SRAM / / Flash / RRAM/ HDD SRAM

More information

SIAS-Chains: Snapshot Isolation Append Storage Chains. Dr. Robert Gottstein Prof. Ilia Petrov M.Sc. Sergej Hardock Prof. Alejandro Buchmann

SIAS-Chains: Snapshot Isolation Append Storage Chains. Dr. Robert Gottstein Prof. Ilia Petrov M.Sc. Sergej Hardock Prof. Alejandro Buchmann SIAS-Chains: Snapshot Isolation Append Storage Chains Dr. Robert Gottstein Prof. Ilia Petrov M.Sc. Sergej Hardock Prof. Alejandro Buchmann Motivation: Storage Technology Evolution Significant impact of

More information

When Hadoop-like Distributed Storage Meets NAND Flash: Challenge and Opportunity

When Hadoop-like Distributed Storage Meets NAND Flash: Challenge and Opportunity When Hadoop-like Distributed Storage Meets NAND Flash: Challenge and Opportunity Jupyung Lee Intelligent Computing Lab Future IT Research Center Samsung Advanced Institute of Technology November 9, 2011

More information

16:30 18:00, June 20 (Monday), 2011 # (even student IDs) # (odd student IDs) Scope

16:30 18:00, June 20 (Monday), 2011 # (even student IDs) # (odd student IDs) Scope Final Exam 16:30 18:00, June 20 (Monday), 2011 #440102 (even student IDs) #440112 (odd student IDs) Scope Chap. 1 5 (except 3.7, 5.7) Chap. 6.1, 6.3, 6.4 Chap. 7.1 7.6 Closed-book exam 1 Storage Jin-Soo

More information

Optimizing OLAP Cube Processing on Solid State Drives

Optimizing OLAP Cube Processing on Solid State Drives Optimizing OLAP Cube Processing on Solid State Drives Zhibo Chen University of Houston Houston, TX 77204, USA Carlos Ordonez University of Houston Houston, TX 77204, USA ABSTRACT Hardware technology has

More information

COS 318: Operating Systems. Storage Devices. Jaswinder Pal Singh Computer Science Department Princeton University

COS 318: Operating Systems. Storage Devices. Jaswinder Pal Singh Computer Science Department Princeton University COS 318: Operating Systems Storage Devices Jaswinder Pal Singh Computer Science Department Princeton University http://www.cs.princeton.edu/courses/archive/fall13/cos318/ Today s Topics Magnetic disks

More information

FAST: An Efficient Flash Translation Layer for Flash Memory

FAST: An Efficient Flash Translation Layer for Flash Memory FAST: An Efficient Flash Translation Layer for Flash Memory Sang-Won Lee, Won-Kyoung Choi, and Dong-Joo Park School of Information and Communication Engineering, Sungkyunkwan University, Korea swlee@skku.edu

More information

SICV Snapshot Isolation with Co-Located Versions

SICV Snapshot Isolation with Co-Located Versions SICV Snapshot Isolation with Co-Located Versions Robert Gottstein, Ilia Petrov, Alejandro Buchmann {lastname}@dvs.tu-darmstadt.de Databases and Distributed Systems Robert Gottstein, Ilia Petrov, Alejandro

More information

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 Systems Infrastructure for Data Science Web Science Group Uni Freiburg WS 2014/15 Lecture X: Parallel Databases Topics Motivation and Goals Architectures Data placement Query processing Load balancing

More information

A Semi Preemptive Garbage Collector for Solid State Drives. Junghee Lee, Youngjae Kim, Galen M. Shipman, Sarp Oral, Feiyi Wang, and Jongman Kim

A Semi Preemptive Garbage Collector for Solid State Drives. Junghee Lee, Youngjae Kim, Galen M. Shipman, Sarp Oral, Feiyi Wang, and Jongman Kim A Semi Preemptive Garbage Collector for Solid State Drives Junghee Lee, Youngjae Kim, Galen M. Shipman, Sarp Oral, Feiyi Wang, and Jongman Kim Presented by Junghee Lee High Performance Storage Systems

More information

Flash Trends: Challenges and Future

Flash Trends: Challenges and Future Flash Trends: Challenges and Future John D. Davis work done at Microsoft Researcher- Silicon Valley in collaboration with Laura Caulfield*, Steve Swanson*, UCSD* 1 My Research Areas of Interest Flash characteristics

More information

u Covered: l Management of CPU & concurrency l Management of main memory & virtual memory u Currently --- Management of I/O devices

u Covered: l Management of CPU & concurrency l Management of main memory & virtual memory u Currently --- Management of I/O devices Where Are We? COS 318: Operating Systems Storage Devices Jaswinder Pal Singh Computer Science Department Princeton University (http://www.cs.princeton.edu/courses/cos318/) u Covered: l Management of CPU

More information

Delayed Partial Parity Scheme for Reliable and High-Performance Flash Memory SSD

Delayed Partial Parity Scheme for Reliable and High-Performance Flash Memory SSD Delayed Partial Parity Scheme for Reliable and High-Performance Flash Memory SSD Soojun Im School of ICE Sungkyunkwan University Suwon, Korea Email: lang33@skku.edu Dongkun Shin School of ICE Sungkyunkwan

More information

OpenSSD Platform Simulator to Reduce SSD Firmware Test Time. Taedong Jung, Yongmyoung Lee, Ilhoon Shin

OpenSSD Platform Simulator to Reduce SSD Firmware Test Time. Taedong Jung, Yongmyoung Lee, Ilhoon Shin OpenSSD Platform Simulator to Reduce SSD Firmware Test Time Taedong Jung, Yongmyoung Lee, Ilhoon Shin Department of Electronic Engineering, Seoul National University of Science and Technology, South Korea

More information

S-FTL: An Efficient Address Translation for Flash Memory by Exploiting Spatial Locality

S-FTL: An Efficient Address Translation for Flash Memory by Exploiting Spatial Locality S-FTL: An Efficient Address Translation for Flash Memory by Exploiting Spatial Locality Song Jiang, Lei Zhang, Xinhao Yuan, Hao Hu, and Yu Chen Department of Electrical and Computer Engineering Wayne State

More information

VSSIM: Virtual Machine based SSD Simulator

VSSIM: Virtual Machine based SSD Simulator 29 th IEEE Conference on Mass Storage Systems and Technologies (MSST) Long Beach, California, USA, May 6~10, 2013 VSSIM: Virtual Machine based SSD Simulator Jinsoo Yoo, Youjip Won, Joongwoo Hwang, Sooyong

More information

Flash Memory Based Storage System

Flash Memory Based Storage System Flash Memory Based Storage System References SmartSaver: Turning Flash Drive into a Disk Energy Saver for Mobile Computers, ISLPED 06 Energy-Aware Flash Memory Management in Virtual Memory System, islped

More information

Outline. Parallel Database Systems. Information explosion. Parallelism in DBMSs. Relational DBMS parallelism. Relational DBMSs.

Outline. Parallel Database Systems. Information explosion. Parallelism in DBMSs. Relational DBMS parallelism. Relational DBMSs. Parallel Database Systems STAVROS HARIZOPOULOS stavros@cs.cmu.edu Outline Background Hardware architectures and performance metrics Parallel database techniques Gamma Bonus: NCR / Teradata Conclusions

More information

Carnegie Mellon Univ. Dept. of Computer Science /615 - DB Applications. Last Class. Today s Class. Faloutsos/Pavlo CMU /615

Carnegie Mellon Univ. Dept. of Computer Science /615 - DB Applications. Last Class. Today s Class. Faloutsos/Pavlo CMU /615 Carnegie Mellon Univ. Dept. of Computer Science 15-415/615 - DB Applications C. Faloutsos A. Pavlo Lecture#23: Crash Recovery Part 1 (R&G ch. 18) Last Class Basic Timestamp Ordering Optimistic Concurrency

More information

Chapter 14 HARD: Host-Level Address Remapping Driver for Solid-State Disk

Chapter 14 HARD: Host-Level Address Remapping Driver for Solid-State Disk Chapter 14 HARD: Host-Level Address Remapping Driver for Solid-State Disk Young-Joon Jang and Dongkun Shin Abstract Recent SSDs use parallel architectures with multi-channel and multiway, and manages multiple

More information

A Log Buffer based Flash Translation Layer using Fully Associative Sector Translation

A Log Buffer based Flash Translation Layer using Fully Associative Sector Translation A Log Buffer based Flash Translation Layer using Fully Associative Sector Translation SANG-WON LEE Sungkyunkwan University DONG-JOO PARK Soongsil University TAE-SUN CHUNG Ajou University DONG-HO LEE Hanyang

More information

Gyu Sang Choi Yeungnam University

Gyu Sang Choi Yeungnam University Gyu Sang Choi Yeungnam University PRAM and NAND Flash Memory, and B+Tree in PRAM Outline NAND Flash Memory PRAM Hybrid Storage of PRAM and NAND Flash Memory PRAM Translation Layer (PTL) B+Tree in PRAM

More information

Architecture Exploration of High-Performance PCs with a Solid-State Disk

Architecture Exploration of High-Performance PCs with a Solid-State Disk Architecture Exploration of High-Performance PCs with a Solid-State Disk D. Kim, K. Bang, E.-Y. Chung School of EE, Yonsei University S. Yoon School of EE, Korea University April 21, 2010 1/53 Outline

More information

TRANSACTIONAL FLASH CARSTEN WEINHOLD. Vijayan Prabhakaran, Thomas L. Rodeheffer, Lidong Zhou

TRANSACTIONAL FLASH CARSTEN WEINHOLD. Vijayan Prabhakaran, Thomas L. Rodeheffer, Lidong Zhou Department of Computer Science Institute for System Architecture, Operating Systems Group TRANSACTIONAL FLASH Vijayan Prabhakaran, Thomas L. Rodeheffer, Lidong Zhou CARSTEN WEINHOLD MOTIVATION Transactions

More information

Data Organization and Processing

Data Organization and Processing Data Organization and Processing Indexing Techniques for Solid State Drives (NDBI007) David Hoksza http://siret.ms.mff.cuni.cz/hoksza Outline SSD technology overview Motivation for standard algorithms

More information

COS 318: Operating Systems. Storage Devices. Kai Li Computer Science Department Princeton University

COS 318: Operating Systems. Storage Devices. Kai Li Computer Science Department Princeton University COS 318: Operating Systems Storage Devices Kai Li Computer Science Department Princeton University http://www.cs.princeton.edu/courses/archive/fall11/cos318/ Today s Topics Magnetic disks Magnetic disk

More information

A Caching-Oriented FTL Design for Multi-Chipped Solid-State Disks. Yuan-Hao Chang, Wei-Lun Lu, Po-Chun Huang, Lue-Jane Lee, and Tei-Wei Kuo

A Caching-Oriented FTL Design for Multi-Chipped Solid-State Disks. Yuan-Hao Chang, Wei-Lun Lu, Po-Chun Huang, Lue-Jane Lee, and Tei-Wei Kuo A Caching-Oriented FTL Design for Multi-Chipped Solid-State Disks Yuan-Hao Chang, Wei-Lun Lu, Po-Chun Huang, Lue-Jane Lee, and Tei-Wei Kuo 1 June 4, 2011 2 Outline Introduction System Architecture A Multi-Chipped

More information

SHRD: Improving Spatial Locality in Flash Storage Accesses by Sequentializing in Host and Randomizing in Device

SHRD: Improving Spatial Locality in Flash Storage Accesses by Sequentializing in Host and Randomizing in Device SHRD: Improving Spatial Locality in Flash Storage Accesses by Sequentializing in Host and Randomizing in Device Hyukjoong Kim 1, Dongkun Shin 1, Yun Ho Jeong 2 and Kyung Ho Kim 2 1 Samsung Electronics

More information

Middleware and Flash Translation Layer Co-Design for the Performance Boost of Solid-State Drives

Middleware and Flash Translation Layer Co-Design for the Performance Boost of Solid-State Drives Middleware and Flash Translation Layer Co-Design for the Performance Boost of Solid-State Drives Chao Sun 1, Asuka Arakawa 1, Ayumi Soga 1, Chihiro Matsui 1 and Ken Takeuchi 1 1 Chuo University Santa Clara,

More information

I/O. Disclaimer: some slides are adopted from book authors slides with permission 1

I/O. Disclaimer: some slides are adopted from book authors slides with permission 1 I/O Disclaimer: some slides are adopted from book authors slides with permission 1 Thrashing Recap A processes is busy swapping pages in and out Memory-mapped I/O map a file on disk onto the memory space

More information

Instant Recovery for Main-Memory Databases

Instant Recovery for Main-Memory Databases Instant Recovery for Main-Memory Databases Ismail Oukid*, Wolfgang Lehner*, Thomas Kissinger*, Peter Bumbulis, and Thomas Willhalm + *TU Dresden SAP SE + Intel GmbH CIDR 2015, Asilomar, California, USA,

More information

User Perspective. Module III: System Perspective. Module III: Topics Covered. Module III Overview of Storage Structures, QP, and TM

User Perspective. Module III: System Perspective. Module III: Topics Covered. Module III Overview of Storage Structures, QP, and TM Module III Overview of Storage Structures, QP, and TM Sharma Chakravarthy UT Arlington sharma@cse.uta.edu http://www2.uta.edu/sharma base Management Systems: Sharma Chakravarthy Module I Requirements analysis

More information

data systems 101 prof. Stratos Idreos class 2

data systems 101 prof. Stratos Idreos class 2 class 2 data systems 101 prof. Stratos Idreos HTTP://DASLAB.SEAS.HARVARD.EDU/CLASSES/CS265/ 2 classes per week - OH/Labs every day 1 presentation/discussion lead - 2 reviews each week research (or systems)

More information

Advanced Database Systems

Advanced Database Systems Lecture II Storage Layer Kyumars Sheykh Esmaili Course s Syllabus Core Topics Storage Layer Query Processing and Optimization Transaction Management and Recovery Advanced Topics Cloud Computing and Web

More information

Secondary storage. CS 537 Lecture 11 Secondary Storage. Disk trends. Another trip down memory lane

Secondary storage. CS 537 Lecture 11 Secondary Storage. Disk trends. Another trip down memory lane Secondary storage CS 537 Lecture 11 Secondary Storage Michael Swift Secondary storage typically: is anything that is outside of primary memory does not permit direct execution of instructions or data retrieval

More information

Computer Systems Laboratory Sungkyunkwan University

Computer Systems Laboratory Sungkyunkwan University Storage Jin-Soo Kim (jinsookim@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Storage: A Logical View Abstraction given by block device drivers: 512B 512B 512B 0 1 N

More information

NAND Flash Memory. Jinkyu Jeong Computer Systems Laboratory Sungkyunkwan University

NAND Flash Memory. Jinkyu Jeong Computer Systems Laboratory Sungkyunkwan University NAND Flash Memory Jinkyu Jeong (Jinkyu@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu ICE3028: Embedded Systems Design, Fall 2018, Jinkyu Jeong (jinkyu@skku.edu) Flash

More information

DBMS Data Loading: An Analysis on Modern Hardware. Adam Dziedzic, Manos Karpathiotakis*, Ioannis Alagiannis, Raja Appuswamy, Anastasia Ailamaki

DBMS Data Loading: An Analysis on Modern Hardware. Adam Dziedzic, Manos Karpathiotakis*, Ioannis Alagiannis, Raja Appuswamy, Anastasia Ailamaki DBMS Data Loading: An Analysis on Modern Hardware Adam Dziedzic, Manos Karpathiotakis*, Ioannis Alagiannis, Raja Appuswamy, Anastasia Ailamaki Data loading: A necessary evil Volume => Expensive 4 zettabytes

More information

Evaluation of Relational Operations. SS Chung

Evaluation of Relational Operations. SS Chung Evaluation of Relational Operations SS Chung Cost Metric Query Processing Cost = Disk I/O Cost + CPU Computation Cost Disk I/O Cost = Disk Access Time + Data Transfer Time Disk Acess Time = Seek Time +

More information

Single-pass restore after a media failure. Caetano Sauer, Goetz Graefe, Theo Härder

Single-pass restore after a media failure. Caetano Sauer, Goetz Graefe, Theo Härder Single-pass restore after a media failure Caetano Sauer, Goetz Graefe, Theo Härder 20% of drives fail after 4 years High failure rate on first year (factory defects) Expectation of 50% for 6 years https://www.backblaze.com/blog/how-long-do-disk-drives-last/

More information

smxnand RTOS Innovators Flash Driver General Features

smxnand RTOS Innovators Flash Driver General Features smxnand Flash Driver RTOS Innovators The smxnand flash driver makes NAND flash memory appear to a file system like a disk drive. It supports single-level cell (SLC) and multi-level cell (MLC) NAND flash.

More information

Internet Scale Storage

Internet Scale Storage Internet Scale Storage SIGMOD 2011 James Hamilton, 2011/6/14 VP & Distinguished Engineer, Amazon Web Services email: James@amazon.com web: mvdirona.com/jrh/work blog: perspectives.mvdirona.com Agenda Cloud

More information

Yiying Zhang, Leo Prasath Arulraj, Andrea C. Arpaci-Dusseau, and Remzi H. Arpaci-Dusseau. University of Wisconsin - Madison

Yiying Zhang, Leo Prasath Arulraj, Andrea C. Arpaci-Dusseau, and Remzi H. Arpaci-Dusseau. University of Wisconsin - Madison Yiying Zhang, Leo Prasath Arulraj, Andrea C. Arpaci-Dusseau, and Remzi H. Arpaci-Dusseau University of Wisconsin - Madison 1 Indirection Reference an object with a different name Flexible, simple, and

More information

File System Management

File System Management Lecture 8: 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

More information

Design and Implementation for Multi-Level Cell Flash Memory Storage Systems

Design and Implementation for Multi-Level Cell Flash Memory Storage Systems Design and Implementation for Multi-Level Cell Flash Memory Storage Systems Amarnath Gaini, K Vijayalaxmi Assistant Professor Department of Electronics VITS (N9), Andhra Pradesh Sathish Mothe Assistant

More information

BPCLC: An Efficient Write Buffer Management Scheme for Flash-Based Solid State Disks

BPCLC: An Efficient Write Buffer Management Scheme for Flash-Based Solid State Disks BPCLC: An Efficient Write Buffer Management Scheme for Flash-Based Solid State Disks Hui Zhao 1, Peiquan Jin *1, Puyuan Yang 1, Lihua Yue 1 1 School of Computer Science and Technology, University of Science

More information

A Cost Model of Join Algorithms on Flash Memory SSD

A Cost Model of Join Algorithms on Flash Memory SSD A Cost Model of Join Algorithms on Flash Memory SSD Jongwon Yoon, Jaeyoung Do University of Wisconsin-Madison {yoonj, jae}@cs.wisc.edu 1. ABSTRACT n relational database, join is not only the most commonly

More information

A Mixed Flash Translation Layer Structure for SLC-MLC Combined Flash Memory System

A Mixed Flash Translation Layer Structure for SLC-MLC Combined Flash Memory System A Mixed Flash Translation Layer Structure for SLC-MLC Combined Flash Memory System Seung-Ho Park, Jung-Wook Park, Jong-Min Jeong, Jung-Hwan Kim, Shin-Dug Kim Department of Computer Science, Yonsei University,

More information

- SLED: single large expensive disk - RAID: redundant array of (independent, inexpensive) disks

- SLED: single large expensive disk - RAID: redundant array of (independent, inexpensive) disks RAID and AutoRAID RAID background Problem: technology trends - computers getting larger, need more disk bandwidth - disk bandwidth not riding moore s law - faster CPU enables more computation to support

More information

SSD/Flash for Modern Databases. Peter Zaitsev, CEO, Percona November 1, 2014 Highload Moscow,Russia

SSD/Flash for Modern Databases. Peter Zaitsev, CEO, Percona November 1, 2014 Highload Moscow,Russia SSD/Flash for Modern Databases Peter Zaitsev, CEO, Percona November 1, 2014 Highload++ 2014 Moscow,Russia Percona We love Open Source Software Percona Server Percona Xtrabackup Percona XtraDB Cluster Percona

More information

Principles of Data Management. Lecture #2 (Storing Data: Disks and Files)

Principles of Data Management. Lecture #2 (Storing Data: Disks and Files) Principles of Data Management Lecture #2 (Storing Data: Disks and Files) Instructor: Mike Carey mjcarey@ics.uci.edu Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 1 Today s Topics v Today

More information

NAND Flash Memory. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

NAND Flash Memory. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University NAND Flash Memory Jin-Soo Kim (jinsookim@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Flash Memory Memory Types EPROM FLASH High-density Low-cost High-speed Low-power

More information

Design of Flash-Based DBMS: An In-Page Logging Approach

Design of Flash-Based DBMS: An In-Page Logging Approach Design of Flash-Based DBMS: An In-Page Logging Approach ABSTRACT Sang-Won Lee School of Information & Communications Engr. Sungkyunkwan University Suwon 44-746, Korea wonlee@ece.skku.ac.kr The popularity

More information

Main-Memory Databases 1 / 25

Main-Memory Databases 1 / 25 1 / 25 Motivation Hardware trends Huge main memory capacity with complex access characteristics (Caches, NUMA) Many-core CPUs SIMD support in CPUs New CPU features (HTM) Also: Graphic cards, FPGAs, low

More information

Percona Live September 21-23, 2015 Mövenpick Hotel Amsterdam

Percona Live September 21-23, 2015 Mövenpick Hotel Amsterdam Percona Live 2015 September 21-23, 2015 Mövenpick Hotel Amsterdam TokuDB internals Percona team, Vlad Lesin, Sveta Smirnova Slides plan Introduction in Fractal Trees and TokuDB Files Block files Fractal

More information

Last Class Carnegie Mellon Univ. Dept. of Computer Science /615 - DB Applications

Last Class Carnegie Mellon Univ. Dept. of Computer Science /615 - DB Applications Last Class Carnegie Mellon Univ. Dept. of Computer Science 15-415/615 - DB Applications Basic Timestamp Ordering Optimistic Concurrency Control Multi-Version Concurrency Control C. Faloutsos A. Pavlo Lecture#23:

More information

Low Overhead Concurrency Control for Partitioned Main Memory Databases. Evan P. C. Jones Daniel J. Abadi Samuel Madden"

Low Overhead Concurrency Control for Partitioned Main Memory Databases. Evan P. C. Jones Daniel J. Abadi Samuel Madden Low Overhead Concurrency Control for Partitioned Main Memory Databases Evan P. C. Jones Daniel J. Abadi Samuel Madden" Banks" Payment Processing" Airline Reservations" E-Commerce" Web 2.0" Problem:" Millions

More information

OSSD: Object-based Solid State Drive. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

OSSD: Object-based Solid State Drive. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University OSSD: Object-based Solid State Drive Jin-Soo Kim (jinsookim@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu OSSD S S D + O S D O S S D NVRAMOS 2011, Cheju Island, Korea,

More information

Disks and Files. Storage Structures Introduction Chapter 8 (3 rd edition) Why Not Store Everything in Main Memory?

Disks and Files. Storage Structures Introduction Chapter 8 (3 rd edition) Why Not Store Everything in Main Memory? Why Not Store Everything in Main Memory? Storage Structures Introduction Chapter 8 (3 rd edition) Sharma Chakravarthy UT Arlington sharma@cse.uta.edu base Management Systems: Sharma Chakravarthy Costs

More information

Performance Trade-Offs in Using NVRAM Write Buffer for Flash Memory-Based Storage Devices

Performance Trade-Offs in Using NVRAM Write Buffer for Flash Memory-Based Storage Devices Performance Trade-Offs in Using NVRAM Write Buffer for Flash Memory-Based Storage Devices Sooyong Kang, Sungmin Park, Hoyoung Jung, Hyoki Shim, and Jaehyuk Cha IEEE TRANSACTIONS ON COMPUTERS, VOL. 8, NO.,

More information

The Drive Interface Progress Cycle

The Drive Interface Progress Cycle The Drive Interface Progress Cycle Dan Colegrove December 6, 2005 2005 Hitachi Global Storage Technologies Interface Development Cycle New Interface Feature Development Cycle: Development of the New Feature

More information

Virtual Memory. Reading. Sections 5.4, 5.5, 5.6, 5.8, 5.10 (2) Lecture notes from MKP and S. Yalamanchili

Virtual Memory. Reading. Sections 5.4, 5.5, 5.6, 5.8, 5.10 (2) Lecture notes from MKP and S. Yalamanchili Virtual Memory Lecture notes from MKP and S. Yalamanchili Sections 5.4, 5.5, 5.6, 5.8, 5.10 Reading (2) 1 The Memory Hierarchy ALU registers Cache Memory Memory Memory Managed by the compiler Memory Managed

More information

Hard Disk Drives. Nima Honarmand (Based on slides by Prof. Andrea Arpaci-Dusseau)

Hard Disk Drives. Nima Honarmand (Based on slides by Prof. Andrea Arpaci-Dusseau) Hard Disk Drives Nima Honarmand (Based on slides by Prof. Andrea Arpaci-Dusseau) Storage Stack in the OS Application Virtual file system Concrete file system Generic block layer Driver Disk drive Build

More information