火鸟Firebird数据库 Error Message:解决方案
发布时间:2010-05-24 21:31:48 文章来源:www.iduyao.cn 采编人员:星星草
火鸟Firebird数据库 Error Message:
UPDATA语句后 产生的
Error Message:
----------------------------------------
Unsuccessful execution caused by system error that does not preclude successful execution of subsequent statements.
lock conflict on no wait transaction.
deadlock.
update conflicts with concurrent update.
------解决方案--------------------
This happens when your transaction tries to update or delete a record that some other transaction updated or deleted. This is a normal event in database world and your application should be ready to deal with it.
This 'problem' is quite easy to reproduce, so you can play with it. Just open two isql sessions, run the same update query and then try to commit both transactions.
Please note that this problem is not always easy to debug, as there might be stored procedures or triggers involved that run the update on some table at certain time. If you find such hard to catch problem, adding some logging of queries via external tables (which are outside transaction control) might help.
If you designed your system in such way that deadlocks happen ofter, consider using NO WAIT transactions, so that you get the error instantly instead of waiting for deadlock timeout.
If you perceive deadlock as a problem you cannot solve, look into selecting a different isolation modes for transactions in your application.
调整隔离模式试试
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。
其他相似内容:
-
怎么建接口将sqlite数据导入sqlsever数据库中
如题 最好有简单的办法 因为表项比较多 使用datatable巨费时
------解决方案-----...
-
弄过FairCom公司c-tree数据库的 进 高分
第一次接触这个数据库
有经验的 说说 如何浏览到表 及 记录
用开发工具 vb delp...
-
火鸟Firebird数据库 Error Message:
UPDATA语句后 产生的
Error Message:
----------------------------------------
Unsucce...
-
数据库访问路径的问题
web中JSP页面,使用jsp:useBean 访问不到表,但是在useBean的那个类中测试过可以连接。
是不是web中访问,数据...
-
sqlite里的增减删等操作sql语句在哪能得到?
我想从sqlite数据库中得到一些已经删除的数据,光拿到db文件还不够。请问sqlite有没有专...
-
怎么查询一个表中最值和最值对应的时间
在表T1中
tag value date_time
"A" 5 "2011-02-04 11:12:52"
"A" 9 "2011-...
-
sqllite可以处理多大数据量?
有一份数据,数据量大概一千万到一千五百万行之间
要放进一个表里进行分析,听说sqllite很方便,不知道用它...
-
mongo SyntaxError
> SELECT * FROM things WHERE name="mongo";
Tue Dec 20 17:45:42 SyntaxError: missing ; before statement...
-
sqlite读取datetime类型报错
1 2011/1/23 12:32:12 2011/9/8 5:00:00 df 2
添加时间是手动选择的,数据库没报错,但读取却报字符...
-
哪个有PI OLEDB Provider的安装包通向一下啊(顶者有分)
急需PI OLEDB Provider的安装包,在线等
请各位多多帮忙啊,谢谢
------解决...