Encyclopedia of Database Systems

2018 Edition
| Editors: Ling Liu, M. Tamer Özsu

XML Indexing

  • Xin Luna Dong
  • Divesh Srivastava
Reference work entry
DOI: https://doi.org/10.1007/978-1-4614-8265-9_779

Definition

XML employs an ordered, tree-structured model for representing data. Queries in XML languages like XQuery employ twig queries to match relevant portions of data in an XML database. An XML Index is a data structure that is used to efficiently look up all matches of a fragment of the twig query, where some of the twig query fragment nodes may have been mapped to specific nodes in the XML database.

Historical Background

XML path indexing is related to the problem of join indexing in relational database systems [15] and path indexing in object-oriented database systems (see, e.g., [1, 9]). These index structures assume that the schema is homogeneous and known; these assumptions do not hold in general for XML data. The DataGuide [7] was the first path index designed specifically for XML data, where the schema may be heterogeneous and may not even be known.

Foundations

Notation

An XML document dis a rooted, ordered, node-labeled tree, where (i) each node corresponds to an XML...
This is a preview of subscription content, log in to check access.

Recommended Reading

  1. 1.
    Bertino E, Kim W. Indexing techniques for queries on nested objects. IEEE Trans Knowl Data Eng. 1989;1(2):196–214.CrossRefGoogle Scholar
  2. 2.
    Bruno N, Koudas N, Srivastava D. Holistic twig joins: optimal XML pattern matching. In: Proceedings of the ACM SIGMOD International Conference on Management of Data; 2002. p. 310–21.Google Scholar
  3. 3.
    Chen Z, Gehrke J, Korn F, Koudas N, Shanmugasundaram J, Srivastava D. Index structures for matching XML twigs using relational query processors. Data Knowl Eng. 2007;60(2):283–302.CrossRefGoogle Scholar
  4. 4.
    Chung C-W, Min J-K, Shim K. APEX: an adaptive path index for XML data. In: Proceedings of the ACM SIGMOD International Conference on Management of Data; 2002. p. 121–32.Google Scholar
  5. 5.
    Cohen E, Kaplan H, Milo T. Labeling dynamic XML trees. In: Proceedings of the ACM SIGACT-SIGMOD Symposium on Principles of Database Systems; 2002. p. 271–81.Google Scholar
  6. 6.
    Cooper BF, Sample N, Franklin MJ, Hjaltason GR, Shadmon M. A fast index for semistructured data. In: Proceedings of the 27th International Conference on Very Large Data Bases; 2001. p. 341–50.Google Scholar
  7. 7.
    Goldman R, Widom J. Data guides: enabling query formulation and optimization in semistructured databases. In: Proceedings of the 23th International Conference on Very Large Data Bases; 1997. p. 436–45.Google Scholar
  8. 8.
    Grust T. Accelerating XPath location steps. In: Proceedings of the ACM SIGMOD International Conference on Management of Data; 2002. p. 109–20.Google Scholar
  9. 9.
    Kemper A, Moerkotte G. Access support in object bases. ACM SIGMOD Rec. 1990;19(2):364–74.zbMATHCrossRefGoogle Scholar
  10. 10.
    Kha DD, Yoshikawa M, Uemura S. An XML indexing structure with relative region coordinate. In: Proceedings of the 17th International Conference on Data Engineering; 2001. p. 313–20.Google Scholar
  11. 11.
    McHugh J, Widom J. Query optimization for XML. In: Proceedings of the 25th International Conference on Very Large Data Bases; 1999. p. 315–26.Google Scholar
  12. 12.
    Milo T, Suciu D. Index structures for path expressions. In: Proceedings of the 7th International Conference on Database Theory; 1999. p. 277–95.Google Scholar
  13. 13.
    Rao P, Moon B. PRIX: indexing and querying XML using Pruffer sequences. In: Proceedings of the 20th International Conference on Data Engineering; 2004. p. 288.Google Scholar
  14. 14.
    Tatarinov I, Viglas S, Beyer K, Shanmugasundaram J, Shekita E, Zhang C. Storing and querying ordered XML using a relational database system. In: Proceedings of the ACM SIGMOD International Conference on Management of Data; 2002. p. 204–15.Google Scholar
  15. 15.
    Valduriez P. Join indices. ACM Trans Database Syst. 1987;12(2):218–46.CrossRefGoogle Scholar
  16. 16.
    Wang H, Park S, Fan W, Yu P. ViST: a dynamic index method for querying XML data by tree structures. In: Proceedings of the ACM SIGMOD International Conference on Management of Data; 2003. p. 110–21.Google Scholar
  17. 17.
    Yoshikawa M, Amagasa T, Shimura T, Uemura S. XRel: a path-based approach to storage and retrieval of XML documents using relational databases. ACM Trans Internet Technol. 2001;1(1):110–41.CrossRefGoogle Scholar

Copyright information

© Springer Science+Business Media, LLC, part of Springer Nature 2018

Authors and Affiliations

  1. 1.AmazonSeattleUSA
  2. 2.AT&T Labs – ResearchAT&TBedminsterUSA

Section editors and affiliations

  • Sihem Amer-Yahia
    • 1
  1. 1.Laboratoire d'Informatique de GrenobleCNRS and LIGGrenobleFrance