免费注册 查看新帖 |

Chinaunix

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

Question on db2fence ... [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-08-01 14:20 |只看该作者 |倒序浏览
Anyone know why we need this db2fence? Let say, I got 3 databases in the same server then should I create 3 db2fence for different databases or just sharing the same one?

Please advise.

论坛徽章:
0
2 [报告]
发表于 2005-08-01 15:32 |只看该作者

Question on db2fence ...

1.The fenced user is used to run user defined functions (UDFs) and stored procedures outside of the address space used by the DB2 database.(Pls refer to the help for DB2)

2.One instance, one db2fence user.If your three DBs are belong to one instance,you may share the same one.

Pls correct me if any questions on it.

论坛徽章:
0
3 [报告]
发表于 2005-08-01 16:51 |只看该作者

Question on db2fence ...

原帖由 "大连老K" 发表:
1.The fenced user is used to run user defined functions (UDFs) and stored procedures outside of the address space used by the DB2 database.(Pls refer to the help for DB2)

2.One instance, one db2fen..........


May I know what do you outside of the address space used by the DB2 database? How I know whether the program is run inside/outside of the address space for that particular database? Besides, how I check how much spaces the database have right now?

论坛徽章:
0
4 [报告]
发表于 2005-08-02 09:45 |只看该作者

Question on db2fence ...

原帖由 "toms1981" 发表:


May I know what do you outside of the address space used by the DB2 database? How I know whether the program is run inside/outside of the address space for that particular database? Besides, how I ..........


As I mentioned above,If you don't use the fence user to run the UDF or SP,it will run inside of  the address space(memory),As this  memory is to be assign to the database when the database is active.Thus it may crash the database.
You had bettter run the sp or udf  outside of the "database"  memory.

论坛徽章:
0
5 [报告]
发表于 2005-08-02 11:09 |只看该作者

Question on db2fence ...

understood. Thanks a lot
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP