{"title":"I/O-Efficient Compressed Text Indexes: From Theory to Practice","authors":"Sheng-Yuan Chiu, W. Hon, R. Shah, J. Vitter","doi":"10.1109/DCC.2010.45","DOIUrl":null,"url":null,"abstract":"Pattern matching on text data has been a fundamental field ofComputer Science for nearly 40 years. Databases supporting full-textindexing functionality on text data are now widely used by biologists.In the theoretical literature, the most popular internal-memory index structures are thesuffix trees and the suffix arrays, and the most popular external-memory index structureis the string B-tree. However, the practical applicabilityof these indexes has been limited mainly because of their spaceconsumption and I/O issues. These structures use a lot more space(almost 20 to 50 times more) than the original text dataand are often disk-resident.Ferragina and Manzini (2005) and Grossi and Vitter (2005)gave the first compressed text indexes with efficient query times inthe internal-memory model. Recently, Chien et al (2008) presenteda compact text index in the external memory based on theconcept of Geometric Burrows-Wheeler Transform.They also presented lower bounds which suggested that it may be hardto obtain a good index structure in the external memory.In this paper, we investigate this issue from a practical point of view.On the positive side we show an external-memory text indexingstructure (based on R-trees and KD-trees) that saves space by aboutan order of magnitude as compared to the standard String B-tree.While saving space, these structures also maintain a comparable I/O efficiency to thatof String B-tree. We also show various space vs I/O efficiency trade-offsfor our structures.","PeriodicalId":299459,"journal":{"name":"2010 Data Compression Conference","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2010-03-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"13","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2010 Data Compression Conference","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/DCC.2010.45","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 13
Abstract
Pattern matching on text data has been a fundamental field ofComputer Science for nearly 40 years. Databases supporting full-textindexing functionality on text data are now widely used by biologists.In the theoretical literature, the most popular internal-memory index structures are thesuffix trees and the suffix arrays, and the most popular external-memory index structureis the string B-tree. However, the practical applicabilityof these indexes has been limited mainly because of their spaceconsumption and I/O issues. These structures use a lot more space(almost 20 to 50 times more) than the original text dataand are often disk-resident.Ferragina and Manzini (2005) and Grossi and Vitter (2005)gave the first compressed text indexes with efficient query times inthe internal-memory model. Recently, Chien et al (2008) presenteda compact text index in the external memory based on theconcept of Geometric Burrows-Wheeler Transform.They also presented lower bounds which suggested that it may be hardto obtain a good index structure in the external memory.In this paper, we investigate this issue from a practical point of view.On the positive side we show an external-memory text indexingstructure (based on R-trees and KD-trees) that saves space by aboutan order of magnitude as compared to the standard String B-tree.While saving space, these structures also maintain a comparable I/O efficiency to thatof String B-tree. We also show various space vs I/O efficiency trade-offsfor our structures.
近40年来,文本数据的模式匹配一直是计算机科学的一个基础领域。支持文本数据全文索引功能的数据库现在被生物学家广泛使用。在理论文献中,最流行的内存索引结构是后缀树和后缀数组,而最流行的外部内存索引结构是字符串b树。然而,这些索引的实际适用性受到限制,主要是因为它们的空间消耗和I/O问题。这些结构使用的空间比原始文本数据大得多(几乎是原始文本数据的20到50倍),并且通常位于磁盘上。Ferragina and Manzini(2005)和Grossi and Vitter(2005)在内存模型中给出了第一个具有高效查询时间的压缩文本索引。最近,Chien等人(2008)基于几何Burrows-Wheeler变换的概念提出了一种外部存储器中的紧凑文本索引。他们还提出了下界,这表明在外部存储器中可能很难获得良好的索引结构。在本文中,我们从实际的角度来研究这个问题。从积极的方面来看,我们展示了一个外部内存文本索引结构(基于r树和kd树),与标准字符串b树相比,它节省了大约一个数量级的空间。在节省空间的同时,这些结构也保持了与String B-tree相当的I/O效率。我们还展示了我们的结构的各种空间与I/O效率权衡。