×

Query based invalidation subscription

  • US 7,962,481 B2
  • Filed: 06/10/2004
  • Issued: 06/14/2011
  • Est. Priority Date: 09/04/2003
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method for tracking changes to data, the method comprising the steps of:

  • receiving, at a database server that manages access to a database, a request from a first subscriber to register a first query to receive change notifications of modifications to the database that may change the result of the first query;

    said database server registering said first query in response to said request from said first subscriber;

    receiving, at said database server, a request from a second subscriber to register a second query to receive change notifications of modifications to the database that may change the result of the second query;

    said database server registering said second query in response to said request from said second subscriber;

    receiving, at said database server, a request from said first subscriber to make a modification, as part of a database transaction, to the database;

    said database server determining that said modification may change a result of said first query and said second query;

    returning to said first subscriber, before said database transaction commits, a notification to indicate that said modification may have changed the result of said first query; and

    after returning said notification to said first subscriber, committing said database transaction and, after said database transaction commits, transmitting a notification to said second subscriber to indicate that said modification, requested by said first subscriber, may have changed the result of said second query;

    wherein the method is performed by one or more computing devices.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×