Stale data recognition

US12554704B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12554704-B2
Application numberUS-202117476039-A
CountryUS
Kind codeB2
Filing dateSep 15, 2021
Priority dateSep 15, 2021
Publication dateFeb 17, 2026
Grant dateFeb 17, 2026

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.

A method, computer program product, and system include a processor(s) obtaining a query request from an application via a source database management system to a target database management system, where the query request comprises a query and a query timestamp indicating a last update to table(s) in the source database management system referenced in the query request. The processor(s) determines a table update timestamp indicating a last time when the table(s) in the source database management system referenced in the query request was replicated to the target database management system. The processor(s) generates an indicator where the indicator represent a difference between the query timestamp and the table update timestamp. The processor(s) executes the query in the target database management system. The processor(s) transmit a query result and the indicator to the source database management system.

First claim

Opening claim text (preview).

What is claimed is: 1 . A computer-implemented method, comprising: executing, by one or more processors, a query from an application on target tables of a target database management system accessed by the query to obtain, at the application, data responsive to the query, wherein the application has a stale data tolerance, the executing comprising: obtaining, by the one or more processors, a query request from the application via a source database management system to the target database management system, wherein the query request comprises the query and a query timestamp indicating a last update to one or more tables in the source database management system referenced in the query request, and wherein the source database management system and the target database management system comprise an asynchronous replication enabled hybrid database management systems; obtaining, by the one or more processors, a table update timestamp indicating a last time when the one or more tables in the source database management system referenced in the query request was replicated to the target database management system, based on determining the last time when the one or more tables in the source database management system referenced in the query request were replicated to the target database management system; generating, by the one or more processors, an indicator wherein the indicator represents a difference between the query timestamp and the table update timestamp, wherein the indicator reports a staleness of the data specifically in target tables of the target database management system accessed by the query comprising the data responsive to the query, wherein the indicator is a measurable value which indicates a measurable staleness of the data responsive to the query; executing, by the one or more processors, the query in the target database management system; based on executing the query, obtaining, by the one or more processors, a query result comprising the data responsive to the query; and transmitting, by the one or more processors, to the application, a query response, wherein the query response comprises the query result and the indicator, to the source database management system, wherein the indicator reports to the application whether the query is returning stale or current data from the target tables of the target database management system accessed by the query comprising the data responsive to the query, and wherein the application determines, based on whether the measurable value of indicator comports with the stale data tolerance of the application, whether the application will utilize the data responsive to the query. 2 . The computer-implemented method of claim 1 , wherein the source database management system is an online transactional processing system. 3 . The computer-implemented method of claim 1 , wherein the target database management system is an online analytical processing system. 4 . The computer-implemented method of claim 1 , wherein determining the last time when the one or more tables in the source database management system referenced in the query request were replicated to the target database management system to obtain the table update timestamp comprises: querying, by the one or more processors, a replication engine communicatively coupled to a capture engine of the source database management system and the target database management system to obtain the table update timestamp. 5 . The computer-implemented method of claim 1 , wherein executing the query comprises executing the query by an accelerator. 6 . The computer-implemented method of claim 5 , wherein the one or more tables in the source database management system referenced in the query request were loaded into a column store structure of the accelerator. 7 . The computer-implemented method of claim 1 , wherein the query comprises a reference to one or more tables in a second source database management system, the method further comprising: querying, by the one or more processors, the second source database management system to obtain a second query timestamp indicating a latest update to the one or more tables in the second source database management system; determining, by the one or more processors, a table update timestamp indicating a latest time when the one or more tables in the second source database management system were replicated to the target database management system; generating, by the one or more processors, a second indicator wherein the second indicator represents a difference between the second query timestamp and the table update timestamp indicating the latest time when the one or more tables in the second source database management system was replicated to the target database management system; and transmitting, by the one or more processors, the second indicator in the query response to the source database management system. 8 . The computer-implemented method of claim 1 , further comprising: displaying, by the one or more processors, the indicator in an interface communicatively coupled to the source database management system. 9 . The computer-implemented method of claim 1 , further comprising: determining, by the one or more processors, that data queried when executing the query is current based on the difference indicating that the query timestamp is equivalent or older than the table update timestamp. 10 . The computer-implemented method of claim 1 , further comprising: determining, by the one or more processors, that data queried when executing the query is stale based on the difference indicating that the query timestamp is and newer than the table update timestamp. 11 . A computer program product comprising: a computer readable storage medium readable by one or more processors of a shared computing environment comprising a computing system and storing instructions for execution by the one or more processors for performing a method comprising: executing, by the one or more processors, a query from an application on target tables of a target database management system accessed by the query to obtain, at the application, data responsive to the query, wherein the application has a stale data tolerance, the executing comprising: obtaining, by the one or more processors, a query request from the application via a source database management system to the target database management system, wherein the query request comprises the query and a query timestamp indicating a last update to one or more tables in the source database management system referenced in the query request, and wherein the source database management system and the target database management system comprise an asynchronous replication enabled hybrid database management systems; obtaining, by the one or more processors, a table update timestamp indicating a last time when the one or more tables in the source database management system referenced in the query request was replicated to the target database management system, based on determining the last time when the one or more tables in the source database management system referenced in the query request were replicated to the target database management system; generating, by the one or more processors, an indicator wherein the indicator represents a difference between the query timestamp and the table update timestamp, wherein the indicator reports a staleness of the data specifically in target tables of the target database management system accessed by the query comprising the data responsive to the query, wherein the indicator is a measurable value which indicates a measurable staleness of the data responsive to the query; executing, by t

Assignees

Inventors

Classifications

  • Query execution · CPC title

  • Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor · CPC title

  • Extract, transform and load [ETL] procedures, e.g. ETL data flows in data warehouses · CPC title

  • Tablespace storage structures; Management thereof · CPC title

  • Updates performed during online database operations; commit processing · 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 US12554704B2 cover?
A method, computer program product, and system include a processor(s) obtaining a query request from an application via a source database management system to a target database management system, where the query request comprises a query and a query timestamp indicating a last update to table(s) in the source database management system referenced in the query request. The processor(s) determine…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F16/2455. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Feb 17 2026 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 12 related publications on this page (citations in our corpus or others sharing the same primary CPC).