# US 2025/0156449 A1 · Reading compressed data directly into an in-memory store

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

- Number: US 2025/0156449 A1
- Document ID: US20250156449A1
- Status: Published application
- Kind: A1
- Application number: 19/023,104
- Filed: 2025-01-15
- Published: 2025-05-15
- Earliest claimed: 2023-05-05
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Krystian SAKOWSKI; Marius DUMITRU; Amir NETZ; Cristian PETCULESCU
- Web page: https://patentgrep.com/patent/US20250156449A1

## CPC

- G06F 16/254: {Extract, transform and load [ETL] procedures, e.g. ETL data flows in data warehouses}
- G06F 16/285: {Clustering or classification}
- G06F 16/1744: {using compression, e.g. sparse files}
- G06F 16/221: {Column-oriented storage; Management thereof}
- G06F 16/2255: {Hash tables}
- G06F 16/24561: {Intermediate data storage techniques for performance improvement}
- G06F 16/28: Databases characterised by their database models, e.g. relational or object models
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Example solutions read compressed data from a file in persistent storage, directly into an in-memory store without decompression. Some examples transcode the compression scheme used by the file into the compression scheme used by the in-memory store whereas, in other examples, the in-memory store is compatible with the compression scheme used by the file. In some examples that use transcoding, radix clustering is used to speed up compression dictionary transcoding. The radix clustering minimizes cache misses, thereby increasing the efficiency of memory access. These approaches significantly improve cold start times when responding to queries.

## Claims

### Claim 1

A radix clustering system comprising:
a processor; and
a computer-readable medium storing instructions that are operative upon execution by the processor to:
read compressed data from a file, the compressed data having a first storage compression scheme with a first storage compression dictionary and a second storage compression dictionary;
hash entries in the first storage compression dictionary and the second storage compression dictionary;
sort the hashed entries by their associated hash values;
update a hash table with the hashed entries; and
based on at least the updated hash table, transcode the first and second storage compression dictionaries into an in-memory compression dictionary.

### Claim 2 (depends on 1)

The system of claim 1, wherein operations of hashing, sorting, updating, and transcoding are performed for the first storage compression dictionary before the second storage compression dictionary.

### Claim 3 (depends on 1)

The system of claim 1, wherein the hashed entries are sorted using a radix sort function.

### Claim 4 (depends on 1)

The system of claim 1, wherein the in-memory compression dictionary differs from the first storage compression scheme.

### Claim 5 (depends on 1)

The system of claim 1,
wherein the first storage compression dictionary is specific to a first column and a first chunk of compressed data read from the file;
wherein the compressed data further has a second storage compression dictionary;
wherein the second storage compression dictionary is specific to the first column and a second chunk of compressed data read from the file; and
wherein the in-memory compression dictionary is specific to the first column of compressed data in an in-memory store.

### Claim 6 (depends on 1)

The system of claim 1, wherein an in-memory compression scheme of the compressed data matches the first storage compression scheme, and wherein the in-memory compression dictionary matches the first storage compression dictionary.

### Claim 7 (depends on 1)

The system of claim 1, wherein reading the compressed data from the file comprises reading the compressed data with a stateful enumerator, or one or more callbacks, that differentiates between literal data and run length encoding compressed data.

### Claim 8

A computer-implemented method comprising:
reading compressed data from a file, the compressed data having a first storage compression scheme with a first storage compression dictionary and a second storage compression dictionary;
hashing entries in the first storage compression dictionary and the second storage compression dictionary;
sorting the hashed entries by their associated hash values;
updating a hash table with the hashed entries; and
based on at least the updated hash table, transcoding the first and second storage compression dictionaries into an in-memory compression dictionary.

### Claim 9 (depends on 8)

The computer-implemented method of claim 8, wherein operations of hashing, sorting, updating, and transcoding are performed for the first storage compression dictionary before the second storage compression dictionary.

### Claim 10 (depends on 8)

The computer-implemented method of claim 8, wherein the hashed entries are sorted using a radix sort function.

### Claim 11 (depends on 8)

The computer-implemented method of claim 8, wherein the in-memory compression dictionary differs from the first storage compression scheme.

### Claim 12 (depends on 8)

The computer-implemented method of claim 8,
wherein the first storage compression dictionary is specific to a first column and a first chunk of compressed data read from the file;
wherein the compressed data further has a second storage compression dictionary;
wherein the second storage compression dictionary is specific to the first column and a second chunk of compressed data read from the file; and
wherein the in-memory compression dictionary is specific to the first column of compressed data in an in-memory store.

### Claim 13 (depends on 8)

The computer-implemented method of claim 8, wherein an in-memory compression scheme of the compressed data matches the first storage compression scheme, and wherein the in-memory compression dictionary matches the first storage compression dictionary.

### Claim 14 (depends on 8)

The computer-implemented method of claim 8, wherein reading the compressed data from the file comprises reading the compressed data with a stateful enumerator, or one or more callbacks, that differentiates between literal data and run length encoding compressed data.

### Claim 15

A computer storage device having computer-executable instructions stored thereon, which, on execution by a computer, cause the computer to perform operations comprising:
reading compressed data from a file, the compressed data having a first storage compression scheme with a first storage compression dictionary and a second storage compression dictionary;
hashing entries in the first storage compression dictionary and the second storage compression dictionary;
sorting the hashed entries by their associated hash values;
updating a hash table with the hashed entries; and
based on at least the updated hash table, transcoding the first and second storage compression dictionaries into an in-memory compression dictionary.

### Claim 16 (depends on 15)

The computer storage device of claim 15, wherein operations of hashing, sorting, updating, and transcoding are performed for the first storage compression dictionary before the second storage compression dictionary.

### Claim 17 (depends on 15)

The computer storage device of claim 15, wherein the hashed entries are sorted using a radix sort function.

### Claim 18 (depends on 15)

The computer storage device of claim 15, wherein the in-memory compression dictionary differs from the first storage compression scheme.

### Claim 19 (depends on 15)

The computer storage device of claim 15,
wherein the first storage compression dictionary is specific to a first column and a first chunk of compressed data read from the file;
wherein the compressed data further has a second storage compression dictionary;
wherein the second storage compression dictionary is specific to the first column and a second chunk of compressed data read from the file; and
wherein the in-memory compression dictionary is specific to the first column of compressed data in an in-memory store.

### Claim 20 (depends on 15)

The computer storage device of claim 15, an in-memory compression scheme of the compressed data matches the first storage compression scheme, and wherein the in-memory compression dictionary matches the first storage compression dictionary.
