免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2197 | 回复: 1
打印 上一主题 下一主题

请教:DB_WRITER_PROCESSES .vs. DBWR_IO_SLAVES ? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-12-04 10:55 |只看该作者 |倒序浏览
最近公司装了一台数据库, 在运行的时候压力一直都很大, 具体环境为:

solaris 8 / oracle 8.1.7.4.0 , 机器上4G内存,
当在库里执行状态查询时:

SQL>; select * from v$waitstat;

CLASS                   COUNT       TIME
------------------ ---------- ----------
data block             164294          0
system undo block           0          0
undo header                 3          0
undo block                 15          0

请问是不是数据的DBWR不够用了? 那DB_WRITER_PROCESSES 和DBWR_IO_SLAVES 我应该用哪个呢? 怎么设置呢?
多谢啦

论坛徽章:
0
2 [报告]
发表于 2003-12-04 11:28 |只看该作者

请教:DB_WRITER_PROCESSES .vs. DBWR_IO_SLAVES ?

这两个不能同时应用,主要看你的cpu颗数了!
-- If the buffer cache is very large (100,000 buffers and up) and the   application is write intensive, then db_writer_processes may be beneficial.   Note, the number of writer processes should not exceed the number of CPUs.  
-- If the application is not very write intensive (or even a DSS system) and   async I/O is available, then consider a single DBWR writer process;    If async I/O is not available then use dbwr_io_slaves.  
-- If the system is a uniprocessor(1 CPU) then implement may want to use   dbwr_io_slaves.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP