BESS: bounded evaluation SQL systems
dc.contributor.advisor
Fan, Wenfei
dc.contributor.advisor
Libkin, Leonid
dc.contributor.author
Yuan, Tengfei
dc.date.accessioned
2025-02-07T11:09:38Z
dc.date.available
2025-02-07T11:09:38Z
dc.date.issued
2022-07-11
dc.description.abstract
It could be prohibitively costly to query big relations, even with the power of parallel processing on clusters containing thousands of machines. The tremendous resource burden drives us to find an alternative method to answer big datasets, which need to be affordable for small businesses and lightweight software. The theory of bounded evaluation could reduce queries on big data to computations on small data. It advocates an unconventional query evaluation paradigm under an access schema A, a combination of cardinality constraints and associated indices. For practical use to emerge from the work, it is urgent to design a database system with bounded evaluation capacity.
Firstly, the thesis proposes the design and framework of bounded evaluation systems named BESS. The framework is conducted by two workflows, online query processing and offline access schema management. Its unique features are discussed, which differ from the framework paradigm and conventional database systems. Besides, the thesis shows the feasibility of the framework with two implementation variants. The challenges and advantages of each approach are discussed during the comparison of the workflows.
Secondly, the thesis presents a prototype named BEAS, targeting traditional DBMS. Under this prototype, the thesis proposes the algorithms for online query processing, from checking bounded evaluability to generating bounded query plans. Moreover, the thesis extends bounded evaluation to RAaggr (RA with aggregation) queries under bag semantics to make the prototype more practical in real-life circumstances.
Thirdly, the thesis presents another prototype, named Zidian, based on KV stores to speed up SQL query evaluation over NoSQL. As the foundation, the thesis proposes a block-as-a-value data (BaaV) model and its corresponding relational algebra on this prototype. Beyond the bounded evaluation, the thesis studies scan-free data access. Also, the thesis studies the query evaluation process, which verified that Zidian substantially reduces data access and communication cost. Moreover, Zidian could be plugged into existing SQL-over-NoSQL systems while retaining horizontal scalability.
Finally, to make the framework more practical, the thesis studies the problem of schema discovery for BESS. In the form of a schema selection problem for the BaaV model, the thesis presents a full treatment to generate schema for parametric SQL queries over keyed blocks on KV stores. The thesis develops and verifies the framework and criteria for the schema selection problem, considering both storage and computation. Meanwhile, the thesis presents practical algorithms for selection that guarantees certain optimality under practical conditions.
en
dc.identifier.uri
https://hdl.handle.net/1842/43089
dc.identifier.uri
http://dx.doi.org/10.7488/era/5634
dc.language.iso
en
en
dc.publisher
The University of Edinburgh
en
dc.relation.hasversion
CAO, Yang ; FAN, Wenfei ; WANG, Yanghao ; YUAN, Tengfei ; LI, Yanchao ; CHEN, Laura Y.: BEAS: bounded evaluation of SQL queries. In: Proceedings of the 2017 ACM International Conference on Management of Data, 2017, S. 1667–1670
en
dc.relation.hasversion
CAO, Yang ; FAN,Wenfei ; YUAN, Tengfei: Block as a Value for SQL over NoSQL. In: Proceedings of the VLDB Endowment 12 (2019), Nr. 10, S. 1153–1166
en
dc.relation.hasversion
CAO, Yang ; FAN, Wenfei ; YUAN, Tengfei: Bounded Evaluation: Querying Big Data with Bounded Resources. In: International Journal of Automation and Computing 17 (2020), Nr. 4, S. 502–526
en
dc.subject
bounded evaluation systems
en
dc.subject
BESS
en
dc.subject
DBMS
en
dc.subject
parametric SQL queries over keyed blocks on KV stores
en
dc.subject
SQL query evaluation over NoSQL
en
dc.title
BESS: bounded evaluation SQL systems
en
dc.type
Thesis or Dissertation
en
dc.type.qualificationlevel
Masters
en
dc.type.qualificationname
MPhil Master of Philosophy
en
Files
Original bundle
1 - 1 of 1
- Name:
- YuanT_2022.pdf
- Size:
- 2.02 MB
- Format:
- Adobe Portable Document Format
- Description:
This item appears in the following Collection(s)

