免费注册 查看新帖 |

Chinaunix

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

执行查询语句的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-03-29 17:17 |只看该作者 |倒序浏览
sybase12.5,solaris8,
sybase的内存配置是800000一执行大的查询如not in,in等就会执行不了,而且备份服务回自动down掉。
请问各位高手是什么原因??

论坛徽章:
0
2 [报告]
发表于 2004-03-29 22:55 |只看该作者

执行查询语句的问题

errorlog里写的什么?

论坛徽章:
0
3 [报告]
发表于 2004-03-30 09:47 |只看该作者

执行查询语句的问题

00:00000:00001:2004/03/17 23:58:00.14 server  Master device size: 200 megabytes, or 102400 virtual pages. (A virtual page is 2048 bytes.)
00:00000:00012:2004/03/18 00:10:22.41 server  Increase the config parameter 'number of open indexes' to avoid descriptor reuse. Reuse may result in performance degradation.
00:00000:00025:2004/03/18 19:20:00.72 server  Increase the config parameter 'number of open objects' to avoid descriptor reuse. Reuse may result in performance degradation.
00:00000:00022:2004/03/19 08:16:58.93 server  Increase the config parameter 'number of open indexes' to avoid descriptor reuse. Reuse may result in performance degradation.
00:00000:00022:2004/03/20 10:58:21.45 server  Increase the config parameter 'number of open indexes' to avoid descriptor reuse. Reuse may result in performance degradation.
00:00000:00011:2004/03/22 09:18:17.36 server  Increase the config parameter 'number of open indexes' to avoid descriptor reuse. Reuse may result in performance degradation.
00:00000:00026:2004/03/22 15:58:37.06 server  Process id 27 killed by Hostname WinNT, Host process id 1856.
00:00000:00026:2004/03/22 15:59:42.91 server  Process id 19 killed by Hostname WinNT, Host process id 1856.
00:00000:00026:2004/03/22 15:59:51.29 server  Process id 30 killed by Hostname WinNT, Host process id 1856.
00:00000:00014:2004/03/23 08:16:47.04 server  Increase the config parameter 'number of open objects' to avoid descriptor reuse. Reuse may result in performance degradation.
00:00000:00009:2004/03/24 00:37:52.85 server  Increase the config parameter 'number of open objects' to avoid descriptor reuse. Reuse may result in performance degradation.
是不是'number of open objects参数不对,我用的是默认值

论坛徽章:
4
2015年亚洲杯之阿联酋
日期:2015-03-10 10:32:022015年亚洲杯之阿曼
日期:2015-03-10 14:53:222015亚冠之水原三星
日期:2015-07-18 15:40:262015亚冠之塔什干棉农
日期:2015-07-27 20:52:05
4 [报告]
发表于 2004-03-30 11:54 |只看该作者

执行查询语句的问题

number of objects和number of indexes需要改改,另外干吗要用in啊?系统再好也别浪费嘛!

论坛徽章:
7
数据库技术版块每日发帖之星
日期:2015-08-09 06:20:00数据库技术版块每日发帖之星
日期:2015-11-03 06:20:00数据库技术版块每日发帖之星
日期:2016-02-20 06:20:00数据库技术版块每日发帖之星
日期:2016-07-13 06:20:00数据库技术版块每日发帖之星
日期:2016-07-31 06:20:00数据库技术版块每日发帖之星
日期:2016-08-01 06:20:00数据库技术版块每日发帖之星
日期:2016-08-18 06:20:00
5 [报告]
发表于 2004-03-30 11:58 |只看该作者

执行查询语句的问题

多用exists 少用in

论坛徽章:
0
6 [报告]
发表于 2004-03-30 12:32 |只看该作者

执行查询语句的问题

最好别用not in

论坛徽章:
0
7 [报告]
发表于 2004-03-30 13:34 |只看该作者

执行查询语句的问题

非常感谢,我再试一下!!谢谢大家!

论坛徽章:
0
8 [报告]
发表于 2004-04-01 15:47 |只看该作者

执行查询语句的问题

重新配置系统参数

论坛徽章:
0
9 [报告]
发表于 2004-04-01 16:01 |只看该作者

执行查询语句的问题

not in 非常耗费资源。尽量不用。
你的index可能没用上。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP