# US 2021/0286806 A1 · Personal information indexing for columnar data storage format

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

- Number: US 2021/0286806 A1
- Document ID: US20210286806A1
- Status: Published application
- Kind: A1
- Application number: 16/814,855
- Filed: 2020-03-10
- Published: 2021-09-16
- Earliest claimed: 2020-03-10
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Hamed Ahmadi; Jian Wen; Shrikumar Hariharasubrahmanian; Sanjay Jinturkar; Nipun Agarwal
- Web page: https://patentgrep.com/patent/US20210286806A1

## CPC

- G06F 16/245: Query processing
- G06F 16/221: {Column-oriented storage; Management thereof}
- G06F 16/2228: {Indexing structures}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Techniques are described herein for indexing personal information in columnar data storage format based files. In an embodiment, row groups of rows that comprise a plurality of columns are stored in a set of files. Each column of a row group is stored in a chunk of column pages in the set of files. A regular expression index that indexes a particular column in the set of files is stored for each row group. The regular expression index identifies column pages in the chunk of the particular column that include a particular column value that satisfies a regular expression specified in a query. The regular expression specified in the query in evaluated against the particular column using the regular expression index.

## Claims

### Claim 1

A computer-implemented method comprising:
storing in a set of files a plurality row groups of rows that comprise a plurality of columns, wherein for each row group, each column of said plurality of columns is stored in a respective chunk of column pages in the set of files;
for each row group of said plurality of row groups, storing in the set of files a respective regular expression index that indexes a particular column, where said regular expression index identifies one or more column pages in the respective chunk of said particular column and said each row group that include a particular column value that satisfies a regular expression.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
receiving a request to evaluate a particular regular expression against the particular column.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
for each row group of said plurality of row groups, evaluating the particular regular expression against said particular column using the respective regular expression index that indexes the particular column.

### Claim 4 (depends on 3)

The method of claim 3, wherein evaluating the regular expression against the particular column includes:
for each row group of said plurality of row groups:
determining a respective set of column pages that the regular expression index identifies as satisfying said regular expression; and
evaluating the regular expression against the respective set of column pages.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
for each row group of the plurality of row groups, scanning metadata associated with the respective row group to determine whether a regular expression index exists for the particular column.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
determining that a regular expression index exists for the particular column and in response, evaluating the regular expression against the particular column.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
determining that a regular expression index does not exist for the particular column and in response, skipping evaluating the regular expression against the particular column.

### Claim 8 (depends on 1)

The method of claim 1, wherein each file of the set of files is an Apache Parquet file.

### Claim 9 (depends on 2)

The method of claim 2, wherein each data node of a plurality of data nodes stores a row group of the plurality of row groups.

### Claim 10 (depends on 9)

The method of claim 9, further comprising:
each data node of the plurality of data nodes determining, for the respective stored row group of the plurality of row groups, a respective set of column pages that the regular expression index identifies as satisfying said regular expression;
each data node of the plurality of data nodes transmitting the respective set of column pages to a compute node for evaluation.

### Claim 11

One or more non-transitory computer-readable media storing instructions which, when executed by one or more processors, cause:
storing in a set of files a plurality row groups of rows that comprise a plurality of columns, wherein for each row group, each column of said plurality of columns is stored in a respective chunk of column pages in the set of files;
for each row group of said plurality of row groups, storing in the set of files a respective regular expression index that indexes a particular column, where said regular expression index identifies one or more column pages in the respective chunk of said particular column and said each row group that include a particular column value that satisfies a regular expression.

### Claim 12 (depends on 11)

The one or more non-transitory computer-readable media of claim 11, further comprising instructions which, when executed by the one or more processors, cause:
receiving a request to evaluate a particular regular expression against the particular column.

### Claim 13 (depends on 12)

The one or more non-transitory computer-readable media of claim 12, further comprising instructions which, when executed by the one or more processors, cause:
for each row group of said plurality of row groups, evaluating the particular regular expression against said particular column using the respective regular expression index that indexes the particular column.

### Claim 14 (depends on 13)

The one or more non-transitory computer-readable media of claim 13, wherein evaluating the regular expression against the particular column includes:
for each row group of said plurality of row groups:
determining a respective set of column pages that the regular expression index identifies as satisfying said regular expression; and
evaluating the regular expression against the respective set of column pages.

### Claim 15 (depends on 11)

The one or more non-transitory computer-readable media of claim 11, further comprising instructions which, when executed by the one or more processors, cause:
for each row group of the plurality of row groups, scanning metadata associated with the respective row group to determine whether a regular expression index exists for the particular column.

### Claim 16 (depends on 11)

The one or more non-transitory computer-readable media of claim 11, further comprising instructions which, when executed by the one or more processors, cause:
determining that a regular expression index exists for the particular column and in response, evaluating the regular expression against the particular column.

### Claim 17 (depends on 11)

The one or more non-transitory computer-readable media of claim 11, further comprising instructions which, when executed by the one or more processors, cause:
determining that a regular expression index does not exist for the particular column and in response, skipping evaluating the regular expression against the particular column.

### Claim 18 (depends on 11)

The one or more non-transitory computer-readable media of claim 11, wherein each file of the set of files is an Apache Parquet file.

### Claim 19 (depends on 12)

The one or more non-transitory computer-readable media of claim 12, wherein each data node of a plurality of data nodes stores a row group of the plurality of row groups.

### Claim 20 (depends on 19)

The one or more non-transitory computer-readable media of claim 19, further comprising instructions which, when executed by the one or more processors, cause:
each data node of the plurality of data nodes determining, for the respective stored row group of the plurality of row groups, a respective set of column pages that the regular expression index identifies as satisfying said regular expression;
each data node of the plurality of data nodes transmitting the respective set of column pages to a compute node for evaluation.
