Index suspension prior to database update

US9720924B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9720924-B2
Application numberUS-201615042501-A
CountryUS
Kind codeB2
Filing dateFeb 12, 2016
Priority dateSep 5, 2014
Publication dateAug 1, 2017
Grant dateAug 1, 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.

Embodiments of the present invention disclose a method, a computer program product, and a computer system for suspending and activating a database index. A computer determines a quantity of changes for a number of rows of a database that are to be made by an update of the database. The computer determines whether to suspend an index of the database based, at least in part, on a comparison between the quantity of changes and a pre-determined threshold value. The computer suspends the index of the database based on a result of the comparison that indicates the quantity of changes at least meet the pre-determined threshold value. A suspension of the index of the database initiates a rebuilding of the index.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for suspending and activating a database index, the method comprising: (I) Prior to processing an update to a database: determining, by a computer, a quantity of changes for a number of rows of the database that are included in the update by: receiving, by the computer, a request that includes (i) a plurality of updates to be performed to the database that includes the update, (ii) a suspension threshold value that is configured to control, at least in part, suspension of an index of the database, and (iii) a selection to perform an analysis of the plurality of updates, wherein results of the analysis indicate whether to suspend the index of the database based at least on a comparison of both the suspension threshold value and a count of updates for the database that is generated based on the plurality of updates to be performed to the database, wherein the count of updates is determined by: determining, by the computer, an initial number of rows of data in the database; determining, by the computer, a percentage of updates for the database by dividing the count of updates for the database by the initial number of rows of data in the database; and determining, by the computer, the quantity of changes based, at least in part, on i) the received plurality of updates, ii) the count of updates for the database, and iii) the percentage of updates for the database, wherein the count of updates for the database is a numerical value based, at least in part, on a number of rows of data from an input file; receiving, by the computer, a temporal limit, wherein the temporal limit dictates when the computer performs the analysis of the plurality of updates; and performing, by the computer, the analysis of the plurality of updates prior to performing the plurality of updates to the database in response to meeting the temporal limit; determining, by the computer, whether to suspend an index of the database based, at least in part, on a comparison between the quantity of changes and the suspension threshold value; suspending, by the computer, the index of the database based, at least in part, on a result of the comparison that indicates the quantity of changes at least meet the suspension threshold value, wherein a suspension of the index of the database initiates a rebuilding of the index; retaining, by the computer, a definition for the index of the database, wherein the definition includes a command for rebuilding the index of the database; and deleting, by the computer, the index of the database; (II) updating the database by applying the plurality of updates to the database; generating an updated index by rebuilding, by the computer, the index of the database using the definition, in response to a completion of the plurality of updates to the database; and activating the updated index of the database for use in query processing.

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 US9720924B2 cover?
Embodiments of the present invention disclose a method, a computer program product, and a computer system for suspending and activating a database index. A computer determines a quantity of changes for a number of rows of a database that are to be made by an update of the database. The computer determines whether to suspend an index of the database based, at least in part, on a comparison betwe…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F17/30094. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Aug 01 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 3 related publications on this page (citations in our corpus or others sharing the same primary CPC).