# US 11,119,984 B2 · Managing deletions from a deduplication database

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 11,119,984 B2
- Document ID: US11119984B2
- Status: Granted
- Kind: B2
- Application number: 16/452,309
- Filed: 2019-06-25
- Published: 2019-10-10
- Granted: 2021-09-14
- Earliest claimed: 2014-03-17
- Assignees: Commvault Systems, Inc.
- Applicants: Commvault Systems, Inc.
- Inventors: Deepak Raghunath Attarde; Manoj Kumar Vijayan
- Web page: https://patentgrep.com/patent/US11119984B2

## CPC

- G06F 16/1748: {De-duplication implemented within the file system, e.g. based on file segments (de-duplication techniques in storage systems for the management of data blocks G06F3/0641)}
- G06F 3/0641: {De-duplication techniques}
- G06F 11/1453: {using de-duplication of the data}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An information management system can manage the removal of data block entries in a deduplicated data store using working copies of the data block entries residing in a local data store of a secondary storage computing device. The system can use the working copies to identify data blocks for removal. Once the deduplication database is updated with the changes to the working copies (e.g., using a transaction based update scheme), the system can query the deduplication database for the database entries identified for removal. Once identified, the system can remove the database entries identified for pruning and/or the corresponding deduplication data blocks from secondary storage.

## Claims

### Claim 1

A method for removing information from a deduplication data store maintained in a secondary storage subsystem, the method comprising:
reviewing a local database residing in memory local to a secondary storage computing device to identify a first data block entry and a first data block corresponding to the first data block entry associated with a secondary storage operation, wherein the local database comprises a plurality of working copies of data block entries corresponding to a data block entry stored in a deduplication database that is distinct from the local database,
the first data block entry being stored in the deduplication database, the deduplication database storing a set of data block entries including the first data block entry, each entry in the set of data block entries corresponding to a respective data block in the set of data blocks and comprising at least a deduplication signature corresponding to the respective data block;
modifying a working copy of the first data block entry in the local database;
updating the first data block entry stored in the deduplication database based on the modified working copy to indicate that the first data block should be removed from the secondary storage subsystem;
subsequent to the updating, querying the deduplication database to identify a group of one or more data blocks in the set of data blocks that should be removed from the secondary storage subsystem;
removing from the deduplication database, a group of one or more data block entries that correspond to the group of one or more data blocks; and
removing the group of one or more data blocks from the secondary storage subsystem.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first data block entry includes a reference count corresponding to a number of instances of a respective first data block included in a set of files.

### Claim 3 (depends on 2)

The method of claim 2, wherein the updating comprises updating a value of the reference count of the first data block entry to generate a modified reference count value.

### Claim 4 (depends on 1)

The method of claim 1, wherein the querying comprises identifying the first data block for removal from the secondary storage subsystem.

### Claim 5 (depends on 1)

The method of claim 1, wherein the updating comprises setting a flag of the first data block entry.

### Claim 6 (depends on 1)

The method of claim 1, wherein the updating is initiated based on a detection of at least one of: expiration of a time threshold since a previous update to the deduplication database based on content of the local database, and a size threshold of the memory local to the secondary storage computing device being exceeded.

### Claim 7 (depends on 1)

The method of claim 1, wherein the updating comprises merging the modified working copy with the first data block entry contained in the deduplication database.

### Claim 8 (depends on 1)

The method of claim 1, wherein the removing the group of one or more data blocks from the secondary storage subsystem comprises, for at least one data block in the identified group of data blocks, removing a copy of the data block from a second data store and additionally removing one or more pointers to the copy of the data block from the second data store.

### Claim 9 (depends on 1)

The method of claim 1, wherein the deduplication database is stored in a second data store of the secondary storage subsystem.

### Claim 10

A data storage management system comprising one or more computing devices with computer hardware, wherein the data storage management system is configured to:
review a local database residing in memory local to a secondary storage computing device to identify a first data block entry and a first data block corresponding to the first data block entry associated with a secondary storage operation, wherein the local database comprises a plurality of working copies of data block entries corresponding to a data block entry stored in a deduplication database that is distinct from the local database,
the first data block entry being stored in the deduplication database, the deduplication database storing a set of data block entries including the first data block entry, each entry in the set of data block entries corresponding to a respective data block in the set of data blocks and comprising at least a deduplication signature corresponding to the respective data block;
modify a working copy of the first data block entry in the local database;
update the first data block entry stored in the deduplication database based on the modified working copy to indicate that the first data block should be removed from a secondary storage subsystem;
subsequent to the update, query the deduplication database to identify a group of one or more data blocks in the set of data blocks that should be removed from the secondary storage subsystem;
remove from the deduplication database, a group of one or more data block entries that correspond to the group of one or more data blocks; and
remove the group of one or more data blocks from the secondary storage subsystem.

### Claim 11 (depends on 10)

The data storage management system of claim 10, wherein the first data block entry includes a reference count corresponding to a number of instances of a respective first data block included in a set of files.

### Claim 12 (depends on 11)

The data storage management system of claim 11, wherein the data storage management system is further configured to update a value of the reference count of the first data block entry to generate a modified reference count value.

### Claim 13 (depends on 10)

The data storage management system of claim 10, wherein the data storage management system is further configured to identify the first data block for removal from the secondary storage subsystem.

### Claim 14 (depends on 10)

The data storage management system of claim 10, wherein the data storage management system is further configured to set a flag of the first data block entry based on the modified working copy to indicate that the first data block should be removed from the secondary storage subsystem.

### Claim 15 (depends on 10)

The data storage management system of claim 10, wherein the data storage management system is further configured to initiate the update based on a detection of at least one of: expiration of a time threshold since a previous update to the deduplication database based on content of the local database, and a size threshold of the memory local to the secondary storage computing device being exceeded.

### Claim 16 (depends on 10)

The data storage management system of claim 10, wherein the data storage management system is further configured to merge the modified working copy with the first data block entry contained in the deduplication database.

### Claim 17 (depends on 10)

The data storage management system of claim 10, wherein the data storage management system is further configured to, for at least one data block in the identified group of data blocks, remove a copy of the data block from a second data store and additionally remove one or more pointers to the copy of the data block from the second data store.

### Claim 18 (depends on 10)

The data storage management system of claim 10, wherein the deduplication database is stored in a second data store of the secondary storage subsystem.
