Object data locking is generally per-object. Well, unless you don't have huge scalability issues, in which case you may have some external bigger lock (extreme case: one single global lock).
对象数据保护一般是一个对象拥有一个锁,假设你没有海量扩展性问题,不然你需要一些外部大一点的锁(极端的例子,一个对象一个全局锁)。
With this kind of thinking, locking the data in the beginning of the transaction can be avoided.
带着这样的思想,我们可以避免在事务处理一开始就锁定数据。
That is, you make sure that only one thread at a time can access a certain data structure by locking and unlocking it.
这就是说,通过线程的锁定和解锁,对于某一数据结构,确保某一时刻只能有一个线程能够访问它。
Locking is the mechanism that the database manager USES to control concurrent access to data in the database by multiple applications.
锁定是数据库管理器用来控制多个应用程序并发访问数据库中数据的机制。
Locking should ensure both that per-CPU data structures and state are always protected against preemption.
锁定可以确保每个CPU的数据结构和状态始终受到保护而不被抢占。
As mentioned previously, the EJB components control the access to the back-end data and manage the current transactions and database locking internally.
正如前面提到的那样,EJB组件控制着对后台数据的访问,并管理着当前事务和数据库的内部锁定。
If pessimistic session locking is used, it should generally only be used to block other users from updating; it should not block reads of the locked data.
如果使用悲观会话锁定,它通常只用于阻止其他用户进行更新,而不是阻止对锁定数据的读取。
In short, locking is the means by which data integrity can be maintained when two or more application processes simultaneously request access to the same data.
简而言之,锁定是一种方法,通过该方法,当两个或多个应用程序进程同时请求访问同一数据时,可以保持数据完整性。
This often results in highly complex schemes to deal with database locking and concurrency, or alternatively, loss of data integrity when these issues are not considered.
其结果是:处理数据库锁定与同步的方案非常复杂,若不考虑数据库锁定与同步问题又会失去数据的完整性。
That leads to many issues of data integrity, locking strategies, issues that are well known to database people.
这将导致许多问题,如数据完整性、锁定策略以及数据库人员所熟知的一些问题。
Next to the organizational hurdles, the technical ones almost seem scant, but when it comes to the task, data versioning, concurrency (locking), and life cycle management are never simple.
仅次于组织方面障碍的是似乎看起来并不存在的技术障碍,但对于任务、数据版本控制、并发性(锁定)和生命周期管理而言,这决不简单。
The CF provides a scalable and centralized locking mechanism to ensure data coherency.
CF提供一个可扩展的集中锁定机制来确保数据一致性。
Pessimistic session locking should be used with great discretion, as it serializes access to data across a business process that includes user think time.
必须谨慎使用悲观会话锁定,因为它在业务流程(包括用户思考时间)中序列化数据访问。
This article Outlines the locking behavior of the DB2 UDB data movement utilities, and provides an overview of how concurrent access to data is managed while these utilities are running.
本文概要介绍了DB 2UD b数据移动工具的锁定行为,并概述了运行这些工具时,对数据的并发访问是如何管理的。
The EJB components control the access to the back-end data and manage the current transactions and database locking internally.
EJB组件控制着对后台数据的访问,并管理着当前事务以及数据库的内部锁定。
File object locking is not available, but the modified block storage technique can be introduced here the way we did in this article to maintain data consistency.
文件对象锁定不可用,但已修改的块存储技术可在此引入,按照本文介绍的方式保持数据一致性。
They control access to the back-end data and internally manage current transactions and database locking while preserving data integrity.
在保持数据完整性的同时,它们控制对后端数据的访问并在内部对当前事务和数据库锁定进行管理。
Optimistic locking is an extremely efficient concurrency control method that guarantees data integrity without placing any physical lock in the database.
乐观锁是一个极其有效的并发性控制方法,它可以确保数据完整性而又无需在数据库中放置任何物理锁。
Database locking strategies are critical for gaining the best possible application performance, while ensuring data integrity and consistent application behavior.
对于获得最佳的应用程序性能,以及确保数据完整性和一致的应用程序行为来说,数据库锁定策略是非常重要的。
It's hard to program safely; programs that manipulate threads are prone to inconsistent data, deadlocks, unscalable locking, and inverted priorities.
要用线程安全地编写程序是很难的;需要操纵线程的程序很容易引起不一致的数据、死锁、不可伸缩的锁定以及倒置的优先级等问题。
Column locking is useful for when you want to freeze a column or collection of columns while scrolling and reviewing data in the other columns.
当您想要在滚动或查看其他列数据时冻结一个或一组列时将会很有用。
The developerWorks tutorial "Locking down your PHP applications" (see Resources) talks about SQL injections: the art of sending malformed data to a database to cause harm or unwarranted access.
developerWorks教程 “锁定您的PHP应用程序”(请参阅参考资料)讨论了SQL注射:将不正常的数据发送到数据库可导致有害或无根据的访问。
In the pessimistic locking scheme, explicit locks are taken against rows using the SQL SELECT FOR UPDATE statement. Data is then modified, and an SQL UPDATE is issued.
在悲观锁定方案中,通过使用SQLSELECTFORupdate语句对数据行进行显式锁定,然后更改数据,并执行SQL UPDATE。
There are two models for locking data in a database.
在数据库中锁定数据有两个模型。
A new type of lock called seqlock has been introduced for locking a small section of data (no Pointers) that is frequently accessed.
引入了一个叫做seqlock的新类型的锁,用于锁定小段的经常被访问的数据(不是指针)。
Optimistic locking is still highly recommended for non-atomic Web flows to protect the data integrity of each user action.
对于非原子we b流还是强烈推荐使用乐观锁来保护每个用户操作的数据完整性。
Nirvanix offers the option of locking data into specific physical locations, but Amazon does not.
Nirvanix提供了锁数据到具体实际位置的选择,但是亚马逊没有。
WebSphere Process Server accesses its databases in multiple concurrent threads and USES row-level locking to ensure data consistency during its transactions.
WebSphereProcessServer通过多个并发线程访问其数据库,并使用行级锁定来确保其事务期间的数据一致性。
The enterprise beans control access to the back-end data and internally manage the current transactions and database locking.
企业bean控制对后端数据的访问,并且在内部管理当前事务和数据库锁定。
Whatever you need, Linux has a locking scheme to protect your data.
不管你需要什么,Linux都会提供一种锁定方案保护您的数据。
应用推荐