When the number of locks held by any one application reaches this percentage of the total lock list size, lock escalation occurs for the locks held by that application.
当任何一个应用程序所持有的锁数量达到整个锁列表大小的这个百分比时,对该应用程序所持有的锁进行锁升级。
When working with lock timeout reporting, you may notice that the number of lock timeout report files in the DIAGPATH continuously increases.
使用锁定超时报告时,您可能会注意到,DIAGPATH中的锁定超时报告文件的数量在持续增加。
This would mean that although the lock had a high number of blocked requests, overall it had a very high number of successful acquires so the percentage of overall blocked requests would be low.
这表示尽管该锁拥有大量受到堵塞的请求,但总的来说它拥有很多的成功获取,因此总堵塞请求的百分比仍然很低。
Confirm that the server has a sufficient number of lock resources to alter the associated delete table along with the replication table.
确信服务器有足够的锁资源数,用以修改相关的删除表和复制表。
The number of threads in the group should be no larger than the depth of the deepest lock hierarchy possible in the system.
组中线程的数量应该不大于系统中最深的锁层次结构的深度。
LOCKTIMEOUT specifies the number of seconds that an application will wait to obtain a lock.
LOCKTIMEOUT指定了应用程序为获取锁所等待的秒数。
Lock - Number of locks held, deadlocks and lock waits escalations.
LOCK——保存的锁、死锁和锁等待升级的数目。
If the "LOCK list memory in use (Bytes)" exceeds 50 percent of the defined LOCKLIST size, then increase the number of 4kb pages in the LOCKLIST database configuration parameter.
如果“LOCKlistmemoryinuse (Bytes)”超过定义的LOCKLIST大小的50%,那么就增加LOCKLIST数据库配置参数中的4k b页的数量。
Although not required, this property enables you to set the number of seconds that Informix dynamic server waits for a lock.
虽然不是必需的,但是这个属性使您能够设置Informix动态服务器等待某一锁定的秒数。
On the other hand, a larger number of changed objects per transaction means you lock changes for a longer time and your database also needs a bigger redo log.
另一方面,每次事务修改的对象数量越多就意味着锁定变更时间越长,同时数据库需要更大的redo log。
While the amount of logical ISAM instructions we have performed is at 6 million reads, the number of lock requests (which is a physical indicator of what was read) is at 59 billion.
而我们执行的逻辑ISAM指令的数量是6百万次读取,锁请求数是(就是所读取的物理指示器)是590亿。
A number of developers responded by noting that this kind of design problem is not unique to multi-threading and that there is a difference between "lock safety" and "exception safety."
这篇文章反响热烈,一些开发人员认为这类设计问题不只限于多线程,在“安全锁”和“安全异常”之间也存在不同之处。
pthread_rwlock_rdlock may fail if the maximum number of read locks (implementation defined) for the lock has been exceeded.
如果超过了最大读锁数量(由实现定义),pthread_rwlock_rdlock可能会失败。
On the other hand, we don't want to allocate too many lock objects, especially if the ConcurrentDictionary only ends up storing only a small number of items.
另一方面,我们又不希望分配太多锁对象,特别是在ConcurrentDictionary最后只存储了很少项目的时候。
Tim Peierls has constructed a simple benchmark for measuring the relative scalability of synchronized versus Lock, using a simple linear congruence pseudorandom number generator (PRNG).
TimPeierls用一个简单的线性全等伪随机数生成器(PRNG)构建了一个简单的评测,用它来测量synchronized和Lock之间相对的可伸缩性。
For your lock Report, you will display a list of the current active sessions on the database server and the number of locks associated with each session. Here is the code to do this.
您将为LockReport显示数据库服务器上当前活动会话的列表,以及与每个会话相关的锁的数量。
I think being tied to a platform or OS is like being tied to anything - the more the number of lock-in points, the less freedom you have in the long run.
我认为,绑定到一个平台或操作系统,就像被绑定到任何东西之上一样-依赖点越多,从长期看,你得到的自由度就越小。
This would have showed us similar information, but at a session level, so we could have seen that our session had done an inordinate number of sequential scans and lock requests.
这将为我们展示类似的信息,但是在会话级别,因此我们会看到会话做了过多的顺序扫描与锁定请求。
Of interest here is a marginal number of buffer waits, and sequential scans, but a rather large number (at this point) of lock requests.
此处对缓存等待的边际数、以及顺序扫描的边际数感兴趣,而不是大量的锁请求。
The maximum number of applications allowed to access a resource concurrently is defined by the number of rows for this resource in the lock table.
锁表中一个资源的行数决定了可以同时访问这个资源的最大应用程序数量。
On a system with many users or with long-living transactions, or when transactions involve a greater number of entities, the probability of having to wait for a lock to be released increases.
对于具有大量用户或运行长期事务的系统,或者事务涉及大量实体,需要等待锁释放的概率则会增加。
By keeping lock hierarchies shallow, which translates to locking as few objects as possible, you can affect the maximum number of threads that need to be priority adjusted.
通过保持较浅的锁层次结构,可以锁定最少量的对象,您能够影响最大量的需要调整优先级的线程。
Number one; we need to expand our technological platforms and invite cross-border collaboration, not close doors and lock computer networks.
首先需要拓展我们的技术平台,增加一些跨国界的合作,不应该关起门来。
The number of drug offenders in federal and state lock-ups has increased 13-fold since 1980. Some are scary thugs; many are not.
自1980年以来联邦监狱和各个州的监狱所关押的毒贩增加了13倍,其中不乏令人发指的恶棍,但也有很多不是。
In the first session, execute the UPDATE statement shown in Listing 16, which places an exclusive lock on the row with department number B01.
在第一个会话中,执行清单16中的update语句,它对部门号为B01的部门行设置独占锁。
In all, the number of prisoners in state lock-ups fell by 0.3% in 2009, the first fall since 1972.
总之,2009年州监狱在押人数下降了0.3%,是自1972年以来的首次下降。
In Figure 7, DB2 has detected a large number of lock escalations per hour for the SAMPLE database.
在图7中,DB 2探测到SAMPLE数据库每小时的锁数量大量增加。
If a large number of rollbacks caused by optimistic lock exceptions are occurring, it may be time to rethink your strategy.
如果乐观锁异常会引起大量的回滚,那么应该重新考虑您的策略。
After some small number of row locks are obtained, a lock escalation to a table lock will occur automatically.
当获得少量的行锁时,行锁就会自动地逐渐升级为表锁。
An implementation of size would have to sequentially acquire the lock for each bucket, count the number of nodes in that bucket, and release the lock and move on to the next bucket.
size的实现将不得不依次获取各个bucket的锁,对该bucket中的节点进行计数,释放锁,然后继续到下一个bucket。
应用推荐