SlideShare a Scribd company logo
1 of 27
Download to read offline
SIGMOD’08
      SIGMOD’08

   A Case for Flash Memory SSD in
   Enterprise Database Applications
         Sang-Won Lee                                Bongki Moon
              Sungkyunkwan University                 University of Arizona




 Chanik Park                    Jae-Myung Kim                   Sang-Woo Kim
Samsung Electronics Co., Ldt.
                         Ldt.       Altibase Corp.                   Sungkyunkwan University




   COMPUTER SCIENCE DEPARTMENT                          ACM SIGMOD, Vancouver Canada, June 2008 -1-
Magnetic Disk vs Flash SSD
  Champion                                           M-Tron Flash SSD
 for 50 years                                         32GB 2.5 inch




                       New
                    challengers!
Seagate ST340016A
  40GB,7200rpm
                        Samsung FlashSSD
                          32GB 1.8 inch


                                   ACM SIGMOD, Vancouver Canada, June 2008 -2-
Trend in Market Today
• In mobile storage market
      NAND flash memory wins over hard disk in mobile storage market
        • PDA, MP3, mobile phone, digital camera, ...
      Due to advantages in size, weight, shock resistance, power
      consumption, noise …
• In personal computer market
      Compete with hard disk in personal computer market
        • 32GB Flash SSD: M-Tron, Samsung, SanDisk
      Vendors launched new lines of personal computers with NAND flash
      SSD replacing hard disk
        • Apple, Samsung, and others




 COMPUTER SCIENCE DEPARTMENT                      ACM SIGMOD, Vancouver Canada, June 2008 -3-
Market Trend in Prospect
• Price drops quickly
      NAND flash is a lot cheaper than DRAM;
        • ASP/MB of NAND < 1/3 of ASP/MB of DRAM as of 2007.
      Still much more expensive than magnetic disk.
      Annual drop in ASP/MB was about 60% in 2006.
      Projected annual drop in ASP/MB is about 30-40% in next 5 years.
      [Eli Harari@SanDisk, August 2007]

• Emerging Enterprise Market
      NAND ASP was $10/GB in 2007. With 40% annual drop, it could be
      $800/TB in 2012.
      Not inconceivable to run a full database server on a computing
      platform with TB-scale Flash SSD as secondary storage.



 COMPUTER SCIENCE DEPARTMENT                  ACM SIGMOD, Vancouver Canada, June 2008 -4-
Technology Trend in Prospect
• NAND flash density increases faster than Moore’s law
      Predicted twofold annual increase of NAND flash density until 2012
      [Hwang, ProcIEEE’03]
      Toshiba hopes for 512GB SSD by the end of 2009
        • 30 nm chip-making process, Multi-level-cell (MLC)


• Bandwidth catches up
      Samsung MCAQE32G8APP-0XA [2006]
        • Sustained read 56 MB/sec, sustained write 32 MB/sec
      Samsung, Mtron [Feb. 2008]
        • Sustained read 100~120 MB/sec, sustained write 80~90 MB/sec
      Intel-Micron’s 4-plane architecture + higher clock speed [Feb. 2008]
        • Sustained read 200 MB/sec, sustained write 100 MB/sec
      Samsung MLC-based 256GB SSD with SATA-II [May 2008]
        • Sustained read 200 MB/sec, sustained write 160 MB/sec


 COMPUTER SCIENCE DEPARTMENT                      ACM SIGMOD, Vancouver Canada, June 2008 -5-
Past Trend of Disk
• From 1983 to 2003 [Patterson, CACM 47(10) 2004]
     Capacity increased about 2500 times (0.03 GB 73.4 GB)
     Bandwidth improved 143.3 times (0.6 MB/s 86 MB/s)
     Latency improved 8.5 times (48.3 ms 5.7 ms)
      Year       1983       1990      1994             1998            2003
     Product      CDC      Seagate   Seagate        Seagate          Seagate
                94145-36   ST41600   ST15150        ST39102         ST373453
    Capacity    0.03 GB    1.4 GB    4.3 GB          9.1 GB          73.4 GB
      RPM        3600       5400      7200            10000            15000
    Bandwidth     0.6         4         9               24               86
     (MB/sec)
     Media        5.25      5.25       3.5              3.0             2.5
    diameter
     Latency      48.3      17.1      12.7              8.8             5.7
     (msec)


                                              ACM SIGMOD, Vancouver Canada, June 2008 -6-
Latency of Disk Lags
• Trend
    In the time that bandwidth doubles, latency improves by
    no more than a factor of 1.2 to 1.4.
     • Latency improves by no more than square root of the
       improvement in bandwidth.
    The bandwidth-latency imbalance may be even more
    evident in the future.
• The trouble is
    Latency remains important for
     • Interactive applications, database logging (or whenever I/O must
       be done synchronously)
• What can NAND Flash Memory do for this?


                                            ACM SIGMOD, Vancouver Canada, June 2008 -7-
Magnetic Disk vs NAND Flash
• Below is what the data sheets show
                         Sustained Transfer Rate      Average Latency
     Magnetic Disk               110 MB/sec               8.33 msec
     NAND Flash SSD            56 MB/sec (read)       0.2 msec (read)
                               32 MB/sec (write)      0.4 msec (write)


    Magnetic Disk : Seagate Barracuda 7200.10 ST3250310AS
    NAND Flash SSD : Samsung MCAQE32G8APP-0XA drive with
    K9WAG08U1A 16 Gbits SLC NAND chips

      • Newer SSD products report much higher bandwidth for read and write




 COMPUTER SCIENCE DEPARTMENT                       ACM SIGMOD, Vancouver Canada, June 2008 -8-
Characteristics of NAND Flash
• No mechanical latency
      Flash memory is an electronic device without moving parts
      Provides uniform random access speed without seek/rotational
      latency
        • Very low latency, independently of physical location of data
• Asymmetric read & write speed
      Read speed is typically at least twice faster than write speed
        • (E.g.) Samsung 16 Gbits SLC NAND chips: 80 µsec vs 200 µsec (2 KB)
• No in-place update
      No data item or page can be updated in place before erasing it first.
        • An erase unit (typically 128 KB) is much larger than a page (2 KB).
        • (E.g.) Samsung 16 Gbits SLC NAND chips: 1.5 msec (128 KB)
      Write (and erase) optimization is critical


 COMPUTER SCIENCE DEPARTMENT                        ACM SIGMOD, Vancouver Canada, June 2008 -9-
