Invention Grant
- Patent Title: Database system lock operation method and device
- Patent Title (中): 数据库系统锁定操作方法和装置
-
Application No.: US14323546Application Date: 2014-07-03
-
Publication No.: US09449041B2Publication Date: 2016-09-20
- Inventor: Yuanyuan Nie , Huijun Liu , Chuanting Wang
- Applicant: Huawei Technologies Co., Ltd.
- Applicant Address: CN Shenzhen
- Assignee: Huawei Technologies Co., Ltd.
- Current Assignee: Huawei Technologies Co., Ltd.
- Current Assignee Address: CN Shenzhen
- Agency: Conley Rose, P.C.
- Agent Grant Rodolph; Adam J. Stegge
- Priority: CN201310222370 20130606
- Main IPC: G06F17/30
- IPC: G06F17/30

Abstract:
A database system lock operation method is provided that includes: acquiring, by a first processing node, a lock operand of a target lock; using, by the first processing node, the target lock to perform a lock acquiring operation on a target data object; when the lock operand meets a condition for a successful lock acquiring operation, determining, by the first processing node, that the lock acquiring operation is successful, and updating a value of a data bit that is in the lock operand and used to indicate a state of the target lock on the first processing node to a value that is used to indicate that the state of the target lock on the first processing node is lock held. Accordingly, the embodiments of the present invention further disclose a node device. The embodiments of the present invention can improve performance of a database system.
Public/Granted literature
- US20140372396A1 Database System Lock Operation Method and Device Public/Granted day:2014-12-18
Information query