# US 2025/0147946 A1 · Minimizing i/o operations when validating flat databases

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

- Number: US 2025/0147946 A1
- Document ID: US20250147946A1
- Status: Published application
- Kind: A1
- Application number: 18/502,549
- Filed: 2023-11-06
- Published: 2025-05-08
- Earliest claimed: 2023-11-06
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Christopher Daniel Filachek; Mark Richard Gambino; Michael J. Shershin; Daniel Howard Jacobs; Steven Edwin Roach
- Web page: https://patentgrep.com/patent/US20250147946A1

## CPC

- G06F 16/2358: {Change logging, detection, and notification (replication G06F16/27)}
- G06F 16/2365: {Ensuring data consistency and integrity}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

According to at least one embodiment, a method, a computer system, and a computer program product for minimizing I/O operations when validating databases are provided. The present invention may include creating a corresponding system-managed chain database for an application database, the chain database comprising a list of one or more dynamically allocated records, if present, for one or more fixed entries in the application database, wherein each of the fixed entries comprises a respective chain database array item in the chain database; scanning, via a validation utility, one or more chain database array items; marking each of the one or more dynamically allocated records listed in the chain database for the fixed entries as found; and checking, via an indicator with various states, if the one or more dynamically allocated records for the one or more fixed entries are listed in the respective chain database array item.

## Claims

### Claim 1

A processor-implemented method for minimizing I/O operations when validating databases, the method comprising:
creating a corresponding system-managed chain database for an application database, wherein the chain database is a single side database linked to the application database, the chain database comprising a list of one or more dynamically allocated records, if present, for one or more fixed entries in the application database, wherein each of the one or more fixed entries in the application database comprises a respective chain database array item in the chain database;
scanning, via a validation utility, one or more chain database array items in the chain database;
marking each of the one or more dynamically allocated records listed in the chain database for the or more fixed entries in the application database as found; and
checking, via an indicator with various states, if the one or more dynamically allocated records for the one or more fixed entries in the application database are listed in the respective chain database array item in the chain database.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
determining if the chain database comprises additional chain database array items to scan.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
upon determining that one or more dynamically allocated records for a fixed entry are not listed in the respective chain database array item, reading one or more remaining dynamic records in the fixed entry in the application database using the validation utility; and
marking the one or more read dynamically allocated records as found in the application database.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
updating the chain database, based on an application removing data from the one or more fixed entries in the application database, upon:
at least one dynamic record being returned to the system from the one or more fixed entries in the application database; and
the at least one returned dynamic record causes its fixed entry to go from comprising a greater number of dynamic records in a chain than what can be stored in the respective chain database array item, to comprising a matching or fewer number of dynamically allocated records than what can be stored in the respective chain database array item.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
updating the chain database, based on an application adding data to the one or more fixed entries in the application database, upon:
at least one dynamic record being added to the one or more fixed entries in the application database; and
the at least one added dynamic record causes its fixed entry to comprise a greater number of dynamic records in a chain than what can be stored in the respective chain database array item.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
updating the chain database, based on an application removing data from the one or more fixed entries in the application database, upon:
at least one dynamic record being returned to the system from the one or more fixed entries in the application database; and
the at least one returned dynamic record causes its fixed entry to comprise a smaller number of, or zero, dynamically allocated records than what is stored in the respective chain database array item.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
updating the chain database, based on an application adding data to the one or more fixed entries in the application database, upon:
at least one dynamic record being added to the one or more fixed entries in the application database; and
the at least one added dynamic record causes its fixed entry to comprise a greater number of dynamic records in a chain than what is stored in the respective chain database array item, if any.

### Claim 8

A computer system for minimizing I/O operations when validating databases, the computer system comprising:
one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage medium, and program instructions stored on at least one of the one or more tangible storage medium for execution by at least one of the one or more processors via at least one of the one or more memories, wherein the computer system is capable of performing a method comprising:
creating a corresponding system-managed chain database for an application database, wherein the chain database is a single side database linked to the application database, the chain database comprising a list of one or more dynamically allocated records, if present, for one or more fixed entries in the application database, wherein each of the one or more fixed entries in the application database comprises a respective chain database array item in the chain database;
scanning, via a validation utility, one or more chain database array items in the chain database;
marking each of the one or more dynamically allocated records listed in the chain database for the or more fixed entries in the application database as found; and
checking, via an indicator with various states, if the one or more dynamically allocated records for the one or more fixed entries in the application database are listed in the respective chain database array item in the chain database.

### Claim 9 (depends on 8)

The computer system of claim 8, further comprising:
determining if the chain database comprises additional chain database array items to scan.

### Claim 10 (depends on 8)

