Lightweight Data Indexing and Compression in External Memory

被引:40
|
作者
Ferragina, Paolo [2 ]
Gagie, Travis [3 ]
Manzini, Giovanni [1 ]
机构
[1] Univ Piemonte Orientale, Dipartimento Informat, Alessandria, Italy
[2] Univ Pisa, Dipartimento Informat, Pisa, Italy
[3] Aalto Univ, Dept Comp Sci & Engn, Helsinki, Finland
关键词
Burrows-Wheeler transform; Compressed indexes; Data compression; Space-efficient algorithms; External memory scan-based algorithms; BURROWS-WHEELER TRANSFORM; SUFFIX ARRAYS; SPACE; ALGORITHM; BWT;
D O I
10.1007/s00453-011-9535-0
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In this paper we describe algorithms for computing the Burrows-Wheeler Transform (bwt) and for building (compressed) indexes in external memory. The innovative feature of our algorithms is that they are lightweight in the sense that, for an input of size n, they use only n bits of working space on disk while all previous approaches use I similar to(nlog n) bits. This is achieved by building the bwt directly without passing through the construction of the Suffix Array/Tree data structure. Moreover, our algorithms access disk data only via sequential scans, thus they take full advantage of modern disk features that make sequential disk accesses much faster than random accesses. We also present a scan-based algorithm for inverting the bwt that uses I similar to(n) bits of working space, and a lightweight internal-memory algorithm for computing the bwt which is the fastest in the literature when the available working space is o(n) bits. Finally, we prove lower bounds on the complexity of computing and inverting the bwt via sequential scans in terms of the classic product: internal-memory space x number of passes over the disk data, showing that our algorithms are within an O(log n) factor of the optimal.
引用
收藏
页码:707 / 730
页数:24
相关论文
共 50 条
  • [31] A lightweight frame buffer compression codec for memory-efficient applications
    Zhang, Zekun
    Wu, Chang
    MICROELECTRONICS JOURNAL, 2025, 156
  • [32] BOUNCE: memory-efficient SIMD approach for lightweight integer compression
    Hildebrandt, Juliana
    Habich, Dirk
    Lehner, Wolfgang
    DISTRIBUTED AND PARALLEL DATABASES, 2023, 41 (03) : 439 - 466
  • [33] Comparing hierarchical data in external memory
    Chawathe, SS
    PROCEEDINGS OF THE TWENTY-FIFTH INTERNATIONAL CONFERENCE ON VERY LARGE DATA BASES, 1999, : 90 - 101
  • [34] Basic external memory data structures
    Pagh, R
    ALGORITHMS FOR MEMORY HIERARCHIES: ADVANCED LECTURES, 2003, 2625 : 14 - 35
  • [35] BOUNCE: memory-efficient SIMD approach for lightweight integer compression
    Juliana Hildebrandt
    Dirk Habich
    Wolfgang Lehner
    Distributed and Parallel Databases, 2023, 41 : 439 - 466
  • [36] Online data structures in external memory
    Vitter, JS
    ALGORITHMS AND DATA STRUCTURES, 1999, 1663 : 352 - 366
  • [37] SbMBR Tree-A Spatiotemporal Data Indexing and Compression Algorithm for Data Analysis and Mining
    Guan, Runda
    Wang, Ziyu
    Pan, Xiaokang
    Zhu, Rongjie
    Song, Biao
    Zhang, Xinchang
    APPLIED SCIENCES-BASEL, 2023, 13 (19):
  • [38] CoCo-trie: Data-aware compression and indexing of strings
    Boffa, Antonio
    Ferragina, Paolo
    Tosoni, Francesco
    Vinciguerra, Giorgio
    INFORMATION SYSTEMS, 2024, 120
  • [39] Text Indexing, Suffix Sorting, and Data Compression: Common Problems and Techniques
    Grossi, Roberto
    COMBINATORIAL PATTERN MATCHING, PROCEEDINGS, 2009, 5577 : 39 - 40
  • [40] Compression of Human Motion Capture Data Using Motion Pattern Indexing
    Gu, Qin
    Peng, Jingliang
    Deng, Zhigang
    COMPUTER GRAPHICS FORUM, 2009, 28 (01) : 1 - 12