cursor_sharing
CURSOR_SHARING
| Property | Description |
|---|---|
| Parameter type | String |
| Syntax | CURSOR_SHARING = { EXACT | FORCE } |
| Default value | EXACT |
| Modifiable | ALTER SESSION, ALTER SYSTEM |
| Basic | No |
CURSOR_SHARING determines what kind of SQL statements can share the same cursors.
Values:
-
FORCEAllows the creation of a new cursor if sharing an existing cursor, or if the cursor plan is not optimal.
-
EXACTOnly allows statements with identical text to share the same cursor.
Notes:
-
If you set
CURSOR_SHARING, then Oracle recommends theFORCEsetting unless you are in a DSS environment. -
The value of the
CURSOR_SHARINGparameter has performance implications. Refer to Oracle Database Performance Tuning Guide before setting this parameter.
-
浙公网安备 33010602011771号