Dynamic result set caching with a database accelerator

US10127269B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10127269-B2
Application numberUS-201715432301-A
CountryUS
Kind codeB2
Filing dateFeb 14, 2017
Priority dateMar 4, 2014
Publication dateNov 13, 2018
Grant dateNov 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.

According to one embodiment of the present invention, a system for processing a database query stores one or more result sets for one or more first database queries in a data store. The system receives a second database query and compares the second database query to the one or more first database queries to determine presence of a corresponding result set in the data store for the second database query. The system provides the corresponding result set from the data store for the second database query based on the comparison. Embodiments of the present invention further include a method and computer program product for processing a database query in substantially the same manners described above.

First claim

Opening claim text (preview).

What is claimed is: 1. A method of processing a database query comprising: processing, via at least one processor, one or more first database queries against a data set to produce corresponding result sets; storing, via at least one processor, one or more result sets for the one or more first database queries in a data store; determining, via at least one processor, an amount of data changed within the data set for an update applied to data of the data set after processing the one or more first database queries and discarding one or more stored result sets corresponding to the changed data in response to the amount of changed data exceeding a threshold amount of changed data as determined by a database accelerator, wherein the database accelerator determines the one or more stored result sets to discard by comparing names of one or more tables accessed by the one or more first database queries to names of one or more tables included in the update, and wherein the amount of data changed comprises data within the data set that is modified by the update; and receiving and processing a second database query, via at least one processor, wherein the one or more first database queries and the second database query are processed by the database accelerator, and wherein processing the second database query comprises: comparing, with the database accelerator, the second database query to the one or more first database queries to determine previous processing of the second database query and presence of a corresponding result set in the data store for the second database query; and reducing a response time of the at least one processor for processing the second database query by providing the corresponding result set from the data store as results for the second database query to avoid repeated query execution of the second database query based on the comparison indicating the second database query has been previously processed. 2. The method of claim 1 , wherein the threshold amount of changed data includes a user-specified threshold. 3. The method of claim 1 , wherein providing the corresponding result set from the data store includes: providing the corresponding result set from the data store in response to the second database query matching a previously processed one of the first database queries. 4. The method of claim 3 , wherein discarding one or more stored result sets includes: discarding all stored result sets derived from changed data in response to a bulk update applying changes to entireties of database objects; and discarding one or more result sets based on the amount of changed data in response to an incremental update applying changes to elements of the database objects. 5. The method of claim 1 , wherein the data store includes a cache that is allocated a user-specified portion of disk space. 6. The method of claim 1 , wherein storing the one or more result sets comprises determining available space in the data store. 7. The method of claim 6 , wherein determining available space in the data store comprises discarding a result set.

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 US10127269B2 cover?
According to one embodiment of the present invention, a system for processing a database query stores one or more result sets for one or more first database queries in a data store. The system receives a second database query and compares the second database query to the one or more first database queries to determine presence of a corresponding result set in the data store for the second datab…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F17/30371. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Nov 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 4 related publications on this page (citations in our corpus or others sharing the same primary CPC).