Allocating free space in a database

US10248673B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10248673-B2
Application numberUS-201615078173-A
CountryUS
Kind codeB2
Filing dateMar 23, 2016
Priority dateMar 23, 2016
Publication dateApr 2, 2019
Grant dateApr 2, 2019

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Allocating free space in a database table. Statistics associated with records in a database are received, including an average record byte size for records stored in the database table. A primary free space byte size for record updates is determined, including comparing a preliminary free space byte size to the average record byte size and a byte size of a record subjected to a database operation. Based on the primary free space byte size, free space at the page level of the database table is allocated.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer-implemented method for allocating free space in a database table associated with a relation database managed by a relational database management system, the method comprising: receiving statistics associated with records in a database table, including an average record byte size for records stored in the database table; receiving a database operation, wherein the received database operation comprises an insertion operation, a deletion operation, and an update operation; determining a primary free space byte size for record updates, wherein determining the primary free space byte size for record updates comprises comparing a preliminary free space byte size to the average record byte size and a byte size of a subject record, and wherein the subject record is subjected to the received database operation; in response to determining that the received database operation is an insertion operation, increasing the preliminary free space byte size based on a first difference in byte size between the average record byte size and the byte size of the subject record, and wherein the byte size of the subject record is less than the average record byte size; in response to determining that the received database operation is a deletion operation, decreasing the preliminary free space byte size based on a second difference in byte size between the average record byte size and the byte size of the subject record, and wherein the byte size of the subject record is less than the average record byte size; in response to determining that the received database operation is an update operation that changes a record byte size, increasing or decreasing the preliminary free space byte size, based on the update increasing or decreasing the record byte size, respectively, based on a third difference in byte size between the average record byte size and the byte size of the subject record, and wherein the byte size of the subject record is less than the average record byte size; and allocating free space at a page level of the database table based on the primary free space byte size. 2. The method in accordance with claim 1 , wherein determining the primary free space byte size further comprises modifying the preliminary free space byte size based on the average record byte size and the byte size of the subject record. 3. The method in accordance with claim 1 , wherein determining the primary free space byte size is in response to commencing a database utility. 4. The method in accordance with claim 3 , wherein the database utility is associated with at least one of a reorganization process or a page loading process. 5. A computer system for allocating free space in a database table associated with a relation database managed by a relational database management system, the computer system comprising: one or more computer processors, one or more non-transitory computer-readable storage media, and program instructions stored on one or more of the computer-readable storage media for execution by at least one of the one or more processors, the program instructions comprising: program instructions to receive statistics associated with records in a database table, wherein the statistics include an average record byte size for records stored in the database table; program instructions to receive a database operation, wherein the received database operation comprises an insertion operation, a deletion operation, and an update operation; program instructions to determine a primary free space byte size for record updates, wherein determining the primary free space byte size for record updates comprises comparing a preliminary free space byte size to the average record byte size and a byte size of a subject record, and wherein the subject record is subjected to the received database operation; in response to determining that the received database operation is an insertion operation, program instructions to increase the preliminary free space byte size based on a first difference in byte size between the average record byte size and the byte size of the subject record, and wherein the byte size of the subject record is less than the average record byte size; in response to determining that the received database operation is a deletion operation, program instructions to decrease the preliminary free space byte size based on a second difference in byte size between the average record byte size and the byte size of the subject record and wherein the byte size of the subject record is less than the average record byte size; in response to determining that the received database operation is an update operation that changes a record byte size, program instructions to increase or decrease the preliminary free space byte size, based on the update increasing or decreasing the record byte size, respectively, based on a third difference in byte size between the average record byte size and the byte size of the subject record, and wherein the byte size of the subject record is less than the average record byte size; and program instructions to allocate free space at a page level of the database table, based on the primary free space byte size. 6. The computer system in accordance with claim 5 , wherein program instructions to determine the primary free space byte size further comprise program instructions to modify the preliminary free space byte size based on the average record byte size and the byte size of the subject record. 7. The computer system in accordance with claim 5 , wherein program instructions to determine the primary free space byte size are executed in response to commencing a database utility. 8. The computer system in accordance with claim 7 , wherein the database utility is associated with at least one of a reorganization process or a page loading process.

Assignees

Inventors

Classifications

  • Design, administration or maintenance of databases · CPC title

  • G06F16/215Primary

    Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors · CPC title

  • Delete operations (erasing in storage systems G06F3/0652) · CPC title

  • Physics · mapped topic

  • Physics · mapped topic

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10248673B2 cover?
Allocating free space in a database table. Statistics associated with records in a database are received, including an average record byte size for records stored in the database table. A primary free space byte size for record updates is determined, including comparing a preliminary free space byte size to the average record byte size and a byte size of a record subjected to a database operati…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F16/215. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Apr 02 2019 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 3 related publications on this page (citations in our corpus or others sharing the same primary CPC).