Flash SSD for Databases?
• Immediate benefit for some DB operations
    Reduce commit-time delay by fast logging
    Reduce read time for multi-versioned data


• Still, many concerns to be addressed
    Random scattered I/O is very common in OLTP
     • Slow random writes by flash SSD can handle this?
    Flash-aware design of DBMS?
    Flash-friendly algorithms?
    Flash-friendly implementation?



                                          ACM SIGMOD, Vancouver Canada, June 2008 -10-
Transactional Log
                        SQL Queries




                   System Buffer Cache




      Database     Transaction   Temporary           Rollback

     Table space   (Redo) Log    Table Space         Segments




                                         ACM SIGMOD, Vancouver Canada, June 2008 -11-
Commit-time Delay by Logging
• Write Ahead Log (WAL)                                     T1    T2        …   Tn
      A committing transaction force-writes its                  SQL
      log records
                                                       Buffer                        Log Buffer
      Makes it hard to hide latency
      With a separate disk for logging                                 pi
       • No seek delay, but …
       • Half a revolution of spindle on average
       • 4.2 msec (7200RPM), 2.0 msec (15k RPM)        DB
      With a Flash SSD: about 0.4 msec                                                  LOG



• Commit-time delay remains to be a significant overhead
      Group-commit helps but the delay doesn’t go away altogether.
• How much commit-time delay?
      On average, 8.1 msec (HDD) vs 1.3 msec (SDD) : 6-fold reduction
       • TPC-B benchmark with 20 concurrent users.

                                                   ACM SIGMOD, Vancouver Canada, June 2008 -12-
HDD vs SSD for Logging
• With SSD for log
      CPU better utilized
       • By shortening commit-
         time, and serving more
         active transactions.
      Leads to higher TPS

• Exaggerated by caching entire
  DB in memory
• TPC-B to stress-test logging
      Transaction commit rate
      higher than TPC-C


                                  ACM SIGMOD, Vancouver Canada, June 2008 -13-
Temporary Table Space
                        SQL Queries




                   System Buffer Cache




      Database     Transaction   Temporary           Rollback

     Table space   (Redo) Log    Table Space         Segments




                                         ACM SIGMOD, Vancouver Canada, June 2008 -14-
Temp Data and Query Time
• Query processing often generates temp data
    Sorts, joins, index creation, etc.
    Typically bulky, performed in foreground;
    Direct impact on query processing time
• Typically stored in separate storage devices

• Ask the same question
    What happens if SSD replaces HDD for
    temporary table spaces?


                               ACM SIGMOD, Vancouver Canada, June 2008 -15-
External Sort: I/O Pattern
• External Sort algorithm runs in two phases
     Sorted run generation
      • Partitioned to chunks, sorted separately and, saved in sorted runs
      • Read sequentially from table space, written sequentially into temp space
     Merging sorted runs
      • Read randomly from temp space, written sequentially into table space


• Dominant I/O patterns are sequential write followed by
  random read
     No-in-place-update limitation is avoided.
     These are flash-friendly I/O patterns!!




                                                  ACM SIGMOD, Vancouver Canada, June 2008 -16-
External Sort: Performance
• HDD vs SSD as a medium for a temp table space
     Sort a table of 2 M tuples (200 MB), with 2 MB buffer cache
• SSD is good at sequential write + random read
     Almost an order of magnitude reduction in merge times




                                            ACM SIGMOD, Vancouver Canada, June 2008 -17-
One Less Tuning Knob?
• Cluster sizes for Sorting?
• With a larger cluster
     Disk bandwidth improves (by
     hiding latency)
     The amount of I/O may also
     increase due to reduced fan-in
     for merging sorted runs
• Flash SSD is
     With low latency, not as sensitive
     to the cluster size
     2KB page was the best with the
     max fan-in



                                          ACM SIGMOD, Vancouver Canada, June 2008 -18-
Hash-Sort Duality a Myth?

• The I/O pattern of hashing is said to be
     random write (for writing hash buckets) + sequential read
     (for probing hash buckets)
     As opposed to sort (sequential write + random read)


• If it’s the case, hashing is not flash-friendly.
     Re-implement hashing to make it flash-friendly?
     It appears already done by some vendors.
      • The observed I/O pattern was quite similar to that of sort
        (sequential write + random read)



                                              ACM SIGMOD, Vancouver Canada, June 2008 -19-
Hash Join: Performance
• HDD vs SSD as a medium for a temp table space
     Hash-join two tables of 2 M tuples (200 MB) each, with 2 MB buffer
     cache
     About 3-fold reduction in join time




                                             ACM SIGMOD, Vancouver Canada, June 2008 -20-
Rollback Segments
                        SQL Queries




                   System Buffer Cache




      Database     Transaction   Temporary           Rollback

     Table space   (Redo) Log    Table Space         Segments




                                         ACM SIGMOD, Vancouver Canada, June 2008 -21-
MVCC Rollback Segments
• Multi-version Concurrency Control (MVCC)
    Alternative to traditional Lock-based CC
    Support read consistency and snapshot isolation
    Oracle, PostgresSQL, Sybase, SQL Server 2005, MySQL
• Rollback Segments
    When updating an object, its current value is recorded in
    the rollback segment
    To fetch the correct version of an object, check whether
    it has been updated by other transactions
    Each transaction is assigned to a rollback segment; old
    images of data are written to the rollback segment
    sequentially (in append-only fashion).



                                     ACM SIGMOD, Vancouver Canada, June 2008 -22-
MVCC Write Pattern
                                 • Write requests from TPC-C workload
                                           Concurrent transactions generate multiple streams of append-only
                                           traffic in parallel (apart by approximately 1 MB)
                                           HDD moves disk arm very frequently
                                           SSD has no negative effect from no in-place update limitation
                                 800
Logical sector address (x1000)




                                 700

                                 600

                                 500

                                 400

                                 300

                                 200

                                 100

                                  0
                                       0   100   200    300    400   500   600
                                                   Time (second)



                                                                                  ACM SIGMOD, Vancouver Canada, June 2008 -23-
MVCC Read Performance
     C   …
                                                          • To support MV read consistency,
                            T1                     T0
     B

     A
         100

         50           A     100                A    200
                                                            I/O activities will increase
                                                               A long chain of old versions may have
