Data locking method based on alternating row and column locks
AssigneeHuawei Technologies Co., Ltd.
InventorsKalyan SIVAKUMAR, Antoni WOLSKI, Mahesh Kumar BEHERA
Life of this patent
Estimating the term…
Abstract
Device for executing an operation on a database, the device comprising a C-queue configured to store a plurality of column-oriented operations, an R-queue configured to store a plurality of row-oriented operations, a scheduler configured to assign the operation to the C-queue or the R-queue based on whether the operation is row-oriented, a timing unit configured to alternate between C-type time slots and R-type time slots, an execution unit configured to execute operations from the C-queue in C-type time slots and/or operations from the R-queue in R-type time slots.
Claims17
Device for executing an operation on a database, the device comprising:
- a C-queue configured to store a plurality of column-oriented operations,
- an R-queue configured to store a plurality of row-oriented operations,
- a scheduler configured to assign the operation to the C-queue or the R-queue based on whether the operation is row-oriented,
- a timing unit configured to alternate between C-type time slots and R-type time slots, and
- an execution unit configured to execute operations from the C-queue in C-type time slots or operations from the R-queue in R-type time slots.
Method for executing an operation on a database, the method comprising:
- assigning the operation to an R-queue when the operation is row-oriented, assigning the operation to a C-queue when the operation is column-oriented,
- executing an operation from the C-queue during a C-type time-slot,
- executing an operation from the R-queue during an R-type time-slot, and
- switching between C-type time slots and R-type time slots.
A computer-readable storage medium storing program code, the program code comprising instructions that when executed by a processor carry out the following method:
- assigning the operation to an R-queue when the operation is row-oriented,
- assigning the operation to a C-queue when the operation is column-oriented,
- executing an operation from the C-queue during a C-type time-slot,
- executing an operation from the R-queue during an R-type time-slot, and
- switching between C-type time slots and R-type time slots.
Dependencies are inferred from the claim text.