# US 2025/0147963 A1 · Computer-implemented method for improving query execution in relational databases normalized at level 4 and above

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

- Number: US 2025/0147963 A1
- Document ID: US20250147963A1
- Status: Published application
- Kind: A1
- Application number: 18/390,285
- Filed: 2023-12-20
- Published: 2025-05-08
- Earliest claimed: 2013-08-30
- Assignees: Datawalk Spolka Akcyjna
- Applicants: DataWalk Spólka Akcyjna
- Inventors: Krystian Piecko
- Web page: https://patentgrep.com/patent/US20250147963A1

## CPC

- G06F 16/2455: Query execution
- G06F 16/2255: {Hash tables}
- G06F 16/24553: {of query operations}
- G06F 16/284: {Relational databases}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Computer implemented methods for executing a database query in a database using an electronic computing device are presented, the method including: causing the electronic computing device to provide at least one data structure including at least one object having at least two properties of different data types; identifying a property of the at least one data structure that includes the smallest unique values in terms of type of data stored in that particular property; executing the database query, including any limiting parameters, configured to retrieve only data from the property including the smallest unique values that are retrievable for a record; retrieving a predefined number of results of the executed database query; and for each set of predefined number of retrieved results, executing a new database access thread that is configured to retrieve data that are present in the records identified with the smallest unique values.

## Claims

### Claim at position 1

1-13. (canceled)

### Claim 14

A computer implemented method for improving efficiency and reducing computational complexity of executing queries in a database using an electronic computing device, the method comprising:
(a) identifying, by a comparison of sizes of a plurality of data types of a plurality of data properties, a first data property from the plurality of data properties to be used as representative data of a query result, wherein the first data property has a data type which has both the smallest and unique value in the plurality of data properties;
(b) executing a database query on a plurality of data records and identifying a set of data records satisfying the database query; and
(c) storing, in a hash table, the first data property identified in (a) as keys and the set of data records as values of a result of the database query.

### Claim 15 (depends on 14)

The computer implemented method of claim 14, wherein the database query utilizes UNION operators between SELECT database queries limited with the smallest and unique value of the first data property.

### Claim 16 (depends on 14)

The computer implemented method of claim 14, wherein the executing the database query utilizes an INTERSECT operator between subqueries related to different data structures for storing the plurality of data records.

### Claim 17 (depends on 14)

The computer implemented method of claim 14, wherein the plurality of data records are stored in the database comprising multiple data structures.

### Claim 18 (depends on 17)

The computer implemented method of claim 17, wherein at least one data structure comprises definitions of data object values of at least one data set, wherein a definition of a data object value comprises (i) a data object identifier, and (ii) a unique identifier of a data property that the data object value is assigned to.

### Claim 19 (depends on 18)

The computer implemented method of claim 18, wherein the at least one data structure has a plurality of data properties such that at least two of the plurality of data properties have different data types.

### Claim 20 (depends on 18)

The method of claim 18, further comprising creating a mind map structure comprising nodes and directed links, wherein each node of the mind map represents a data set of the data sets and each directed link of the directed links represents a relation between data sets.

### Claim 21 (depends on 14)

The computer implemented method of claim 14, wherein (c) is performed in multiple threads in parallel for storing data from the set of data records identified in (b) and the first data property identified in (a).

### Claim 22 (depends on 21)

The computer implemented method of claim 21, wherein the multiple threads are determined based at least in part on a number of the keys exceeding a pre-defined number.

### Claim 23 (depends on 22)

The computer implemented method of claim 22, wherein the predefined number is between 75 and 150.

### Claim 24

A non-transitory computer-readable medium comprising machine-executable code that, upon execution by a computer, implements a method for improving efficiency and reducing computational complexity of executing queries in a database, the method comprising:
(a) identifying, by a comparison of sizes of a plurality of data types of a plurality of data properties, a first data property from the plurality of data properties to be used as representative data of a query result, wherein the first data property has a data type which has both the smallest and unique value in the plurality of data properties;
(b) executing a database query on a plurality of data records and identifying a set of data records satisfying the database query; and
(c) storing, in a hash table, the first data property identified in (a) as keys and the set of data records as values of a result of the database query.

### Claim 25 (depends on 24)

The non-transitory computer-readable medium of claim 24, wherein the database query utilizes UNION operators between SELECT database queries limited with the smallest and unique value of the first data property.

### Claim 26 (depends on 24)

The non-transitory computer-readable medium of claim 24, wherein the executing the database query utilizes an INTERSECT operator between subqueries related to different data structures for storing the plurality of data records.

### Claim 27 (depends on 24)

The non-transitory computer-readable medium of claim 24, wherein the plurality of data records are stored in the database comprising multiple data structures.

### Claim 28 (depends on 27)

The non-transitory computer-readable medium of claim 27, wherein at least one data structure comprises definitions of data object values of at least one data set, wherein a definition of a data object value comprises (i) a data object identifier, and (ii) a unique identifier of a data property that the data object value is assigned to.

### Claim 29 (depends on 28)

The non-transitory computer-readable medium of claim 28, wherein the at least one data structure has a plurality of data properties such that at least two of the plurality of data properties have different data types.

### Claim 30 (depends on 28)

The non-transitory computer-readable medium of claim 28, further comprising creating a mind map structure comprising nodes and directed links, wherein each node of the mind map represents a data set of the data sets and each directed link of the directed links represents a relation between data sets

### Claim 31 (depends on 24)

The non-transitory computer-readable medium of claim 24, wherein (c) is performed in multiple threads in parallel for storing data from the set of data records identified in (b) and the first data property identified in (a).

### Claim 32 (depends on 31)

The non-transitory computer-readable medium of claim 31, wherein the multiple threads are determined based at least in part on a number of the keys exceeding a pre-defined number.

### Claim 33 (depends on 32)

The non-transitory computer-readable medium of claim 32, wherein the predefined number is between 75 and 150.
