DCSR: A Dual-Layer Graph Storage Structure for Hybrid Transactional and Analytical Processing
Abstract
Graph data in domains like financial risk control, social networks, and recommendation systems often feature high connectivity and frequent updates, requiring storage structures that support both high-throughput writes and low-latency analytics. Traditional structures, however, struggle to balance update efficiency and analytical performance, limiting their applicability in Hybrid Transactional and Analytical Processing (HTAP) workloads. To address this challenge, we propose DCSR, a duallayer graph storage structure for HTAP workloads. It introduces a degree-aware vertex remapping strategy that reorders vertices based on degree distribution, alleviating large-scale data movement. To balance update performance and analytical efficiency, DCSR adopts a hybrid edge layout, with an unordered buffer layer for fast updates and an ordered main layer built on a PMA structure for stable storage. A hierarchical granularity concurrency control mechanism further ensures consistency under highconcurrency workloads by combining fine-grained vertex locking with segment-level coordination. Experimental results show that, compared to representative HTAP-oriented graph storage structures such as LiveGraph, Teseo, Sortledton, and Spruce, DCSR achieves average update performance improvements of <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$24.72 \times$</tex>, <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$3.23 \times$</tex>, <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$2.14 \times$</tex>, and <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$1.70 \times$</tex>, respectively. For graph analytics, DCSR offers consistent gains, achieving an average speedup of <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$1.82 \times$</tex> across a range of representative graph algorithms. Moreover, it demonstrates strong scalability with increasing thread counts and maintains high CPU utilization under parallel workloads.
BibTeX
@misc{feng2025dcsr,
author = {Yan Feng and Yuan Zhang and Sibo Li and Peiyun Zhang and Huawei Cao},
title = {{DCSR: A Dual-Layer Graph Storage Structure for Hybrid Transactional and Analytical Processing}},
year = {2025},
doi = {10.1109/ispa67752.2025.00086},
}Ask Althea to put this paper to the test.
Loading related content...