You can create an index on an XML column to evaluate Xpath expressions efficiently and to improve performance when XML documents are queried.
To define DB2 z/OS XML Pattern for an XML Index
The DB2 for z/OS XML Index Editor opens.
Note: Click New on the toolbar to create an XML Index. Use the Enter filter text text box to filter a large list of XML Indexes to locate the one you want to work with.
Specifies the name of the XML Index.
Specifies a schema for the selected XML index. Select from the drop-down list.
Specifies the column for which the XML index is being created. Select from the drop-down list. For the selected table, only those columns for which you have specified the Physical Data Type as XML appear in the drop-down list.
Specifies whether or not the selected XML index is unique.
Specifies whether or not to generate DDL for this object during Forward Engineering.
Specifies the nodes in an XML document that you want to index.
Specifies the data type to which you want to convert the indexed values before they are stored. Select from the drop-down list; valid values are Varchar and Decfloat.
Specifies the length of the data type selected in the previous field.
The DB2 for z/OS XML Index Editor closes.
Copyright © 2017 erwin Inc.
All rights reserved.
|
|