Oracle 视图 V$GCR_ACTIONS 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图V$GCR_ACTIONS是一个动态性统计视图,它主要查看在Cache Fusion(进行缓存复制)中事物中使用的全局缓存请求(Global Cache Requests)的信息。它包括了统计前后的CRC记录,另外分布在每一个实例的状况。
要使用V$GCR_ACTIONS视图,首先要确保 Oracle 高可用性(RAC)环境已经开启。为了使用这个视图,可以通过以下SQL语句:
SELECT INST_ID, GLOBAL_ENQUEUE_ACTIONS, GLOBAL_DEQUEUE_ACTIONS, GLOBAL_TRANSMITS, GLOBAL_RECEIVE_PENDING FROM V$GCR_ACTIONS;
以上SQL语句将显示每一个INST_ID,及相应地GLOBAL_ENQUEUE_ACTIONS, GLOBAL_DEQUEUE_ACTIONS, GLOBAL_TRANSMITS, GLOBAL_RECEIVE_PENDING记录。
V$GCR_ACTIONS视图可以用于检测在Cache Fusion中事物产生的活动,它可以帮助用户发现性能瓶颈,并且在高可用性环境下,能够有效的优化性能。
官方英文解释
V$GCR_ACTIONS
displays information about the current status of the actions defined to the GCR component that runs under the LMHB background process to detect and mitigate potential issues in the cluster instances.
Column | Datatype | Description |
---|---|---|
|
|
Action identification number as used internally to refer to the metric |
|
|
Name of the action |
|
|
Environment that the action should run in:
|
|
|
Various flags describing the action. Used only by Oracle for diagnosis. |
|
|
Whether the action is active or not:
|
|
|
Time of last action change of status |
|
|
Iteration of the last time the action ran |
|
|
Time of last run |
|
|
The ID of the container to which the data pertains. Possible values include:
|