123
返回列表 发新帖
楼主: 诺华

[精华] sybase系统的一个调优案例

[复制链接]
论坛徽章:
0
21#
发表于 2011-5-2 16:36 | 只看该作者
呵呵 看了关于 T757的介绍 觉得基本功课还是没做足 但谁能想到呢?
System-wide performance issues
If the performance of Adaptive Server at the server level is not acceptable, and you are running 15.0.2 ESD #3 or later, you may shut down the Adaptive Server and restart it with trace flag 757 set in the RUN_server file. This is also effective when you experience unusually high levels of CPU usage without a clear cause, while running a multiengine Adaptive Server.

If the procedure cache is filled with idle cached plans, and the CPU usage is not high, run the following dbcc commands instead. However, using these commands is likely to have a lesser effect than restarting the server.

dbcc traceon(757)
go
dbcc proc_cache(free_unused)
go
Do not use trace flag 757 in Adaptive Server versions earlier than 15.0.2 ESD #3.

另外 statement cache确实不应该配很大 Sybase官方建议也是100M

使用道具 举报

回复
论坛徽章:
0
22#
发表于 2011-11-4 14:20 | 只看该作者
谢谢楼主,学习收藏。

使用道具 举报

回复
论坛徽章:
6
ITPUB十周年纪念徽章
日期:2011-11-01 16:20:282012新春纪念徽章
日期:2012-01-04 11:50:44茶鸡蛋
日期:2012-02-29 11:04:04灰彻蛋
日期:2012-05-28 17:16:28ITPUB 11周年纪念徽章
日期:2012-10-09 18:05:372013年新春福章
日期:2013-02-25 14:51:24
23#
发表于 2011-11-4 15:04 | 只看该作者
alanzhu 发表于 2011-5-2 16:36
呵呵 看了关于 T757的介绍 觉得基本功课还是没做足 但谁能想到呢?
System-wide performance issues
If th ...

学习了……感谢楼主
不过……有鉴于并发性以及常用SP的调用程度,不知道有什么计算公式来推算合适的statement cache呢?

使用道具 举报

回复

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

本版积分规则 发表回复

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