12
返回列表 发新帖
楼主: bj祥子

请教参数db_file_multiblock_read_count的作用

[复制链接]
论坛徽章:
47
蒙奇·D·路飞
日期:2017-03-27 08:04:23马上有车
日期:2014-02-18 16:41:112014年新春福章
日期:2014-02-18 16:41:11一汽
日期:2013-09-01 20:46:27复活蛋
日期:2013-03-13 07:55:232013年新春福章
日期:2013-02-25 14:51:24ITPUB 11周年纪念徽章
日期:2012-10-09 18:03:322012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:20
11#
发表于 2009-7-30 03:40 | 只看该作者
原帖由 king3171 于 2009-7-28 21:58 发表
http://www-900.ibm.com/cn/suppor ... DocId=2411083L10001


Thanks for this update. I looked at the IBM document, then searched Metalink for "socket buffer overflows" and found many bugs. But all are incomplete or duplicate bugs. I think if there's really a bug acknowledged by Oracle, it most likely is port specific (limited to AIX only). We run Oracle 10gR2 on Linux (Red Hat 4 and 5.3, with kernel 2.6). I guess I'm lucky.

On my Linux boxes, netstat -s does not have an entry for "socket buffer overflows". The closest is "packets pruned from receive queue because of socket buffer overrun", but it's under the heading of TcpExt. Under Udp, I only have

Udp:
    3212588471 packets received
    2753777 packets to unknown port received.
    4070 packet receive errors
    3129298945 packets sent

I'm not sure if Linux simply does not record the socket buffer overrun or overflow statistics.

Yong Huang

[ 本帖最后由 Yong Huang 于 2009-7-29 13:46 编辑 ]

使用道具 举报

回复
论坛徽章:
2
复活蛋
日期:2013-06-04 08:53:40
12#
发表于 2009-7-30 08:46 | 只看该作者
学习了

使用道具 举报

回复
论坛徽章:
1
2011新春纪念徽章
日期:2011-02-18 11:43:35
13#
发表于 2009-7-31 14:12 | 只看该作者
原帖由 Yong Huang 于 2009-7-30 03:40 发表


Thanks for this update. I looked at the IBM document, then searched Metalink for "socket buffer overflows" and found many bugs. But all are incomplete or duplicate bugs. I think if there's really a bug acknowledged by Oracle, it most likely is port specific (limited to AIX only). We run Oracle 10gR2 on Linux (Red Hat 4 and 5.3, with kernel 2.6). I guess I'm lucky.

On my Linux boxes, netstat -s does not have an entry for "socket buffer overflows". The closest is "packets pruned from receive queue because of socket buffer overrun", but it's under the heading of TcpExt. Under Udp, I only have

Udp:
    3212588471 packets received
    2753777 packets to unknown port received.
    4070 packet receive errors
    3129298945 packets sent

I'm not sure if Linux simply does not record the socket buffer overrun or overflow statistics.

Yong Huang



      确实这个问题大多出现在AIX系统上,这和RAC的内部通讯协议有关,AIX和HPUX平台上是使用UDP,所以RAC环境下在AIX和HPUX平台上都可以看到UDP 的socket buffer overflows,而solaris和linux印象中使用的不是UDP,所以看不到UDP 的socket buffer overflows,具体使用什么协议,有兴趣可以去查证。当我的9I RAC FOR AIX遇到 High 'global cache cr request' wait events in a statspack report.时,我在ITPUB和GOOGLE上搜索到很多同样问题的帖子,都是在 AIX系统上发生的,但都没有给出解决方案,有些人甚至无奈的直接关掉RAC中一个实例单实例来跑业务,这样就可以避免缓存融合,我也是无奈的情况下摸索了很久才发现是UDP通信 的socket buffer overflows导致的,最后引申到db_file_multiblock_read_count参数。

[ 本帖最后由 king3171 于 2009-7-31 14:19 编辑 ]

使用道具 举报

回复
论坛徽章:
47
蒙奇·D·路飞
日期:2017-03-27 08:04:23马上有车
日期:2014-02-18 16:41:112014年新春福章
日期:2014-02-18 16:41:11一汽
日期:2013-09-01 20:46:27复活蛋
日期:2013-03-13 07:55:232013年新春福章
日期:2013-02-25 14:51:24ITPUB 11周年纪念徽章
日期:2012-10-09 18:03:322012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:20
14#
发表于 2009-8-1 05:14 | 只看该作者
> solaris和linux印象中使用的不是UDP,所以看不到UDP 的socket buffer overflows

