Invention Grant
- Patent Title: Generating continuous query notifications
- Patent Title (中): 生成连续的查询通知
-
Application No.: US12189078Application Date: 2008-08-08
-
Publication No.: US08037040B2Publication Date: 2011-10-11
- Inventor: Srinivas S. Vemuri , Bipul Sinha , Amit Ganesh , Subramanyam B. Chitti
- Applicant: Srinivas S. Vemuri , Bipul Sinha , Amit Ganesh , Subramanyam B. Chitti
- Applicant Address: US CA Redwood Shores
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood Shores
- Agency: Hickman Palermo Truong & Becker LLP
- Main IPC: G06F17/30
- IPC: G06F17/30

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.
Public/Granted literature
- US20100036831A1 GENERATING CONTINUOUS QUERY NOTIFICATIONS Public/Granted day:2010-02-11
Information query