• Figure 1 shows the idea behind pessimistic locking.

    1展示悲观锁定背后思想

    youdao

  • Figure 1 illustrates the functioning of pessimistic locking.

    1阐释悲观锁定功效

    youdao

  • Lock the entire table before saving (pessimistic locking).

    保存(悲观)之前锁定整个

    youdao

  • Pessimistic locking, where a record is locked while it is edited.

    悲观锁定编辑记录将其锁定

    youdao

  • Fixed for UPDATE statements not generated for pessimistic locking.

    修复不会生成悲观锁定FOR UPDATE语句

    youdao

  • Certain critical updates should always be done with pessimistic locking.

    进行特定关键性更新时,始终使用悲观锁定方式

    youdao

  • The main problem with a pessimistic locking approach is that transactions have to wait for each other.

    悲观锁定方法主要问题事务之间必须互相等待

    youdao

  • The advantage of pessimistic locking is that it is guaranteed that changes are made consistently and safely.

    悲观锁定优点就是能够保证实现一致安全更改

    youdao

  • However, this should be evaluated on a case by case basis — there are situations where pessimistic locking is necessary.

    但是实际使用中根据具体情况进行分析,有时需要悲观锁定方案

    youdao

  • Avoid pessimistic Locking since the pessimistic locks affect the throughput and it's difficult to recover from bad locks.

    应当尽量避免使用悲观因为会影响吞吐量而且很难(badlocks)中恢复

    youdao

  • A pessimistic locking strategy assumes that the probability is high that another user will try to modify the same row in a table that you are changing.

    悲观锁定策略前提,另一用户可能试图修改正在修改某个

    youdao

  • However, for entity beans this rule has to be relaxed; due to the nature of the model, most pessimistic locking access intents require at least Repeatable Read.

    但是对于实体Bean则可不遵循规则由于模型本身特性多数悲观锁定访问都需要至少RepeatableRead

    youdao

  • 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。

    youdao

  • Pessimistic session locking is a form of serialization and can severely limit system availability, and so should be used with caution.

    悲观会话锁定一种序列化形式严重地影响系统可用性,须小心使用

    youdao

  • Pessimistic session locking should be used with great discretion, as it serializes access to data across a business process that includes user think time.

    必须谨慎使用悲观会话锁定因为业务流程包括用户思考时间)中序列化数据访问

    youdao

  • 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.

    如果使用悲观会话锁定通常用于阻止其他用户进行更新,而不是阻止锁定数据的读取

    youdao

  • As will be discussed later, pessimistic session locking has several problematic situations that need to be addressed, such as the cleaning up of abandoned locks.

    使用悲观会话锁定需要注意一些问题例如清理废弃锁等,这稍后进行介绍

    youdao

  • Pessimistic record locking, which provides a way to prevent situations where multiple users can edit a record at the same time.

    消极记录锁定提供避免发生多个用户同时编辑条记录情况手段

    youdao

  • While that JVM was pessimistic and exclusive in its locking semantic, we could support so much more out in the cluster where coordination was implemented in Terracotta.

    由于JVM语义悲观排他的,因此当把协调关系放到Terracotta实现我们就能够集群中提供更多支持

    youdao

  • The pattern in this case is that when the first transaction reads a row it will "stamp" it with the identity of the user, similarly to how pessimistic session locking is handled (covered next).

    中的模式第一事务读取某个数据行时加上时间戳用户标识类似悲观会话锁定处理方式(稍后讨论)。

    youdao

  • The pattern in this case is that when the first transaction reads a row it will "stamp" it with the identity of the user, similarly to how pessimistic session locking is handled (covered next).

    中的模式第一事务读取某个数据行时加上时间戳用户标识类似悲观会话锁定处理方式(稍后讨论)。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定