免费注册 查看新帖 |

Chinaunix

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

请问用SETOBJACC将表或程序装载到内存中的问题?~~~~~~~ [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-09-12 18:00 |只看该作者 |倒序浏览
请问用SETOBJACC将表或程序装载到内存中的问题?~~~~~~~

请问装载后,如果将硬盘上的表或程序更改,比如删掉或重新编译,可以执行成功吗?
还是必须首先把他们从内存中清除掉再更改呢?

已经装载过的,再装载一次会报错吗?

怎么查看内存中已经装载了哪些表或程序?

论坛徽章:
1
操作系统版块每日发帖之星
日期:2015-08-03 06:20:00
2 [报告]
发表于 2010-09-13 15:34 |只看该作者
本帖最后由 tomroom 于 2010-09-13 16:33 编辑

关注你测试结果,网上相关文档如下:
1) IBM :http://www-01.ibm.com/support/do ... ddb86256d6c0069907f
2) QINQZHOU 之前帖子 http://www.chinaunix.net/jh/10/413779.html
3)  BLOCK使用         http://chinaunix.net/jh/10/508533.html

论坛徽章:
1
操作系统版块每日发帖之星
日期:2015-08-03 06:20:00
3 [报告]
发表于 2010-09-13 15:49 |只看该作者
本帖最后由 tomroom 于 2010-09-13 16:34 编辑

关心 如果该OBJ 是表,需要更改其中记录会发生怎样情况 。ibm  infornation center文档没有说明
IBM 说setOBJACC 之后update 会被handle
1.3 How Things Work with SETOBJACC and CLRPOOL 1  There will be few, if any, database reads once the file has been preloaded using SETOBJACC . Database writes will still be handled the same way. Database writes are usually done asynchronously to the user's job by system output tasks. Because database reads are processed much faster once a file is preloaded, database writes will be done more frequently by a program that is also doing updates, adds, or deletes. This might cause occasional overrun of the system output tasks, resulting in more database writes being done synchronously rather than asynchronously to the user's job. Therefore, the job might not perform as well as expected. However, the job will still be faster when using SETOBJACC .
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP