Lock time out! sybase 急急急!高手请帮忙!!!谢谢!

我用delphi三层结构,后台数据库是unix的sybase,但是数据库记录太多,肯能到1千万的记录,查询返回超时,waring窗口如下:
Lock time out. ct_curor(CLOSE):user api layer:external error:A cursor must be opened befort command type can be initialized.
请教高手帮忙,我真的很急,因为礼拜一客户要验收了!拜托高手们了,谢谢,谢谢谢谢!!!!!!
---------------------------------------------------------------

加大锁数量,改为行级锁,给的信息太少,先这样试试
sp_configure "number of locks",biggervalue
sp_configure "lock scheme",0,datarows
---------------------------------------------------------------

你必须扩充tempdb
建一个新设备,把空间分配给tempdb

---------------------------------------------------------------

你这个信息是你的临时数据库太小了,你需要扩大tempdb的空间大小

Published At
Categories with 数据库类
Tagged with
comments powered by Disqus