• 通常Web应用程序有页锁和行锁。

    Usually Web applications have page and row locks.

    youdao

  • 行锁定,具有到表锁的升级。

    Row locking with escalation to table locks.

    youdao

  • 当获得少量的行锁时,行锁就会自动地逐渐升级为表锁。

    After some small number of row locks are obtained, a lock escalation to a table lock will occur automatically.

    youdao

  • 必须是SQL字符串中选择“锁定行”表和地方的行锁。

    Must be a SQL string that selects a row in the "LOCKS" table and places a lock on the row.

    youdao

  • 上述比较表明,使用表锁而不是行锁可以节省大约3%的耗时。

    The above comparison shows that causing table locks to be used instead of row locks saved about 3% in elapsed time.

    youdao

  • g代表“granted”,意即事务句柄为2的事务拥有行锁。

    G stands for "granted" and means that the transaction with transaction handle 2 owns the row lock.

    youdao

  • 利用分配给DB 2服务器的内存,DB 2无法维护大量的行锁。

    DB2 was unable to maintain a large number of row locks with the memory allocated to the DB2 server.

    youdao

  • 数据库引擎将选择相应的锁,并且可以将锁从行锁或页锁升级到表锁。

    The Database Engine chooses the appropriate lock and can escalate the lock from a row or page lock to a table lock.

    youdao

  • 由于我们没有操控锁,因此引擎在需要一行(或者页)时会对其进行锁定。

    Since we are not manipulating locks ourselves, the engine is locking each row (or page) as it needs it.

    youdao

  • 如果一个事务获得了一行的行锁,那么这个事务同时获得了相关的表的锁。

    If a transaction obtains a row lock for a row, the transaction also acquires a table lock for the corresponding table.

    youdao

  • 通过使用这种方法,在对行执行选择、更新或删除操作期间,不会持有行锁。

    With this approach, no locks are held between selecting and updating, or deleting a row.

    youdao

  • 如果用一个表锁替换这些行锁,将不再会超出maxlocks值,那么锁升级就会停止。

    If after replacing these with a single table lock, the MAXLOCKS value is no longer exceeded, lock escalation stops.

    youdao

  • 数据库管理器通过查看应用程序的锁列表并查找行锁最多的表,来决定对哪些锁进行升级。

    The database manager determines which locks to escalate by looking through the lock list for the application and finding the table with the most row locks.

    youdao

  • 在目标页中对该行进行格式化,并获得该行上的一个X(exclusive,独占的)行锁。

    The row is formatted in the target page and an X (exclusive) row lock is obtained on it.

    youdao

  • 锁维护空间不足可能会导致所谓的“锁提升”,其中,行锁被提升为不必要的表锁,这甚至可能会导致死锁情况。

    Shortages in the lock maintenance space can lead to so-called lock escalations, in which row locks are escalated to undesirable table locks, which can even lead to deadlock situations.

    youdao

  • 如果一个并发连接的应用程序碰巧持有不兼容的行锁,那么import工具就会暂停,直到该应用程序提交或回滚其事务。

    If a concurrently connected application happens to be holding an incompatible row lock, the import utility pauses until that application commits or rolls back its transaction.

    youdao

  • 对于mdc表,选择BLOCKINSERT可以提高INSERT操作的性能,因为使用的是块级的锁,避免了为INSERT操作使用行锁。

    For MDC tables, the selection of BLOCKINSERT may improve the performance of INSERT operations by locking at the block level and avoiding row locks for INSERT operations.

    youdao

  • 这些nextkey锁只有在keyINSERT发现带有RepeatableRead (RR)隔离级别的扫描器在索引中的next -higher键上有一个行锁时才能获得。

    These next key locks are only obtained when the key INSERT finds that a scanner with a Repeatable Read (RR) isolation level has a row lock on the next-higher key in the index.

    youdao

  • 等待的事务(列Sts中显示 “W”(“wait”)的事务)是句柄为 6 的事务。 该事务正在与事务 2 请求同一个行上的 X 锁。

    The waiting transaction (state W = "wait" in column Sts) is the transaction with handle 6.

    youdao

  • 第四行以超出锁的次数、用户线程或者缓存数来开始(通常所有的0会是这样)。

    The fourth line starts with the number of times we have exceeded locks, user threads or buffers (all 0 and should generally be so).

    youdao

  • 由于数据库管理器能够确定某一行何时会被修改,因此可以保证数据完整性,同时限制持有锁的时间。

    Because the database manager can determine when a row is changed, it can ensure data integrity while limiting the time that locks are held.

    youdao

  • IDS允许应用程序开发人员将锁放在不同的对象上,如数据库、表、页或行、以及索引。

    IDS allows application developers to place locks on different objects, like databases, tables, pages or rows, and indexes.

    youdao

  • 对于每个新行之上的锁,惟一可以替代的是表锁(DB 2中没有页锁)。

    The only alternative to a lock on every new row is a table lock (since there are no page locks in DB2).

    youdao

  • 乐观事务锁不能用于在单个update语句中更新数据行集合,因此在这种情况下,很难进行错误处理。

    Optimistic transaction locking should not be used to update sets of rows in a single update statement, as error handling in this case is very difficult.

    youdao

  • 即使另一个并发会话持有一个独占式行级锁,它仍然返回最近提交的行。

    It returns the most recently committed version of the rows, even if another concurrent session holds an exclusive row-level lock.

    youdao

  • 并且由于每一行都被存储在固定的位置,使得锁升级这样的技术得以实现,以避免过多细粒度锁。

    And the location of every row is in a fixed location, allowing for techniques such as lock escalation when too many fine-grained locks would otherwise be needed.

    youdao

  • 在子线程中,打开新的DB 2连接,在锁表中获取具有所请求的资源ID的一行。

    Within the child thread, open a new connection to DB2 and fetch a row from the lock table for the requested resource ID.

    youdao

  • 在第一个会话中,执行清单16中的update语句,它对部门号为B01的部门行设置独占锁。

    In the first session, execute the UPDATE statement shown in Listing 16, which places an exclusive lock on the row with department number B01.

    youdao

  • 红色的行是偏向锁被激活的地方。

    The line annotated in red is where biased locking is enabled.

    youdao

  • 如果在此事务中发出一个新查询,将显示新行,因为事务持有新行的锁。

    If you issue a new query within this transaction, your new row is displayed, because your transaction holds the lock for the new row.

    youdao

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

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

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