Enterprise Edition Home | Express Edition Home | Previous Page | Next Page   Improving Individual Query Performance > Optimizing Queries for User-Defined Data Types >

Parallel UDRs

One way to execute UDRs is in an expression in a query. You can take advantage of parallel execution if the UDR is in an expression in one of the following parts of a query:

For example, suppose you create an opaque data type circle, a table cir_t that defines a column of type circle, a user-defined routine area, and then execute the following sample query:

SELECT circle, area(circle) 
   FROM cir_t
   WHERE circle > "(6,2,4)";

In this sample query, the following operations can execute in parallel:

By default, a UDR does not execute in parallel. To enable parallel execution of UDRs, you must take the following actions:

Enterprise Edition Home | Express Edition Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]