|
ABSTRACT
FlashDB is a self-tuning database optimized for sensor networks using NAND flash storage. In practical systems flash is used in different packages such as on-board flash chips, compact flash cards, secure digital cards and related formats. Our experiments reveal non-trivial differences in their access costs. Furthermore, databases may be subject to different types of workloads. We show that existing databases for flash are not optimized for all types of flash devices or for all workloads and their performance is thus suboptimal in many practical systems. FlashDB uses a novel self-tuning index that dynamically adapts its storage structure to workload and underlying storage device. We formalize the self-tuning nature of an index as a two-state task system and propose a 3-competitive online algorithm that achieves the theoretical optimum. We also provide a framework to determine the optimal size of an index node that minimizes energy and latency for a given device. Finally, we propose optimizations to further improve the performance of our index. We prototype and compare different indexing schemes on multiple flash devices and workloads, and show that our indexing scheme outperforms existing schemes under all workloads and flash devices we consider.
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
|
AZAR, Y., FEIGE, U., AND NATH, S. On the work function algorithm for two state task systems. Tech. Rep. MSR-TR-2007-20, Microsoft Corporation, February 2007.
|
| |
2
|
BLACK, D. L., AND SLEATOR, D. D. Competitive algorithms for replication and migration problems. Tech. Rep. CMU-CS-89-201, Carnegie Mellon University, 1989.
|
 |
3
|
|
| |
4
|
BURKE, J., ESTRIN, D., HANSEN, M., PARKER, A., RAMANATHAN, N., REDDY, S., AND SRIVASTAVA, M. B. Participatory sensing. In ACM Sensys Workshop on World-Sensor-Web (2006).
|
 |
5
|
|
 |
6
|
|
| |
7
|
DIAO, Y., GANESAN, D., MATHUR, G., AND SHENOY, P. Re-thinking data management for storage-centric sensor networks. In Third Biennial Conference on Innovative Data Systems Research (CIDR), Asilomar (January 2007).
|
 |
8
|
Lewis Girod , Martin Lukac , Vlad Trifa , Deborah Estrin, The design and implementation of a self-calibrating distributed acoustic sensing platform, Proceedings of the 4th international conference on Embedded networked sensor systems, October 31-November 03, 2006, Boulder, Colorado, USA
[doi> 10.1145/1182807.1182815]
|
 |
9
|
|
 |
10
|
Bret Hull , Vladimir Bychkovsky , Yang Zhang , Kevin Chen , Michel Goraczko , Allen Miu , Eugene Shih , Hari Balakrishnan , Samuel Madden, CarTel: a distributed mobile sensor computing system, Proceedings of the 4th international conference on Embedded networked sensor systems, October 31-November 03, 2006, Boulder, Colorado, USA
[doi> 10.1145/1182807.1182821]
|
| |
11
|
INTEL. Intel mote 2. http://www.intel.com/research/downloads/imote overview.pdf.
|
| |
12
|
KANSAL, A., XIAO, L., AND ZHAO, F. Relevance metrics for coverage extension using community collected cell-phone camera imagery. In ACM Sensys Workshop on World-Sensor-Web: Mobile Device Centric Sensor Networks and Applications (October 2006), pp. 12--16.
|
| |
13
|
|
 |
14
|
Gaurav Mathur , Peter Desnoyers , Deepak Ganesan , Prashant Shenoy, Capsule: an energy-optimized object storage system for memory-constrained sensor devices, Proceedings of the 4th international conference on Embedded networked sensor systems, October 31-November 03, 2006, Boulder, Colorado, USA
[doi> 10.1145/1182807.1182827]
|
| |
15
|
MICROSOFT. "sql server 2005 everywhere edition". http://www.microsoft.com/sql/ctp sqlserver2005everywhereedition.mspx.
|
| |
16
|
NATH, S., AND KANSAL, A. Flashdb: Dynamic self-tuning database for nand flash. Tech. Rep. MSR-TR-2006-168, Microsoft Corporation, 2006.
|
| |
17
|
Richard Pon , Maxim A. Batalin , Jason Gordon , Aman Kansal , Duo Liu , Mohammad Rahimi , Lisa Shirachi , Yan Yu , Mark Hansen , William J. Kaiser , Mani Srivastava , Gaurav Sukhatme , Deborah Estrin, Networked infomechanical systems: a mobile embedded networked sensor platform, Proceedings of the 4th international symposium on Information processing in sensor networks, April 24-27, 2005, Los Angeles, California
|
 |
18
|
|
| |
19
|
SAMSUNG. Samsung K9K1G08R0B 128M x 8 bit NAND Flash Memeory.
|
| |
20
|
|
| |
21
|
WU, C.-H., CHANG, L.-P., AND KUO, T.-W. An efficient b-tree layer for flash-memory storage systems. In RTCSA (2003).
|
| |
22
|
Demetrios Zeinalipour-Yazti , Song Lin , Vana Kalogeraki , Dimitrios Gunopulos , Walid A. Najjar, Microhash: an efficient index structure for fash-based sensor devices, Proceedings of the 4th conference on USENIX Conference on File and Storage Technologies, p.3-3, December 13-16, 2005, San Francisco, CA
|
 |
23
|
Pei Zhang , Christopher M. Sadler , Stephen A. Lyon , Margaret Martonosi, Hardware design experiences in ZebraNet, Proceedings of the 2nd international conference on Embedded networked sensor systems, November 03-05, 2004, Baltimore, MD, USA
[doi> 10.1145/1031495.1031522]
|
CITED BY 16
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Niloy Mukherjee , Bharath Aleti , Amit Ganesh , Krishna Kunchithapadam , Scott Lynn , Sujatha Muthulingam , Kam Shergill , Shaoyu Wang , Wei Zhang, Oracle SecureFiles System, Proceedings of the VLDB Endowment, v.1 n.2, August 2008
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Dushyanth Narayanan , Eno Thereska , Austin Donnelly , Sameh Elnikety , Antony Rowstron, Migrating server storage to SSDs: analysis of tradeoffs, Proceedings of the fourth ACM european conference on Computer systems, April 01-03, 2009, Nuremberg, Germany
|
|
|
Hassen Redwan , Md. Aminul Haque Chowdhury , Muhammad Ikram , Ki-Hyung Kim, Survey of indexing schemes for information retrieval on flash memory based wireless sensor networks, Proceedings of the 2009 conference on Information Science, Technology and Applications, March 20-22, 2009, Kuwait, Kuwait
|
|
|
|
|
|
|
|