Patent ID: 11940991
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 7:
8. A computer program product for managing a time series database, the computer program product comprising:
one or more computer readable storage media; and
program instructions stored on the one or more computer readable storage media, the program instructions comprising:
program instructions to receive an indication to remove one or more data in a shard of a time series database;
program instructions to update a metadata index associated with the time series database to indicate a soft removal of each data of the one or more data;
program instructions to update a data hole index associated with the soft removal within the time series database to indicate a first data hole at a first location created in the time series database by the soft removal of a first data of the one or more data, wherein the first data hole may be located using the data hole index without traversing the shard; and
program instructions, responsive to an input/output rate for the time series database being below a threshold, to fill the first data hole with data from a stored location within the shard that matches the size of the first data hole as determined from the metadata index, and store the stored location as the first data hole in the data hole index.