Top Banner
Solid-state storage & DBMS CIDR 2013 Manos Athanassoulis 1
12

Solid-state storage & DBMS

Feb 23, 2016

Download

Documents

olwen

Solid-state storage & DBMS. CIDR 2013 Manos Athanassoulis. Flash is replacing disks. Flash not a drop-in replacement for disks . But, random writes on flash Instability in performance Shorter device lifetime And flash capacity is expensive - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Solid-state storage  &  DBMS

Solid-state storage & DBMS

CIDR 2013Manos Athanassoulis

1

Page 2: Solid-state storage  &  DBMS

2

Flash is replacing disksBut, random writes on flash

– Instability in performance– Shorter device lifetime

And flash capacity is expensive

Is flash ready/suitable for secondary storage?Reverse: How can DBMS exploit flash?

Flash not a drop-in replacement for disks

Page 3: Solid-state storage  &  DBMS

3

Disks all over the place• DBMS modules assumes disks

– Storage– Buffer management– Indexing– Logging

• Lower-level: – Block APIs – Storage software stack

Re-architect DBMS needed for solid-state storage

Buffers

Page 4: Solid-state storage  &  DBMS

4

How to use flash in a “disk-world”?

Buffers

Page 5: Solid-state storage  &  DBMS

5

How to use flash in a “disk-world”? • As a specialized write cache

– Hides update overhead

Updates

Buffers

Page 6: Solid-state storage  &  DBMS

6

How to use flash in a “disk-world”? • As a specialized write cache

– Hides update overhead

• As secondary storage– Offers efficient random access

Buffers

Page 7: Solid-state storage  &  DBMS

7

How to use flash in a “disk-world”? • As a specialized write cache

– Hides update overhead

• As secondary storage– Offers efficient random access

• As a “regular” cache level

Buffers

SSDBuffer

Page 8: Solid-state storage  &  DBMS

Flash, solid-state, DBMS:The challenges are far from done …

8

Page 9: Solid-state storage  &  DBMS

9

Flash Wall

Capacity: Density will plateau (soon)Endurance (already)

Page 10: Solid-state storage  &  DBMS

10

PCM, memristor and co

More than flash:How to use persistent main memory?

Page 11: Solid-state storage  &  DBMS

11

Software stack is too slow

HDD Flash PCM10

100

1000

100004000

50

17

17 17 17

Late

ncy

(μs)

Device Latency (H/W)

OS & FS Latency (S/W)

Page 12: Solid-state storage  &  DBMS

12

Flash Wall(s)Persistent main memory

OS & FS too slow

Thank you!

Manos Athanassoulis