Block as a Value for SQL over NoSQL

被引:3
|
作者
Cao, Yang [1 ]
Fan, Wenfei [1 ,2 ,3 ]
Yuan, Tengfei [1 ]
机构
[1] Univ Edinburgh, Edinburgh, Midlothian, Scotland
[2] Beihang Univ, Beijing, Peoples R China
[3] Shenzhen Univ, SICS, Shenzhen, Guangdong, Peoples R China
来源
PROCEEDINGS OF THE VLDB ENDOWMENT | 2019年 / 12卷 / 10期
基金
英国工程与自然科学研究理事会;
关键词
D O I
10.14778/3339490.3339498
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
This paper presents Zidian, a middleware for key-value (KV) stores to speed up SQL query evaluation over NoSQL. As opposed to common practice that takes a tuple id or primary key as key and the entire tuple as value, Zidian proposes a block-as-a-value model BaaV. BaaV represents a relation as keyed blocks (k, B), where k is a key of a block (a set) B of partial tuples. We extend relational algebra to BaaV. We show that under BaaV, Zidian substantially reduces data access and communication cost. We provide characterizations (sufficient and necessary conditions) for (a) result-preserving queries, i.e., queries covered by available BaaV stores, (b) scan-free queries, i. e. , queries that can be evaluated without scanning any table, and (c) bounded queries, i.e., queries that can be answered by accessing a bounded amount of data. We show that in parallel processing, Zidian guarantees (a) no scans for scan-free queries, (b) bounded communication cost for bounded queries; and (c) parallel scalability, i.e., speed up when adding processors. Moreover, Zidian can be plugged into existing SQL-over-NoSQL systems and retains horizontal scalability. Using benchmark and real-life data, we empirically verify that Zidian improves existing SQL-over-NoSQL systems by 2 orders of magnitude on average.
引用
收藏
页码:1153 / 1166
页数:14
相关论文
共 50 条
  • [1] Automatic SQL-to-NoSQL Schema Transformation over the MySQL and HBase Databases
    Lee, Chao-Hsien
    Zheng, Yu-Lin
    [J]. 2015 IEEE INTERNATIONAL CONFERENCE ON CONSUMER ELECTRONICS - TAIWAN (ICCE-TW), 2015, : 426 - 427
  • [2] Automated Tool for NoSQL to SQL Migration
    Khan, Shafaq
    Kalia, Ajish
    Dastjerdi, Haleh M.
    Nizamuddin, Nishara
    [J]. 2022 7TH INTERNATIONAL CONFERENCE ON INFORMATION SYSTEMS ENGINEERING, ICISE 2022, 2022, : 20 - 23
  • [3] Migration from an SQL to a hybrid SQL/NoSQL data model
    Sokolova, Marina, V
    Gomez, Francisco J.
    Borisoglebskaya, Larisa N.
    [J]. JOURNAL OF MANAGEMENT ANALYTICS, 2020, 7 (01) : 1 - 11
  • [4] A Method of SQL Processing Data in NoSQL
    Pan, Wumin
    [J]. PROCEEDINGS OF THE 2ND INTERNATIONAL CONFERENCE ON SOFT COMPUTING IN INFORMATION COMMUNICATION TECHNOLOGY, 2014, : 213 - 215
  • [5] Labeled property graphs: SQL or NoSQL?
    Anikin, Dmitry
    Borisenko, Oleg
    Nedumov, Yaroslav
    [J]. 2019 IVANNIKOV MEMORIAL WORKSHOP (IVMEM 2019), 2019, : 7 - 13
  • [6] A performance comparison of SQL and NoSQL databases
    Li, Yishan
    Manoharan, Sathiamoorthy
    [J]. 2013 IEEE PACIFIC RIM CONFERENCE ON COMMUNICATIONS, COMPUTERS AND SIGNAL PROCESSING (PACRIM), 2013, : 15 - 19
  • [7] Scalable SQL and NoSQL Data Stores
    Cattell, Rick
    [J]. SIGMOD RECORD, 2010, 39 (04) : 12 - 27
  • [8] Sitewit corporation: SQL Or NoSQL? That is the question!
    Berndt D.
    Lasa R.
    Mccart J.
    [J]. Journal of Information Technology Education: Discussion Cases, 2017, 6 (01) : 1 - 22
  • [9] Zur Nutzung von SQL- und NoSQL-TechnologienThe Use of SQL- and NoSQL-Technologies
    Andreas Meier
    [J]. HMD Praxis der Wirtschaftsinformatik, 2016, 53 (4) : 415 - 427
  • [10] Assessing Peer Correction of SQL and NoSQL Queries
    Wu, Wensheng
    [J]. PROCEEDINGS OF THE 54TH ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION, VOL 1, SIGCSE 2023, 2023, : 535 - 541