My Oracle Support Banner

Deferred Optimization to the Execution Phase of Statements Containing Bind Variables (Doc ID 2021870.1)

Last updated on JUNE 23, 2021

Applies to:

Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Service - Version N/A and later
Oracle Database - Enterprise Edition - Version 10.1.0.2 and later
Information in this document applies to any platform.

Purpose

This document outlines why the optimization of queries containing bind variables may be deferred until execution time. Remember that that a SQL statement submitted while CURSOR_SHARING is set to 'FORCE' will, in effect, become a statement with system-generated bind variables.  For information about the sharing of cursors, refer to :

Oracle Database Online Documentation 12c Release 1 (12.1)
Database SQL Tuning Guide
Chapter 15 Controlling Cursor Sharing
http://docs.oracle.com/database/121/TGSQL/tgsql_cursor.htm#TGSQL848

 

Scope

Various

Details

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.