oracle dba_hist_sql,【DBA】DBA_HIST_SQLSTAT视图用途

SNAP_ID

NUMBER

NOT NULL

快照的ID

DBID

NUMBER

NOT NULL

数据库ID

INSTANCE_NUMBER

NUMBER

NOT NULL

实例ID

SQL_ID

VARCHAR2(13)

NOT NULL

SQL identifier of the parent cursor in the library cache

PLAN_HASH_VALUE

NUMBER

NOT NULL

Numerical representation of the SQL plan for the cursor. Comparing one

PLAN_HASH_VALUE to another easily identifies whether or not two plans are the same (rather than comparing the two plans line by line).--SQL执行计划的hash值

OPTIMIZER_COST

NUMBER

Cost of the query given by the optimizer

OPTIMIZER_MODE

VARCHAR2(10)

Mode under which the SQL statement is executed

OPTIMIZER_ENV_HASH_VALUE

NUMBER

Hash Value for the optimizer environment

SHARABLE_MEM

NUMBER

Amount of shared memory used by the child cursor (in bytes)

LOADED_VERSIONS

NUMBER

Indicates whether the context heap is loaded (

1) or not (

0)

VERSION_COUNT

NUMBER

Number of children associated with the cursor

MODULE

VARCHAR2(64)

Contains the name of the module that was executing at the time that the SQL statement was first parsed, which is set by calling

DBMS_APPLICATION_INFO.SET_MODULE

ACTION

VARCHAR2(64)

Contains the name of the action that was executing at the time that the SQL statement was first parsed, which is set by calling

DBMS_APPLICATION_INFO.SET_ACTION

SQL_PROFILE

VARCHAR2(64)

Name of the applied SQL Profile

FORCE_MATCHING_SIGNATURE

NUMBER

The signature used when the

CURSOR_SHARINGparameter is set to

FORCE

PARSING_SCHEMA_ID

NUMBER

Schema ID that was used to originally build the child cursor

PARSING_SCHEMA_NAME

VARCHAR2(128)

Schema name that was used to originally build the child cursor

PARSING_USER_ID

NUMBER

User ID that was used to originally build the child cursor

FETCHES_TOTAL

NUMBER

Cumulative number of fetches assoc

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值