Selecting pages implementing leaf nodes and internal nodes of a data set index for reuse

US9733833B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9733833-B2
Application numberUS-201615159716-A
CountryUS
Kind codeB2
Filing dateMay 19, 2016
Priority dateSep 14, 2012
Publication dateAug 15, 2017
Grant dateAug 15, 2017

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.

Provided are a computer program product, system, and method for selecting pages implementing leaf nodes and internal nodes of a data set index for reuse in memory. Pages in the memory are allocated to internal nodes and leaf nodes of a tree data structure representing all or a portion of a data set index for the data set. At least at least one duration parameter indicates an amount of time after which an unused page implement one of the internal nodes or leaf nodes is eligible for reuse. Selection is made of at least one selected page allocated to at least one of the leaf nodes and the internal nodes that has not been used for one of the at least one duration parameter for reuse.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer program product for managing a data set stored in a storage in a memory, the computer program product comprising a non-transitory computer readable storage medium having computer readable program code embodied therein that executes to perform operations, the operations comprising: allocating pages in the memory to internal nodes and leaf nodes of a tree data structure representing all or a portion of a data set index for the data set; maintaining a leaf node duration and an internal node duration, wherein the leaf node duration comprises an amount of time after which one of the leaf nodes is selected for reuse and wherein the internal node duration comprises an amount of time after which one of the internal nodes is selected for reuse; selecting at least one selected page allocated to at least one of the leaf nodes and the internal nodes that has not been used for the leaf node duration and the internal node duration, respectively, for reuse; determining whether a utilization rate indicating an amount of the pages that are not available for reuse to be allocated to leaf nodes and internal nodes exceeds a threshold; and decreasing at least one of the leaf node duration and the internal node duration in response to determining that the utilization rate exceeds the threshold. 2. The computer program product of claim 1 , wherein the leaf nodes include information on members of the data set, wherein the internal nodes include one or more keys used to traverse the tree data structure to reach the leaf nodes that are used to access the members of the data set. 3. The computer program product of claim 1 , wherein the operations further comprise: increasing at least one of the leaf node duration and the internal node duration in response to determining that the utilization rate does not exceed the threshold. 4. The computer program product of claim 1 , wherein the utilization rate is based on a number of the pages allocated to the leaf nodes and the internal nodes not indicated as available for reuse and a total number of pages allocated. 5. A system for managing a data set stored in a storage, comprising: a processor; a memory; a computer readable storage medium having code executed by the processor to perform operations, the operations comprising: allocating pages in the memory to internal nodes and leaf nodes of a tree data structure representing all or a portion of a data set index for the data set; maintaining a leaf node duration and an internal node duration, wherein the leaf node duration comprises an amount of time after which one of the leaf nodes is selected for reuse and wherein the internal node duration comprises an amount of time after which one of the internal nodes is selected for reuse; selecting at least one selected page allocated to at least one of the leaf nodes and the internal nodes that has not been used for the leaf node duration and the internal node duration, respectively, for reuse; determining whether a utilization rate indicating an amount of the pages that are not available for reuse to be allocated to leaf nodes and internal nodes exceeds a threshold; and decreasing at least one of the leaf node duration and the internal node duration in response to determining that the utilization rate exceeds the threshold. 6. The system of claim 5 , wherein the leaf nodes include information on members of the data set, wherein the internal nodes include one or more keys used to traverse the tree data structure to reach the leaf nodes that are used to access the members of the data set. 7. The system of claim 5 , wherein the operations further comprise: increasing at least one of the leaf node duration and the internal node duration in response to determining that the utilization rate does not exceed the threshold. 8. The system of claim 5 , wherein the utilization rate is based on a number of the pages allocated to the leaf nodes and the internal nodes not indicated as available for reuse and a total number of pages allocated. 9. A method, comprising: allocating pages in a memory to internal nodes and leaf nodes of a tree data structure in a non-transitory computer readable storage medium representing all or a portion of a data set index for a data set; maintaining a leaf node duration and an internal node duration, wherein the leaf node duration comprises an amount of time after which one of the leaf nodes is selected for reuse and wherein the internal node duration comprises an amount of time after which one of the internal nodes is selected for reuse; selecting at least one selected page allocated to at least one of the leaf nodes and the internal nodes that has not been used for the leaf node duration and the internal node duration, respectively, for reuse; determining whether a utilization rate indicating an amount of the pages that are not available for reuse to be allocated to leaf nodes and internal nodes exceeds a threshold; and decreasing at least one of the leaf node duration and the internal node duration in response to determining that the utilization rate exceeds the threshold. 10. The method of claim 9 , wherein the leaf nodes include information on members of the data set, wherein the internal nodes include one or more keys used to traverse the tree data structure to reach the leaf nodes that are used to access the members of the data set. 11. The method of claim 9 , further comprising: increasing at least one of the leaf node duration and the internal node duration in response to determining that the utilization rate does not exceed the threshold. 12. The method of claim 9 , wherein the utilization rate is based on a number of the pages allocated to the leaf nodes and the internal nodes not indicated as available for reuse and a total number of pages allocated.

Assignees

Inventors

Classifications

  • Virtual address space management · CPC title

  • G06F3/0605Primary

    by facilitating the interaction with a user or administrator · CPC title

  • Virtualized environment, e.g. logically partitioned system · CPC title

  • Trees, e.g. B+trees · CPC title

  • at area level, e.g. provisioning of virtual or logical volumes · CPC title

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 US9733833B2 cover?
Provided are a computer program product, system, and method for selecting pages implementing leaf nodes and internal nodes of a data set index for reuse in memory. Pages in the memory are allocated to internal nodes and leaf nodes of a tree data structure representing all or a portion of a data set index for the data set. At least at least one duration parameter indicates an amount of time afte…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F3/0605. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Aug 15 2017 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 1 related publication on this page (citations in our corpus or others sharing the same primary CPC).