摘要
现代数据库作为多用户共享访问的资源,在各种事务的并发操作中,数据库系统和应用程序框架如何保证数据的一致性和正确性是一个不可回避的问题。本文结合实际编程对数据库并发事务的处置原理和机制进行探讨。
Modem database as a multi-user shared access to resources in the concurrent operation of various services,database systems and application frameworks to ensure data consistency and accuracy is an unavoidable problem.In this paper,the actual programming of the database concurrent transactions disposal principles and mechanisms were discussed.
出处
《计算机光盘软件与应用》
2011年第15期55-56,共2页
Computer CD Software and Application
关键词
数据库
并发
悲观锁
乐观锁
Database
Concurrent
Pessimistic locking
Optimistic locking