Query processing with bounded staleness for transactional mutations in NoSQL database
Abstract
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.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 1.
Claims (3 — 2 Independent, 1 Dependent)
- Claim 1Independent Claim
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, send
- Claim 2Depends on #1
The method of claim 1 , wherein the normal query includes retrieving all dirty versions of a transaction state from the NoSQL database.
- Claim 3Independent Claim
The
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 2023086203 A1 | Stale data recognition | — | 1 |
References Cited — Backward Prior Art (10)
Non-Patent Literature (4)
- Adewole Ogunyadeka et al., A Multi-Key Transactions Model for NoSQL Cloud Database Systems, 2016 IEEE 2nd International Conference on Big Data Computing Service and Applications (Big Data Service), May 23, 2016 (Year: 2016).
- Anita Brigit Matthew et al., "Novel research framework on SN's NoSQL databases for efficient query processing," International Journal of Reasoning-based Intelligent Systems. vol. 7. Issue 3-4. DOI: 10.1504/IJRIS.2015.072959. Abstract retrieved Aug. 8, 2016. http://Inderscienceonline.com/doi/pdf/10.1
- Henggang Cui et al., "Exploiting bounded staleness to speed up Big Data analytics," Published in: Proceedings of the 2014 USENIX conference on USENIX Annual Technical Conference. Held in Philadelphia, PA. Jun. 19-20, 2014. pp. 1-12. http://www.cs.cmu.edu/˜seunghak/Cui_etal_ATC14.pdf.
- Peter Bailis et al., "Probabilistically bounded staleness for practical partial quorums," Published in: Electrical Engineering and Compuyter Sciences University of California at Berkeley. Technical Report No. UCB/EECS-2012-4. Jan. 3, 2012. pp. 1-14. http://www.eecs.berkeley.edu/Pubs/TechRpts/2012/EE