Generating continuous query notifications
Abstract
Techniques are described to allow a query to be registered as a persistent stored entity within the database, and to generate notifications as and when the query result changes continuously as long as the query continues to be registered with the database. According to one aspect, for a table referenced in a query, a filter condition is generated based, at least in part, on a predicate of the query. Then, the database server determines whether the filter condition is satisfied by either a before image of a row, or an after image of the row, that was modified by a transaction. If the filter condition is satisfied by either the before image or the after image, then the query is added to a first set of queries whose result sets may have been affected by the transaction. From among the first set of queries, a second set of queries that have result sets that were actually affected by the transaction is determined. Notifications are then sent based on the second set of queries.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 8.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for determining whether a change affects results produced by queries that belong to a set of registered queries, the method comprising: for a table referenced in a query from the set of registered queries, generating a filter condition based, at least in part, on a predicate of the query; determining whether the filter condition is satisfied by either (a) a before image of a row of the table, wherein the before image reflects the state of the row before the row was modified by a transaction, or (b) an after image of the row, wherein the after image of the row reflects the state of the
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (8 of 8 total)
References Cited — Backward Prior Art (13)
Non-Patent Literature (1)
- N. Gehani et al., "OdeFs: A File System Interface to an Object-Oriented Database", At&T Bell Laboratories, New Jersey, 1989.