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

单节点高速多维传感器数据的摄取、索引和检索

Ingestion, Indexing and Retrieval of High-Velocity Multidimensional Sensor Data on a Single Node

Juan A. Colmenares, Reza Dorrigiv, Daniel G. Waddington

摘要:

多维数据正变得越来越普遍,部分原因是物联网(IoT)的兴起,以及以比以前更高的速率摄取和分析数据流的需求。一些工业物联网应用程序需要每秒摄取数百万条记录,同时处理最近摄取和历史数据的查询。不幸的是,现有的数据库系统适合于多维数据表现出低的每节点摄取性能,即使他们可以在分布式设置中水平扩展,他们需要大量的节点,以满足这样的摄取需求。出于这个原因,在本文中,我们评估一个单节点的多维数据存储的高速传感器数据。它的设计围绕两级索引结构,其中全局索引是内存中的R * 树,局部索引是序列化的kd树。本研究仅限于具有数值索引字段和范围查询的记录,并涵盖摄取吞吐量、查询响应时间和存储占用。我们表明,所采用的设计简化了数据摄取,并提供比Percona Server,SQLite和Druid高两个数量级的入口率。我们的原型还报告查询响应时间可比或优于Percona服务器和Druid,并比较有利的存储占用方面。此外,我们评估一个kd树分区为基础的计划分组传入流数据记录。与随机方案相比,该方案在流记录组之间产生较少的重叠,但与我们预期的相反,这种减少的重叠并没有转化为更好的查询性能。相比之下,本地索引证明对查询性能更有益。我们相信,本文中报告的经验是有价值的从业者和研究人员都有兴趣在高速多维数据构建数据库系统。

英文摘要:

Multidimensional data are becoming more prevalent, partly due to the rise of the Internet of Things (IoT), and with that the need to ingest and analyze data streams at rates higher than before. Some industrial IoT applications require ingesting millions of records per second, while processing queries on recently ingested and historical data. Unfortunately, existing database systems suited to multidimensional data exhibit low per-node ingestion performance, and even if they can scale horizontally in distributed settings, they require large number of nodes to meet such ingest demands. For this reason, in this paper we evaluate a single-node multidimensional data store for high-velocity sensor data. Its design centers around a two-level indexing structure, wherein the global index is an in-memory R*-tree and the local indices are serialized kd-trees. This study is confined to records with numerical indexing fields and range queries, and covers ingest throughput, query response time, and storage footprint. We show that the adopted design streamlines data ingestion and offers ingress rates two orders of magnitude higher than those of Percona Server, SQLite, and Druid. Our prototype also reports query response times comparable to or better than those of Percona Server and Druid, and compares favorably in terms of storage footprint. In addition, we evaluate a kd-tree partitioning based scheme for grouping incoming streamed data records. Compared to a random scheme, this scheme produces less overlap between groups of streamed records, but contrary to what we expected, such reduced overlap does not translate into better query performance. By contrast, the local indices prove much more beneficial to query performance. We believe the experience reported in this paper is valuable to practitioners and researchers alike interested in building database systems for high-velocity multidimensional data.

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

↑