摘要
针对多数据库事务下批量更新记录时产生死锁的问题,提出了一种新的数据更新方法。这种处理方法采用预先对要批量更新的记录进行排序,使所有的记录都能按某一个固定的顺序被更新,从而避免产生数据库死锁。
An avoiding dead lock method for updating a set of records under multi events for a database is presented.To avoid the dead lock in database,this method firstly sequences those records that need to be updated,then updates such records upon this sequencing and It works well.
出处
《微计算机信息》
2009年第15期141-142,共2页
Control & Automation
基金
国家863重点项目
基金申请人:刘正熙等
颁发部门:国家科技部(编号不公开)
关键词
数据库
批量更新
死锁
排序
Database
Batch Update
Dead lock
Sort