Managing data records

US9916338B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9916338-B2
Application numberUS-201514695771-A
CountryUS
Kind codeB2
Filing dateApr 24, 2015
Priority dateApr 24, 2015
Publication dateMar 13, 2018
Grant dateMar 13, 2018

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.

Data records may be managed in a relational database by monitoring, a record length for a first data record in a page of memory, an amount of free space in the page, and a page length. In response to receiving an operator command to replace the first data record with a second data record, a database management system may determine whether an estimated record length of a compressed second data record is outside of the amount of free space in the page. In response to determining the estimated record length of a compressed second data record is outside of the amount of free space in the page, the database management system may determine whether an estimated length of a compressed page is outside of the page length. In response to determining the estimated length of a compressed page is within the page length, the page may be compressed.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer implemented method for managing data records in a relational database, the method comprising: monitoring, by a processor, a record length for a first data record of the relational database stored in a page of memory, an amount of free space in the page, and a page length of the page; receiving an operator command to replace the first data record with a second data record in the relational database; determining, based upon receiving the operator command, whether an estimated record length of an compressed second data record is outside of the amount of free space in the page; in response to determining that the estimated record length of the compressed second data record is outside of the amount of free space in the page, determining whether an estimated length of a compressed page that includes the second data record is outside of the page length; and in response to determining that the estimated length of the compressed page is within the page length, compressing the page including the second data record in the relational database. 2. The method of claim 1 , wherein receiving the operator command includes comparing the record length of the second data record with the amount of free space in the page. 3. The method of claim 2 , further comprising: determining, based on comparing the record length of the second data record with the amount of free space in the page, the record length of the second data record to be within the amount of free space in the page; and replacing the first data record with the second data record. 4. The method of claim 1 , wherein determining whether an estimated record length of a compressed second data record is outside of the amount of free space in the page further comprises: comparing the record length of the second data record with the amount of free space in the page; estimating, in response to comparing, a record length of a compressed second data record; and comparing, in response to estimating, the estimated record length of the compressed second data record with the amount of free space in the page. 5. The method of claim 4 , further comprising: determining, based upon the comparing, the estimated record length of the compressed second data record is within the amount of free space in the page; compressing the second data record; and replacing the first data record with the compressed second data record. 6. The method of claim 1 , wherein determining whether the estimated length of a compressed page that includes the second data record is outside of the page length further comprises: estimating a length of a compressed page; and comparing, in response to estimating, the estimated length of the compressed page with the page length. 7. The method of claim 6 , wherein in response to determining that the estimated length of the compressed page is within the page length, the method further comprises: compressing the page; and replacing the page with a compressed page. 8. The method of claim 6 , wherein comparing the estimated length of the compressed page with the page length further comprises: determining the estimated length of the compressed page is outside of the page length; and creating an overflow record for the second data record. 9. The method of claim 1 , wherein the operator command corresponds with modifier commands, the modifier commands including update operators. 10. The method of claim 1 , wherein the amount of free space in the page includes reserved or unused space in the page in the relational database. 11. A computer program product for managing data records in a relational database, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, wherein the computer readable storage medium is not a transitory signal per se, the program instructions executable by a processor to cause the processor to perform a method comprising: monitoring, by the processor, a record length for a first variable data record of the relational database stored in a page of memory, an amount of free space in the page, and a page length of the page; receiving an operator command to replace the first variable data record with a second variable data record in the relational database; determining, by the processor, based upon receiving the operator command, whether an estimated record length of a compressed variable second data record is outside of the amount of free space in the page; in response to determining that the estimated record length of the compressed variable second data record is outside of the amount of free space in the page, determining whether an estimated length of a compressed page that includes the variable second data record is outside of the page length; and in response to determining that the estimated length of the compressed page is within the page length, compressing the page including the second data record in the relational database. 12. The computer program product of claim 11 , wherein determining whether the estimated length of a compressed page that includes the variable second data record is outside of the page length further comprises: estimating a length of a compressed page; and comparing, in response to estimating, the estimated length of the compressed page with the page length. 13. The computer program product of claim 12 , wherein in response to determining that the estimated length of the compressed page is within the page length, the method further comprises: compressing the page; and replacing the page with a compressed page. 14. The computer program product of claim 12 , wherein comparing the estimated length of the compressed page with the page length further comprises: determining the estimated length of the compressed page is outside of the page length; and creating an overflow record for the second variable data record. 15. The computer program product of claim 11 , wherein the operator command corresponds with modifier commands, the modifier commands including update operators. 16. A computer system for managing data records in a relational database, the computer system comprising: a memory; and a processor in communication with the memory, wherein the processor is configured to perform a method, the method comprising: monitoring, by the processor, a record length for a first data record of the relational database stored in a page of memory, an amount of free space in the page, and a page length of the page; receiving an operator command to replace the first data record with a second data record in the relational database; determining, by the processor, based upon receiving the operator command, whether an estimated record length of a compressed second data record is outside of the amount of free space in the page; in response to determining that the estimated record length of the compressed second data record is outside of the amount of free space in the page, determining whether an estimated length of a compressed page that includes the second data record is outside of the page length; and in response to determining that the estimated length of the compressed page is within the page length, compressing the page including the second data record in the relational database. 17. The computer system of claim 16 , wherein receiving the operator command includes comparing the record length of the second data record with the amount of free space in the page. 18. The computer system of claim 17 , further comprising: determining, based on compar

Assignees

Inventors

Classifications

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 US9916338B2 cover?
Data records may be managed in a relational database by monitoring, a record length for a first data record in a page of memory, an amount of free space in the page, and a page length. In response to receiving an operator command to replace the first data record with a second data record, a database management system may determine whether an estimated record length of a compressed second data r…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F17/30339. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Mar 13 2018 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 9 related publications on this page (citations in our corpus or others sharing the same primary CPC).