Processing XML data using a relational database: Schema- Based XML Storage By Khang Nguyen Based on the paper of Rajasekar Krishnamurthy.

Slides:



Advertisements
Similar presentations
Translating WFS Query to SQL/XML Query Vânia Vidal Fernando Lemos Fábio Feitosa Departamento de Computação Universidade Federal do Ceará
Advertisements

TU/e technische universiteit eindhoven WebNet 2001October 26, XML to XML through XML Pim Lemmens Geert-Jan Houben Eindhoven University of Technology.
Native XML Database or RDBMS. Data or Document orientation If you are primarily storing documents, then a Native XML Database may be the best option.
XML: Extensible Markup Language
XML DOCUMENTS AND DATABASES
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 !
Processing XML Keyword Search by Constructing Effective Structured Queries Jianxin Li, Chengfei Liu, Rui Zhou and Bo Ning Swinburne University of Technology,
Relational Databases for Querying XML Documents: Limitations & Opportunities VLDB`99 Shanmugasundaram, J., Tufte, K., He, G., Zhang, C., DeWitt, D., Naughton,
Storing and Querying XML Documents Using Relational Databases Mustafa Atay Wayne State University Detroit, MI February 28, 2006.
1 CS 561 Presentation: Indexing and Querying XML Data for Regular Path Expressions A Paper by Quanzhong Li and Bongki Moon Presented by Ming Li.
BLAS: An Efficient XPath Processing System Chen Y., Davidson S., Zheng Y. Νίκος Λούτας.
Outline SQL Server Optimizer  Enumeration architecture  Search space: flexibility/extensibility  Cost and statistics Automatic Physical Tuning  Database.
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 CIS607, Fall 2005 Semantic Information Integration Presentation by Dayi Zhou Week 4 (Oct. 19)
Visual Web Information Extraction With Lixto Robert Baumgartner Sergio Flesca Georg Gottlob.
Keys For XML Peter Buneman Susan Davidson Wenfei Fan Carmem Hara Wang Chiew Tan.
Storing and Querying Ordered XML Using Relational Database System Swapna Dhayagude.
1 Indexing and Querying XML Data for Regular Path Expressions A Paper by Quanzhong Li and Bongki Moon Presented by Amnon Shochot.
1 Lecture 13: Database Heterogeneity Debriefing Project Phase 2.
Supporting High-Level Abstractions through XML Technologies Xiaogang Li Gagan Agrawal The Ohio State University.
Storing and Querying Ordered XML Using a Relational Database System By Khang Nguyen Based on the paper of Igor Tatarinov and Statis Viglas.
Web Data Management Dr. Daniel Deutch. Web Data The web has revolutionized our world Data is everywhere Constitutes a great potential But also a lot of.
XML –Query Languages, Extracting from Relational Databases ADVANCED DATABASES Khawaja Mohiuddin Assistant Professor Department of Computer Sciences Bahria.
Indexing XML Data Stored in a Relational Database VLDB`2004 Shankar Pal, Istvan Cseri, Gideon Schaller, Oliver Seeliger, Leo Giakoumakis, Vasili Vasili.
MS Access 2002: Basic Instructor: Vicki Weidler. MS Access: Database Concepts.
10/14/2001 Coping with Semantics in XML Document Management Thomas Kudrass Leipzig University of Applied Sciences Department of Computer Science and Mathematics.
Database System Concepts, 5th Ed. ©Silberschatz, Korth and Sudarshan See for conditions on re-usewww.db-book.com Chapter 1: Introduction.
Cooperative Query Answering for Semistructured data Michael Barg Raymond K. Wong Reviewed by SwethaJack Christian (Absent) Chris.
COMP 410 & Sky.NET May 2 nd, What is COMP 410? Forming an independent company The customer The planning Learning teamwork.
Peer-to-Peer Data Integration Using Distributed Bridges Neal Arthorne B. Eng. Computer Systems (2002) Supervisor: Babak Esfandiari April 12, 2005 Candidate.
Alternative databases CMSC 461 Michael Wilson. The power of relational databases  It’s often useful to have relational database power in unusual situations.
1 Holistic Twig Joins: Optimal XML Pattern Matching ACM SIGMOD 2002.
Information Systems: Databases Define the role of general information systems Describe the elements of a database management system (DBMS) Describe the.
XML as a Boxwood Data Structure Feng Zhou, John MacCormick, Lidong Zhou, Nick Murphy, Chandu Thekkath 8/20/04.
Categories of Vocabulary Compatibility Dmitry Lenkov Oracle.
Entity Framework Overview. Entity Framework A set of technologies in ADO.NET that support the development of data-oriented software applications A component.
XML & Mediators Thitima Sirikangwalkul Wai Sum Mong April 10, 2003.
1 Lessons from the TSIMMIS Project Yannis Papakonstantinou Department of Computer Science & Engineering University of California, San Diego.
RRXS Redundancy reducing XML storage in relations O. MERT ERKUŞ A. ONUR DOĞUÇ
Database Systems Part VII: XML Querying Software School of Hunan University
Clustering XML Documents for Query Performance Enhancement Wang Lian.
BNCOD07Indexing & Searching XML Documents based on Content and Structure Synopses1 Indexing and Searching XML Documents based on Content and Structure.
XML Schemas: From Design to Exploitation and Back Again Irena Mlýnková, Martin Nečaský Charles Univeristy in Prague Svratka 2008.
PMIT-6101 Advanced Database Systems By- Jesmin Akhter Assistant Professor, IIT, Jahangirnagar University.
The Semistructured-Data Model Programming Languages for XML Spring 2011 Instructor: Hassan Khosravi.
CS 157B: Database Management Systems II February 11 Class Meeting Department of Computer Science San Jose State University Spring 2013 Instructor: Ron.
XML Access Control Koukis Dimitris Padeleris Pashalis.
Issues in Ontology-based Information integration By Zhan Cui, Dean Jones and Paul O’Brien.
INFO 340 Lecture 2 Intro to Databases. Book –Need it –Order individually through UW Bookstore –Or Amazon.
Data Management Conference Performance & Scalability Simon Sabin London September 29th.
Efficient Discovery of XML Data Redundancies Cong Yu and H. V. Jagadish University of Michigan, Ann Arbor - VLDB 2006, Seoul, Korea September 12 th, 2006.
Lecture 15: Query Optimization. Very Big Picture Usually, there are many possible query execution plans. The optimizer is trying to chose a good one.
Relational-Style XML Query Taro L. Saito, Shinichi Morishita University of Tokyo June 10 th, SIGMOD 2008 Vancouver, Canada Presented by Sangkeun-Lee Reference.
1 Storing and Maintaining Semistructured Data Efficiently in an Object- Relational Database Mo Yuanying and Ling Tok Wang.
Author: Akiyoshi Matonoy, Toshiyuki Amagasay, Masatoshi Yoshikawaz, Shunsuke Uemuray.
XML Storage We must upgrade to XML. Everyone is talking about it. Well, that is going to cost us XXX on YYY and earn us WWW on ZZZ.
XML 1. Chapter 8 © 2013 Pearson Education, Inc. Publishing as Prentice Hall SAMPLE XML SCHEMA (XSD) 2 Schema is a record definition, analogous to the.
1 Representing and Reasoning on XML Documents: A Description Logic Approach D. Calvanese, G. D. Giacomo, M. Lenzerini Presented by Daisy Yutao Guo University.
Updating SF-Tree Speaker: Ho Wai Shing.
Chapter 19: Distributed Databases
Data Structures: Disjoint Sets
OrientX: an Integrated, Schema-Based Native XML Database System
نگاشت‌ پرس‌وجوهاي XML به پرس‌وجوهاي رابطه‌اي‌
Querying XML XPath.
Querying XML XPath.
Database Systems Instructor Name: Lecture-3.
2/18/2019.
Wednesday, May 29, 2002 XML Storage Final Review
Query Optimization.
Presentation transcript:

