ACM Transactions on Database Systems · 2004 · 90 citations · 31 references
ComputingComputer ScienceAlgorithmsDatabasesNatural Language ProcessingDatabase ManagementQuery OptimizationQuery ProcessingRelational AlgebraStructured Query LanguageDatabase Management SystemsPattern SearchingQuery Language DesignQuery Performance OptimizationSearch Syntax
The need to search for complex and recurring patterns in database sequences is shared by many applications. In this paper, we investigate the design and optimization of a query language capable of expressing and supporting efficiently the search for complex sequential patterns in database systems. Thus, we first introduce SQL-TS, an extension of SQL to express these patterns, and then we study how to optimize the queries for this language. We take the optimal text search algorithm of Knuth, Morris and Pratt, and generalize it to handle complex queries on sequences. Our algorithm exploits the interdependencies between the elements of a pattern to minimize repeated passes over the same data. Experimental results on typical sequence queries, such as double bottom queries, confirm that substantial speedups are achieved by our new optimization techniques.
31
R. K. Agrawal, Ramakrishnan Srikant · 2002 · 5.1K citations
Fast Pattern Matching in Strings
Donald E. Knuth, James H. Morris, Vaughan Pratt · SIAM Journal on Computing · 1977 · 2.9K citations
Principles of database and knowledge-base systems
Choice Reviews Online · 1989 · 2.7K citations
Models and issues in data stream systems
Brian Babcock, Shivnath Babu, Mayur Datar et al. · 2002 · 2.5K citations
A fast string searching algorithm
Robert S. Boyer, J Strother Moore · Communications of the ACM · 1977 · 2.3K citations · Full text