TY - JOUR
T1 - Improving database performance by leveraging network-assisted logging
AU - Kim, Hwajung
N1 - Publisher Copyright:
© 2025 Elsevier B.V.
PY - 2025/8
Y1 - 2025/8
N2 - In mission-critical systems like databases and transaction processing systems, write-ahead logging (WAL) is commonly used to ensure fault tolerance against power failures and system malfunctions. However, WAL requires data to be logged before it is permanently stored in persistent storage, causing delays that can slow down the system, even when using advanced technologies like Optane persistent memory. Although seemingly small, such delays can accumulate and affect overall transaction performance. In this paper, we propose an in-transit logging (ITLogging) scheme that performs logging at the network layer by capturing important data upon its arrival at the destination system. Our scheme filters incoming packets and logs the necessary data from the payload before any processing occurs. In case of data loss, our scheme replays packet deliveries to the target system by mimicking the original client actions for recovery. We implement the proposed scheme by allocating a separate core for packet inspection, ensuring that logging operations are handled independently of the application layer's data processing, thereby avoiding delays in the main processing flow. The experimental results demonstrate that our scheme improves database throughput by 16% for TPC-C and 15% for LinkBench on MySQL, compared with vanilla MySQL.
AB - In mission-critical systems like databases and transaction processing systems, write-ahead logging (WAL) is commonly used to ensure fault tolerance against power failures and system malfunctions. However, WAL requires data to be logged before it is permanently stored in persistent storage, causing delays that can slow down the system, even when using advanced technologies like Optane persistent memory. Although seemingly small, such delays can accumulate and affect overall transaction performance. In this paper, we propose an in-transit logging (ITLogging) scheme that performs logging at the network layer by capturing important data upon its arrival at the destination system. Our scheme filters incoming packets and logs the necessary data from the payload before any processing occurs. In case of data loss, our scheme replays packet deliveries to the target system by mimicking the original client actions for recovery. We implement the proposed scheme by allocating a separate core for packet inspection, ensuring that logging operations are handled independently of the application layer's data processing, thereby avoiding delays in the main processing flow. The experimental results demonstrate that our scheme improves database throughput by 16% for TPC-C and 15% for LinkBench on MySQL, compared with vanilla MySQL.
KW - Database
KW - Deep packet inspection
KW - Write-ahead logging
UR - http://www.scopus.com/inward/record.url?scp=105000227736&partnerID=8YFLogxK
U2 - 10.1016/j.future.2025.107785
DO - 10.1016/j.future.2025.107785
M3 - Article
AN - SCOPUS:105000227736
SN - 0167-739X
VL - 169
JO - Future Generation Computer Systems
JF - Future Generation Computer Systems
M1 - 107785
ER -