ACM Home Page
Please provide us with feedback. Feedback
FlashLogging: exploiting flash devices for synchronous logging performance
Full text PdfPdf (740 KB)
Source
International Conference on Management of Data archive
Proceedings of the 35th SIGMOD international conference on Management of data table of contents
Providence, Rhode Island, USA
SESSION: Research session 2: databases on modern hardware table of contents
Pages 73-86  
Year of Publication: 2009
ISBN:978-1-60558-551-2
Author
Shimin Chen  Intel Research Pittsburgh, Pittsburgh, PA, USA
Sponsors
ACM: Association for Computing Machinery
SIGMOD: ACM Special Interest Group on Management of Data
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 58,   Downloads (12 Months): 262,   Citation Count: 0
Additional Information:

abstract   references   index terms  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1559845.1559855
What is a DOI?

ABSTRACT

Synchronous transactional logging is the central mechanism for ensuring data persistency and recoverability in database systems. Unfortunately, magnetic disks are ill-suited for the small sequential write pattern of synchronous logging. Alternative solutions (e.g., backup servers or sophisticated battery-backed write caches in high-end disk arrays) are either expensive or complicated.

In this paper, we exploit flash devices for synchronous logging based on the observation that flash devices support small sequential writes well. Comparing a wide variety of flash devices, we find that USB flash drives are a good match for this task because of its unique characteristics: widely available USB ports, hot-plug capability useful for coping with flash wear, and low price so that multiple drives are affordable. We propose FlashLogging, a logging solution that exploits multiple (USB) flash drives for synchronous logging. We identify and address four challenges: (i) efficiently exploiting multiple flash drives for logging; (ii) coping with the large variance of write latencies because of device erasure operations; (iii) efficient recovery processing; and (iv) combining flash drives and disks for better logging and recovery performance. We implemented our solution within MySQL-InnoDB. Our real machine experiments running online transaction processing workloads (TPCC) show that FlashLogging achieves up to 5.7X improvements over magnetic-disk-based logging, and obtains up to 98.6% of the ideal performance. We further compare our design with one that uses Solid-State Drives (SSDs), and find that although SSDs improve logging performance, multiple USB flash drives can achieve comparable or better performance with much lower price.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

1
 
2
 
3
L. Bouganim, B. T. Jónsson, and P. Bonnet. uFLIP: Understanding ash io patterns. In CIDR, 2009.
4
5
 
6
Chris Mellor. Faster usb 3.0 is coming. http://www.pcworld.com/article/137551/.
 
7
8
9
10
11
 
12
13
 
14
 
15
Intel X25-M 80GB SATA Solid State Drive, Intel Ups The Ante. http://hothardware.com/Articles/Intel-X25M-80GB-SATA-Solid-State-Drive-Intel-Ups-The-Ante/?page=2.
 
16
Intel X25-M and X18-M Mainsteam SATA Solid State Drives. http://download.intel.com/design/ ash/nand/mainstream/mainstream-sata-ssd-product-brief.pdf.
 
17
D. Kline and N. Pilaka. An overview of transactional logging in db2 universal database. http://www.ibm.com/developerworks/db2/library/techarticle/0301kline/0301kline.html.
 
18
19
20
21
 
22
Microsoft Corp. Sql server 7.0, sql server 2000, and sql server 2005 logging and data storage algorithms. http://support.microsoft.com/kb/230785.
 
23
 
24
25
 
26
 
27
Oracle Corp. Oracle database administrator's guide 10g release 1 (chapter 6. managing the redo log). Part Number B10739-01.
 
28
OSDL DBT2. http://sourceforge.net/projects/osdldbt.
 
29
V. Prabhakaran, T. L. Rodeheffer, and L. Zhou. Transactional ash. In OSDI, 2008.
30
 
31
Samsung Electronics. Onenand specification. http://www.samsung.com.
32
 
33
 
34
Transaction Processing Performance Council. TPC-C benchmark. http://www.tpc.org/tpcc/.
 
35
V. Vasudevan, J. Franklin, D. Andersen, A. Phanishayee, L. Tan, M. Kaminsky, and I. Moraru. Fawndamentally power-efficient clusters. In HotOS, 2009.
36