T2
                                                               to be traversed for each access to a
                                                               frequently updated object
                                                          • Read requests are scattered
                                          50
                                       ->




                                                            randomly
                                  100 A:




         Rollback segment
                                   (2)




                                                               Old versions of an object may be
                                                               stored in several rollback segments
                                                               With SSD, 10-fold read time reduction
                                                               was not surprising
                                        00
                                       - 1
                                  200 A:
                                        >




         Rollback segment
                                   (1)




                                                                       ACM SIGMOD, Vancouver Canada, June 2008 -24-
Database Table Space
                        SQL Queries




                   System Buffer Cache




      Database     Transaction   Temporary           Rollback

     Table space   (Redo) Log    Table Space         Segments




                                         ACM SIGMOD, Vancouver Canada, June 2008 -25-
Workload in Table Space
• TPC-C workload
    Exhibit little locality and sequentiality
      • Mix of small/medium/large read-write, read-only (join)
    Highly skewed
      • ~80% of accesses to 20% of tuples
• Write caching not as effective as read caching
    Physical read/write ratio is much lower that logical
    read/write ratio


• All bad news for flash memory SSD
    Due to the No-in-place-update limitation
    In-Page Logging (IPL) approach [SIGMOD’07]

                                            ACM SIGMOD, Vancouver Canada, June 2008 -26-
Concluding Remarks
• Clear and present evidences that Flash memory SSD can co-
  exist or even replace Magnetic Disk
      Even now for logging, rollback segments and temp table spaces
      Write optimization needed for database table spaces
• Flash-Aware DBMS Design is a must!
      Flash-friendly algorithms, flash-friendly implementations
      Need fresh new look at almost everything: Buffer management, B-
      trees, Sorting and Hashing, Self-Tuning, File Systems, etc.




 COMPUTER SCIENCE DEPARTMENT                  ACM SIGMOD, Vancouver Canada, June 2008 -27-

More Related Content

What's hot

SSD vs HDD - A Shift In Data Storage by Todd Dinkelman
SSD vs HDD - A Shift In Data Storage by Todd DinkelmanSSD vs HDD - A Shift In Data Storage by Todd Dinkelman
SSD vs HDD - A Shift In Data Storage by Todd Dinkelmannomathjobs
 
IMCSummit 2015 - Day 1 Developer Session - The Science and Engineering Behind...
IMCSummit 2015 - Day 1 Developer Session - The Science and Engineering Behind...IMCSummit 2015 - Day 1 Developer Session - The Science and Engineering Behind...
IMCSummit 2015 - Day 1 Developer Session - The Science and Engineering Behind...In-Memory Computing Summit
 
IMCSummit 2015 - Day 1 Developer Track - Evolution of non-volatile memory exp...
IMCSummit 2015 - Day 1 Developer Track - Evolution of non-volatile memory exp...IMCSummit 2015 - Day 1 Developer Track - Evolution of non-volatile memory exp...
IMCSummit 2015 - Day 1 Developer Track - Evolution of non-volatile memory exp...In-Memory Computing Summit
 
VMworld 2013: Just Because You Could, Doesn't Mean You Should: Lessons Learne...
VMworld 2013: Just Because You Could, Doesn't Mean You Should: Lessons Learne...VMworld 2013: Just Because You Could, Doesn't Mean You Should: Lessons Learne...
VMworld 2013: Just Because You Could, Doesn't Mean You Should: Lessons Learne...VMworld
 
Dumb Simple PostgreSQL Performance (NYCPUG)
Dumb Simple PostgreSQL Performance (NYCPUG)Dumb Simple PostgreSQL Performance (NYCPUG)
Dumb Simple PostgreSQL Performance (NYCPUG)Joshua Drake
 
NVMe over Fibre Channel Introduction
NVMe over Fibre Channel IntroductionNVMe over Fibre Channel Introduction
NVMe over Fibre Channel IntroductionCalvin Zito
 
SSD Seminar Report
SSD Seminar ReportSSD Seminar Report
SSD Seminar ReportVishalKSetti
 
Intel ssd dc data center family for PCIe
Intel ssd dc data center family for PCIeIntel ssd dc data center family for PCIe
Intel ssd dc data center family for PCIeLow Hong Chuan
 
Benchmarking Performance: Benefits of PCIe NVMe SSDs for Client Workloads
Benchmarking Performance: Benefits of PCIe NVMe SSDs for Client WorkloadsBenchmarking Performance: Benefits of PCIe NVMe SSDs for Client Workloads
Benchmarking Performance: Benefits of PCIe NVMe SSDs for Client WorkloadsSamsung Business USA
 
PCI Express* based Storage: Data Center NVM Express* Platform Topologies
PCI Express* based Storage: Data Center NVM Express* Platform TopologiesPCI Express* based Storage: Data Center NVM Express* Platform Topologies
PCI Express* based Storage: Data Center NVM Express* Platform TopologiesOdinot Stanislas
 
2018 Infortrend All Flash Arrays Introduction (GS3025A)
2018 Infortrend All Flash Arrays Introduction (GS3025A)2018 Infortrend All Flash Arrays Introduction (GS3025A)
2018 Infortrend All Flash Arrays Introduction (GS3025A)infortrendgroup
 
Solid State Drives - Seminar for Computer Engineering Semester 6 - VIT,Univer...
Solid State Drives - Seminar for Computer Engineering Semester 6 - VIT,Univer...Solid State Drives - Seminar for Computer Engineering Semester 6 - VIT,Univer...
Solid State Drives - Seminar for Computer Engineering Semester 6 - VIT,Univer...ravipbhat
 
"Achieving Flash Memory's Full Potential" @ Flash Memory Summit 2012
"Achieving Flash Memory's Full Potential" @ Flash Memory Summit 2012"Achieving Flash Memory's Full Potential" @ Flash Memory Summit 2012
"Achieving Flash Memory's Full Potential" @ Flash Memory Summit 2012Darpan Dinker
 
Evaluating MLC vs TLC vs V-NAND for Enterprise SSDs – Whitepaper
Evaluating MLC vs TLC vs V-NAND for Enterprise SSDs – WhitepaperEvaluating MLC vs TLC vs V-NAND for Enterprise SSDs – Whitepaper
Evaluating MLC vs TLC vs V-NAND for Enterprise SSDs – WhitepaperSamsung Business USA
 
Cassandra Day SV 2014: Designing Commodity Storage in Apache Cassandra
Cassandra Day SV 2014: Designing Commodity Storage in Apache CassandraCassandra Day SV 2014: Designing Commodity Storage in Apache Cassandra
Cassandra Day SV 2014: Designing Commodity Storage in Apache CassandraDataStax Academy
 
