Oracle 视图 DBA_SQL_PROFILES 官方解释,作用,如何使用详细说明
本站中文解释
Oracle数据库中的视图DBA_SQL_PROFILES显示当前用户拥有的SQL数据库概要等细节。它是一个数据字典视图,列出当前用户拥有的SQL数据库概要和其他有用的运行时参数。
要使用DBA_SQL_PROFILES视图,用户必须具有“SELECT ANY DICTIONARY”数据字典权限。以下语句查询DBA_SQL_PROFILES视图:
SELECT * FROM dba_sql_profiles;
此语句将显示当前用户拥有的SQL概要的细节,以及其他有用的运行时参数。
官方英文解释
DBA_SQL_PROFILES
displays information about SQL profiles currently created for specific SQL statements.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
|
Name of the SQL profile |
|
|
|
Category of the SQL profile |
|
|
|
Unique identifier generated from normalized SQL text |
|
|
|
Un-normalized SQL text |
|
|
|
Timestamp when the SQL profile was created |
|
|
Timestamp when the SQL profile was last modified |
|
|
|
Text description provided for the SQL profile |
|
|
|
Type of the SQL profile (how it was created):
|
|
|
|
Status of the SQL profile:
|
|
|
|
If If |
|
|
|
Advisor task ID that generated the SQL profile |
|
|
|
Advisor execution name for the SQL profile |
|
|
|
Advisor object ID for the SQL profile |
|
|
|
Advisor finding ID for the SQL profile |
|
|
|
Advisor recommendation ID for the SQL profile |
|
|
|
Database ID for the PDB tuning task generating the SQL profile |
See Also:
The DBMS_SQLTUNE
package in Oracle Database PL/SQL
Packages and Types Reference