|Oracle® Database Reference
12c Release 1 (12.1)
|PDF · Mobi · ePub|
|Range of values||
|Oracle RAC||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.
Oracle Database does not perform security checks that may prevent view merging and predicate move-around.
Oracle Database performs checks to ensure that view merging and predicate move-around do not violate any security intentions of the view creator.
To enable the optimizer to use view merging for any query issued by a user, you must grant the
MERGE ANY VIEW privilege to the user. Grant the
MERGE VIEW privilege to a user on specific views to enable the optimizer to use view merging for queries on these views. These privileges are required only under specific conditions, such as when a view is not merged because the security checks fail.
See Also:Oracle Database SQL Tuning Guide for more information about view merging