- 最后登录
- 2014-2-11
- 在线时间
- 44 小时
- 威望
- 12
- 金钱
- 146
- 注册时间
- 2011-11-1
- 阅读权限
- 10
- 帖子
- 40
- 精华
- 0
- 积分
- 12
- UID
- 81
|
3#
发表于 2013-1-6 17:25:52
本帖最后由 laobu 于 2013-1-6 17:33 编辑
Maclean Liu(刘相兵 发表于 2013-1-6 17:00
ASH!
上传了两个节点的ash,awr,alert.log
谢谢
444560.1提到:
How can Library cache lock be reduced?
In general , high contention on library cache lock is usually a result of an under-sized shared pool or non-sharing of sql. Some ways of reducing the contention are:
Reduce the reloads by increasing the shared pool size as the locks may take a long time if the pool is undersized.
Increase sharing by setting the cursor_sharing to similar or force.
Be aware this may change the execution plan; so setting the parameter should be thoroughly tested.
我试着做过:
cursor_sharing从exact改到similar/force,无效,而且并没有shared pool事件,看来与解析无关
另外,没有使用SGA自动管理,shared_pool手工设置为6G |
|