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 条
  • [1] Reasearch on Database Schema Comparison of Relational Databases and Key-value Stores
    Zhou, Peng
    Li, Mei
    Huang, Jing
    Fang, Hua
    [J]. MODERN TECHNOLOGIES IN MATERIALS, MECHANICS AND INTELLIGENT SYSTEMS, 2014, 1049 : 1860 - 1863
  • [2] An extra spatial hierarchical schema in key-value store
    Kun Zheng
    Kang Zheng
    Falin Fang
    Miao Zhang
    Qi Li
    Yanghui Wang
    Wenyu Zhao
    [J]. Cluster Computing, 2019, 22 : 6483 - 6497
  • [3] An extra spatial hierarchical schema in key-value store
    Zheng, Kun
    Zheng, Kang
    Fang, Falin
    Zhang, Miao
    Li, Qi
    Wang, Yanghui
    Zhao, Wenyu
    [J]. CLUSTER COMPUTING-THE JOURNAL OF NETWORKS SOFTWARE TOOLS AND APPLICATIONS, 2019, 22 (Suppl 3): : S6483 - S6497
  • [4] Transactional Multi-row Access Guarantee in the Key-value Store
    Wang, Yaoguang
    Lu, Weiming
    Wei, Baogang
    [J]. 2012 IEEE INTERNATIONAL CONFERENCE ON CLUSTER COMPUTING (CLUSTER), 2012, : 572 - 575
  • [5] A Comparative Study of Relational Database and Key-Value Database for Big Data Applications
    Puangsaijai, Wittawat
    Puntheeranurak, Sutheera
    [J]. 2017 INTERNATIONAL ELECTRICAL ENGINEERING CONGRESS (IEECON), 2017,
  • [6] FoundationDB: A Distributed Key-Value Store
    Zhou, Jingyu
    Xu, Meng
    Shraer, Alexander
    Namasivayam, Bala
    Miller, Alex
    Tschannen, Evan
    Atherton, Steve
    Beamon, Andrew J.
    Sears, Rusty
    Leach, John
    Rosenthal, Dave
    Dong, Xin
    Wilson, Will
    Collins, Ben
    Scherer, David
    Grieser, Alec
    Liu, Yang
    Moore, Alvin
    Muppana, Bhaskar
    Su, Xiaoge
    Yadav, Vishesh
    [J]. COMMUNICATIONS OF THE ACM, 2023, 66 (06) : 97 - 105
  • [7] RepKV: A Replicated Key-Value Store to Boost Multiple Indices for Key-Value Separation
    Tang, Chenlei
    Wan, Jiguang
    Tan, Zhihu
    Li, Guokuan
    [J]. 2022 IEEE 40TH INTERNATIONAL CONFERENCE ON COMPUTER DESIGN (ICCD 2022), 2022, : 187 - 194
  • [8] Monkey: Optimal Navigable Key-Value Store
    Dayan, Niv
    Athanassoulis, Manos
    Idreos, Stratos
    [J]. SIGMOD'17: PROCEEDINGS OF THE 2017 ACM INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2017, : 79 - 94
  • [9] HyperDex: A Distributed, Searchable Key-Value Store
    Escriva, Robert
    Wong, Bernard
    Sirer, Emin Guen
    [J]. ACM SIGCOMM COMPUTER COMMUNICATION REVIEW, 2012, 42 (04) : 25 - 36
  • [10] Key-Value Store Implementations for Arduino Microcontrollers
    Fazackerley, Scott
    Huang, Eric
    Douglas, Graeme
    Kudlac, Raffi
    Lawrence, Ramon
    [J]. 2015 IEEE 28TH CANADIAN CONFERENCE ON ELECTRICAL AND COMPUTER ENGINEERING (CCECE), 2015, : 158 - 164