Invention Grant
- Patent Title: Efficient and non-disruptive online defragmentation with record locking
-
Application No.: US16824933Application Date: 2020-03-20
-
Publication No.: US11204911B2Publication Date: 2021-12-21
- Inventor: Ji Hoon Jang , Seungho Yoo , Yong Sik Kwon , Hyeong Seog Kim
- Applicant: SAP SE
- Applicant Address: DE Walldorf
- Assignee: SAP SE
- Current Assignee: SAP SE
- Current Assignee Address: DE Walldorf
- Agency: Fish & Richardson P.C.
- Main IPC: G06F16/23
- IPC: G06F16/23 ; G06F9/46 ; G06F9/52 ; G06F16/25

Abstract:
Methods, systems, and computer-readable storage media for online defragmentation of memory in database systems by applying an IX-lock to each table having data stored in a marked page in a set of marked pages, generating a record map including key-value pairs, each being associated with a record location in a marked page, a value of each key-value pair initially set to a first value, iteratively executing the online defragmentation to delete data from marked pages and add the data to non-sparse pages, at least one iteration including applying a try-lock to a record in a marked page, and at iterations of the online defragmentation, updating the record map to change the value of at least one key-value pair from the first value to the second value, the second value representing that data of a marked page has been deleted from the marked page and added to a non-sparse page.
Public/Granted literature
- US20210294786A1 EFFICIENT AND NON-DISRUPTIVE ONLINE DEFRAGMENTATION WITH RECORD LOCKING Public/Granted day:2021-09-23
Information query