arrow
Return

aChain: A SQL-Empowered Analytical Blockchain as a Database

delete2023-11-01
delete0
PRE
AI
Y
Yuchao Wang
Y
Yanguo Peng *
X
Ximeng Liu
Z
Zuobin Ying
J
Jiangtao Cui
D
Dongyao Niu
X
Xiaofang Xia
DOI:10.1109/TC.2023.3287036delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
In various multi-party cooperations data stored on blockchains (i.e., on-chain data) should be decentralized consistent, verifiable, traceable, and immutable. Online analytical processing (OLAP) services are critical requirements in these applications. However, OLAP performances of existing blockchain systems are much worse than those of relational databases due to the lack of SQL support. In this paper, we propose a novel SQL-empowered analytical blockchain framework, aChain. It fully provides SQL-based OLAP services, while keeping the secure characteristics. Specifically, aChain relationally reorganizes on-chain data to support full SQL executions. Then, a relational versioning scheme is designed to ensure the atomicity and consistency of transactions. Furthermore, SQL-based APIs are designed based on an execute-order-validate architecture. Finally, we demonstrate that the performance of aChain and MySQL (in both cluster and non-cluster models) is at the same level on a typical OLAP benchmark, TPC-H.
Keywords:
Blockchain
relational storage of on-chain data
relational APIs
OLAP service

Journal

IEEE Transactions on Computers cover
IEEE Transactions on Computers
IF:
3.8
Papers:
5.3K
Citations:
9.8K

Organization

C
city university of macau
Scholars:
1.3K
Papers: 1.4K
Citations: 1
X
Xidian University
Scholars:
2.4W
Papers: 1.9W
Citations: 9.7K
F
fuzhou university
Scholars:
3.3W
Papers: 2.1W
Citations: 31
researcher View more organizations