dc_sequences高如何优化?

[复制链接]
查看11 | 回复9 | 2007-9-26 18:42:10 | 显示全部楼层 |阅读模式
1。我的系统中dc_sequences pct miss非常高,都达到70%了,调整了几个插入频繁的表的sequence cache还是不建好转,系统中总共有4000多个sequences,我怎么知道是哪几个sequence 需要调整cache值呢?
2。还有dc_tablespace_quotas这个pct miss是怎么引起的,可以怎么优化呢?

^LDictionary Cache Stats for DB: ESALInstance: rac3Snaps: 2102 -2103
->"Pct Misses"should be very low ("Cache Usage" is the number of cache entries being used
->"Pct SGA" is the ratio of usage to allocated size for that cache

GetPctScan PctModFinal
Cache
Requests MissReqsMiss ReqsUsage
------------------------- ------------ ------ ------- ----- -------- ----------
dc_histogram_data
4,6140.1 0
01,800
dc_histogram_data_values 4840.0 0
0376
dc_histogram_defs
6,9050.8 0
09,015
dc_object_ids
15,0350.1 0
06,172
dc_objects
128,8530.0 0
02,290
dc_profiles
254,6580.0 0
0
2
dc_rollback_segments
51,8530.0 0
0958
dc_segments
6,4200.8 0
06,592
dc_sequences
891 68.9 0
891 79
dc_table_scns
1432.8 0
2
3
dc_tablespace_quotas
1100.0 0
1
1
dc_tablespaces
15,4460.0 0
0 10
dc_user_grants
1,527,9230.0 0
0 13
dc_usernames
255,0280.0 0
0
5
dc_users
1,927,5720.0 0
0 16

-------------------------------------------------------------
回复

使用道具 举报

千问 | 2007-9-26 18:42:10 | 显示全部楼层
dc_tablespace_quotas这个pct miss是怎么引起的,你不看看请求才1次啊
回复

使用道具 举报

千问 | 2007-9-26 18:42:10 | 显示全部楼层
这2个虽然miss比较高,但是次数不多,不要光看命中率
回复

使用道具 举报

千问 | 2007-9-26 18:42:10 | 显示全部楼层
select * from v$version;
show parameter sys.audses$
回复

使用道具 举报

千问 | 2007-9-26 18:42:10 | 显示全部楼层
sys.audses$这个曾经确实是瓶颈,后来从20调到500,再调到1000,但pct miss没什么多大变化
cybercafe@ESAL> select * from v$version;
show parameter sys.audses$
BANNER
----------------------------------------------------------------
Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
PL/SQL Release 9.2.0.4.0 - Production
CORE9.2.0.3.0 Production
TNS for Linux: Version 9.2.0.4.0 - Production
NLSRTL Version 9.2.0.4.0 - Production
Elapsed: 00:00:00.05
cybercafe@ESAL>
cybercafe@ESAL> show parameter sys.audses$
cybercafe@ESAL>
回复

使用道具 举报

千问 | 2007-9-26 18:42:10 | 显示全部楼层
如果系统性能没有问题的话,just do nothing with that
回复

使用道具 举报

千问 | 2007-9-26 18:42:10 | 显示全部楼层
原帖由 shiri512003 于 2009-1-13 12:30 发表
just do nothing with that




回复

使用道具 举报

千问 | 2007-9-26 18:42:10 | 显示全部楼层
数据库里有等待事件么?都是啥?
回复

使用道具 举报

千问 | 2007-9-26 18:42:10 | 显示全部楼层
dc_sequences
仅仅加大cache,其它没有好办法。
回复

使用道具 举报

千问 | 2007-9-26 18:42:10 | 显示全部楼层
原帖由 lfree 于 2009-1-13 14:35 发表
dc_sequences
仅仅加大cache,其它没有好办法。


只有专家才会用肯定的语气。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行