面向数据表与数据库的整体集成:一种用于表示数据管理的可扩展存储引擎
Towards a Holistic Integration of Spreadsheets with Databases: A Scalable Storage Engine for Presentational Data Management
摘要:
电子表格软件是交互式临时数据管理的首选工具,已被数十亿用户采用。然而,与数据库系统不同,电子表格是不可伸缩的。另一方面,数据库系统虽然具有高度可伸缩性,但不支持作为第一级原语的交互性。我们正在开发DataSpread,将电子表格作为前端接口与数据库作为后端接口进行整体集成,为电子表格提供可扩展性,并与数据库进行交互,我们将这种集成称为表示数据管理(PDM)。在本文中,我们朝着这个愿景迈出了第一步:开发一个存储引擎的PDM,研究如何灵活地表示数据库中的电子表格数据,以及如何支持和维护访问的位置。我们首先进行了广泛的调查,电子表格的使用,以激励我们的功能需求的存储引擎的PDM。我们开发了一套自然的机制,灵活地表示电子表格数据,并证明,确定最佳的表示是NP难的,但是,我们开发了一种有效的方法来确定最佳的表示从一个重要的和直观的子类表示。我们扩展我们的机制,位置访问机制,不遭受级联更新问题,导致恒定的时间访问和修改性能。我们在典型的电子表格和电子表格操作的工作负载上对这些表示进行了评估,存储减少了20%,公式评估时间减少了50%。
英文摘要:
Spreadsheet software is the tool of choice for interactive ad-hoc data management, with adoption by billions of users. However, spreadsheets are not scalable, unlike database systems. On the other hand, database systems, while highly scalable, do not support interactivity as a first-class primitive. We are developing DataSpread, to holistically integrate spreadsheets as a front-end interface with databases as a back-end datastore, providing scalability to spreadsheets, and interactivity to databases, an integration we term presentational data management (PDM). In this paper, we make a first step towards this vision: developing a storage engine for PDM, studying how to flexibly represent spreadsheet data within a database and how to support and maintain access by position. We first conduct an extensive survey of spreadsheet use to motivate our functional requirements for a storage engine for PDM. We develop a natural set of mechanisms for flexibly representing spreadsheet data and demonstrate that identifying the optimal representation is NP-Hard; however, we develop an efficient approach to identify the optimal representation from an important and intuitive subclass of representations. We extend our mechanisms with positional access mechanisms that don't suffer from cascading update issues, leading to constant time access and modification performance. We evaluate these representations on a workload of typical spreadsheets and spreadsheet operations, providing up to 20% reduction in storage, and up to 50% reduction in formula evaluation time.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。