Methods and systems for managing prioritized database transactions
AssigneeHuawei Technologies Co., Ltd.
InventorDavid Dominguez
Life of this patent
Estimating the term…
Abstract
A database management system for controlling prioritized transactions, comprising: a processor adapted to: receive from a client module a request to write into a database item as part of a high-priority transaction; check a lock status and an injection status of the database item; when the lock status of the database item includes a lock owned by a low-priority transaction and the injection status is not-injected status: change the injection status of the database item to injected status; copy current content of the database item to an undo buffer of the low-priority transaction; and write into a storage engine of the database item.
Claims16
A database management system for controlling prioritized transactions, the database management system comprising:
- a processor adapted to:
- receive, from a client module, a request to write into a database item as part of a high-priority transaction;
- check a lock status and an injection status of the database item;
- and
- based upon determining that the lock status of the database item comprises a lock owned by a low-priority transaction and the injection status is not-injected:
- change the injection status of the database item to injected;
- copy current content of the database item to an undo buffer of the low-priority transaction;
- and
- write into a storage engine of the database item according to the request as part of the high-priority transaction while the lock status of the database item comprises the lock owned by the low-priority transaction.
A computer implemented method of controlling prioritized transactions in a database management system, the method comprising:
- receiving, from a client module, a request to write into a database item as part of a high-priority transaction;
- checking a lock status and an injection status of the database item;
- and
- based upon determining that the lock status of the database item comprises a lock owned by a low-priority transaction and the injection status is not-injected:
- changing the injection status of the database item to injected;
- copying current content of the database item to an undo buffer of the low-priority transaction;
- and
- writing into a storage engine of the database item according to the request as part of the high-priority transaction while the lock status of the database item comprises the lock owned by the low-priority transaction.
Dependencies are inferred from the claim text.