Skip to main content
QUICK REVIEW

[Paper Review] A Blockchain Database Application Platform

Muhammad Muzammal, Qiang Qu|arXiv (Cornell University)|Aug 15, 2018
Big Data and Business IntelligenceBusiness, Management and Accounting23 references12 citations
TL;DR

ChainSQL proposes a novel blockchain-database hybrid platform that combines the tamper-resistance and decentralization of blockchain with the fast query processing and structured data model of distributed databases. By storing transaction logs on a Ripple-based blockchain and maintaining a synchronized, multi-active database for read operations, ChainSQL enables secure, consistent, and low-latency data access with sub-10-second disaster recovery, demonstrating practical viability in financial and enterprise workloads.

ABSTRACT

A blockchain is a decentralised linked data structure that is characterised by its inherent resistance to data modification, but it is deficient in search queries, primarily due to its inferior data formatting. A distributed database is also a decentralised data structure which features quick query processing and well-designed data formatting but suffers from data reliability. In this demonstration, we showcase a blockchain database application platform developed by integrating the blockchain with the database, i.e. we demonstrate a system that has the decentralised, distributed and audibility features of the blockchain and quick query processing and well-designed data structure of the distributed databases. The system features a tamper-resistant, consistent and cost-effective multi-active database and an effective and reliable data-level disaster recovery backup. The system is demonstrated in practice as a multi-active database along with the data-level disaster recovery backup feature.

Motivation & Objective

  • To address the limitations of blockchain in query performance and of traditional databases in data integrity and consistency.
  • To integrate blockchain's immutability and auditability with the speed and structure of distributed databases.
  • To enable a multi-active database architecture that ensures high availability and data consistency across geographically distributed nodes.
  • To implement a data-level disaster recovery system that achieves near-instantaneous failover and consistent state restoration.
  • To provide a practical middleware solution that allows seamless integration with existing enterprise applications and standard SQL databases.

Proposed method

  • ChainSQL uses a Ripple-based blockchain network for secure, fast transaction finality (within 4 seconds) and consensus via a Unique Node List (UNL).
  • It maintains a synchronized, multi-active database on each blockchain node, enabling fast read operations using standard SQL interfaces.
  • The system employs a middleware architecture that decouples application logic from the underlying data layer, supporting both direct blockchain writes and database reads.
  • For disaster recovery, transaction logs (e.g., binlog, redo log) are captured at production sites and replicated to backup nodes via blockchain consensus.
  • The disaster recovery middleware ensures that backup nodes can be promoted to production status within 10 seconds of a failure, achieving the recovery point objective.
  • The system supports symmetric and asymmetric encryption for data-in-transit security and allows integration with standard databases like MySQL, Oracle, and DB2.

Experimental results

Research questions

  • RQ1How can blockchain’s immutability and auditability be combined with the performance and structure of traditional databases?
  • RQ2Can a hybrid blockchain-database system achieve sub-10-second disaster recovery while maintaining data consistency across distributed nodes?
  • RQ3How can a multi-active database architecture be implemented using blockchain as a source of truth for data logs?
  • RQ4What is the performance overhead of maintaining blockchain-based transaction logs while supporting fast SQL query processing?
  • RQ5How can existing enterprise applications be integrated with a blockchain-database middleware without requiring application-level changes?

Key findings

  • ChainSQL achieves data consistency and tamper-resistance by storing transaction logs on a Ripple-based blockchain, ensuring all nodes maintain identical data states.
  • The system supports fast query processing through a synchronized, multi-active database layer, enabling low-latency read operations.
  • Disaster recovery is achieved within 10 seconds of a node failure, with the backup node automatically synchronized and ready to take over.
  • The system supports seamless integration with standard SQL databases such as MySQL, Oracle, and IBM DB2 via a standardized API interface.
  • The middleware architecture allows enterprise applications to interact with the system using familiar database protocols while benefiting from blockchain-level data integrity and auditability.
  • The platform demonstrates practical viability in banking and supply chain applications, where data integrity and high availability are critical.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.