ABSTRACT
Many Web applications are based on dynamic interactions between Web components exchanging flows of information. Such a situation arises for instance in mashup systems or when monitoring distributed autonomous systems. Our work is in this challenging context that has generated recently a lot of attention; see Web 2.0. We introduce the axlog formal model for capturing such interactions and show how this model can be supported efficiently. The central component is the axlog widget defined by one tree-pattern query or more, over an active document (in the Active XML style) that includes some input streams of updates. A widget generates a stream of updates for each query, the updates that are needed to maintain the view corresponding to the query. We exploit an array of known technologies: datalog optimization techniques such as Differential or MagicSet, constraint query languages, and efficient XML filtering (YFilter). The novel optimization technique we propose is based on fundamental new notions: a relevance (different than that of MagicSet), satisfiability and provenance for active documents. We briefly discuss an implementation of an axlog engine, an application that we used to test the approach, and results of experiments.
- D. J. Abadi, Y. Ahmad, M. Balazinska, U. Çetintemel, M. Cherniack, J.-H. Hwang, W. Lindner, A. Maskey, A. Rasin, E. Ryvkina, N. Tatbul, Y. Xing, and S. B. Zdonik. The design of the Borealis stream processing engine. In CIDR, 2005.Google Scholar
- D. J. Abadi, D. Carney, U. Çetintemel, M. Cherniack, C. Convey, S. Lee, M. Stonebraker, N. Tatbul, and S. B. Zdonik. Aurora: a new model and architecture for data stream management. VLDB J., 12(2), 2003. Google ScholarDigital Library
- Serge Abiteboul, Zoë Abrams, Stefan Haar, and Tova Milo. Diagnosis of asynchronous discrete event systems: datalog to the rescue! In PODS, 2005. Google ScholarDigital Library
- Serge Abiteboul, Omar Benjelloun, Bogdan Cautis, Ioana Manolescu, Tova Milo, and Nicoleta Preda. Lazy query evaluation for Active XML. In SIGMOD Conference, pages 227--238, 2004. Google ScholarDigital Library
- Serge Abiteboul, Omar Benjelloun, and Tova Milo. The Active XML project: an overview. VLDB J., accepted for publication, 2008. Google ScholarDigital Library
- Serge Abiteboul, Pierre Bourhis, and Bogdan Marinoiu. Satisfiability and Relevance for Queries over Active Documents. http://www-rocq.inria.fr/~marinoiu/satisfiability.pdf.Google Scholar
- Serge Abiteboul, Richard Hull, and Victor Vianu. Foundations of Databases. Addison-Wesley, 1995. Google ScholarDigital Library
- Serge Abiteboul, Haim Kaplan, and Tova Milo. Compact labeling schemes for ancestor queries. In SODA, pages 547--556, 2001. Google ScholarDigital Library
- Serge Abiteboul, Ioana Manolescu, and Emanuel Taropa. A framework for distributed XML data management. In EDBT, pages 1049--1058, 2006. Google ScholarDigital Library
- Serge Abiteboul, Ioana Manolescu, and Spyros Zoupanos. Optimax: efficient support for data-intensive mash-ups. In ICDE, pages 1564--1567, 2008. Google ScholarDigital Library
- Serge Abiteboul and Bogdan Marinoiu. Distributed Monitoring of Peer to Peer Systems. In Workshop On Web Information And Data Management, pages 41--48, 2007. Google ScholarDigital Library
- Serge Abiteboul, Bogdan Marinoiu, and Pierre Bourhis. Distributed Monitoring of Peer to Peer Systems (demo). In ICDE, 2008. Google ScholarDigital Library
- Serge Abiteboul, Jason McHugh, Michael Rys, Vasilis Vassalos, and Janet L. Wiener. Incremental maintenance for materialized views over semistructured data. In VLDB, pages 38--49, 1998. Google ScholarDigital Library
- Active XML, http://activexml.net.Google Scholar
- Isaac Balbin and Kotagiri Ramamohanarao. A generalization of the differential approach to recursive query evaluation. J. Log. Program., 4(3):259--262, 1987. Google ScholarDigital Library
- Catriel Beeri and Raghu Ramakrishnan. On the Power of Magic. In PODS, pages 269--284, 1987. Google ScholarDigital Library
- Peter Buneman, Adriane Chapman, and James Cheney. Provenance management in curated databases. In ACM SIGMOD Conference on Management of data, 2006. Google ScholarDigital Library
- Stefano Ceri and Jennifer Widom. Deriving incremental production rules for deductive data. Inf. Syst., 19(6):467--490, 1994. Google ScholarDigital Library
- Yanlei Diao, Peter M. Fischer, Michael J. Franklin, and Raymond To. Yfilter: Efficient and scalable filtering of XML documents. In ICDE, pages 341--, 2002.Google Scholar
- Robert Ennals and David Gay. User-friendly functional programming for Web mashups. In ICFP, pages 223--234, 2007. Google ScholarDigital Library
- eXist, http://exist.sourceforge.net/.Google Scholar
- Mary F. Fernández, Philippe Michiels, Jérôme Siméon, and Michael Stark. XQuery streaming 'a la carte. In ICDE, pages 256--265, 2007.Google Scholar
- Daniela Florescu, Chris Hillery, Donald Kossmann, Paul Lucas, Fabio Riccardi, Till Westmann, Michael J. Carey, Arvind Sundararajan, and Geetika Agrawal. The BEA/XQRL Streaming XQuery Processor. In VLDB, pages 997--1008, 2003. Google ScholarDigital Library
- J. Nathan Foster, Ravi Konuru, Jérôme Siméon, and Lionel Villard. An algebraic approach to view maintenance for XQuery. In PLAN-X, 2008.Google Scholar
- Georg Gottlob and Christoph Koch. Monadic queries over tree-structured data. In LICS, pages 189--202, 2002. Google ScholarDigital Library
- Todd J. Green, Gerome Miklau, Makoto Onizuka, and Dan Suciu. Processing XML streams with deterministic automata. In ICDT, 2003. Google ScholarDigital Library
- Ashish Gupta and Inderpal Singh Mumick. Maintenance of materialized views: Problems, techniques, and applications. IEEE Data Eng. Bull., 18(2):3--18, 1995.Google Scholar
- Ashish Gupta, Inderpal Singh Mumick, and V. S. Subrahmanian. Maintaining views incrementally. In SIGMOD Conference, pages 157--166, 1993. Google ScholarDigital Library
- Paris C. Kanellakis, Gabriel M. Kuper, and Peter Z. Revesz. Constraint query languages. In PODS, pages 299--313, 1990. Google ScholarDigital Library
- Roman Kapuscinski, Rachel Q. Zhang, Paul Carbonneau, Robert Moore, and Bill Reeves. Inventory decisions in Dell's supply chain. Interfaces, 34(3):191--205, 2004. Google ScholarDigital Library
- Christoph Koch, Stefanie Scherzinger, Nicole Schweikardt, and Bernhard Stegmaier. FluXQuery: An Optimizing XQuery Processor for Streaming XML Data. In VLDB, pages 1309--1312, 2004. Google ScholarDigital Library
- Richard Kuntschke, Bernhard Stegmaier, Alfons Kemper, and Angelika Reiser. Streamglobe: Processing and sharing Data Streams in Grid-Based P2P infrastructures. In VLDB, 2005. Google ScholarDigital Library
- Gerome Miklau and Dan Suciu. Containment and equivalence for a fragment of XPath. J. ACM, 51(1):2--45, 2004. Google ScholarDigital Library
- R. Motwani, J. Widom, A. Arasu, B. Babcock, S. Babu, M. Datar, G. Singh Manku, C. Olston, J. Rosenstein, and R. Varma. Query processing, approximation, and resource management in a data stream management system. In CIDR, 2003.Google Scholar
- Wolfgang Nejdl, Stefano Ceri, and Gio Wiederhold. Evaluating recursive queries in distributed databases. IEEE Trans. Knowl. Data Eng., 5(1):104--121, 1993. Google ScholarDigital Library
- Patrick E. O'Neil, Elizabeth J. O'Neil, Shankar Pal, Istvan Cseri, Gideon Schaller, and Nigel Westbury. ORDPATHs: Insert-Friendly XML Node Labels. In SIGMOD Conference, pages 903--908, 2004. Google ScholarDigital Library
- Makoto Onizuka, Fong Yee Chan, Ryusuke Michigami, and Takashi Honishi. Incremental maintenance for materialized XPath/XSLT views. In WWW, pages 671--681, 2005. Google ScholarDigital Library
- Royi Ronen and Oded Shmueli. Evaluation of datalog extended with an XPath predicate. In WIDM, pages 9--16, 2007. Google ScholarDigital Library
- Arsany Sawires, Jun'ichi Tatemura, Oliver Po, Divyakant Agrawal, and K. Selçuk Candan. Incremental maintenance of path expression views. In SIGMOD Conference, pages 443--454, 2005. Google ScholarDigital Library
- Bernhard Stegmaier, Richard Kuntscke, and Alfons Kemper. Streamglobe: adaptive query processing and optimization in streaming P2P environments. In ACM International Conference Proceeding Series; Vol. 72, 2004. Google ScholarDigital Library
- L. Vieille. Recursive query processing: the power of logic. Theor. Comput. Sci., 69(1):1--53, 1989. Google ScholarDigital Library
- What Is Web 2.0, http://www.oreilly.com/.Google Scholar
- WSDL, http://www.w3.org/tr/wsdl.Google Scholar
Recommendations
Algebraic incremental maintenance of XML views
EDBT/ICDT '11: Proceedings of the 14th International Conference on Extending Database TechnologyMaterialized views can bring important performance benefits when querying XML documents. In the presence of XML document changes, materialized views need to be updated to faithfully reflect the changed document. In this work, we present an algebraic ...
Algebraic incremental maintenance of XML views
Materialized views can bring important performance benefits when querying XML documents. In the presence of XML document changes, materialized views need to be updated to faithfully reflect the changed document. In this work, we present an algebraic ...
Comments