全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Predicate lock?

Definition 23.7 University Computer Science — Year 3 · 第 23 章 — Concurrency Control and Recovery

A predicate lock locks the set of rows that satisfy a condition, such as member_id = 41, rather than rows by name: an insert or update producing a row that satisfies it conflicts with the lock. Locking the key range of an index that covers the condition is a cheaper, coarser form of it.

在原文中阅读 →