Oracle 参数 CREATE_STORED_OUTLINES 官方解释,作用,如何配置最优化建议
本站中文解释
参数
CREATE_STORED_OUTLINES 参数用于控制是否可以创建 SQL 语句的 Outlines(概要)。Outlines 可以用于改进查询性能。此参数有三个可以设定的方式:
1、TRUE:此是可默认值,用户可以创建 Outlines;
2、FALSE:对创建 Outlines 的能力进行禁止;
3、MANUAL:可以启动 Outline 的创建,以及可以修改 Outline 的功能。
正确设置方法:
1、如果想要禁止创建 Outlines,可以使用 ALTER SYSTEM 命令将 CREATE_STORED_OUTLINES 参数设置为 TRUE;
2、在启动 Outlines 创建的时候,请使用 ALTER SYSTEM 命令将 CREATE_STORED_OUTLINES 参数设定为 FALSE;
3、在要进行 Outlines 修改的时候,请使用 ALTER SYSTEM 命令将 CREATE_STORED_OUTLINES 参数设定为 MANUAL。
官方英文解释
CREATE_STORED_OUTLINES determines whether Oracle automatically creates and stores an outline for each query submitted during the session.
| Property | Description |
|---|---|
|
Parameter type |
String |
|
Syntax |
|
|
Default value |
There is no default value. |
|
Modifiable |
|
|
Modifiable in a PDB |
Yes |
|
Basic |
No |
Values
-
trueEnables automatic outline creation for subsequent queries in the same session. These outlines receive a unique system-generated name and are stored in the
DEFAULTcategory. If a particular query already has an outline defined for it in theDEFAULTcategory, then that outline will remain and a new outline will not be created. -
falseDisables automatic outline creation during the session. This is the default.
-
category_nameEnables the same behavior as
trueexcept that any outline created during the session is stored in thecategory_namecategory. -
NOOVERRIDENOOVERRIDEspecifies that this system setting will not override the setting for any session in which this parameter was explicitly set. If you do not specifyNOOVERRIDE, then this setting takes effect in all sessions.
See Also:
Oracle Database SQL Tuning
Guide for more information on setting this parameter