# US 2026/0086979 A1 · Big data retention management system

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

- Number: US 2026/0086979 A1
- Document ID: US20260086979A1
- Status: Published application
- Kind: A1
- Application number: 19/057,547
- Filed: 2025-02-19
- Published: 2026-03-26
- Earliest claimed: 2024-09-20
- Assignees: Roku, Inc.
- Applicants: Roku, Inc.
- Inventors: Bharathkrishna Guruvayoor Murali; Abhilash Mittapalli
- Web page: https://patentgrep.com/patent/US20260086979A1

## CPC

- G06F 16/125: {characterised by the use of retention policies (retention policies for HSM systems G06F16/185)}
- G06F 16/14: Details of searching files based on file metadata
- G06F 16/278: {Data partitioning, e.g. horizontal or vertical partitioning}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A cost effective big data retention management system can be implemented. The system may include a retention tagging system, which allows metastore tables managed by a query engine to be tagged with a retention policy. The system may include a partition semantics system, which can understand the retention tags and produce retention events. The system may include an event consumption system, which can process the retention events and execute a set of operations for the retention events. The system may include a data restoration system, which allows archived data to be restored as needed. The system may include a listener, which can enforce one or more rules relating to retention-related table properties.

## Claims

### Claim 1

A method for data retention, comprising:
parsing a metastore table to extract a first table property, the metastore table having one or more time-related partitions, the first table property corresponding to a retention policy having a retention action and a first retention period;
in response to determining that the first retention period applies to a first time-related partition of the metastore table, evaluating the first time-related partition against the first retention period;
in response to determining that the first time-related partition is out-of-retention, creating a retention event specifying the first time-related partition and the retention action; and
storing the retention event in a retention events database.

### Claim 2 (depends on 1)

The method of claim 1, wherein evaluating the first time-related partition against the first retention period comprises:
determining a time based on one or more time-related partition values of the first time-related partition; and
evaluating the time against a current time.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
parsing the metastore table to extract a second table property specifying a custom date partition key to which the retention policy applies.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
parsing the metastore table to extract a third table property specifying a custom date format used by the custom date partition key.

### Claim 5 (depends on 1)

The method of claim 1, wherein the retention action is an archive action.

### Claim 6 (depends on 1)

The method of claim 1, wherein the retention action is a delete action.

### Claim 7 (depends on 1)

The method of claim 1, wherein the first retention period specifies a number of days.

### Claim 8 (depends on 1)

The method of claim 1, wherein the first table property comprises a unique identifier identifying the retention policy in a configuration file that associates different unique identifiers to different retention policies.

### Claim 9 (depends on 1)

The method of claim 1, wherein the retention event is consumable by a consumer and causes the consumer to perform the retention action on the first time-related partition.

### Claim 10 (depends on 1)

The method of claim 1, wherein creating the retention event is performed in response to determining that no active restore request is present for the first time-related partition.

### Claim 11 (depends on 1)

The method of claim 1, further comprising:
parsing the metastore table to extract a fourth table property specifying a second retention period overriding the first retention period; and
in response to determining that the second retention period applies to the first time-related partition of the metastore table, evaluating the first time-related partition against the second retention period.

### Claim 12 (depends on 1)

The method of claim 1, further comprising:
parsing the metastore table to extract a fifth table property specifying a filter criterion and a third retention period overriding the first retention period; and
in response to determining that the third retention period applies to the first time-related partition of the metastore table based on the first time-related partition meeting the filter criterion, evaluating the first time-related partition against the third retention period.

### Claim 13 (depends on 12)

The method of claim 12, wherein the filter criterion specifies a partition key and a partition value.

### Claim 14 (depends on 12)

The method of claim 12, wherein the filter criterion specifies a path prefix.

### Claim 15 (depends on 1)

The method of claim 1, further comprising:
determining an applicable retention period for the first time-related partition based on an order of precedence and one or more table properties of the metastore table, the order of precedence including, in the following order, a path prefix retention period override or a partition-level retention period override, a table-level retention period override, and a table-level retention period.

### Claim 16

One or more non-transitory computer-readable media storing instructions that, when executed by one or more processors, cause the one or more processors to:
parse a metastore table to extract a first table property, the metastore table having one or more time-related partitions, the first table property corresponding to a retention policy having a retention action and a first retention period;
in response to determining that the first retention period applies to a first time-related partition of the metastore table, evaluate the first time-related partition against the first retention period;
in response to determining that the first time-related partition is out-of-retention, create a retention event specifying the first time-related partition and the retention action; and
store the retention event in a retention events database.

### Claim 17 (depends on 16)

The one or more non-transitory computer-readable media of claim 16, wherein evaluating the first time-related partition against the first retention period comprises:
determining a time based on one or more time-related partition values of the first time-related partition; and
evaluating the time against a current time.

### Claim 18 (depends on 16)

The one or more non-transitory computer-readable media of claim 16, wherein the instructions further cause the one or more processors to:
parse the metastore table to extract a second table property specifying a custom date partition key to which the retention policy applies.

### Claim 19

A computer-implemented system, comprising:
one or more processors, and
one or more non-transitory computer-readable media storing instructions that, when executed by the one or more processors, cause the one or more processors to:
parse a metastore table to extract a first table property, the metastore table having one or more time-related partitions, the first table property corresponding to a retention policy having a retention action and a first retention period;
in response to determining that the first retention period applies to a first time-related partition of the metastore table, evaluate the first time-related partition against the first retention period;
in response to determining that the first time-related partition is out-of-retention, create a retention event specifying the first time-related partition and the retention action; and
store the retention event in a retention events database.

### Claim 20 (depends on 19)

The computer-implemented system of claim 19, wherein the first retention period specifies a number of days.
