Lune

SIGMOD2026顶会

Regular Expression Indexing for Log Analysis

Ling Zhang, Shaleen Deep, Jignesh M. Patel, Karthikeyan Sankaralingam

摘要

In this paper, we present the design and architecture of REI, a novel system for indexing log data for regular expression queries. Our main contribution is an 𝑛-gram-based indexing strategy and an efficient storage mechanism that results in a speedup of up to 14× compared to state-of-the-art regex processing engines that do not use indexing, using only 2.1% of extra space. We perform a detailed study that analyzes the space usage of the index and the improvement in workload execution time, uncovering interesting insights. Specifically, we show that even an optimized implementation of strategies such as inverted indexing, which are widely used in text processing libraries, may lead to suboptimal performance for regex indexing on log analysis tasks. Overall, the REI approach presented in this paper provides a significant boost when evaluating regular expression queries on log data. REI is also modular and can work with existing regular expression packages, making it easy to deploy in a variety of settings. The code of REI is available at https: //github.com/mush-zhang/REI-Regular-Expression-Indexing.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • An Evaluation of N-Gram Selection Strategies for Regular Expression Indexing in Contemporary Text Analysis Tasks 引用了 Exploiting Structure in Regular Expression Queries
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper3

  1. On Indexing and Compressing Finite AutomataNicola Cotumaccio, Nicola PrezzaSODA 2021 · 26 次引用
  2. Exploiting Structure in Regular Expression QueriesLing Zhang, Shaleen Deep, Avrilia Floratou, Anja Gruenheid 等SIGMOD 2023 · 3 次引用
  3. An Evaluation of N-Gram Selection Strategies for Regular Expression Indexing in Contemporary Text Analysis TasksLing Zhang, Shaleen Deep, Jignesh M. Patel, Karthikeyan SankaralingamVLDB 2025 · 2 次引用

相关 Paper

  1. LogGrep: Fast and Cheap Cloud Log Storage by Exploiting both Static and Runtime PatternsJunyu Wei, Guangyan Zhang, Junchao Chen, Yang Wang 等EuroSys 2023 · 18 次引用
  2. LogCloud: Fast Search of Compressed Logs on Object StorageZiheng Wang, Junyu Wei, Alex Aiken, Guangyan Zhang 等VLDB 2025 · 1 次引用
  3. Search-Based Regular Expression Inference on a GPUMojtaba Valizadeh, Martin BergerPLDI 2023 · 11 次引用
  4. RE#: High Performance Derivative-Based Regex Matching with Intersection, Complement, and Restricted LookaroundsIan Erik Varatalu, Margus Veanes, Juhan P. ErnitsPOPL 2025 · 9 次引用
  5. LogDelta: Differential Encoding for Log DataSongze Li, Shaoxu Song, Zhitao ShenICDE 2026
黄昏的海面,两侧是细线勾勒的悬崖