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

混合存储数据库的存储顾问

A Storage Advisor for Hybrid-Store Databases

Philipp Rösch, Lars Dannecker, Gregor Hackenbroich, Franz Faerber

摘要:

借助SAP HANA数据库,SAP提供了一个高性能的内存混合存储数据库。混合存储数据库--即支持面向行和面向列的数据管理的数据库--正变得越来越突出。虽然列式管理提供了分析大量数据的高性能功能,但面向行的存储可以更有效地处理事务点查询以及插入和更新。为了同时有效地利用这两种存储,出现了一个新的问题,即是面向行还是面向列存储给定的数据。我们使用存储顾问工具来解决这个问题,该工具支持数据库管理员做出这一决定。我们提出的存储顾问建议基于数据和查询特征的最佳存储;其核心是一个成本模型,用于估计和比较不同存储的查询执行时间。除了按表决策之外,我们的工具还考虑对数据进行水平和垂直分区并管理不同存储上的分区。我们评估了存储顾问在SAP HANA数据库中的使用情况;我们展示了建议的质量以及将数据存储在最佳存储中对于提高查询性能的好处。

英文摘要:

With the SAP HANA database, SAP offers a high-performance in-memory hybrid-store database. Hybrid-store databases---that is, databases supporting row- and column-oriented data management---are getting more and more prominent. While the columnar management offers high-performance capabilities for analyzing large quantities of data, the row-oriented store can handle transactional point queries as well as inserts and updates more efficiently. To effectively take advantage of both stores at the same time the novel question whether to store the given data row- or column-oriented arises. We tackle this problem with a storage advisor tool that supports database administrators at this decision. Our proposed storage advisor recommends the optimal store based on data and query characteristics; its core is a cost model to estimate and compare query execution times for the different stores. Besides a per-table decision, our tool also considers to horizontally and vertically partition the data and manage the partitions on different stores. We evaluated the storage advisor for the use in the SAP HANA database; we show the recommendation quality as well as the benefit of having the data in the optimal store with respect to increased query performance.

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

↑