arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1810.01037cs.DB
收藏

基于Cassandra的异构查询

Heterogeneous Replica for Query on Cassandra

Jialin Qiao, Xiangdong Huang, Lei Rui, Jianmin Wang

摘要:

Cassandra是一种流行的结构化存储系统,具有高性能、可扩展性和高可用性,通常用于存储具有某些可排序属性的数据。在部署和配置Cassandra时,设计一个合适的列族模式以加速目标查询是很重要的。然而,一个模式只适用于一部分查询,并留下高延迟的其他查询。在本文中,我们提出了一种新的副本机制,称为异构副本,大大减少查询延迟,同时确保高的写吞吐量和数据恢复。通过这种副本机制,不同的副本具有相同的数据集,但在磁盘上具有不同的序列化。通过在Cassandra上实现异构副本机制,我们证明了在TPC-H数据集上Cassandra的读性能可以提高两个数量级。

英文摘要:

Cassandra is a popular structured storage system with high-performance, scalability and high availability, and is usually used to store data that has some sortable attributes. When deploying and configuring Cassandra, it is important to design a suitable schema of column families for accelerating the target queries. However, one schema is only suitable for a part of queries, and leaves other queries with high latency. In this paper, we propose a new replica mechanism, called heterogeneous replica, to reduce the query latency greatly while ensuring high write throughput and data recovery. With this replica mechanism, different replica has the same dataset while having different serialization on disk. By implementing the heterogeneous replica mechanism on Cassandra, we show that the read performance of Cassandra can be improved by two orders of magnitude with TPC-H data set.

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

↑