On all OS'es I know, RAC interconnect uses UDP by default. Just login as sys as sysdba, run "oradebug ipc" and check trace file.

Besides, "socket buffer overflows" is an OS level statistic. It exists or does not exist no matter whether you have installed Oracle.

> 我也是无奈的情况下摸索了很久才发现是UDP通信 的socket buffer overflows导致的,最后引申到
> db_file_multiblock_read_count参数。

I have more confidence now to say that the problem of high db_file_multiblock_read_count causing high 'global cache cr request' is limited to AIX. I don't see more evidence from your research that indicates it's not port-specific.

Yong Huang

使用道具 举报

回复
论坛徽章:
176
现任管理团队成员
日期:2011-05-07 01:45:08版主7段
日期:2012-07-05 02:21:03ITPUB长老会成员
日期:2015-05-07 15:11:10ITPUB年度最佳版主
日期:2011-04-08 18:37:09ITPUB年度最佳版主
日期:2011-12-28 15:24:18ITPUB牛人
日期:2010-10-25 12:41:322010数据库技术大会纪念徽章
日期:2015-04-23 10:33:192011数据库大会纪念章
日期:2015-04-23 10:33:192012数据库大会纪念章
日期:2015-04-23 10:33:192013数据库大会纪念章
日期:2015-04-23 10:33:19
15#
发表于 2009-8-1 21:39 | 只看该作者
学习啊,看的有点累来

使用道具 举报

回复
论坛徽章:
75
生肖徽章:猪
日期:2014-09-05 10:25:05指数菠菜纪念章
日期:2016-10-17 16:12:49生肖徽章:兔
日期:2015-02-05 16:49:02生肖徽章:鼠
日期:2015-02-05 16:49:02生肖徽章:鼠
日期:2015-02-05 16:49:02生肖徽章:马
日期:2015-02-05 16:49:02生肖徽章:羊
日期:2015-02-06 08:40:35生肖徽章:羊
日期:2015-02-06 08:40:34股神
日期:2015-01-05 08:27:16菲尼克斯太阳
日期:2014-12-29 13:11:51
16#
发表于 2009-8-3 13:30 | 只看该作者
On one of linux platform: db_file_multiblock_read_count default value is 16:
SQL> show parameter multi

NAME                                 TYPE                              VALUE
------------------------------------ --------------------------------- ------------------------------
db_file_multiblock_read_count        integer                           16

使用道具 举报

回复
论坛徽章:
75
生肖徽章:猪
日期:2014-09-05 10:25:05指数菠菜纪念章
日期:2016-10-17 16:12:49生肖徽章:兔
日期:2015-02-05 16:49:02生肖徽章:鼠
日期:2015-02-05 16:49:02生肖徽章:鼠
日期:2015-02-05 16:49:02生肖徽章:马
日期:2015-02-05 16:49:02生肖徽章:羊
日期:2015-02-06 08:40:35生肖徽章:羊
日期:2015-02-06 08:40:34股神
日期:2015-01-05 08:27:16菲尼克斯太阳
日期:2014-12-29 13:11:51
17#
发表于 2009-8-3 13:31 | 只看该作者
to Yong Huang
And on linix rac env:
What value for db_file_multiblock_read_count is fit?

使用道具 举报

回复
论坛徽章:
47
蒙奇·D·路飞
日期:2017-03-27 08:04:23马上有车
日期:2014-02-18 16:41:112014年新春福章
日期:2014-02-18 16:41:11一汽
日期:2013-09-01 20:46:27复活蛋
日期:2013-03-13 07:55:232013年新春福章
日期:2013-02-25 14:51:24ITPUB 11周年纪念徽章
日期:2012-10-09 18:03:322012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:20
18#
发表于 2009-8-4 02:30 | 只看该作者
原帖由 kewin 于 2009-8-2 23:31 发表
to Yong Huang
And on linix rac env:
What value for db_file_multiblock_read_count is fit?


Always tell us Oracle version.

In 10gR2, leave it alone.

Yong Huang

使用道具 举报

回复

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

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表