Apresentacao Solid Access Corp Presentation Openware 5 20 10
Apresentacao Solid Access Corp Presentation Openware 5 20 10Apresentacao Solid Access Corp Presentation Openware 5 20 10
Apresentacao Solid Access Corp Presentation Openware 5 20 10Sidnir Vieira
 
Webinar: How NVMe Will Change Flash Storage
Webinar: How NVMe Will Change Flash StorageWebinar: How NVMe Will Change Flash Storage
Webinar: How NVMe Will Change Flash StorageStorage Switzerland
 

What's hot (20)

SSD vs HDD - A Shift In Data Storage by Todd Dinkelman
SSD vs HDD - A Shift In Data Storage by Todd DinkelmanSSD vs HDD - A Shift In Data Storage by Todd Dinkelman
SSD vs HDD - A Shift In Data Storage by Todd Dinkelman
 
IMCSummit 2015 - Day 1 Developer Session - The Science and Engineering Behind...
IMCSummit 2015 - Day 1 Developer Session - The Science and Engineering Behind...IMCSummit 2015 - Day 1 Developer Session - The Science and Engineering Behind...
IMCSummit 2015 - Day 1 Developer Session - The Science and Engineering Behind...
 
IMCSummit 2015 - Day 1 Developer Track - Evolution of non-volatile memory exp...
IMCSummit 2015 - Day 1 Developer Track - Evolution of non-volatile memory exp...IMCSummit 2015 - Day 1 Developer Track - Evolution of non-volatile memory exp...
IMCSummit 2015 - Day 1 Developer Track - Evolution of non-volatile memory exp...
 
VMworld 2013: Just Because You Could, Doesn't Mean You Should: Lessons Learne...
VMworld 2013: Just Because You Could, Doesn't Mean You Should: Lessons Learne...VMworld 2013: Just Because You Could, Doesn't Mean You Should: Lessons Learne...
VMworld 2013: Just Because You Could, Doesn't Mean You Should: Lessons Learne...
 
Dumb Simple PostgreSQL Performance (NYCPUG)
Dumb Simple PostgreSQL Performance (NYCPUG)Dumb Simple PostgreSQL Performance (NYCPUG)
Dumb Simple PostgreSQL Performance (NYCPUG)
 
NVMe over Fibre Channel Introduction
NVMe over Fibre Channel IntroductionNVMe over Fibre Channel Introduction
NVMe over Fibre Channel Introduction
 
SSD PPT BY SAURABH
SSD PPT BY SAURABHSSD PPT BY SAURABH
SSD PPT BY SAURABH
 
SSD Seminar Report
SSD Seminar ReportSSD Seminar Report
SSD Seminar Report
 
Intel ssd dc data center family for PCIe
Intel ssd dc data center family for PCIeIntel ssd dc data center family for PCIe
Intel ssd dc data center family for PCIe
 
Benchmarking Performance: Benefits of PCIe NVMe SSDs for Client Workloads
Benchmarking Performance: Benefits of PCIe NVMe SSDs for Client WorkloadsBenchmarking Performance: Benefits of PCIe NVMe SSDs for Client Workloads
Benchmarking Performance: Benefits of PCIe NVMe SSDs for Client Workloads
 
PCI Express* based Storage: Data Center NVM Express* Platform Topologies
PCI Express* based Storage: Data Center NVM Express* Platform TopologiesPCI Express* based Storage: Data Center NVM Express* Platform Topologies
PCI Express* based Storage: Data Center NVM Express* Platform Topologies
 
2018 Infortrend All Flash Arrays Introduction (GS3025A)
2018 Infortrend All Flash Arrays Introduction (GS3025A)2018 Infortrend All Flash Arrays Introduction (GS3025A)
2018 Infortrend All Flash Arrays Introduction (GS3025A)
 
Solid State Drives - Seminar for Computer Engineering Semester 6 - VIT,Univer...
Solid State Drives - Seminar for Computer Engineering Semester 6 - VIT,Univer...Solid State Drives - Seminar for Computer Engineering Semester 6 - VIT,Univer...
Solid State Drives - Seminar for Computer Engineering Semester 6 - VIT,Univer...
 
3 5 SSD
3 5 SSD3 5 SSD
3 5 SSD
 
"Achieving Flash Memory's Full Potential" @ Flash Memory Summit 2012
"Achieving Flash Memory's Full Potential" @ Flash Memory Summit 2012"Achieving Flash Memory's Full Potential" @ Flash Memory Summit 2012
"Achieving Flash Memory's Full Potential" @ Flash Memory Summit 2012
 
Evaluating MLC vs TLC vs V-NAND for Enterprise SSDs – Whitepaper
Evaluating MLC vs TLC vs V-NAND for Enterprise SSDs – WhitepaperEvaluating MLC vs TLC vs V-NAND for Enterprise SSDs – Whitepaper
Evaluating MLC vs TLC vs V-NAND for Enterprise SSDs – Whitepaper
 
Cassandra Day SV 2014: Designing Commodity Storage in Apache Cassandra
Cassandra Day SV 2014: Designing Commodity Storage in Apache CassandraCassandra Day SV 2014: Designing Commodity Storage in Apache Cassandra
Cassandra Day SV 2014: Designing Commodity Storage in Apache Cassandra
 
Apresentacao Solid Access Corp Presentation Openware 5 20 10
Apresentacao Solid Access Corp Presentation Openware 5 20 10Apresentacao Solid Access Corp Presentation Openware 5 20 10
Apresentacao Solid Access Corp Presentation Openware 5 20 10
 
FlashMemorySummit_2015_NVMFS
FlashMemorySummit_2015_NVMFSFlashMemorySummit_2015_NVMFS
FlashMemorySummit_2015_NVMFS
 
Webinar: How NVMe Will Change Flash Storage
Webinar: How NVMe Will Change Flash StorageWebinar: How NVMe Will Change Flash Storage
Webinar: How NVMe Will Change Flash Storage
 

Viewers also liked

Portfolio
PortfolioPortfolio
Portfolioloods62
 
Trad.It.Pres Hispaniane Tprelanzamiento1
Trad.It.Pres Hispaniane Tprelanzamiento1Trad.It.Pres Hispaniane Tprelanzamiento1
Trad.It.Pres Hispaniane Tprelanzamiento1Raffaella Hispanianet
 
