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 a DB2 z/OS 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 that the index uses index compression. Select from the drop-down list; valid values are True and False.
Specifies that the data sets are created when the index is created. Select from the drop-down list; valid values are True and False.
Defines the bufferpool to use for the index. Select from the drop-down list.
Specifies that the index is eligible for closing. The CLOSE parameter specifies whether or not the data set is eligible to be closed when the index is not being used and the limit on the number of open data sets is reached. Select from the drop-down list; valid values are True and False.
Specifies whether or not to build the index during the execution of the CREATE INDEX statement. Default is No, which means the index is built.
Specifies the maximum addressability of each data set for a secondary index. Enter a valid integer (see your DB2 z/OS documentation for specific information on valid integers).
Indicates that the COPY utility is allowed for the index.
The DB2 for z/OS XML Index Editor closes.
Copyright © 2017 erwin Inc.
All rights reserved.
|
|