A Relational Database Schema on the Transactional Key-Value Store Scalaris

被引:0
|
作者
Kruber, Nico [1 ]
Schintke, Florian [1 ]
Berlin, Michael
机构
[1] Zuse Inst Berlin, Berlin, Germany
关键词
scalable data model; relational schema; key-value store; P2P; DHT; Wikipedia; horizontal scalability;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Distributed key-value stores are horizontally scalable by design. However, structured data with links between values may raise hotspots or bottlenecks caused by popular keys and large index objects. These hotspots typically reduce the scalability of the key-value store, especially for operations changing data. Relational database management systems, on the other hand, are designed to handle relational data efficiently, but generally do not scale horizontally in a cost-efficient way. Combining the best of both worlds, would be great. With a wiki as a demonstrator, we map a relational database schema to a distributed transactional key-value store. This includes solutions for typical constraints key-value stores impose on applications due to their limited query expressibility. It also includes the mapping of dependent tables and secondary indices to a single key-value namespace. We evaluate and identify hotspots and bottlenecks and propose improved mappings. We reduce the effects of the most prominent hotspots, i.e. secondary indices, by applying advanced partitioning schemes which both reduce the size of the indices and allow more concurrent write accesses in transactional contexts. These optimisations are generic and help to map relational schemas and corresponding applications to transactional key-value stores in a way to preserve their horizontal scalability. With our data models for key-value stores, we get the best of two worlds for the wiki application: a horizontally scalable database serving a moderately complex relational schema. Our optimisations give up to 96% fewer transaction aborts for data change operations and an up to 25-fold latency improvement for the overall operations mix, i.e. reading, changing, and creating data, compared to the basic mapping, when replaying an access trace of the Wikipedia on our system.
引用
收藏
页数:9
相关论文
共 50 条
  • [41] Pantheon: Private Retrieval from Public Key-Value Store
    Ahmad, Ishtiyaque
    Agrawal, Divyakant
    El Abbadi, Amr
    Gupta, Trinabh
    [J]. PROCEEDINGS OF THE VLDB ENDOWMENT, 2022, 16 (04): : 643 - 656
  • [42] SKV: A SmartNIC-Offloaded Distributed Key-Value Store
    Sun, Shangyi
    Zhang, Rui
    Yan, Ming
    Wu, Jie
    [J]. 2022 IEEE INTERNATIONAL CONFERENCE ON CLUSTER COMPUTING (CLUSTER 2022), 2022, : 1 - 11
  • [43] Generalization and Implementation of RAM-Based Key-Value Store
    Tian, Tian
    Zhang, Chengfei
    Yu, Kai
    Zhang, Yiming
    Zhong, Ping
    [J]. 2016 INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE & COMPUTATIONAL INTELLIGENCE (CSCI), 2016, : 1412 - 1413
  • [44] A Multicore-Friendly Persistent Memory Key-Value Store
    Wang, Qing
    Zhu, Bohong
    Shu, Jiwu
    [J]. Jisuanji Yanjiu yu Fazhan/Computer Research and Development, 2021, 58 (02): : 397 - 405
  • [45] Rethinking key-value store for parallel I/O optimization
    Kougkas, Anthony
    Eslami, Hassan
    Sun, Xian-He
    Thakur, Rajeev
    Gropp, William
    [J]. INTERNATIONAL JOURNAL OF HIGH PERFORMANCE COMPUTING APPLICATIONS, 2017, 31 (04): : 335 - 356
  • [46] FASTER: A Concurrent Key-Value Store with In-Place Updates
    Chandramouli, Badrish
    Prasaad, Guna
    Kossmann, Donald
    Levandoski, Justin
    Hunter, James
    Barnett, Mike
    [J]. SIGMOD'18: PROCEEDINGS OF THE 2018 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2018, : 275 - 290
  • [47] A New Embedded Key-Value Store for NVM Device Simulator
    Cai, Tao
    He, Qingjian
    Niu, Dejiao
    Chen, Fuli
    Wang, Jie
    Li, Lei
    [J]. MICROMACHINES, 2020, 11 (12) : 1 - 18
  • [48] A Custom Key-Value Store Hardware on FPGA for IPsec Protocol
    Benli, Murat
    Ozcan, Erdem
    Tureli, Ufuk
    [J]. 2020 12TH INTERNATIONAL CONFERENCE ON ELECTRICAL AND ELECTRONICS ENGINEERING (ELECO), 2020, : 150 - 154
  • [49] A Fast Learned Key-Value Store for Concurrent and Distributed Systems
    Li, Pengfei
    Hua, Yu
    Jia, Jingnan
    Zuo, Pengfei
    [J]. IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2024, 36 (06) : 2301 - 2315
  • [50] Building an Efficient Key-Value Store in a Flexible Address Space
    Chen, Chen
    Zhong, Wenshao
    Wu, Xingbo
    [J]. PROCEEDINGS OF THE SEVENTEENTH EUROPEAN CONFERENCE ON COMPUTER SYSTEMS (EUROSYS '22), 2022, : 51 - 68