Swm Presentation Ru
Swm Presentation RuSwm Presentation Ru
Swm Presentation Ruguestd722b07
 
Trad.It.Pres Hispaniane Tprelanzamiento1
Trad.It.Pres Hispaniane Tprelanzamiento1Trad.It.Pres Hispaniane Tprelanzamiento1
Trad.It.Pres Hispaniane Tprelanzamiento1Raffaella Hispanianet
 
RDC overview Sept 09
RDC overview Sept 09RDC overview Sept 09
RDC overview Sept 09Garrett Duffy
 
45 Lessons in Life
45 Lessons in Life45 Lessons in Life
45 Lessons in Lifeguest8bb8fa
 
Verbieden helpt niet
Verbieden helpt nietVerbieden helpt niet
Verbieden helpt nietNeleVDB
 
Presentazione di H I S P A N I A N E T
Presentazione di  H I S P A N I A N E TPresentazione di  H I S P A N I A N E T
Presentazione di H I S P A N I A N E TRaffaella Hispanianet
 
Verbieden Helpt Niet.
Verbieden Helpt Niet.Verbieden Helpt Niet.
Verbieden Helpt Niet.NeleVDB
 
Unit 1&2
Unit 1&2Unit 1&2
Unit 1&2IIT BHU
 
Introduction to Administaff
Introduction to AdministaffIntroduction to Administaff
Introduction to Administaffgxhamm
 
КОНВЕРГЕНЦИЯ КАК НОВЫЙ МЕДИЙНЫЙ СУПЕРГЕРОЙ
КОНВЕРГЕНЦИЯ КАК НОВЫЙ МЕДИЙНЫЙ СУПЕРГЕРОЙКОНВЕРГЕНЦИЯ КАК НОВЫЙ МЕДИЙНЫЙ СУПЕРГЕРОЙ
КОНВЕРГЕНЦИЯ КАК НОВЫЙ МЕДИЙНЫЙ СУПЕРГЕРОЙMary Sirosh
 

Viewers also liked (17)

Link 8 summer 2011
Link 8 summer 2011Link 8 summer 2011
Link 8 summer 2011
 
Webs 2
Webs 2Webs 2
Webs 2
 
Portfolio
PortfolioPortfolio
Portfolio
 
Trad.It.Pres Hispaniane Tprelanzamiento1
Trad.It.Pres Hispaniane Tprelanzamiento1Trad.It.Pres Hispaniane Tprelanzamiento1
Trad.It.Pres Hispaniane Tprelanzamiento1
 
Presentazione di Hispanianet
Presentazione di HispanianetPresentazione di Hispanianet
Presentazione di Hispanianet
 
Swm Presentation Ru
Swm Presentation RuSwm Presentation Ru
Swm Presentation Ru
 
Boekje
BoekjeBoekje
Boekje
 
Trad.It.Pres Hispaniane Tprelanzamiento1
Trad.It.Pres Hispaniane Tprelanzamiento1Trad.It.Pres Hispaniane Tprelanzamiento1
Trad.It.Pres Hispaniane Tprelanzamiento1
 
RDC overview Sept 09
RDC overview Sept 09RDC overview Sept 09
RDC overview Sept 09
 
45 Lessons in Life
45 Lessons in Life45 Lessons in Life
45 Lessons in Life
 
Verbieden helpt niet
Verbieden helpt nietVerbieden helpt niet
Verbieden helpt niet
 
Presentazione di H I S P A N I A N E T
Presentazione di  H I S P A N I A N E TPresentazione di  H I S P A N I A N E T
Presentazione di H I S P A N I A N E T
 
Verbieden Helpt Niet.
Verbieden Helpt Niet.Verbieden Helpt Niet.
Verbieden Helpt Niet.
 
Link9
Link9Link9
Link9
 
Unit 1&2
Unit 1&2Unit 1&2
Unit 1&2
 
Introduction to Administaff
Introduction to AdministaffIntroduction to Administaff
Introduction to Administaff
 
КОНВЕРГЕНЦИЯ КАК НОВЫЙ МЕДИЙНЫЙ СУПЕРГЕРОЙ
КОНВЕРГЕНЦИЯ КАК НОВЫЙ МЕДИЙНЫЙ СУПЕРГЕРОЙКОНВЕРГЕНЦИЯ КАК НОВЫЙ МЕДИЙНЫЙ СУПЕРГЕРОЙ
КОНВЕРГЕНЦИЯ КАК НОВЫЙ МЕДИЙНЫЙ СУПЕРГЕРОЙ
 

Similar to Sigmod08ssd slides

The future of tape april 16
The future of tape april 16The future of tape april 16
The future of tape april 16Josef Weingand
 
Ssd And Enteprise Storage
Ssd And Enteprise StorageSsd And Enteprise Storage
Ssd And Enteprise StorageFrank Zhao
 
FlashSQL 소개 & TechTalk
FlashSQL 소개 & TechTalkFlashSQL 소개 & TechTalk
FlashSQL 소개 & TechTalkI Goo Lee
 
Implementation of Dense Storage Utilizing HDDs with SSDs and PCIe Flash Acc...
Implementation of Dense Storage Utilizing  HDDs with SSDs and PCIe Flash  Acc...Implementation of Dense Storage Utilizing  HDDs with SSDs and PCIe Flash  Acc...
Implementation of Dense Storage Utilizing HDDs with SSDs and PCIe Flash Acc...Red_Hat_Storage
 
Seagate – Next Level Storage (Webinar mit Boston Server & Storage, 2018 09-28)
Seagate – Next Level Storage (Webinar mit Boston Server & Storage,  2018 09-28)Seagate – Next Level Storage (Webinar mit Boston Server & Storage,  2018 09-28)
Seagate – Next Level Storage (Webinar mit Boston Server & Storage, 2018 09-28)BOSTON Server & Storage Solutions GmbH
 
Nimble Storage Series A presentation 2007
Nimble Storage Series A presentation 2007Nimble Storage Series A presentation 2007
Nimble Storage Series A presentation 2007Wing Venture Capital
 
Accelerating hbase with nvme and bucket cache
Accelerating hbase with nvme and bucket cacheAccelerating hbase with nvme and bucket cache
Accelerating hbase with nvme and bucket cacheDavid Grier
 
Ssd(solid state drive )
Ssd(solid state drive )Ssd(solid state drive )
Ssd(solid state drive )Karthik m
 
