Design and Implementation of Enabling SQL–Query Processing for Ethereum-Based Blockchain Systems

Uložené v:
Podrobná bibliografia
Názov: Design and Implementation of Enabling SQL–Query Processing for Ethereum-Based Blockchain Systems
Autori: Jongbeen Han, Yunhyeong Seo, Sangjin Lee, Sunggon Kim, Yongseok Son
Zdroj: Electronics, Vol 12, Iss 4317, p 4317 (2023)
Informácie o vydavateľovi: MDPI AG
Rok vydania: 2023
Zbierka: Directory of Open Access Journals: DOAJ Articles
Predmety: blockchain, SQL query, Ethereum, SQLite, Electronics, TK7800-8360
Popis: A blockchain is designed to establish consistent and reliable agreements in an untrusted and decentralized environment. In addition, the blockchain enables transaction processing and the creation of smart contracts. It empowers end users to execute contracts without any intermediate entities. However, there are some issues when it comes to retrieving information, such as the state and history of smart contracts and regular transactions in the blockchain. For example, in a smart contract, user-defined data structures can be used to recall the state of the smart contract for a range query, which can decrease the general performance. In addition, an external database can be required to retrieve regular transactions for range queries, which increases management costs. To achieve this, we propose a new scheme that enables SQL query operations to retrieve a smart contract and regular transaction information within the blockchain system. To achieve this, we combine an embedded relational database with an Ethereum-based blockchain system to provide the SQL query. It enables range queries on smart contracts without requiring user-defined data structures and decreases management costs for regular transactions without any external database. We implement the proposed blockchain system on quorum , which is an Ethereum-based blockchain system. Also, we evaluate the proposed system using a synthetic benchmark. The performance of retrieving smart contract data is improved by up to approximately 22×, with low memory usage compared with the existing system. Moreover, the proposed system demonstrates a similar search performance to the existing system, even when considering external databases in regular transactions.
Druh dokumentu: article in journal/newspaper
Jazyk: English
Relation: https://www.mdpi.com/2079-9292/12/20/4317; https://doaj.org/toc/2079-9292; https://doaj.org/article/7bc68e6369b548cc924839143a0641b9
DOI: 10.3390/electronics12204317
Dostupnosť: https://doi.org/10.3390/electronics12204317
https://doaj.org/article/7bc68e6369b548cc924839143a0641b9
Prístupové číslo: edsbas.93012B79
Databáza: BASE
Popis
Abstrakt:A blockchain is designed to establish consistent and reliable agreements in an untrusted and decentralized environment. In addition, the blockchain enables transaction processing and the creation of smart contracts. It empowers end users to execute contracts without any intermediate entities. However, there are some issues when it comes to retrieving information, such as the state and history of smart contracts and regular transactions in the blockchain. For example, in a smart contract, user-defined data structures can be used to recall the state of the smart contract for a range query, which can decrease the general performance. In addition, an external database can be required to retrieve regular transactions for range queries, which increases management costs. To achieve this, we propose a new scheme that enables SQL query operations to retrieve a smart contract and regular transaction information within the blockchain system. To achieve this, we combine an embedded relational database with an Ethereum-based blockchain system to provide the SQL query. It enables range queries on smart contracts without requiring user-defined data structures and decreases management costs for regular transactions without any external database. We implement the proposed blockchain system on quorum , which is an Ethereum-based blockchain system. Also, we evaluate the proposed system using a synthetic benchmark. The performance of retrieving smart contract data is improved by up to approximately 22×, with low memory usage compared with the existing system. Moreover, the proposed system demonstrates a similar search performance to the existing system, even when considering external databases in regular transactions.
DOI:10.3390/electronics12204317