Oracle 视图 ALL_SQLSET 官方解释,作用,如何使用详细说明
本站中文解释
_ATTRS
ALL_SQLSET_ATTRS视图包含了sqlset属性,它可以用于设置模式、网络参数等信息。
Oracle视图ALL_SQLSET_ATTRS表示使用sqlset来查询模式,用于指定数据库和连接服务所需要的参数。在配置Oracle数据库时,可以使用ALL_SQLSET_ATTRS视图设定sqlset属性,例如模式名、网络参数、诊断级别、会话模式等,以满足业务的需求。
使用ALL_SQLSET_ATTRS视图,可以通过SQL语句实现操纵sqlset,以指定数据库运行时部分内容的参数化设置,如下:
建立sqlset:
CREATE OR REPLACE SESSION SET sqlsetname
设置sqlset属性:
ALTER SESSION SET sqlsetname = VALUE
删除sqlset属性:
ALTER SESSION DROP sqlsetname
查看sqlset属性:
SELECT * FROM all_sqlsets_attrs WHERE sqlsetname=’sqlsetname’;
官方英文解释
ALL_SQLSET
displays information about all SQL tuning sets accessible to the current user.
Related Views
-
DBA_SQLSET
displays information about all SQL tuning sets in the database. -
USER_SQLSET
displays information about the SQL tuning sets owned by the current user. This view does not display theOWNER
column.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
|
Name of the SQL tuning set |
|
|
|
SQL tuning set identifier |
|
|
|
The database ID of the PDB |
|
|
Owner of the SQL tuning set |
|
|
|
Description of the SQL tuning set |
|
|
|
Date the SQL tuning set was created |
|
|
|
Date the SQL tuning set was last modified |
|
|
|
Number of statements in the SQL tuning set |
See Also:
-
“DBA_SQLSET”
-
“USER_SQLSET”