免费注册 查看新帖 |

Chinaunix

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

请高手帮个忙 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-05-05 16:36 |只看该作者 |倒序浏览
我现在碰到:
couldn't compute lock promotion level in des for object 1852533633 in database 5.using default level=200
问题不知道怎么解决?

论坛徽章:
1
2017金鸡报晓
日期:2017-01-10 15:19:56
2 [报告]
发表于 2008-05-05 16:47 |只看该作者
Explanation
You can use the following configuration parameters to control how Adaptive Server handles lock promotion:


lock promotion hwm sets the maximum number of locks allowed on a table. When the number of locks that an individual command acquires exceeds this number, Adaptive Server attempts to acquire a table lock.

lock promotion lwm sets the minimum number of locks that are allowed on a table before Adaptive Server attempts to acquire a table lock. Adaptive Server does not attempt to acquire a table lock until the number of locks on a table is equal to the lock promotion lwm.

lock promotion pct sets the percentage of locks (based on the table size) above which Adaptive Server attempts to acquire a table lock when the number of locks is between the lock promotion hwm and the lock promotion lwm.


If a command requires more locks than the number specified by lock promotion lwm but less than the number specified by lock promotion hwm, Adaptive Server compares the number of locks to the percentage of locks on the table. If the number is greater than the percentage, Adaptive Server attempts to issue a table lock.

Adaptive Server computes the lock promotion threshold as a percentage of the table size. If Adaptive Server is unable to get the table size, Error 8219, an informational message, is displayed and Adaptive Server uses the value of lock promotion lwm to determine the lock promotion level.

Action
Error 8219 can occur if the table size is 0 (no rows) or the number of pages for the table is 0. Run dbcc checktable and dbcc checkalloc for the table to determine if this is the case.

If this is not the case and the 8219 error occurs again, call Sybase Technical Support.

论坛徽章:
0
3 [报告]
发表于 2008-05-05 17:37 |只看该作者
能说一下具体解决方法吗?

论坛徽章:
1
2017金鸡报晓
日期:2017-01-10 15:19:56
4 [报告]
发表于 2008-05-05 17:51 |只看该作者
Run dbcc checktable and dbcc checkalloc for the table
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP