- 浏览: 978874 次
- 性别:
- 来自: 杭州
文章分类
最新评论
-
孤星119:
好熟悉的数据库字段啊, 上家公司做的项目每天都跟这些字段打招呼 ...
Oracle exp compress参数引起的空间浪费 -
itspace:
quxiaoyong 写道遇到个问题,网上一搜,全他妈这篇文章 ...
数据库连接错误ORA-28547 -
quxiaoyong:
遇到个问题,网上一搜,全他妈这篇文章。你转来转去的有意思吗?
数据库连接错误ORA-28547 -
hctech:
关于version count过高的问题,不知博主是否看过ey ...
某客户数据库性能诊断报告 -
itspace:
invalid 写道写的不错,我根据这个来安装,有点理解错误了 ...
AIX 配置vncserver
MMON process will periodically flush ASH data into AWR tables.
Oracle introduced WF enqueue which is used to serialize the flushing of snapshots.
If for any reason ( space issue, bugs, hanging etc..) you need to disable flushing the run time statistics for
particular table than following procedure needs to be done.
First, locate the exact AWR Table Info (KEW layer):
SQL> select table_id_kewrtb, table_name_kewrtb from x$kewrtb order by 1
TABLE_ID_KEWRTB TABLE_NAME_KEWRTB
--------------- --------------------------------------------------------
0 WRM$_DATABASE_INSTANCE
1 WRM$_SNAPSHOT
2 WRM$_BASELINE
3 WRM$_WR_CONTROL
4 WRH$_STAT_NAME
5 WRH$_PARAMETER_NAME
6 WRH$_EVENT_NAME
7 WRH$_LATCH_NAME
8 WRH$_FILESTATXS
9 WRH$_TEMPSTATXS
10 WRH$_DATAFILE
11 WRH$_TEMPFILE
12 WRH$_SQLSTAT
13 WRH$_SQLTEXT
14 WRH$_SQL_SUMMARY
15 WRH$_SQL_PLAN
16 WRH$_SYSTEM_EVENT
17 WRH$_BG_EVENT_SUMMARY
18 WRH$_WAITSTAT
19 WRH$_ENQUEUE_STAT
20 WRH$_LATCH
21 WRH$_LATCH_CHILDREN
22 WRH$_LATCH_PARENT
23 WRH$_LATCH_MISSES_SUMMARY
24 WRH$_LIBRARYCACHE
25 WRH$_DB_CACHE_ADVICE
26 WRH$_BUFFER_POOL_STATISTICS
27 WRH$_ROWCACHE_SUMMARY
28 WRH$_SGA
29 WRH$_SGASTAT
30 WRH$_PGASTAT
31 WRH$_RESOURCE_LIMIT
32 WRH$_SHARED_POOL_ADVICE
33 WRH$_SQL_WORKAREA_HISTOGRAM
34 WRH$_PGA_TARGET_ADVICE
35 WRH$_INSTANCE_RECOVERY
36 WRH$_SYSSTAT
37 WRH$_PARAMETER
38 WRH$_UNDOSTAT
39 WRH$_PROCESS_MEMORY_SUMMARY
40 WRH$_SEG_STAT
41 WRH$_SEG_STAT_OBJ
42 WRH$_DLM_MISC
43 WRH$_SERVICE_NAME
44 WRH$_SERVICE_STAT
45 WRH$_ACTIVE_SESSION_HISTORY
46 WRH$_SYSMETRIC_HISTORY
47 WRH$_FILEMETRIC_HISTORY
48 WRH$_WAITCLASSMETRIC_HISTORY
49 WRI$_ALERT_HISTORY
50 WRH$_TABLESPACE_STAT
51 WRH$_LOG
52 WRH$_MTTR_TARGET_ADVICE
53 WRH$_TABLESPACE_SPACE_USAGE
54 WRH$_METRIC_NAME
55 WRH$_SYSMETRIC_SUMMARY
56 WRH$_SQL_BIND_METADATA
57 WRH$_JAVA_POOL_ADVICE
58 WRH$_THREAD
59 WRH$_SESSMETRIC_HISTORY
60 WRH$_OSSTAT
61 WRH$_OSSTAT_NAME
62 WRH$_SYS_TIME_MODEL
63 wri$_optstat_opr
64 WRH$_OPTIMIZER_ENV
65 WRM$_SNAP_ERROR
66 WRH$_SERVICE_WAIT_CLASS
67 WRH$_CR_BLOCK_SERVER
68 WRH$_CURRENT_BLOCK_SERVER
69 WRH$_INST_CACHE_TRANSFER
70 SQL Group
71 Segment Group
72 Datafile Group
73 Tempfile Group
74 Service Group
75 Undo Group
76 WRH$_STREAMS_POOL_ADVICE
77 WRI$_SEGADV_OBJLIST
78 WRI$_SEGADV_CNTRLTAB
79 WRH$_COMP_IOSTAT
80 WRH$_SGA_TARGET_ADVICE
81 WRH$_SESS_TIME_STATS
82 WRH$_STREAMS_CAPTURE
83 WRH$_STREAMS_APPLY_SUM
84 WRH$_BUFFERED_QUEUES
85 WRH$_BUFFERED_SUBSCRIBERS
86 WRH$_RULE_SET
87 WRH$_EVENT_HISTOGRAM
88 WRH$_MUTEX_SLEEP
89 WRH$_MEMORY_TARGET_ADVICE
90 WRH$_MEMORY_RESIZE_OPS
91 WRH$_PERSISTENT_QUEUES
92 WRH$_PERSISTENT_SUBSCRIBERS
93 WRM$_COLORED_SQL
94 WRH$_IOSTAT_FUNCTION
95 WRH$_IOSTAT_FUNCTION_NAME
96 WRH$_IOSTAT_FILETYPE
97 WRH$_IOSTAT_FILETYPE_NAME
98 WRH$_RSRC_CONSUMER_GROUP
99 WRH$_RSRC_PLAN
100 WRM$_BASELINE_DETAILS
101 WRM$_BASELINE_TEMPLATE
102 WRH$_CLUSTER_INTERCON
103 WRH$_MEM_DYNAMIC_COMP
104 WRH$_IC_CLIENT_STATS
105 WRH$_IC_DEVICE_STATS
106 WRH$_INTERCONNECT_PINGS
107 WRH$_DISPATCHER
108 WRH$_SHARED_SERVER_SUMMARY
109 WRH$_IOSTAT_DETAIL
110 WRH$_DYN_REMASTER_STATS
111 WRH$_PLAN_OPERATION_NAME
112 WRH$_PLAN_OPTION_NAME
113 WRH$_SQLCOMMAND_NAME
114 WRH$_TOPLEVELCALL_NAME
115 WRM$_WR_USAGE
116 WRH$_MVPARAMETER
117 WRH$_PERSISTENT_QMN_CACHE
118 WRH$_TABLESPACE
119 WRM$_SNAPSHOT_DETAILS
120 WRI$_SQLTEXT_REFCOUNT
121 rows selected.
1st option :
SQL> alter system set “_awr_disabled_flush_tables”=’<table_name>’;
e.g.
alter system set “_awr_disabled_flush_tables”=’WRH$_INTERCONNECT_PINGS,WRH$_RSRC_PLAN’;
System altered.
2nd option:
SQL> alter session set events ‘immediate trace name awr_flush_table_off level 106′;
SQL> alter session set events ‘immediate trace name awr_flush_table_off level 99′
If you decide to turn on flushing statistics than
SQL> alter session set events ‘immediate trace name awr_flush_table_on level 106′;
SQL> alter session set events ‘immediate trace name awr_flush_table_on level 99′;
Oracle introduced WF enqueue which is used to serialize the flushing of snapshots.
If for any reason ( space issue, bugs, hanging etc..) you need to disable flushing the run time statistics for
particular table than following procedure needs to be done.
First, locate the exact AWR Table Info (KEW layer):
SQL> select table_id_kewrtb, table_name_kewrtb from x$kewrtb order by 1
TABLE_ID_KEWRTB TABLE_NAME_KEWRTB
--------------- --------------------------------------------------------
0 WRM$_DATABASE_INSTANCE
1 WRM$_SNAPSHOT
2 WRM$_BASELINE
3 WRM$_WR_CONTROL
4 WRH$_STAT_NAME
5 WRH$_PARAMETER_NAME
6 WRH$_EVENT_NAME
7 WRH$_LATCH_NAME
8 WRH$_FILESTATXS
9 WRH$_TEMPSTATXS
10 WRH$_DATAFILE
11 WRH$_TEMPFILE
12 WRH$_SQLSTAT
13 WRH$_SQLTEXT
14 WRH$_SQL_SUMMARY
15 WRH$_SQL_PLAN
16 WRH$_SYSTEM_EVENT
17 WRH$_BG_EVENT_SUMMARY
18 WRH$_WAITSTAT
19 WRH$_ENQUEUE_STAT
20 WRH$_LATCH
21 WRH$_LATCH_CHILDREN
22 WRH$_LATCH_PARENT
23 WRH$_LATCH_MISSES_SUMMARY
24 WRH$_LIBRARYCACHE
25 WRH$_DB_CACHE_ADVICE
26 WRH$_BUFFER_POOL_STATISTICS
27 WRH$_ROWCACHE_SUMMARY
28 WRH$_SGA
29 WRH$_SGASTAT
30 WRH$_PGASTAT
31 WRH$_RESOURCE_LIMIT
32 WRH$_SHARED_POOL_ADVICE
33 WRH$_SQL_WORKAREA_HISTOGRAM
34 WRH$_PGA_TARGET_ADVICE
35 WRH$_INSTANCE_RECOVERY
36 WRH$_SYSSTAT
37 WRH$_PARAMETER
38 WRH$_UNDOSTAT
39 WRH$_PROCESS_MEMORY_SUMMARY
40 WRH$_SEG_STAT
41 WRH$_SEG_STAT_OBJ
42 WRH$_DLM_MISC
43 WRH$_SERVICE_NAME
44 WRH$_SERVICE_STAT
45 WRH$_ACTIVE_SESSION_HISTORY
46 WRH$_SYSMETRIC_HISTORY
47 WRH$_FILEMETRIC_HISTORY
48 WRH$_WAITCLASSMETRIC_HISTORY
49 WRI$_ALERT_HISTORY
50 WRH$_TABLESPACE_STAT
51 WRH$_LOG
52 WRH$_MTTR_TARGET_ADVICE
53 WRH$_TABLESPACE_SPACE_USAGE
54 WRH$_METRIC_NAME
55 WRH$_SYSMETRIC_SUMMARY
56 WRH$_SQL_BIND_METADATA
57 WRH$_JAVA_POOL_ADVICE
58 WRH$_THREAD
59 WRH$_SESSMETRIC_HISTORY
60 WRH$_OSSTAT
61 WRH$_OSSTAT_NAME
62 WRH$_SYS_TIME_MODEL
63 wri$_optstat_opr
64 WRH$_OPTIMIZER_ENV
65 WRM$_SNAP_ERROR
66 WRH$_SERVICE_WAIT_CLASS
67 WRH$_CR_BLOCK_SERVER
68 WRH$_CURRENT_BLOCK_SERVER
69 WRH$_INST_CACHE_TRANSFER
70 SQL Group
71 Segment Group
72 Datafile Group
73 Tempfile Group
74 Service Group
75 Undo Group
76 WRH$_STREAMS_POOL_ADVICE
77 WRI$_SEGADV_OBJLIST
78 WRI$_SEGADV_CNTRLTAB
79 WRH$_COMP_IOSTAT
80 WRH$_SGA_TARGET_ADVICE
81 WRH$_SESS_TIME_STATS
82 WRH$_STREAMS_CAPTURE
83 WRH$_STREAMS_APPLY_SUM
84 WRH$_BUFFERED_QUEUES
85 WRH$_BUFFERED_SUBSCRIBERS
86 WRH$_RULE_SET
87 WRH$_EVENT_HISTOGRAM
88 WRH$_MUTEX_SLEEP
89 WRH$_MEMORY_TARGET_ADVICE
90 WRH$_MEMORY_RESIZE_OPS
91 WRH$_PERSISTENT_QUEUES
92 WRH$_PERSISTENT_SUBSCRIBERS
93 WRM$_COLORED_SQL
94 WRH$_IOSTAT_FUNCTION
95 WRH$_IOSTAT_FUNCTION_NAME
96 WRH$_IOSTAT_FILETYPE
97 WRH$_IOSTAT_FILETYPE_NAME
98 WRH$_RSRC_CONSUMER_GROUP
99 WRH$_RSRC_PLAN
100 WRM$_BASELINE_DETAILS
101 WRM$_BASELINE_TEMPLATE
102 WRH$_CLUSTER_INTERCON
103 WRH$_MEM_DYNAMIC_COMP
104 WRH$_IC_CLIENT_STATS
105 WRH$_IC_DEVICE_STATS
106 WRH$_INTERCONNECT_PINGS
107 WRH$_DISPATCHER
108 WRH$_SHARED_SERVER_SUMMARY
109 WRH$_IOSTAT_DETAIL
110 WRH$_DYN_REMASTER_STATS
111 WRH$_PLAN_OPERATION_NAME
112 WRH$_PLAN_OPTION_NAME
113 WRH$_SQLCOMMAND_NAME
114 WRH$_TOPLEVELCALL_NAME
115 WRM$_WR_USAGE
116 WRH$_MVPARAMETER
117 WRH$_PERSISTENT_QMN_CACHE
118 WRH$_TABLESPACE
119 WRM$_SNAPSHOT_DETAILS
120 WRI$_SQLTEXT_REFCOUNT
121 rows selected.
1st option :
SQL> alter system set “_awr_disabled_flush_tables”=’<table_name>’;
e.g.
alter system set “_awr_disabled_flush_tables”=’WRH$_INTERCONNECT_PINGS,WRH$_RSRC_PLAN’;
System altered.
2nd option:
SQL> alter session set events ‘immediate trace name awr_flush_table_off level 106′;
SQL> alter session set events ‘immediate trace name awr_flush_table_off level 99′
If you decide to turn on flushing statistics than
SQL> alter session set events ‘immediate trace name awr_flush_table_on level 106′;
SQL> alter session set events ‘immediate trace name awr_flush_table_on level 99′;
发表评论
-
buffer cache 的内部结构
2020-03-18 14:21 579BUFFER CACHE作为数据块的 ... -
Oracle OMC介绍
2020-03-18 13:19 487Oracle管理云服务(OMC)的大数据平台,自动收集的企业 ... -
参加Oracle勒索病毒防范专题培训会议
2019-09-27 17:15 5132019年7月22日,受邀参加Oracle勒索病毒防范专题培训 ... -
记一次内存换IO的Oracle优化
2019-09-27 16:50 827某客户数据库从P595物理 ... -
如何定位Oracle SQL执行计划变化的原因
2019-07-03 14:49 1460性能优化最难的是能够 ... -
如何定位Oracle SQL执行计划变化的原因
2018-10-30 09:24 1185性能优化最难的是能够 ... -
数据库性能优化目标
2018-10-08 10:59 518从数据库性能优化的场 ... -
数据库无法打开的原因及解决办法
2018-10-05 20:45 2120数据库的启动是一个相当复杂的过程。比如,Oracle在启动之前 ... -
怎么样彻底删除数据库?
2018-09-18 11:10 599Oracle提供了drop database命令用来删除数据库 ... -
Oracle减少日志量的方法
2018-09-10 10:17 867LGWR进程将LOG BUFFER中的 ... -
如何快速关闭数据库
2018-09-09 13:14 1233“一朝被蛇咬,十年怕井绳”。在没被“蛇”咬之前,很多DBA喜欢 ... -
关于《如何落地智能化运维》PPT
2018-05-17 10:19 1129在DTCC 2018发表《如何落地智能化运维》演讲,主要内容如 ... -
记录在redhat5.8平台安装oracle11.2容易忽视的几个问题
2018-05-11 19:58 578问题一:ping不通问题 在虚拟机上安装好linux系统后, ... -
《Oracle DBA实战攻略》第一章
2018-05-11 10:42 947即日起,不定期更新《OracleDBA实战攻略》一书电子版,请 ... -
Oracle 12c新特性
2018-05-11 10:33 900查询所有pdb [oracle@gj4 ~]$ sqlplu ... -
关于修改memory_target的值后数据库无法启动的问题
2017-02-28 12:24 3983操作系统:RHEL6.5 数据库版本:11.2.0.4 ... -
10g rac安装error while loading shared libraries libpthread.so.0 问题
2017-02-28 12:22 69511g rac安装在二节点跑脚本一般会报此错误: 解决这个问 ... -
记一次Oracle会话共享模式故障处理过程
2017-02-27 19:16 801故障简述 XXX第八人民医院HIS数据库7月13日11点左右从 ... -
RESMGR:cpu quantum等待事件处理过程
2017-02-27 18:23 2615由于数据库上线过程中出现大量的RESMGR:cpu quant ... -
谈谈log file sync
2014-03-19 14:18 1759数据库中的log file sync等待事件指的是,当user ...
相关推荐
This shows how to disable control alt and delete by tricking the computer into thinking that the screensaver is running.
Android - Is It possible to disable the click of home button How to disable Home and other system buttons in Android? This library provide a easy way to do this job. NOTICE This library doesn't ...
标题中的“如何禁用Win95/98窗口”表明这是一个关于操作系统,特别是Windows 95和98的教程,具体涉及的是系统界面的自定义和管理。在早期的Windows操作系统中,用户可能会出于安全、性能优化或者个性化需求,想要...
后仿
### 如何关闭QC3.0 #### 背景与概述 QC3.0(Quick Charge 3.0)是高通公司推出的一种快速充电技术,旨在为移动设备提供更加快速、高效的充电体验。然而,在某些情况下,用户或制造商可能需要禁用这一功能,比如在...
Severity Code Description ... To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 解决方案:更改预处理定义 右击项目名,选择Properties 在c/c++下选择Preprocessor 点击图
0 -> disable writing to data memory - Address for read/write operand (A -> n_bits_address bits = 32 bits) - Write Data for write operand (WD -> data_mem_width bits) • Outputs - Read Data for ...
explains how to manage data through commands, and shares experiences from big players in the industry. What this book covers Chapter 1, Getting Started (The Baby Steps), shows you how to install Redis...
This power tip demonstrates how to calculate the sum from a column of numeric data. Column mode How to use the features of UltraEdit's powerful column mode Advanced and column-based sort How to sort ...
Before we look at how SQL Server uses and manages its memory, we need to ensure a full understanding of the more common memory related terms. The following definitions will help you understand how SQL...
This paper will present a complete overview of PatchGuard mecanisms, from the initialization to the Blue Screen Of Death, and insights about how we implemented a driver able to disable it. Especially,...
* added a flush after every log line to help GUIs * "eac3to some.mpls" now also works if the stream files aren't there, anymore * fixed: number of subtitles was not appended to demuxed subtitles' file...
LockScreenSample-Disable HomeButton or HomeKey Event Android LockScreenSample Using Service - Disable HomeButton Key Event LockScreenSample use ...Android - Is It possible to disable the click of home b
- Minor change to the serial port test where, if "Disable RTS/CTS and DSR/DTR test phase" was selected the DTR and RTS lines would be explicitly disabled to prevent any toggling of these lines. ...
2.4 Forge headers or otherwise manipulate identifiers in order to disguise the origin of any data transmitted to other users; 2.5 Transmit, access or communicate any data that you do not have a right...
The code has been tested under NT4 SP6a<END><br>31,passdemo.zip This is a very good example of how to use the registry to save data. It shows how to create, store and save a password to the ...
此adb中无adb disable-verity命令,如果在cmd中输入以上命令会报 /system/bin/sh: disable-verity: not found 的错误。具体可看本人的文章 ”/system/bin/sh: disable-verity: not found 的解决方案“ 【使用方式】...
Covers how to trigger and disable the Knowledge Consistency Checker (KCC), how to query metadata, force replication, and determine what changes have yet to replicate between domain controllers. ...
此adb工具包中包含了adb disable-verity命令,这里免费提供给大家使用,具体可看本人的文章 ”/system/bin/sh: disable-verity: not found 的解决方案“ 【使用方式】 platform-tools解压后即可使用。在cmd中通过cd...
若要关闭AWR功能,可以执行`dbms_awr.disable_awr();`。但请注意,关闭AWR可能导致失去对数据库性能的监控能力,除非有其他替代方案。 最后,如果配合Enterprise Manager(EM)使用AWR,可以进一步提升性能分析的...