Ziwei Wang 0008

dblp:136/5574-8 · DBLP profile ↗
← Back
4ranked-venue papers in the field
1as first author
4since 2021 · last 2025
0000-0002-7584-3067ORCID · conflict

Domains — venue-derived; a paper can count in several

Database Systems & Data Management · 4 (1 first)
YearPublicationVenuePosition
2025 OpDiag: Unveiling Database Performance Anomalies Through Query Operator Attribution
abstract
How to effectively diagnose and mitigate database performance anomalies remains a significant concern for modern database systems. Manually identifying the root causes of the anomalies is a labor-intensive process and significantly relies on professional experience. Meanwhile, existing work on automatic database diagnosis mainly focuses on detecting anomalous performance metrics or system log. These solutions lack the power to pinpoint detailed issues such as bad queries or problematic operators, which are indispensable for most database troubleshooting processes. In this paper, we propose OpDiag, a diagnosis framework that attributes database performance anomalies to query operators. In this framework, we first construct models offline to represent the relationship between query operators, performance metrics, and anomalies. These models can capture query plan features and support ad-hoc queries and schemas. Then, through feature attribution on these models during online diagnosis, OpDiag can effectively identify critical anomalous metrics and further trace back to suspicious queries and operators. This can provide concrete guidance for subsequent steps in anomaly mitigation. We applied OpDiag to both synthetic benchmark and real industry cases from ZTE Corporation. Empirical studies prove that OpDiag can accurately localize anomalous queries and operators, thus reducing human efforts in diagnosing and mitigating database performance anomalies.
Shiyue Huang, Ziwei Wang 0008, Yinjun Wu, Yaofeng Tu, Jiankai Wang, Bin Cui 0001
IEEE Trans. Knowl. Data Eng.2
2024 Enabling space-time efficient range queries with REncoder
Zhuochen Fan, Bowen Ye, Ziwei Wang 0008, Jiarui Guo, Yuhan Wu 0001, Tong Yang 0003, Yaofeng Tu, Zirui Liu 0002, Bin Cui 0001
VLDB J.3
2023 REncoder: A Space-Time Efficient Range Filter with Local Encoder
abstract
A range filter is a data structure to answer range membership queries. Range queries are common in modern applications, and range filters have gained rising attention for improving the performance of range queries by ruling out empty range queries. However, state-of-the-art range filters, such as SuRF and Rosetta, suffer either high false positive rate or low throughput. In this paper, we propose a novel range filter, called REncoder. It organizes all prefixes of keys into a segment tree, and locally encodes the segment tree into a Bloom filter to accelerate queries. REncoder supports diverse workloads by adaptively choosing how many levels of the segment tree to store. We theoretically prove that the error of REncoder is bounded and derive the asymptotic space complexity under the bounded error. We conduct extensive experiments on both synthetic datasets and real datasets. The experimental results show that REncoder outperforms all state-of-the-art range filters.
Ziwei Wang 0008, Jiarui Guo, Yuhan Wu 0001, Tong Yang 0003, Yaofeng Tu, Huanchen Zhang, Bin Cui 0001
ICDE1
2023 DBPA: A Benchmark for Transactional Database Performance Anomalies
abstract
Anomaly diagnosis is vital to the performance of online transaction processing (OLTP) systems. In the meanwhile, machine learning techniques can reason complex relationships beyond human abilities and perform well on such problems. However, they rely on a large number of training samples for anomalies, which are in serious shortage in both industry and academia due to the difficulty of collection. The problem raises the demand of a benchmark for anomaly reproduction and data collection. In this paper, we propose DBPA, a benchmark for transactional database performance anomalies. Specifically, we identify nine common anomalies rooted in the diverse influence factors. For each anomaly, we carefully design a reproduction procedure, which consists with its root cause in real-world databases. With the reproduction procedures, users can easily generate a dataset in a new environment and extend new anomaly types. For compound anomalies, we provide a generation algorithm that allows users to generate compound anomalies data of any possible combinations with existing collected data. We also provide a large dataset of both normal and anomalous monitoring data collected from various environments, facilitating the training of machine learning models and the evaluation of new algorithms for anomaly diagnosis.
Shiyue Huang, Ziwei Wang 0008, Xinyi Zhang 0002, Yaofeng Tu, Bin Cui 0001
Proc. ACM Manag. Data2