Friday, November 7, 2008

OPTIMIZER_SECURE_VIEW_MERGING

 Thank you for visiting Spatial DBA - Oracle and ArcSDE.

Please visit Oracle DBA Tips (http://www.oracledbatips.com) for more Oracle DBA Tips.

====================================================================



Property
Description
Parameter type
Boolean
Default value
true
Modifiable
ALTER SYSTEM
Range of values
true | false
Basic
No
Real Application Clusters
Multiple instances can have different values
OPTIMIZER_SECURE_VIEW_MERGING enables the optimizer to use view merging to improve query performance without performing the checks that would otherwise be performed to ensure that view merging does not violate any security intentions of the view creator.
Values:
· false
Oracle does not perform security checks that may prevent view merging and predicate move-around.
· true
Oracle performs checks to ensure that view merging and predicate move-around do not violate any security intentions of the view creator.
To take advantage of query rewrite for a particular query, you must disable the OPTIMIZER_SECURE_VIEW_MERGING parameter.
Note:
1. Query for the current value of the parameter
select name, value, isdefault, isses_modifiable, issys_modifiable,
isinstance_modifiable, isdeprecated, description
from v$parameter
where upper(name) = ‘OPTIMIZER_SECURE_VIEW_MERGING’;
NAME
VALUE
IS
DEFAULT
ISSES_
MODIFIABLE
ISSYS_
MODIFIABLE
ISINSTANCE_
MODIFIABLE
IS
DEPRECATED
DESCRIPTION
optimizer_secure_view_merging
FALSE
FALSE
FALSE
IMMEDIATE
TRUE
FALSE
optimizer secure view merging
and predicate pushdown/movearound

Oracle initializatoin parameters