Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery MonetDB/XQuery: using relational technology to query XML documents Peter Boncz Centrum voor Wiskunde.

Slides:



Advertisements
Similar presentations
Inside an XSLT Processor Michael Kay, ICL 19 May 2000.
Advertisements

Symmetrically Exploiting XML Shuohao Zhang and Curtis Dyreson School of E.E. and Computer Science Washington State University Pullman, Washington, USA.
XML Data Management 8. XQuery Werner Nutt. Requirements for an XML Query Language David Maier, W3C XML Query Requirements: Closedness: output must be.
Querying on the Web: XQuery, RDQL, SparQL Semantic Web - Spring 2006 Computer Engineering Department Sharif University of Technology.
06/21/2004StreetTIVO Arjen P. de Vries
MonetDB/XQuery Reloaded HOSP Nieuwjaars Borrel 2007 MonetDB/XQuery Reloaded Update Transactions SOAP Distributed XQuery (XRPC) Text Retrieval (beta) Peter.
XML: Extensible Markup Language
Bottom-up Evaluation of XPath Queries Stephanie H. Li Zhiping Zou.
XML May 3 rd, XQuery Based on Quilt (which is based on XML-QL) Check out the W3C web site for the latest. XML Query data model –Ordered !
Twig 2 Stack: Bottom-up Processing of Generalized-Tree-Pattern Queries over XML Documents Songting Chen, Hua-Gang Li *, Junichi Tatemura Wang-Pin Hsiung,
CSE 6331 © Leonidas Fegaras XML and Relational Databases 1 XML and Relational Databases Leonidas Fegaras.
TIMBER A Native XML Database Xiali He The Overview of the TIMBER System in University of Michigan.
XQUERY. What is XQuery? XQuery is the language for querying XML data The best way to explain XQuery is to say that XQuery is to XML what SQL is to database.
MonetDB/XQueryhttp://monetdb.cwi.nlBioWise InfoMgmt 2009 Peter Boncz (CWI Amsterdam) Querying XML Data Sources using MonetDB/XQuery.
Paper by: A. Balmin, T. Eliaz, J. Hornibrook, L. Lim, G. M. Lohman, D. Simmen, M. Wang, C. Zhang Slides and Presentation By: Justin Weaver.
1 Rewriting Nested XML Queries Using Nested Views Nicola Onose joint work with Alin Deutsch, Yannis Papakonstantinou, Emiran Curtmola University of California,
QSX (LN 3)1 Query Languages for XML XPath XQuery XSLT (not being covered today!) (Slides courtesy Wenfei Fan, Univ Edinburgh and Bell Labs)
A Flexible Workbench for Document Analysis and Text Mining NLDB’2004, Salford, June Gulla, Brasethvik and Kaada A Flexible Workbench for Document.
Benchmarking XML storage systems Information Systems Lab HS 2007 Final Presentation © ETH Zürich | Benchmarking XML.
1 COS 425: Database and Information Management Systems XML and information exchange.
Storing and Querying Ordered XML Using Relational Database System Swapna Dhayagude.
XML –Query Languages, Extracting from Relational Databases ADVANCED DATABASES Khawaja Mohiuddin Assistant Professor Department of Computer Sciences Bahria.
Dutch-Belgium DataBase Day University of Antwerp, MonetDB/x100 Peter Boncz, Marcin Zukowski, Niels Nes.
1 Advanced Topics XML and Databases. 2 XML u Overview u Structure of XML Data –XML Document Type Definition DTD –Namespaces –XML Schema u Query and Transformation.
Indexing XML Data Stored in a Relational Database VLDB`2004 Shankar Pal, Istvan Cseri, Gideon Schaller, Oliver Seeliger, Leo Giakoumakis, Vasili Vasili.
8/17/20151 Querying XML Database Using Relational Database System Rucha Patel MS CS (Spring 2008) Advanced Database Systems CSc 8712 Instructor : Dr. Yingshu.
1 Distributed Monitoring of Peer-to-Peer Systems By Serge Abiteboul, Bogdan Marinoiu Docflow meeting, Bordeaux.
TDDD43 XML and RDF Slides based on slides by Lena Strömbäck and Fang Wei-Kleiner 1.
XML Processing Moves Forward XSLT 2.0 and XQuery 1.0 Michael Kay Prague 2005.
1 Static Type Analysis of Path Expressions in XQuery Using Rho-Calculus Wang Zhen (Selina) Oct 26, 2006.
Comparing XSLT and XQuery Michael Kay XTech 2005.
Another PillowTalk Presentation  2004 Dynamic Systems, Inc. Introduction to XML for SOA Lee H. Burstein,
Efficient Evaluation of XQuery over Streaming Data Xiaogang Li Gagan Agrawal The Ohio State University.
Sofia, Bulgaria | 9-10 October Using XQuery to Query and Manipulate XML Data Stephen Forte CTO, Corzen Inc Microsoft Regional Director NY/NJ (USA) Stephen.
DP&NM Lab. POSTECH, Korea - 1 -Interaction Translation Methods for XML/SNMP Gateway Interaction Translation Methods for XML/SNMP Gateway Using XML Technologies.
MonetDB/XQuery Technology Preview 1 Stefan Manegold CWI Amsterdam -
XML as a Boxwood Data Structure Feng Zhou, John MacCormick, Lidong Zhou, Nick Murphy, Chandu Thekkath 8/20/04.
A Metadata Based Approach For Supporting Subsetting Queries Over Parallel HDF5 Datasets Vignesh Santhanagopalan Graduate Student Department Of CSE.
DBSQL 14-1 Copyright © Genetic Computer School 2009 Chapter 14 Microsoft SQL Server.
Pattern tree algebras: sets or sequences? Stelios Paparizos, H. V. Jagadish University of Michigan Ann Arbor, MI USA.
DANIEL J. ABADI, ADAM MARCUS, SAMUEL R. MADDEN, AND KATE HOLLENBACH THE VLDB JOURNAL. SW-Store: a vertically partitioned DBMS for Semantic Web data.
Querying Structured Text in an XML Database By Xuemei Luo.
RELATIONAL FAULT TOLERANT INTERFACE TO HETEROGENEOUS DISTRIBUTED DATABASES Prof. Osama Abulnaja Afraa Khalifah
MonetDB/XQuery: Using a Relational DBMS for XML Peter Boncz CWI The Netherlands.
Materialized View Selection for XQuery Workloads Asterios Katsifodimos 1, Ioana Manolescu 1 & Vasilis Vassalos 2 1 Inria Saclay & Université Paris-Sud,
ADT 2010 XML/XQuery Data Management MonetDB/XQuery (1/2) Beyond Chapter 10 of Silberschatz, Korth, Sudarshan “Database System Concepts” Stefan Manegold.
Optimization in XSLT and XQuery Michael Kay. 2 Challenges XSLT/XQuery are high-level declarative languages: performance depends on good optimization Performance.
Database Systems Part VII: XML Querying Software School of Hunan University
SPARQL Query Graph Model (How to improve query evaluation?) Ralf Heese and Olaf Hartig Humboldt-Universität zu Berlin.
Declaratively Producing Data Mash-ups Sudarshan Murthy 1, David Maier 2 1 Applied Research, Wipro Technologies 2 Department of Computer Science, Portland.
Tree-Pattern Queries on a Lightweight XML Processor MIRELLA M. MORO Zografoula Vagena Vassilis J. Tsotras Research partially supported by CAPES, NSF grant.
Sept. 27, 2002 ISDB’02 Transforming XPath Queries for Bottom-Up Query Processing Yoshiharu Ishikawa Takaaki Nagai Hiroyuki Kitagawa University of Tsukuba.
CS4432: Database Systems II Query Processing- Part 2.
INT-2: XQuery Levels the Data Integration Playing Field Carlo (Minollo) Innocenti DataDirect XML Technologies, Program Manager.
Query Processing – Query Trees. Evaluation of SQL Conceptual order of evaluation – Cartesian product of all tables in from clause – Rows not satisfying.
Holistic Twig Joins Optimal XML Pattern Matching Nicolas Bruno Columbia University Nick Koudas Divesh Srivastava AT&T Labs-Research SIGMOD 2002.
1 Holistic Twig Joins: Optimal XML Pattern Matching Nicolas Bruno, Nick Koudas, Divesh Srivastava ACM SIGMOD 2002 Presented by Jun-Ki Min.
XML Native Query Processing Chun-shek Chan Mahesh Marathe Wednesday, February 12, 2003.
1 Updates ADT 2010 ADT 2010 XQuery Updates in MonetDB/XQuery Stefan Manegold
MonetDB/XQuery Technology Preview 1 Stefan Manegold Centrum voor Wiskunde en Informatica Amsterdam -
CS4432: Database Systems II Query Processing- Part 1 1.
XML Query languages--XPath. Objectives Understand XPath, and be able to use XPath expressions to find fragments of an XML document Understand tree patterns,
ADT 2010 MonetDB/XQuery (2/2): High-Performance, Purely Relational XQuery Processing Stefan Manegold.
XML: Extensible Markup Language
Efficient Evaluation of XQuery over Streaming Data
UNIT 11 Query Optimization
Semi-Structured Data and Agile Application Development
Database Processing with XML
نگاشت‌ پرس‌وجوهاي XML به پرس‌وجوهاي رابطه‌اي‌
More XML XML schema, XPATH, XSLT
Presentation transcript:

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery MonetDB/XQuery: using relational technology to query XML documents Peter Boncz Centrum voor Wiskunde en Informatica

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery XML The Extensible Markup Language (XML) is the universal format for structured documents and data on the Web. Base specifications: –XML 1.0, W3C Recommendation Feb '98 –Namespaces, W3C Recommendation Jan '99

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery XML No Such Thing as a Bad Day Hamilton Jordan Longstreet Press, Inc Publisher : This book is the moving account of one man's successful battles against three cancers... No Such Thing as a Bad Day is warmly recommended. No Such Thing as a Bad Day Hamilton Jordan Longstreet Press, Inc Publisher : This book is the moving account of one man's successful battles against three cancers... No Such Thing as a Bad Day is warmly recommended.

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery XML: a Tree! No Such Thing as a Bad Day Hamilton Jordan Longstreet Press, Inc Publisher : This book is the moving account of one man's successful battles against three cancers... No Such Thing as a Bad Day is warmly recommended. No Such Thing as a Bad Day Hamilton Jordan Longstreet Press, Inc Publisher : This book is the moving account of one man's successful battles against three cancers... No Such Thing as a Bad Day is warmly recommended. catalog No Such Thing As A Bad Day book titlereview isbn ISBN Element node Text node Attribute node authorpublisherprice Text node Element node

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery XML Databases Managing –Large XML Documents –Many XML Documents Manage = –Query (/Transform) + Update –Multiple users, Complex Queries, ACID Properties,..

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery XQuery 1.0, a W3C Recommendation Functional, strongly-typed query language XQuery 1.0 = XPath 2.0 for navigation, selection, extraction + A few more expressions For-Let-Where-Order By-Return (FLWOR) XML construction Operators on types + User-defined functions & modules Modularize large queries Process recursive data + Strong typing Checks values of required type (operator, function) Guarantees result value instance of output type Enforced statically or dynamically

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery XPath: XML Navigation Titles of all books published by Longstreet Press $cat/catalog/book[publisher=“Longstreet Press”]/title No Such Thing As A Bad Day Publications with Don Chamberlin as author or editor $cat//*[(author|editor) = “Don Chamberlin”] XQuery from the Experts … XQuery Formal Semantics …

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery FLWR (“Flower”) Expressions FOR... sequence expression LET... variable definition WHERE... condition RETURN... result expression

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery FLWR (“Flower”) Expressions FOR... sequence expression LET... variable definition WHERE... condition RETURN... result expression ORDERBY SELECT… result expressions FROM... tables WHERE... condition GROUP BY... ORDER BY... SQL

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery XQuery Systems: 2 Approaches Tree-based –Tree is basic data structure Also on disk (if an XQuery DBMS) –Navigational Approach Galax, X-Hive, BerkeleyDB XML –Tree Algebra Approach TIMBER Relational –Data shredded in relational tables –XQuery translated into database query (eg SQL)

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery The Pathfinder Project Challenge / Goal: –Turn RDBMSs into efficient XQuery engines People: –Torsten Grust, Jens Teubner Technical University Munich –Maurice van Keulen Technical University of Twente

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery MonetDB: Applied CS Research at CWI a decade of “query-intensive” application experience image retrieval: Peter Bosch  ImageSpotter audio/video retrieval: Alex van Ballegooij  RAM XML text retrieval: de Vries / Hiemstra  TIJAH XML databases: Albrecht Schmidt  XMARK Grust / vKeulen  Pathfinder GIS: Wilco Quak  MAGNUM data warehousing / OLAP / data mining SPSS  DataDistilleries Univ. Massachussetts  PROXIMITY Monet research group successfully spun off DataDistilleries (now SPSS)

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery Background MonetDB/XQuery: a fast XQuery Processor Powered by A Relational Engine P. Boncz, T. Grust, M. van Keulen, S. Manegold, J. Rittinger, J. Teubner Proc. ACM SIGMOD conference, june Open-Source Download – Mozilla License –Project Homepage –Developers website: RoadMap – 14-apr-04: initial Beta release MonetDB/SQL – 30-sep-04: first official release MonetDB/SQL – 1-mar-05: beta release of MonetDB/XQuery (i.e. Pathfinder) – 24-feb-06: second release of MonetDB/XQuery – XX-jun-06: second release of MonetDB/XQuery

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery Outline Relational XQuery –Path steps in the pre/post plane –Translating for-loops, and beyond Query Optimization –Order prevention –Join recognition –Loop-Lifted Staircase join Further Research –Distributed XML (  P2P Querying) –XML Updates –Querying XML Annotations Conclusions

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery Tree Encoding: XPath Accellerator Node-based relational encoding of XQuery's data model pre + size – level = post

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery Tree Encoding: XPath Accellerator Quadrants are the main XPath axes followingancestor preceding descendant

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery XPath evaluation (SQL) Example query: /descendant::open_auction[./bidder]/annotation SELECT DISTINCT a.pre FROM doc r, doc oa, doc b, doc a WHERE r.pre=0 AND oa.pre > r.pre AND oa.post oa.pre AND b.post oa.pre AND a.post < oa.post AND a.level = oa.level + 1 AND a.name = “annotation” AND a.kind < “elem” ORDER BY a.pre

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery Staircase Join: Pruning Example: (c1,c2,c3,c4)/ancestor:* SELECT DISTINCT doc.pre FROM c, doc WHERE doc.pre < c.pre AND doc.post < c.post Eliminate: c1, c3 Keep: c2, c4

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery Staircase Join: Pruning Example: (c1,c2,c3,c4)/ancestor:* SELECT DISTINCT doc.pre FROM c, doc WHERE doc.pre < c.pre AND doc.post < c.post Eliminate: c1, c3 Keep: c2, c4

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery Staircase Join: Partitioning Example: (c1,c2,c3)/ancestor:* SELECT DISTINCT doc.pre FROM c, doc WHERE doc.pre < c.pre AND doc.post < c.post Single-pass algorithm that avoids generating duplicates

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery Staircase Join: Partitioning Example: (c1,c2,c3)/ancestor:* SELECT DISTINCT doc.pre FROM c, doc WHERE doc.pre < c.pre AND doc.post < c.post Single-pass algorithm that avoids generating duplicates

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery Staircase Join: Skipping Example: (c1,c2)/descendant:* SELECT DISTINCT doc.pre FROM c, doc WHERE doc.pre > c.pre AND doc.post > c.post Avoid comparing large chunks of the document table.

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery Tree Encoding: XPath Accellerator Node-based relational encoding of XQuery's data model pre + size – level = post

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery Sequence Representation sequence = table of items add pos column for maintaining order ignore polymorphism for the moment (10, “x”,, 10) → PosItem 110 2“X” 3pre(a) 410

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery For-loops: the iter column

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery For-loops: the iter column

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery Loop-lifting

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery Loop-lifting

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery Full Example joincalcproject

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery Mapping Rules XQuery construct  relational algebra See VLDB’04 / TDM’04 [Grust,Teubner] –Sequence construction  union –If-Then-[Else]  select, [union] –For loop  map with cartesian product (all combinations) –Calculations  projection expressions –List-functions (e.g. fn:first)  select(pos=1) –Element Construction  updates using descendant –Path steps  selections on the pre/post plane Staircase join [VLDB03]: –Single-pass for a *set* of context nodes –elaborate skipping!

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery XMark Query 2

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery XMark Query 2 (common subexpr)

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery XMark Benchmark 1MB XML1GB XML

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery Outline Relational XQuery –Path steps in the pre/post plane –Translating for-loops, and beyond Query Optimization –Order prevention –Join recognition –Loop-Lifted Staircase join Further Research –Distributed XML (  P2P Querying) –XML Updates –Querying XML Annotations Conclusions

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery Outline Relational XQuery –Path steps in the pre/post plane –Translating for-loops, and beyond Query Optimization –Order prevention –Join recognition –Loop-Lifted Staircase join Further Research –Distributed XML (  P2P Querying) –XML Updates –Querying XML Annotations Conclusions

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery Order Prevention XQuery is highly order-aware (document, sequence) introduces many relational sorts  expensive: N log(N) Goal: reduce the amount of sort operations Means: annotating query plan nodes with order properties +propagation rules for such properties

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery Join Recognition (recap Mapping Rules) XQuery construct  relational algebra See VLDB’04 / TDM’04 [Grust,Teubner] –Sequence construction  union –If-Then-[Else]  select, [union] –For loop  map with cartesian product (all combinations) –Calculations  projection expressions –List-functions (e.g. fn:first)  select(pos=1) –Element Construction  updates using descendant –Path steps  selections on the pre/post plane Staircase join [VLDB03]: –Single-pass for a *set* of context nodes –elaborate skipping!

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery –For loop  map with cartesian product (all combinations) –If `simple’ condition exist on two loop variables  join –Only make a map with the matching combinations Join Recognition for $p in $auction/site/people/person for $t in $auction/site/closed_auctions/closed_auction where = return $t

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery –For loop  map with cartesian product (all combinations) –If `simple’ condition exist on two loop variables  join –Only make a map with the matching combinations Performed on the XCore tree Recognize if-then expressions  Fragile to syntactic variation Current research:  Detect joins as functional dependencies in the relational plan Join Recognition for $p in $auction/site/people/person for $t in $auction/site/closed_auctions/closed_auction where = return $t

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery Loop-Lifted StaircaseJoin (recap rules) XQuery construct  relational algebra See VLDB’04 / TDM’04 [Grust,Teubner] –Sequence construction  union –If-Then-[Else]  select, [union] –For loop  map with cartesian product (all combinations) –Calculations  projection expressions –List-functions (e.g. fn:first)  select(pos=1) –Element Construction  updates using descendant –Path steps  selections on the pre/post plane Staircase join [VLDB03]: –Single-pass for a *set* of context nodes –elaborate skipping!

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery Loop-lifted staircase join Staircase join [VLDB03]: –Single-pass for a *set* of context nodes Loop-lifting  multiple iters  multiple sets of context nodes –elaborate skipping! –Loop-Lifted Staircase Join In a single pass: process multiple input context node lists –Use a stack –Exploit axis properties for pruning

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery Staircase join document List of context nodes

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery Loop-lifted staircase join document List of context nodesActive stack Multiple lists of context nodes

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery Loop-lifted staircase join Staircase join [VLDB03]: –Single-pass for a *set* of context nodes Loop-lifting  multiple iters  multiple sets of context nodes –elaborate skipping! –Loop-Lifted Staircase Join In a single pass: process multiple input context node lists –Use a stack –Exploit axis properties for pruning

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery Outline Relational XQuery –Path steps in the pre/post plane –Translating for-loops, and beyond Query Optimization –Order prevention –Join recognition –Loop-Lifted Staircase join Further Research –Distributed XML (  P2P Querying) –XML Updates –Querying XML Annotations Conclusions

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery Outline Relational XQuery –Path steps in the pre/post plane –Translating for-loops, and beyond Query Optimization –Order prevention –Join recognition –Loop-Lifted Staircase join Further Research –Distributed XML (  P2P Querying) –XML Updates –Querying XML Annotations Conclusions

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery XML Updates Highly needed XML Database Functionality – January 2006: first W3C language specification – June 2006: MonetDB/XQuery with Updates (and SOAP) “Updating The Pre/Post Plane in MonetDB/XQuery” P. Boncz, S. Manegold, J. Rittinger Proc. XIME-P workshop, june

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery XQuery over the Web SOAP –RPC (and other communications) over HTTP –Basic protocol for web services –Messages are XML XQuery RPC –Call XQuery User-Defined-Functions as a web service –Call Web-services from an XQuery –Distributed XQuery Execution XML DBMS group communication Loop-lifted: calls in for-loops optimized to single messages Research Topics (AmbientDB): –Distributed XQuery Optimization –The role of P2P data structures (e.g. DHT) –Distributed Updates: tranactional semantics & efficient implementation (trade-offs)

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery Querying XML Annotations XPath Standoff Extensions ( XIME-P submission) – make it easy to query for region overlap / containment / etc – fast using interval index & loop-lifted interval merge join Suprisingly wide usage scenarios –multimedia annotations (MultimediaN) –forensic data analysis (NFI) –Natural language processing (UvA) Real-World Object XML Start = 20 End = 131

Peter BonczCWI Scientific Meeting 28/4/2006MonetDB/XQuery Conclusion MonetDB/XQuery –major CWI open-source software product –Co-op with TU Twente and TU Munich –monetdb.cwi.nl / recent SIGMOD paper Techniques for Relational XQuery –relational node encoding –complete compilation scheme –query optimization fastest & most scalable system on XMark –various avenues for future research