Claims
- 1. A method for processing queries in a database system, the method comprising the steps of:receiving, from a client, a query that is written in a query language supported by the database system; detecting that particular data stored in the database system has been changed, wherein the particular data satisfied the query prior to being changed and continues to satisfy the query after being changed; and in response to detecting that the particular data stored in the database system has been changed, sending a notification to the client.
- 2. The method as recited in claim 1, further comprising providing to the client the particular data prior to being changed.
- 3. The method as recited in claim 1, further comprising implementing a trigger in the database system to provide the changed particular data to the client.
- 4. The method as recited in claim 3, wherein the trigger is activated in the database system in response to the particular data stored in the database system being changed.
- 5. The method as recited in claim 3, wherein the trigger is implemented in the database system as one or more sequences of instructions that are executed in response to the particular data stored in the database system being changed.
- 6. The method as recited in claim 1, wherein the client is a subscriber.
- 7. The method as recited in claim 1, wherein the step of sending a notification to the client includes sending the changed particular data to the client.
- 8. A method for processing queries in a database system, the method comprising the steps of:receiving, from a client, a query that is written in a query language supported by the database system; storing the query in the database system as a subscription rule; detecting that particular data stored in the database system has been changed from a first state to a second state, wherein the particular data in at least one of the first and second states satisfies the query; and in response to detecting that the particular data stored in the database system has been changed, sending a notification to the client.
- 9. A computer-readable medium for processing queries in a database system, the computer-readable medium carrying one or more sequences of instructions which, when executed by one or more processors, cause the one or more processors to perform the steps of:receiving, from a client, a query that is written in a query language supported by the database system; detecting that particular data stored in the database system has been changed, wherein the particular data satisfied the query prior to being changed and continues to satisfy the query after being changed; and in response to detecting that the particular data stored in the database system has been changed, sending a notification to the client.
- 10. The computer-readable medium as recited in claim 9, further comprising one or more additional instructions which, when executed by the one or more processors, cause the one or more processors to perform the step of providing to the client the particular data prior to being changed.
- 11. The computer-readable medium as recited in claim 9, further comprising one or more additional instructions which, when executed by the one or more processors, cause the one or more processors to perform the step of implementing a trigger in the database system to provide the changed particular data to the client.
- 12. The computer-readable medium as recited in claim 11, wherein the trigger is activated in the database system in response to the particular data stored in the database system being changed.
- 13. The computer-readable medium as recited in claim 11, wherein the trigger is implemented in the database system as one or more sequences of instructions that are executed in response to the particular data stored in the database system being changed.
- 14. The computer-readable medium as recited in claim 9, wherein the client is a subscriber.
- 15. The computer-readable medium as recited in claim 9, wherein the step of sending a notification to the client includes sending the changed particular data to the client.
- 16. A computer-readable medium for processing queries in a database system, the computer-readable medium carrying one or more sequences of instructions which, when executed by one or more processors, cause the one or more processors to perform the steps of:receiving, from a client, a query that is written in a query language supported by the database system; storing the query in the database system as a subscription rule; detecting that particular data stored in the database system has been changed from a first state to a second state, wherein the particular data in at least one of the first and second states satisfies the query; and in response to detecting that the particular data stored in the database system has been changed, sending a notification to the client.
- 17. A computer system for processing queries in a database system, the computer system comprising a memory that includes one or more sequences of instructions which, when executed by one or more processors, cause the one or more processors to perform the steps of:receiving, from a client, a query that is written in a query language supported by the database system; detecting that particular data stored in the database system has been changed, wherein the particular data satisfied the query prior to being changed and continues to satisfy the query after being changed; and in response to detecting that the particular data stored in the database system has been changed, sending a notification to the client.
- 18. The computer-readable medium as recited in claim 17, wherein the memory further comprises one or more additional instructions which, when executed by the one or more processors, cause the one or more processors to perform the step of providing to the client the particular data prior to being changed.
- 19. The computer-readable medium as recited in claim 17, wherein the memory further comprises one or more additional instructions which, when executed by the one or more processors, cause the one or more processors to perform the step of implementing a trigger in the database system to provide the changed particular data to the client.
- 20. The computer-readable medium as recited in claim 19, wherein the trigger is activated in the database system in response to the particular data stored in the database system being changed.
- 21. The computer-readable medium as recited in claim 19, wherein the trigger is implemented in the database system as one or more sequences of instructions that are executed in response to the particular data stored in the database system being changed.
- 22. The computer-readable medium as recited in claim 17, wherein the client is a subscriber.
- 23. The computer system as recited in claim 17, wherein the step of sending a notification to the client includes sending the changed particular data to the client.
- 24. A computer system for processing queries in a database system, the computer system comprising a memory that includes one or more sequences of instructions which, when executed by one or more processors, cause the one or more processors to perform the steps of:receiving, from a client, a query that is written in a query language supported by the database system; storing the query in the database system as a subscription rule; detecting that particular data stored in the database system has been changed from a first state to a second state, wherein the particular data in at least one of the first and second states satisfies the query; and in response to detecting that the particular data stored in the database system has been changed, sending a notification to the client.
RELATED APPLICATION
This application claims priority to U.S. patent application Ser. No. 09/359,170, U.S. Pat. No. 6,405,191 entitled CONTENT BASED PUBLISH-AND-SUBSCRIBE SYSTEM INTEGRATED IN A RELATIONAL DATABASE SYSTEM, which was filed on Jul. 21, 1999, the contents of which are hereby incorporated in their entirety for all purposes.
US Referenced Citations (6)
Number |
Name |
Date |
Kind |
5680602 |
Bloem et al. |
Oct 1997 |
A |
5870552 |
Dozier et al. |
Feb 1999 |
A |
5873075 |
Cochrane et al. |
Feb 1999 |
A |
6122639 |
Babu et al. |
Sep 2000 |
A |
6285997 |
Carey et al. |
Sep 2001 |
B1 |
6401090 |
Bailis et al. |
Jun 2002 |
B1 |
Continuations (1)
|
Number |
Date |
Country |
Parent |
09/359170 |
Jul 1999 |
US |
Child |
10/099478 |
|
US |