US 12,443,577 B2
Database record bit
Shuo Li, Beijing (CN); Xiaobo Wang, Beijing (CN); Sheng Yan Sun, Beijing (CN); Jia Tian Zhong, Beijing (CN); and Xing Xing Shen, Beijing (CN)
Assigned to International Business Machines Corporation, New York, NY (US)
Filed by INTERNATIONAL BUSINESS MACHINES CORPORATION, Armonk, NY (US)
Filed on Jan. 11, 2022, as Appl. No. 17/572,759.
Prior Publication US 2023/0222107 A1, Jul. 13, 2023
Int. Cl. G06F 16/21 (2019.01); G06F 16/23 (2019.01); G06F 16/24 (2019.01); G06F 16/242 (2019.01)
CPC G06F 16/219 (2019.01) [G06F 16/2343 (2019.01); G06F 16/2358 (2019.01); G06F 16/24 (2019.01); G06F 16/2433 (2019.01)] 19 Claims
OG exemplary drawing
 
1. A method, comprising:
receiving, by a computing device, a first transaction from a first user device for a first version of a database record;
generating, by the computing device, a bit for the database record;
receiving, by the computing device, a second transaction from a second user device for a second version of the database record;
locking, at the computing device, the database record, wherein:
the locking occurs upon receiving two active transactions comprising the first transaction from the first user device that modifies the first version of the database record and the second transaction from the second user device that modifies the second version of the database record,
the first transaction modifies the first version of the database record, and the second transaction modifies the second version of the database record while the database record is locked, and
the database record remains locked while the first transaction modifies the first version of the database record and while the second transaction modifies the second version of the database record;
determining, by the computing device, a modification between the first version of the database record and the second version of the database record; and
updating, by the computing device while the database record is locked, the bit based on the determined modification.