skip to main content
10.1145/375551.375563acmconferencesArticle/Chapter ViewAbstractPublication PagespodsConference Proceedingsconference-collections
Article

Optimization of sequence queries in database systems

Authors Info & Claims
Published:01 May 2001Publication History

ABSTRACT

The need to search for complex and recurring patterns in database sequences is shared by many applications. In this paper, we discuss how to express and support efficiently sophisticated sequential pattern queries in databases. Thus, we first introduce SQL-TS, an extension of SQL, to express these patterns, and then we study how to optimize search 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 inter-dependencies between the elements of a sequential 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.

References

  1. 1.R. Agrawal and R. Srikant. Mining sequential patterns. In International Conference on Data Engineerin, 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. 2.M. Berry and G. Linoff, Data Mining Techniques: For Marketing, Sales, and Customer Support. John Wiley, 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. 3.R.D. Edwards and J. Magee. Technical Analysis of Stock Trends. AMACOM, 1997.Google ScholarGoogle Scholar
  4. 4.C. Faloutsos, M. Ranganathan, and Manolopoulos Y. Fast subsequence matching in time-series databases. In Proc. Int. Conf. On Management of Data, pages 419-429, 1994. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. 5.S. Guo, W. Sun, and M. Weiss. On satisfiability, equivalence, and implication problems involving conjunctive queries in database systems. IEEE Transactions on Knowledge and Data Engineering, 8(4):604-616, August 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. 6.Informix Software Inc. Managing time-series data in financial applications, 1998. White Paper.Google ScholarGoogle Scholar
  7. 7.R. Karp and M. O. Rabin. Efficient Randomized Pattern Matching Algorithm. IBM Journal of Research and Developement, 31(2):249-260, March 1987. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. 8.D. E. Knuth, J. H. Morris, and V. R. Pratt. Fast pattern matching in strings. SIAM Journal of Computing, 6(2):323-350, June 1977.Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. 9.E. Mesrobian et al., Extracting spatio-temporal patterns from geoscience datasets. In IEEE Workshop on Visualization and Machine Vision, 1994.Google ScholarGoogle ScholarCross RefCross Ref
  10. 10.J. S. Moore and R. S. Boyer. A Fast String Searching Algorithma. Communications of ACM, 20(10):762-772, 1977. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. 11.I. Motakis and C. Zaniolo. Temporal aggregation in active databases. In Int. Conf. on the Management of Data, May 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. 12.R. Ramakrishnan et al., SRQL: sorted relational query language, SSDBM 1998: 84-95. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. 13.R. Sadri, Optimization of Sequence Queries in Database Systems Ph.D. Thesis, UCLA, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. 14.P. Seshadri. Predator: A resource for database research. SIGMOD Record, 27(1):16-20, 1998. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. 15.P. Seshadri, M. Livny, and R. Ramakrishnan. Sequence query processing. In Proceedings of ACM SIGMOD Conference on Management of Data, pages 430-441, May 1994. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. 16.P. Seshadri, M. Livny, and R. Ramakrishnan. SEQ: A model for sequence databases. In ICDE, pages 232-239, 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. 17.H. Wang and C. Zaniolo. Using SQL to Build New Aggregates and Extenders for Object-Relational Systems. In Proceedings of 26th International Conference on Very Large Data Bases, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. 18.C. A. Wright, L. Cumberland and Y. Feng, A Performance Comparison Between Five String Pattern Matching Algorithms, Dec. 98 Tech.Report, http://ocean.st.usm.edu/cawright/ pattern matching.htmlGoogle ScholarGoogle Scholar

Index Terms

  1. Optimization of sequence queries in database systems

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in
      • Published in

        cover image ACM Conferences
        PODS '01: Proceedings of the twentieth ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems
        May 2001
        301 pages
        ISBN:1581133618
        DOI:10.1145/375551

        Copyright © 2001 ACM

        Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 1 May 2001

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • Article

        Acceptance Rates

        PODS '01 Paper Acceptance Rate26of99submissions,26%Overall Acceptance Rate642of2,707submissions,24%

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader