Oracle数据库数据恢复、性能优化

找回密码
注册
搜索
热搜: 活动 交友 discuz
发新帖

0

积分

1

好友

2

主题
1#
发表于 2013-9-11 21:33:30 | 查看: 4531| 回复: 3
Hi,

请问大家谁有过关于enq : bf - allocation contention 这个 wait event 的经验吗?查了不少资料但是感觉网上关于这个等待的信息很有限,只知道发生的时机是Allocate a bloom filter in a parallel statement 但是对它产生的原因和解决方案毫无头绪……非常抱歉因为对这个问题完全不了解所以也不知道要在这里提供什么数据或者资料,如果有什么建议请告知。
目前明确的是环境exadata, 11.2.0.3.0 64bit, RAC 8 node, DR *2,  发生在一张表的全表扫描(不记得以前发生的时机了,这次是这样)
大家如果谁有相关资料或者经验希望一起讨论(发生原因,解决方法,等等)……谢谢!
2#
发表于 2013-9-11 22:23:21
问题时段awr

回复 只看该作者 道具 举报

3#
发表于 2013-9-11 23:32:46
warmbreeze 发表于 2013-9-11 22:23
问题时段awr

感谢你的建议。不过这次事件的发生是我用管理员id在生产库评测一条语句的时候出现的,因为不想影响其他事务就直接kill掉了(大约运行3-5分钟)。但是同样的语句我执行了5,6次(不同时段)都出现这个等待。以前出现的时候并没有太注意……刚才在分析语句的时候怀疑语句的join可能有问题,如果有进一步的信息会更新。

回复 只看该作者 道具 举报

4#
发表于 2013-9-12 12:28:52
没有提供 具体数据, 那么就enqueue 而论enqueue 可以参考下面的文字:

Usage
This enqueue is used when an operation is being executed in parallel. It is used to synchronise access to a
bloom filter via parallel slaves. The first slave process that is asked to create the bloom filter acquires the
enqueue in exclusive mode, downgrades to shared mode for the duration of the query and then converts back
to exclusive prior to deallocating the bloom filter.
Reducing Contention
Unknown.
Id1 / Id2 Notes
Id1 is derived from the QC's serial number (kxfpqser) and the QC's session id (See kxfpGetPxInfo()). Under
10.2.0.3 this means that we derive Id1 as:
((QC session id)<<16)) | ((QC Session Id) & 0xffff))
Id2 is the bloom id which is an number that uniquely identifies this particular bloom id node.

回复 只看该作者 道具 举报

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

QQ|手机版|Archiver|Oracle数据库数据恢复、性能优化

GMT+8, 2024-5-20 01:09 , Processed in 0.047665 second(s), 20 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部
TEL/電話+86 13764045638
Email service@parnassusdata.com
QQ 47079569