NVM & Implications on Data Infratsructure
NVM & Implications on Data InfratsructureNVM & Implications on Data Infratsructure
NVM & Implications on Data Infratsructureimcpune
 
How to randomly access data in close-to-RAM speeds but a lower cost with SSD’...
How to randomly access data in close-to-RAM speeds but a lower cost with SSD’...How to randomly access data in close-to-RAM speeds but a lower cost with SSD’...
How to randomly access data in close-to-RAM speeds but a lower cost with SSD’...JAXLondon2014
 
SSDs, IMDGs and All the Rest - Jax London
SSDs, IMDGs and All the Rest - Jax LondonSSDs, IMDGs and All the Rest - Jax London
SSDs, IMDGs and All the Rest - Jax LondonUri Cohen
 
10 Things you need to know abut designing enterprise SSD
10 Things you need to know abut designing enterprise SSD10 Things you need to know abut designing enterprise SSD
10 Things you need to know abut designing enterprise SSDSimon Huang
 
Accelerating HBase with NVMe and Bucket Cache
Accelerating HBase with NVMe and Bucket CacheAccelerating HBase with NVMe and Bucket Cache
Accelerating HBase with NVMe and Bucket CacheNicolas Poggi
 
Cassandra Day Chicago 2015: DataStax Enterprise & Apache Cassandra Hardware B...
Cassandra Day Chicago 2015: DataStax Enterprise & Apache Cassandra Hardware B...Cassandra Day Chicago 2015: DataStax Enterprise & Apache Cassandra Hardware B...
Cassandra Day Chicago 2015: DataStax Enterprise & Apache Cassandra Hardware B...DataStax Academy
 
Building Data Pipelines with SMACK: Designing Storage Strategies for Scale an...
Building Data Pipelines with SMACK: Designing Storage Strategies for Scale an...Building Data Pipelines with SMACK: Designing Storage Strategies for Scale an...
Building Data Pipelines with SMACK: Designing Storage Strategies for Scale an...DataStax
 
Challenges and Trends of SSD Design
Challenges and Trends of SSD DesignChallenges and Trends of SSD Design
Challenges and Trends of SSD DesignHenry Chao
 

Similar to Sigmod08ssd slides (20)

Solid state drives
Solid state drivesSolid state drives
Solid state drives
 
The future of tape april 16
The future of tape april 16The future of tape april 16
The future of tape april 16
 
Ssd And Enteprise Storage
Ssd And Enteprise StorageSsd And Enteprise Storage
Ssd And Enteprise Storage
 
FlashSQL 소개 & TechTalk
FlashSQL 소개 & TechTalkFlashSQL 소개 & TechTalk
FlashSQL 소개 & TechTalk
 
Implementation of Dense Storage Utilizing HDDs with SSDs and PCIe Flash Acc...
Implementation of Dense Storage Utilizing  HDDs with SSDs and PCIe Flash  Acc...Implementation of Dense Storage Utilizing  HDDs with SSDs and PCIe Flash  Acc...
Implementation of Dense Storage Utilizing HDDs with SSDs and PCIe Flash Acc...
 
CLFS 2010
CLFS 2010CLFS 2010
CLFS 2010
 
Seagate – Next Level Storage (Webinar mit Boston Server & Storage, 2018 09-28)
Seagate – Next Level Storage (Webinar mit Boston Server & Storage,  2018 09-28)Seagate – Next Level Storage (Webinar mit Boston Server & Storage,  2018 09-28)
Seagate – Next Level Storage (Webinar mit Boston Server & Storage, 2018 09-28)
 
Nimble Storage Series A presentation 2007
Nimble Storage Series A presentation 2007Nimble Storage Series A presentation 2007
Nimble Storage Series A presentation 2007
 
Accelerating hbase with nvme and bucket cache
Accelerating hbase with nvme and bucket cacheAccelerating hbase with nvme and bucket cache
Accelerating hbase with nvme and bucket cache
 
Ssd(solid state drive )
Ssd(solid state drive )Ssd(solid state drive )
Ssd(solid state drive )
 
NVM & Implications on Data Infratsructure
NVM & Implications on Data InfratsructureNVM & Implications on Data Infratsructure
NVM & Implications on Data Infratsructure
 
How to randomly access data in close-to-RAM speeds but a lower cost with SSD’...
How to randomly access data in close-to-RAM speeds but a lower cost with SSD’...How to randomly access data in close-to-RAM speeds but a lower cost with SSD’...
How to randomly access data in close-to-RAM speeds but a lower cost with SSD’...
 
SSDs, IMDGs and All the Rest - Jax London
SSDs, IMDGs and All the Rest - Jax LondonSSDs, IMDGs and All the Rest - Jax London
SSDs, IMDGs and All the Rest - Jax London
 
10 Things you need to know abut designing enterprise SSD
10 Things you need to know abut designing enterprise SSD10 Things you need to know abut designing enterprise SSD
10 Things you need to know abut designing enterprise SSD
 
Accelerating HBase with NVMe and Bucket Cache
Accelerating HBase with NVMe and Bucket CacheAccelerating HBase with NVMe and Bucket Cache
Accelerating HBase with NVMe and Bucket Cache
 
Cassandra Day Chicago 2015: DataStax Enterprise & Apache Cassandra Hardware B...
Cassandra Day Chicago 2015: DataStax Enterprise & Apache Cassandra Hardware B...Cassandra Day Chicago 2015: DataStax Enterprise & Apache Cassandra Hardware B...
Cassandra Day Chicago 2015: DataStax Enterprise & Apache Cassandra Hardware B...
 
Nachos 2
Nachos 2Nachos 2
Nachos 2
 
Nachos 2
Nachos 2Nachos 2
Nachos 2
 
Building Data Pipelines with SMACK: Designing Storage Strategies for Scale an...
Building Data Pipelines with SMACK: Designing Storage Strategies for Scale an...Building Data Pipelines with SMACK: Designing Storage Strategies for Scale an...
Building Data Pipelines with SMACK: Designing Storage Strategies for Scale an...
 
Challenges and Trends of SSD Design
Challenges and Trends of SSD DesignChallenges and Trends of SSD Design
Challenges and Trends of SSD Design
 

Recently uploaded

Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 

Recently uploaded (20)

Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 