The computer system of claim 8, further comprising:
upon determining that one or more dynamically allocated records for a fixed entry are not listed in the respective chain database array item, reading one or more remaining dynamic records in the fixed entry in the application database using the validation utility; and
marking the one or more read dynamically allocated records as found in the application database.

### Claim 11 (depends on 8)

The computer system of claim 8, further comprising:
updating the chain database, based on an application removing data from the one or more fixed entries in the application database, upon:
at least one dynamic record being returned to the system from the one or more fixed entries in the application database; and
the at least one returned dynamic record causes its fixed entry to go from comprising a greater number of dynamic records in a chain than what can be stored in the respective chain database array item, to comprising a matching or fewer number of dynamically allocated records than what can be stored in the respective chain database array item.

### Claim 12 (depends on 8)

The computer system of claim 8, further comprising:
updating the chain database, based on an application adding data to the one or more fixed entries in the application database, upon:
at least one dynamic record being added to the one or more fixed entries in the application database; and
the at least one added dynamic record causes its fixed entry to comprise a greater number of dynamic records in a chain than what can be stored in the respective chain database array item.

### Claim 13 (depends on 8)

The computer system of claim 8, further comprising:
updating the chain database, based on an application removing data from the one or more fixed entries in the application database, upon:
at least one dynamic record being returned to the system from the one or more fixed entries in the application database; and
the at least one returned dynamic record causes its fixed entry to comprise a smaller number of, or zero, dynamically allocated records than what is stored in the respective chain database array item.

### Claim 14 (depends on 8)

The computer system of claim 8, further comprising:
updating the chain database, based on an application adding data to the one or more fixed entries in the application database, upon:
at least one dynamic record being added to the one or more fixed entries in the application database; and
the at least one added dynamic record causes its fixed entry to comprise a greater number of dynamic records in a chain than what is stored in the respective chain database array item, if any.

### Claim 15

A computer program product for minimizing I/O operations when validating databases, the computer program product comprising:
one or more computer-readable tangible storage medium and program instructions stored on at least one of the one or more tangible storage medium, the program instructions executable by a processor to cause the processor to perform a method comprising:
creating a corresponding system-managed chain database for an application database, wherein the chain database is a single side database linked to the application database, the chain database comprising a list of one or more dynamically allocated records, if present, for one or more fixed entries in the application database, wherein each of the one or more fixed entries in the application database comprises a respective chain database array item in the chain database;
scanning, via a validation utility, one or more chain database array items in the chain database;
marking each of the one or more dynamically allocated records listed in the chain database for the or more fixed entries in the application database as found; and
checking, via an indicator with various states, if the one or more dynamically allocated records for the one or more fixed entries in the application database are listed in the respective chain database array item in the chain database.

### Claim 16 (depends on 15)

The computer program product of claim 15, further comprising:
upon determining that one or more dynamically allocated records for a fixed entry are not listed in the respective chain database array item, reading one or more remaining dynamic records in the fixed entry in the application database using the validation utility; and
marking the one or more read dynamically allocated records as found in the application database.

### Claim 17 (depends on 15)

The computer program product of claim 15, further comprising:
updating the chain database, based on an application removing data from the one or more fixed entries in the application database, upon:
at least one dynamic record being returned to the system from the one or more fixed entries in the application database; and
the at least one returned dynamic record causes its fixed entry to go from comprising a greater number of dynamic records in a chain than what can be stored in the respective chain database array item, to comprising a matching or fewer number of dynamically allocated records than what can be stored in the respective chain database array item.

### Claim 18 (depends on 15)

The computer program product of claim 15, further comprising:
updating the chain database, based on an application adding data to the one or more fixed entries in the application database, upon:
at least one dynamic record being added to the one or more fixed entries in the application database; and
the at least one added dynamic record causes its fixed entry to comprise a greater number of dynamic records in a chain than what can be stored in the respective chain database array item.

### Claim 19 (depends on 15)

The computer program product of claim 15, further comprising:
updating the chain database, based on an application removing data from the one or more fixed entries in the application database, upon:
at least one dynamic record being returned to the system from the one or more fixed entries in the application database; and
the at least one returned dynamic record causes its fixed entry to comprise a smaller number of, or zero, dynamically allocated records than what is stored in the respective chain database array item.

### Claim 20 (depends on 15)

The computer program product of claim 15, further comprising:
updating the chain database, based on an application adding data to the one or more fixed entries in the application database, upon:
at least one dynamic record being added to the one or more fixed entries in the application database; and
the at least one added dynamic record causes its fixed entry to comprise a greater number of dynamic records in a chain than what is stored in the respective chain database array item, if any.
