skip to main content
10.1145/2463664.2465228acmconferencesArticle/Chapter ViewAbstractPublication PagesmodConference Proceedingsconference-collections
research-article

Verification of database-driven systems via amalgamation

Published:22 June 2013Publication History

ABSTRACT

We describe a general framework for static verification of systems that base their decisions upon queries to databases. The database is specified using constraints, typically a schema, and is not modified during a run of the system. The system is equipped with a finite number of registers for storing intermediate information from the database and the specification consists of a transition table described using quantifier-free formulas that can query either the database or the registers.

Our main result concerns systems querying XML databases -- modeled as data trees -- using quantifier-free formulas with predicates such as the descendant axis or comparison of data values. In this scenario we show an ExpSpace algorithm for deciding reachability.

Our technique is based on the notion of amalgamation and is quite general. For instance it also applies to relational databases (with an optimal PSpace algorithm). We also show that minor extensions of the model lead to undecidability.

References

  1. Mikołaj Bojańczyk, Laurent Braud, Bartek Klin, and Slawomir Lasota. Towards nominal computation. In Symp. on Principles of Programming Languages (POPL), pages 401--412, 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Mikołaj Bojańczyk, Bartek Klin, and Slawomir Lasota. Automata with group actions. In Symp. on Logic in Computer Science (LICS), pages 355--364, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Stĉphane Demri and Ranko Lazic. LTL with the freeze quantifier and register automata. In Symp. on Logic in Computer Science (LICS), pages 17--26, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Alin Deutsch, Richard Hull, Fabio Patrizi, and Victor Vianu. Automatic verification of data-centric business processes. In Intl. Conf. on Database Theory (ICDT), 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Alin Deutsch, Liying Sui, and Victor Vianu. Specification and verification of data-driven web applications. J. Comput. Syst. Sci., 73(3):442--474, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Alin Deutsch, Liying Sui, Victor Vianu, and Dayou Zhou. A system for specification and verification of interactive, data-driven web applications. In Intl. Conf. on Management of Data (SIGMOD), 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. W. Hodges. A shorter model theory. Cambridge Univerity Press, 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Sheila A. McIlraith, Tran Cao Son, and Honglei Zeng. Semantic web services. IEEE Intelligent Systems, 16(2):46--53, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Luc Segoufin and Szymon Toruńczyk. Automata based verification over linearly ordered data domains. In Intl. Symp. on Theoretical Aspects of Computer Science (STACS), 2011.Google ScholarGoogle Scholar
  10. Victor Vianu. Automatic verification of database-driven systems: a new frontier. In Intl. Conf. on Database Theory (ICDT), pages 1--13, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Verification of database-driven systems via amalgamation

    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 '13: Proceedings of the 32nd ACM SIGMOD-SIGACT-SIGAI symposium on Principles of database systems
      June 2013
      334 pages
      ISBN:9781450320665
      DOI:10.1145/2463664
      • General Chair:
      • Richard Hull,
      • Program Chair:
      • Wenfei Fan

      Copyright © 2013 ACM

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 22 June 2013

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article

      Acceptance Rates

      PODS '13 Paper Acceptance Rate24of97submissions,25%Overall Acceptance Rate476of1,835submissions,26%

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader
    About Cookies On This Site

    We use cookies to ensure that we give you the best experience on our website.

    Learn more

    Got it!