fix feature based indexing technique for xml documents
play

FIX: Feature-based Indexing Technique for XML Documents Ning Zhang - PowerPoint PPT Presentation

FIX: Feature-based Indexing Technique for XML Documents Ning Zhang University of Waterloo http://www.cs.uwaterloo.ca/~nzhang Joint work with M. Tamer Ozsu, Ihab F. Ilyas, and Ashraf Aboulnaga Ning Zhang 1 Motivating Example Twig


  1. FIX: Feature-based Indexing Technique for XML Documents Ning Zhang University of Waterloo http://www.cs.uwaterloo.ca/~nzhang Joint work with M. Tamer ¨ Ozsu, Ihab F. Ilyas, and Ashraf Aboulnaga Ning Zhang 1

  2. Motivating Example • Twig Query (root axis could be //, others are /): Q 1 : Find phone numbers (P) of all authors (A) who also have email (E) and school (S). //A[./E][./S]/P • Find all subtrees satisfying a pattern tree: A / / / E S P Ning Zhang 2

  3. Motivating Example • A general path containing • Twig Query (root axis could // in the middle can be be //, others are /): Q 1 : Find phone numbers decomposed into interconnected twig queries. (P) of all authors (A) who also have email (E) and A school (S). / // / //A[./E][./S]/P B C L • Find all subtrees satisfying a pattern tree: / / A / / / M N E S P Ning Zhang 2

  4. Motivating Example • A general path containing • Twig Query (root axis could // in the middle can be be //, others are /): Q 1 : Find phone numbers decomposed into interconnected twig queries. (P) of all authors (A) who also have email (E) and A school (S). / // / //A[./E][./S]/P B C L • Find all subtrees satisfying a pattern tree: / / A / / / M N E S P Ning Zhang 2

  5. Approaches to Evaluating Twig Queries Navigational Approach Traverse the XML tree and perform Tree Pattern Matching (TPM) operation on every tree node XML Tree Ning Zhang 3

  6. Approaches to Evaluating Twig Queries Navigational Approach Traverse the XML tree and perform Tree Pattern Matching (TPM) operation on every tree node XML Tree Ning Zhang 3

  7. Approaches to Evaluating Twig Queries Navigational Approach �������� �������� Traverse the XML tree and �������� �������� �������� �������� �������� �������� perform Tree Pattern Matching �������� �������� �������� �������� �������� �������� (TPM) operation on every tree �������� �������� �������� �������� node �������� �������� �������� �������� �������� �������� �������� �������� XML Tree �������� �������� �������� �������� Ning Zhang 3

  8. Approaches to Evaluating Twig Queries Navigational Approach Traverse the XML tree and ���������� ���������� ���������� ���������� ���������� ���������� perform Tree Pattern Matching ���������� ���������� ���������� ���������� ���������� ���������� (TPM) operation on every tree ���������� ���������� ���������� ���������� node ���������� ���������� ���������� ���������� ���������� ���������� ���������� ���������� XML Tree ���������� ���������� ���������� ���������� Ning Zhang 3

  9. Approaches to Evaluating Twig Queries Navigational Approach Traverse the XML tree and ������������ ������������ ������������ ������������ ������������ ������������ perform Tree Pattern Matching ������������ ������������ ������������ ������������ ������������ ������������ (TPM) operation on every tree ������������ ������������ ������������ ������������ node ������������ ������������ ������������ ������������ ������������ ������������ ������������ ������������ XML Tree ������������ ������������ ������������ ������������ Ning Zhang 3

  10. Approaches to Evaluating Twig Queries Navigational Approach Traverse the XML tree and ���������������� ���������������� ���������������� ���������������� ���������������� ���������������� perform Tree Pattern Matching ���������������� ���������������� ���������������� ���������������� ���������������� ���������������� (TPM) operation on every tree ���������������� ���������������� ���������������� ���������������� node ���������������� ���������������� ���������������� ���������������� ���������������� ���������������� ���������������� ���������������� XML Tree ���������������� ���������������� ���������������� ���������������� Ning Zhang 3

  11. Approaches to Evaluating Twig Queries Navigational Approach Traverse the XML tree and ���������������� ���������������� ���������������� ���������������� ���������������� ���������������� perform Tree Pattern Matching ���������������� ���������������� ���������������� ���������������� ���������������� ���������������� (TPM) operation on every tree ���������������� ���������������� ���������������� ���������������� node ���������������� ���������������� ���������������� ���������������� ���������������� ���������������� ���������������� ���������������� XML Tree ���������������� ���������������� ���������������� ���������������� • Analogous to sequential scan, very expensive: • 4,000,000+ TPM operations on DBLP. Ning Zhang 3

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend