SteelDB:云OLTP数据库中内核空间瓶颈的诊断
SteelDB: Diagnosing Kernel-Space Bottlenecks in Cloud OLTP Databases
AI总结:
本文通过分析云数据库中内核空间I/O行为,发现传统架构中归因于网络或存储的瓶颈实为内核空间所致。SteelDB通过零补丁架构优化I/O,实现性能提升与成本降低。
摘要:
现代云OLTP数据库主要通过用户空间优化提升性能,如分离存储与计算层或分布事务。本文转向研究未被探索的内核空间I/O行为。通过分析依赖操作系统级I/O控制的数据库,发现瓶颈源于内核空间I/O。基于此,提出SteelDB,通过战略I/O优化提升云分布式块存储性能,无需内核或数据库补丁。TPC-C测试显示,SteelDB在无额外成本下实现9倍性能提升,相比Amazon Aurora,性能更高且成本降低58%,总体成本效率提升7.3倍。Aurora升级需平均254天,而SteelDB几乎消除软件维护成本。
英文摘要:
Modern cloud OLTP databases have sought performance primarily through user-space optimization - separating storage and compute layers, or distributing transactions across multiple nodes using consensus algorithms. This paper turns attention to a previously unexplored layer: kernel-space I/O behavior. From an on-premises perspective, where a single server with local storage delivers excellent performance, these elaborate designs seem puzzling. Why do cloud databases require such architectural complexity? We investigate this through a pathological analysis of databases that rely on OS-level I/O control in cloud-specific storage environments. We show that bottlenecks widely attributed to network or storage architectures in fact originate in kernel-space I/O behavior. Based on this diagnosis, we derive treatment principles and realize them as SteelDB, a zero-patch architecture that improves database performance on general-purpose cloud distributed block storage through strategic I/O optimization without requiring kernel or database patches. TPC-C evaluations demonstrate that SteelDB achieves up to 9x performance improvement at no additional cost. Against Amazon Aurora, SteelDB achieved 3.1x higher performance while reducing costs by 58%, leading to a 7.3x improvement in cost efficiency. While Aurora requires an average of 254 days for major version upgrades due to applying proprietary patches to newly released OSS databases, our zero-patch architecture reduces these software maintenance costs to near zero.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。