Thankfully it is documented in 11g documentation here:
The OPT_PARAM
hint lets you set an initialization parameter for the duration of the current query only. This hint is valid only for the following parameters: OPTIMIZER_DYNAMIC_SAMPLING
, OPTIMIZER_INDEX_CACHING
, OPTIMIZER_INDEX_COST_ADJ
, OPTIMIZER_SECURE_VIEW_MERGING
, and STAR_TRANSFORMATION_ENABLED
. For example, the following hint sets the parameter STAR_TRANSFORMATION_ENABLED
to TRUE
for the statement to which it is added:
SELECT /*+ OPT_PARAM('star_transformation_enabled' 'true') */ * FROM ... ;
Parameter values that are strings are enclosed in single quotation marks. Numeric parameter values are specified without quotation marks.
No comments:
Post a Comment