Sigmod08ssd slides

  • 1. SIGMOD’08 SIGMOD’08 A Case for Flash Memory SSD in Enterprise Database Applications Sang-Won Lee Bongki Moon Sungkyunkwan University University of Arizona Chanik Park Jae-Myung Kim Sang-Woo Kim Samsung Electronics Co., Ldt. Ldt. Altibase Corp. Sungkyunkwan University COMPUTER SCIENCE DEPARTMENT ACM SIGMOD, Vancouver Canada, June 2008 -1-
  • 2. Magnetic Disk vs Flash SSD Champion M-Tron Flash SSD for 50 years 32GB 2.5 inch New challengers! Seagate ST340016A 40GB,7200rpm Samsung FlashSSD 32GB 1.8 inch ACM SIGMOD, Vancouver Canada, June 2008 -2-
  • 3. Trend in Market Today • In mobile storage market NAND flash memory wins over hard disk in mobile storage market • PDA, MP3, mobile phone, digital camera, ... Due to advantages in size, weight, shock resistance, power consumption, noise … • In personal computer market Compete with hard disk in personal computer market • 32GB Flash SSD: M-Tron, Samsung, SanDisk Vendors launched new lines of personal computers with NAND flash SSD replacing hard disk • Apple, Samsung, and others COMPUTER SCIENCE DEPARTMENT ACM SIGMOD, Vancouver Canada, June 2008 -3-
  • 4. Market Trend in Prospect • Price drops quickly NAND flash is a lot cheaper than DRAM; • ASP/MB of NAND < 1/3 of ASP/MB of DRAM as of 2007. Still much more expensive than magnetic disk. Annual drop in ASP/MB was about 60% in 2006. Projected annual drop in ASP/MB is about 30-40% in next 5 years. [Eli Harari@SanDisk, August 2007] • Emerging Enterprise Market NAND ASP was $10/GB in 2007. With 40% annual drop, it could be $800/TB in 2012. Not inconceivable to run a full database server on a computing platform with TB-scale Flash SSD as secondary storage. COMPUTER SCIENCE DEPARTMENT ACM SIGMOD, Vancouver Canada, June 2008 -4-
  • 5. Technology Trend in Prospect • NAND flash density increases faster than Moore’s law Predicted twofold annual increase of NAND flash density until 2012 [Hwang, ProcIEEE’03] Toshiba hopes for 512GB SSD by the end of 2009 • 30 nm chip-making process, Multi-level-cell (MLC) • Bandwidth catches up Samsung MCAQE32G8APP-0XA [2006] • Sustained read 56 MB/sec, sustained write 32 MB/sec Samsung, Mtron [Feb. 2008] • Sustained read 100~120 MB/sec, sustained write 80~90 MB/sec Intel-Micron’s 4-plane architecture + higher clock speed [Feb. 2008] • Sustained read 200 MB/sec, sustained write 100 MB/sec Samsung MLC-based 256GB SSD with SATA-II [May 2008] • Sustained read 200 MB/sec, sustained write 160 MB/sec COMPUTER SCIENCE DEPARTMENT ACM SIGMOD, Vancouver Canada, June 2008 -5-
  • 6. Past Trend of Disk • From 1983 to 2003 [Patterson, CACM 47(10) 2004] Capacity increased about 2500 times (0.03 GB 73.4 GB) Bandwidth improved 143.3 times (0.6 MB/s 86 MB/s) Latency improved 8.5 times (48.3 ms 5.7 ms) Year 1983 1990 1994 1998 2003 Product CDC Seagate Seagate Seagate Seagate 94145-36 ST41600 ST15150 ST39102 ST373453 Capacity 0.03 GB 1.4 GB 4.3 GB 9.1 GB 73.4 GB RPM 3600 5400 7200 10000 15000 Bandwidth 0.6 4 9 24 86 (MB/sec) Media 5.25 5.25 3.5 3.0 2.5 diameter Latency 48.3 17.1 12.7 8.8 5.7 (msec) ACM SIGMOD, Vancouver Canada, June 2008 -6-
  • 7. Latency of Disk Lags • Trend In the time that bandwidth doubles, latency improves by no more than a factor of 1.2 to 1.4. • Latency improves by no more than square root of the improvement in bandwidth. The bandwidth-latency imbalance may be even more evident in the future. • The trouble is Latency remains important for • Interactive applications, database logging (or whenever I/O must be done synchronously) • What can NAND Flash Memory do for this? ACM SIGMOD, Vancouver Canada, June 2008 -7-
  • 8. Magnetic Disk vs NAND Flash • Below is what the data sheets show Sustained Transfer Rate Average Latency Magnetic Disk 110 MB/sec 8.33 msec NAND Flash SSD 56 MB/sec (read) 0.2 msec (read) 32 MB/sec (write) 0.4 msec (write) Magnetic Disk : Seagate Barracuda 7200.10 ST3250310AS NAND Flash SSD : Samsung MCAQE32G8APP-0XA drive with K9WAG08U1A 16 Gbits SLC NAND chips • Newer SSD products report much higher bandwidth for read and write COMPUTER SCIENCE DEPARTMENT ACM SIGMOD, Vancouver Canada, June 2008 -8-
  • 9. Characteristics of NAND Flash • No mechanical latency Flash memory is an electronic device without moving parts Provides uniform random access speed without seek/rotational latency • Very low latency, independently of physical location of data • Asymmetric read & write speed Read speed is typically at least twice faster than write speed • (E.g.) Samsung 16 Gbits SLC NAND chips: 80 µsec vs 200 µsec (2 KB) • No in-place update No data item or page can be updated in place before erasing it first. • An erase unit (typically 128 KB) is much larger than a page (2 KB). • (E.g.) Samsung 16 Gbits SLC NAND chips: 1.5 msec (128 KB) Write (and erase) optimization is critical COMPUTER SCIENCE DEPARTMENT ACM SIGMOD, Vancouver Canada, June 2008 -9-
  • 10. Flash SSD for Databases? • Immediate benefit for some DB operations Reduce commit-time delay by fast logging Reduce read time for multi-versioned data • Still, many concerns to be addressed Random scattered I/O is very common in OLTP • Slow random writes by flash SSD can handle this? Flash-aware design of DBMS? Flash-friendly algorithms? Flash-friendly implementation? ACM SIGMOD, Vancouver Canada, June 2008 -10-
  • 11. Transactional Log SQL Queries System Buffer Cache Database Transaction Temporary Rollback Table space (Redo) Log Table Space Segments ACM SIGMOD, Vancouver Canada, June 2008 -11-
  • 12. Commit-time Delay by Logging • Write Ahead Log (WAL) T1 T2 … Tn A committing transaction force-writes its SQL log records Buffer Log Buffer Makes it hard to hide latency With a separate disk for logging pi • No seek delay, but … • Half a revolution of spindle on average • 4.2 msec (7200RPM), 2.0 msec (15k RPM) DB With a Flash SSD: about 0.4 msec LOG • Commit-time delay remains to be a significant overhead Group-commit helps but the delay doesn’t go away altogether. • How much commit-time delay? On average, 8.1 msec (HDD) vs 1.3 msec (SDD) : 6-fold reduction • TPC-B benchmark with 20 concurrent users. ACM SIGMOD, Vancouver Canada, June 2008 -12-
  • 13. HDD vs SSD for Logging • With SSD for log CPU better utilized • By shortening commit- time, and serving more active transactions. Leads to higher TPS • Exaggerated by caching entire DB in memory • TPC-B to stress-test logging Transaction commit rate higher than TPC-C ACM SIGMOD, Vancouver Canada, June 2008 -13-
  • 14. Temporary Table Space SQL Queries System Buffer Cache Database Transaction Temporary Rollback Table space (Redo) Log Table Space Segments ACM SIGMOD, Vancouver Canada, June 2008 -14-
  • 15. Temp Data and Query Time • Query processing often generates temp data Sorts, joins, index creation, etc. Typically bulky, performed in foreground; Direct impact on query processing time • Typically stored in separate storage devices • Ask the same question What happens if SSD replaces HDD for temporary table spaces? ACM SIGMOD, Vancouver Canada, June 2008 -15-
  • 16. External Sort: I/O Pattern • External Sort algorithm runs in two phases Sorted run generation • Partitioned to chunks, sorted separately and, saved in sorted runs • Read sequentially from table space, written sequentially into temp space Merging sorted runs • Read randomly from temp space, written sequentially into table space • Dominant I/O patterns are sequential write followed by random read No-in-place-update limitation is avoided. These are flash-friendly I/O patterns!! ACM SIGMOD, Vancouver Canada, June 2008 -16-
  • 17. External Sort: Performance • HDD vs SSD as a medium for a temp table space Sort a table of 2 M tuples (200 MB), with 2 MB buffer cache • SSD is good at sequential write + random read Almost an order of magnitude reduction in merge times ACM SIGMOD, Vancouver Canada, June 2008 -17-
  • 18. One Less Tuning Knob? • Cluster sizes for Sorting? • With a larger cluster Disk bandwidth improves (by hiding latency) The amount of I/O may also increase due to reduced fan-in for merging sorted runs • Flash SSD is With low latency, not as sensitive to the cluster size 2KB page was the best with the max fan-in ACM SIGMOD, Vancouver Canada, June 2008 -18-
  • 19. Hash-Sort Duality a Myth? • The I/O pattern of hashing is said to be random write (for writing hash buckets) + sequential read (for probing hash buckets) As opposed to sort (sequential write + random read) • If it’s the case, hashing is not flash-friendly. Re-implement hashing to make it flash-friendly? It appears already done by some vendors. • The observed I/O pattern was quite similar to that of sort (sequential write + random read) ACM SIGMOD, Vancouver Canada, June 2008 -19-
  • 20. Hash Join: Performance • HDD vs SSD as a medium for a temp table space Hash-join two tables of 2 M tuples (200 MB) each, with 2 MB buffer cache About 3-fold reduction in join time ACM SIGMOD, Vancouver Canada, June 2008 -20-
  • 21. Rollback Segments SQL Queries System Buffer Cache Database Transaction Temporary Rollback Table space (Redo) Log Table Space Segments ACM SIGMOD, Vancouver Canada, June 2008 -21-
  • 22. MVCC Rollback Segments • Multi-version Concurrency Control (MVCC) Alternative to traditional Lock-based CC Support read consistency and snapshot isolation Oracle, PostgresSQL, Sybase, SQL Server 2005, MySQL • Rollback Segments When updating an object, its current value is recorded in the rollback segment To fetch the correct version of an object, check whether it has been updated by other transactions Each transaction is assigned to a rollback segment; old images of data are written to the rollback segment sequentially (in append-only fashion). ACM SIGMOD, Vancouver Canada, June 2008 -22-
  • 23. MVCC Write Pattern • Write requests from TPC-C workload Concurrent transactions generate multiple streams of append-only traffic in parallel (apart by approximately 1 MB) HDD moves disk arm very frequently SSD has no negative effect from no in-place update limitation 800 Logical sector address (x1000) 700 600 500 400 300 200 100 0 0 100 200 300 400 500 600 Time (second) ACM SIGMOD, Vancouver Canada, June 2008 -23-
  • 24. MVCC Read Performance C … • To support MV read consistency, T1 T0 B A 100 50 A 100 A 200 I/O activities will increase A long chain of old versions may have T2 to be traversed for each access to a frequently updated object • Read requests are scattered 50 -> randomly 100 A: Rollback segment (2) Old versions of an object may be stored in several rollback segments With SSD, 10-fold read time reduction was not surprising 00 - 1 200 A: > Rollback segment (1) ACM SIGMOD, Vancouver Canada, June 2008 -24-
  • 25. Database Table Space SQL Queries System Buffer Cache Database Transaction Temporary Rollback Table space (Redo) Log Table Space Segments ACM SIGMOD, Vancouver Canada, June 2008 -25-
  • 26. Workload in Table Space • TPC-C workload Exhibit little locality and sequentiality • Mix of small/medium/large read-write, read-only (join) Highly skewed • ~80% of accesses to 20% of tuples • Write caching not as effective as read caching Physical read/write ratio is much lower that logical read/write ratio • All bad news for flash memory SSD Due to the No-in-place-update limitation In-Page Logging (IPL) approach [SIGMOD’07] ACM SIGMOD, Vancouver Canada, June 2008 -26-
  • 27. Concluding Remarks • Clear and present evidences that Flash memory SSD can co- exist or even replace Magnetic Disk Even now for logging, rollback segments and temp table spaces Write optimization needed for database table spaces • Flash-Aware DBMS Design is a must! Flash-friendly algorithms, flash-friendly implementations Need fresh new look at almost everything: Buffer management, B- trees, Sorting and Hashing, Self-Tuning, File Systems, etc. COMPUTER SCIENCE DEPARTMENT ACM SIGMOD, Vancouver Canada, June 2008 -27-