XML technologies / Oracle & XML / XML queries / Indexing XML instances
(Excerpt from "Oracle SQL: Das umfassende Handbuch", chapter 17 "XML-Abfragen", by Jürgen Sieben)
For databases before 11 g R2, this section would have been longer. Since that release, the only index type to consider is the domain index XMLIndex. It enables efficient access to XML structures. Administrators can further configure structured storage areas and optimize their indexing, but those details matter little for SQL use. Create an XMLIndex on our table dept_emp_xml as follows:
create index idx_dept_emp_xml_liste
on dept_emp_xml(liste)
indextype is XDB.XMLIndex;
Index wurde erstellt.Code example: creating a domain index for XML columns
Other methods used before 11g R2, such as function-based indexes on extract or extractValue are deprecated, as is the old domain index CTXPath, formerly used for XML indexing. The technology has moved on, so use the current index type with current databases. For older databases, consult that version’s documentation. Further details would take us too far into administration.
Copyright © Rheinwerk Verlag, Bonn 2013
You may print the online version for private use.
Otherwise, this chapter from "Oracle SQL: Das umfassende Handbuch" is subject to the same terms as the printed edition: the work and all its parts are protected by copyright. All rights reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
Rheinwerk Verlag GmbH, Rheinwerkallee 4, 53227 Bonn, www.rheinwerk-verlag.de, service(at)rheinwerk-verlag.de
back to top