arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1207.0140cs.DB
收藏

LogBase:一个可扩展的云日志结构数据库系统

LogBase: A Scalable Log-structured Database System in the Cloud

Hoang Tam Vo, Sheng Wang, Divyakant Agrawal, Gang Chen, Beng Chin Ooi

摘要:

许多应用,例如金融交易(例如,股票交易)在性质上是重写的。近年来,Web应用程序中从读到写的转变也在加速。在大多数存储系统中,预写日志记录是提供恢复能力同时提高性能的常用方法。然而,日志和应用程序数据的分离会导致在写入繁重的环境中观察到的写入开销,并因此对系统中的写入吞吐量和恢复时间产生不利影响。在本文中,我们介绍了LogBase -一个可扩展的日志结构的数据库系统,采用日志存储消除写瓶颈,并支持快速的系统恢复。LogBase被设计为动态部署在商品集群上,以利用云环境的弹性伸缩特性。LogBase提供了内存中的多版本索引,以支持对日志中维护的数据的有效访问。LogBase还支持跨多个记录绑定读写操作的事务。我们实现了所提出的系统,并将其与HBase和基于磁盘的日志结构的面向记录的系统RAMCloud建模。实验结果表明,LogBase能够提供持续的写吞吐量,高效的数据访问出缓存,有效的系统恢复。

英文摘要:

Numerous applications such as financial transactions (e.g., stock trading) are write-heavy in nature. The shift from reads to writes in web applications has also been accelerating in recent years. Write-ahead-logging is a common approach for providing recovery capability while improving performance in most storage systems. However, the separation of log and application data incurs write overheads observed in write-heavy environments and hence adversely affects the write throughput and recovery time in the system. In this paper, we introduce LogBase - a scalable log-structured database system that adopts log-only storage for removing the write bottleneck and supporting fast system recovery. LogBase is designed to be dynamically deployed on commodity clusters to take advantage of elastic scaling property of cloud environments. LogBase provides in-memory multiversion indexes for supporting efficient access to data maintained in the log. LogBase also supports transactions that bundle read and write operations spanning across multiple records. We implemented the proposed system and compared it with HBase and a disk-based log-structured record-oriented system modeled after RAMCloud. The experimental results show that LogBase is able to provide sustained write throughput, efficient data access out of the cache, and effective system recovery.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