Processing XML data using a relational database: Schema- Based XML Storage By Khang Nguyen Based on the paper of Rajasekar Krishnamurthy

Three main points on the query translation problem Developing query translation algorithms for the case when the XML Schema and/or the XML query may be recursive. Designing algorithms that make better use of the XML-to-Relational mapping information during the query translation process. Studying the interaction between the two sub problems: choosing a good relational decomposition for storing the XML data and choosing a query translation algorithm.

Recursive Schemas and Recursive Queries Has been a lot of work on alternative relational decompositions for XML data, not much on query translation algorithms. [Choi02] out of 60 XML schemas analyzed, 35 were recursive. Recursive XML schemas are important. Descendant operator (//) specifies ancestor- descendant relationships. i.e., the query //section/title is a recursive query.

Recursive Schemas and Recursive Queries (Cont.) – Interesting Issues How do we translate path expression queries over arbitrary XML-to-Relational mappings into equivalent SQL queries? Is the support for recursion in SQL3 sufficient for supporting path expression queries over arbitrary XML-to-Relational mapping? Are there any issues in the translation process when the XML schema is non- recursive? Does XPath semantics introduce any interesting challenges?

Mapping-aware Query Translation Algorithm

Mapping-aware Query Translation Algorithm (Cont.) Query: retrieve all the top-level section titles. XQuery: for $title in document(*)/book/section/title SQL query: Select S.title From Book B, Section S Where B.id = S.parentid and S.parentcode = 1 Mapping-aware algorithm query: Select title From Section Where parentcode = 1

Are the two sub problems independent? One is to pick a good relational decomposition and the other is to translate queries over this XML-to-Relational mapping. The two sub problems can’t be solved in isolation. There exist query translation algorithms T1 and T2, and relational decomposition D1 and D2. If we use T1, then D1 is better than D2 while with T2, then D2 is better than D1.

Yes, the two sub problems dependent

Yes, the two sub problems are dependent (Cont.) On the 100MB XMark dataset [11], we noticed that XQ 2 fg was about three times faster than XQ 2 fp. So, we see that for query Q, with algorithm NaiveTranslation, the fully partitioned strategy is better, whereas with algorithm MultipleScan, the fully grouped strategy is better. As a result, the quality of a decomposition is closely related to the query translation algorithm used.