QUERY PROCESSING WITH BOUNDED STALENESS FOR TRANSACTIONAL MUTATIONS IN NoSQL DATABASE

US2018150503A1 · US · A1

Patent metadata
FieldValue
Publication numberUS-2018150503-A1
Application numberUS-201615363313-A
CountryUS
Kind codeA1
Filing dateNov 29, 2016
Priority dateNov 29, 2016
Publication dateMay 31, 2018
Grant date

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 computer-implemented method executed on one or more processors is provided for processing a query for a NoSQL (non-structured query language) database. The computer-implemented method includes periodically monitoring active transactions that started and are committing dirty versions before a specific time, sending a query to fetch a state of the active transactions, and receiving a query result. The computer-implemented method further includes, if the query result includes active transactions, performing a normal query that scans dirty and committed versions. The computer-implemented method further includes, if the query result includes no active transactions, due to a time window indicating a specified staleness, sending a simplified query that scans only committed versions.

First claim

Opening claim text (preview).

1 . A computer-implemented method executed on one or more processors for processing a query for a NoSQL (non-structured query language) database, the method comprising: periodically monitoring active transactions that started and are committing dirty versions before a specific time; sending a query to fetch a state of the active transactions; receiving a query result; if the query result includes active transactions, performing a normal query that scans dirty and committed versions; and if the query result includes no active transactions, due to a time window indicating a specified staleness, sending a simplified query that scans only committed versions. 2 . The method of claim 1 , wherein the normal query includes retrieving all dirty versions of a transaction state from the NoSQL database. 3 . The method of claim 2 , wherein the normal query further includes moving the dirty versions to committed. 4 . The method of claim 3 , wherein the normal query further includes altering the transaction state from committed to finished. 5 . The method of claim 1 , wherein the single query is sent for a committed version. 6 . The method of claim 1 , wherein, when active transactions are detected, the NoSQL database guarantees that the query result reflects all the latest committed versions at the indicated time window. 7 . The method of claim 1 , wherein the specified staleness is bounded. 8 . The method of claim 1 , wherein the active transactions are monitored before a predetermined time period. 9 . A computer system for processing a query for a NoSQL database, the computer system comprising: a memory; and at least one processor in communication with the memory, wherein the computer system is configured to: periodically monitor active transactions that started and are committing dirty versions before a specific time; send a query to fetch a state of the active transactions; receive a query result; if the query result includes active transactions, perform a normal query that scans dirty and committed versions; and if the query result includes no active transactions, due to a time window indicating a specified staleness, send a simplified query that scans only committed versions. 10 . The computer system of claim 9 , wherein the normal query includes retrieving all dirty versions of a transaction state from the NoSQL database. 11 . The computer system of claim 10 , wherein the normal query further includes moving the dirty versions to committed. 12 . The computer system of claim 11 , wherein the normal query further includes altering the transaction state from committed to finished. 13 . The computer system of claim 9 , wherein the single query is sent for a committed version. 14 . The computer system of claim 9 , wherein, when active transactions are detected, the NoSQL database guarantees that the query result reflects all the latest committed versions at the indicated time window. 15 . The computer system of claim 9 , wherein the specified staleness is bounded. 16 . The computer system of claim 9 , wherein the active transactions are monitored before a predetermined time period. 17 . A non-transitory computer readable storage medium comprising a computer readable program for processing a query for a NoSQL database, wherein the computer readable program when executed on a computer causes the computer to perform the steps of: periodically monitoring active transactions that started and are committing dirty versions before a specific time; sending a query to fetch a state of the active transactions; receiving a query result; if the query result includes active transactions, performing a normal query that scans dirty and committed versions; and if the query result includes no active transactions, due to a time window indicating a specified staleness, sending a simplified query that scans only committed versions. 18 . The non-transitory computer readable storage medium of claim 17 , wherein the normal query includes retrieving all dirty versions of a transaction state from the NoSQL database. 19 . The non-transitory computer readable storage medium of claim 18 , wherein the normal query further includes moving the dirty versions to committed. 20 . The non-transitory computer readable storage medium of claim 19 , wherein the normal query further includes altering the transaction state from committed to finished.

Assignees

Inventors

Classifications

  • Monitoring arrangements determined by the means or processing involved in reporting the monitored data (error or fault reporting or logging G06F11/0766) · CPC title

  • Monitoring of transactions · CPC title

  • Query optimisation · CPC title

  • Updates performed during online database operations; commit processing · CPC title

  • Timestamp · 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 US2018150503A1 cover?
A computer-implemented method executed on one or more processors is provided for processing a query for a NoSQL (non-structured query language) database. The computer-implemented method includes periodically monitoring active transactions that started and are committing dirty versions before a specific time, sending a query to fetch a state of the active transactions, and receiving a query resu…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F16/2379. Mapped technology areas include Physics.
When was this patent published?
Publication date Thu May 31 2018 00:00:00 GMT+0000 (Coordinated Universal Time) (A1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).