In general, multiuser databases use some form of data locking to solve the problems
associated with data concurrency, consistency, and integrity. Locks are mechanisms
that prevent destructive interaction between transactions accessing the same resource.
Resources include two general types of objects:
■ User objects, such as tables and rows (structures and data)
■ System objects not visible to users, such as shared data structures in the memory
and data dictionary rows
锁机制
1. 锁是一种防止多个事务访问同一资源时产生破坏性的相互影响的机制
2. 这样的资源可以分为两类:
* 用户对象,例如表及数据行
* 用户不可见的系统对象,例如内存中的共享数据结构和数据字典中的信息
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10599713/viewspace-988273/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/10599713/viewspace-988273/
本文探讨了多用户数据库中为解决数据并发、一致性和完整性问题而采用的数据锁定机制。锁作为一种关键机制,能有效避免多个事务同时访问同一资源时产生的冲突。文中详细介绍了两种类型的资源:用户对象如表和数据行,以及系统对象如内存中的共享数据结构和数据字典信息。
548

被折叠的 条评论
为什么被折叠?



