# US 2018/0004788 A1 · Management of memory usage using usage analytics

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

- Number: US 2018/0004788 A1
- Document ID: US20180004788A1
- Status: Published application
- Kind: A1
- Application number: 15/704,491
- Filed: 2017-09-14
- Published: 2018-01-04
- Earliest claimed: 2012-10-31
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Avinesh KUMAR; Sandeep R. PATIL; Gandhi SIVAKUMAR; Matthew A. TERRY; Matthew B. TREVATHAN
- Web page: https://patentgrep.com/patent/US20180004788A1

## CPC

- G06F 16/2282: {Tablespace storage structures; Management thereof}
- G06F 16/23: Updating
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An approach for managing memory usage in cloud and traditional environments using usage analytics is disclosed. The approach may be implemented in a computer infrastructure including a combination of hardware and software. The approach includes determining that space is available within one or more tables which have schema definitions with string fields having a predefined length. The approach further includes creating a virtual table and mapping the available space to the virtual table for population by one or more records.

## Claims

### Claim 1

A method implemented in a computer infrastructure comprising hardware, the method comprising:
monitoring available space within string fields having a predefined length within one or more tables having schema definitions;
creating a tracker table of all available space within the string fields having the predefined length of the one or more tables;
creating a virtual table with a size based on the available space; and
displaying a utilization level in a graphical user interface (GUI) over a period of time which indicates unused memory that is used for the virtual table,
wherein the hardware comprises at least one processor.

### Claim 2 (depends on 1)

The method of claim 1, wherein the tracker table is created by a subtractive method.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
mapping the available space in the string fields to the virtual table for populating the virtual table within one or more records having a space which corresponds with the available space in the string fields,
wherein all spaces per the schema definitions are provided at a usage end by relinquishing any space that was mapped to the virtual table for use within the one or more tables, as needed.

### Claim 4 (depends on 1)

The method of claim 1, further comprising incrementing values of the one or more tables, when additional space is required for one or more fields of the one or more tables.

### Claim 5 (depends on 1)

The method of claim 1, further comprising merging the one or more tables during off peak time per a schedule or when peak load is reduced.

### Claim 6 (depends on 1)

The method of claim 1, further comprising creating variable length character fields for additional space required within the one or more tables.

### Claim 7 (depends on 1)

The method of claim 1, further comprising displaying actual space and energy utilized against the period of time.

### Claim 8 (depends on 1)

The method of claim 1, further comprising performing the steps of claim 1 in a cloud environment.

### Claim 9 (depends on 1)

The method of claim 1, further comprising providing a percentage of the available space that is mapped to the virtual table, wherein the percentage of the available space is selected by a user.

### Claim 10 (depends on 1)

The method of claim 1, further comprising a dynamic grant process which is configured to initially create a field with a minimum size within the one or more tables and then incrementing a size of the field until the size of the field reaches a maximum size.

### Claim 11 (depends on 1)

The method of claim 1, wherein the utilization level is set by an administrator through the GUI.

### Claim 12 (depends on 1)

The method of claim 1, further comprising populating the virtual table with at least one record.

### Claim 13

A system implemented in hardware and comprising a computer infrastructure operable to:
monitor available space within string fields having a predefined length within one or more tables having schema definitions;
create a tracker table of all available space within the string fields having the predefined length of the one or more tables;
create a virtual table with a size based on the available space; and
display a utilization level in a graphical user interface (GUI) over a period of time which indicates unused memory that is used for the virtual table,
wherein the hardware comprises at least one processor.

### Claim 14

A computer program product comprising a non-transitory computer usable storage medium having readable program code embodied in the storage medium, wherein the computer program product includes at least one component operable to:
monitor available space within string fields having a predefined length within one or more tables having schema definitions;
create a tracker table of all available space within the string fields having the predefined length of the one or more tables;
create a virtual table with a size based on the available space; and
display a utilization level in a graphical user interface (GUI) over a period of time which indicates unused memory that is used for the virtual table,
wherein the at least one component comprises at least one processor.
