WD_DELETE_METHOD option

Function

Specifies the algorithm used during a delete in a WD index.

Allowed values

0 – 3

Default

0

Scope

DBA permissions are not required to set this option. Can be set temporary, for an individual connection, or for the PUBLIC group. Takes effect immediately.

Description

This option chooses the algorithm used during a delete operation in a WD index. When this option is not set or is set to 0, the delete method is selected by the cost model. The cost model considers the CPU related costs as well as I/O related costs in selecting the appropriate delete algorithm. The cost model takes into account:

Allowed values for WD_DELETE_METHOD:

Example

This statement forces the large method for deletion from a WD index:

SET TEMPORARY OPTION WD_DELETE_METHOD = 2

See also

For more details about these delete methods, see “Optimizing delete operations” in Chapter 3, “Optimizing Queries and Deletions” in the Performance and Tuning Guide.