DATA CHANGE TRACKING AND EVENT NOTIFICATION
First Claim
Patent Images
1. A method comprising:
- identifying an active view that retrieves records from a database;
determining one or more physical tables in the database that are referenced by the active view;
tracking one or more columns in the one or more physical tables that are used by the active view;
identifying a change to the one or more physical tables in a transaction log of the database; and
in a first instance when the change does not affect the one or more columns, treating the change as an ignorable change for the active view.
2 Assignments
0 Petitions
Accused Products
Abstract
The described implementations relate to updating views in a database system. One implementation can identify an active view that retrieves records from a database and determine one or more physical tables in the database that are referenced by the active view. The implementation can track one or more columns in the physical tables that are used by the active view and identify a change to the physical tables in a transaction log of the database. If the change does not affect the one or more columns, the change can be treated as an ignorable change for the active view.
-
Citations
22 Claims
-
1. A method comprising:
-
identifying an active view that retrieves records from a database; determining one or more physical tables in the database that are referenced by the active view; tracking one or more columns in the one or more physical tables that are used by the active view; identifying a change to the one or more physical tables in a transaction log of the database; and in a first instance when the change does not affect the one or more columns, treating the change as an ignorable change for the active view. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system comprising:
-
a rewrite module configured to; associate an active view with an entity that receives notifications reflecting the active view; rewrite the active view using a filter condition, the filter condition identifying one or more changed rows of a physical database table; and execute the rewritten active view to retrieve the changed rows from the physical database table; and one or more processors configured to execute the rewrite module. - View Dependent Claims (9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. One or more computer-readable storage media comprising computer-readable instructions which, when executed by one or more computing devices, cause the one or more computing devices to perform:
-
identifying an active view that retrieves records from a database, the active view being associated with an entity; determining one or more physical tables in the database that are referenced by the active view; tracking one or more columns in the one or more physical tables that are referenced by the active view; identifying a change to the one or more physical tables in a transaction log of the database; in a first instance when the change does not affect the one or more columns that are referenced by the active view, treating the change as an ignorable change for the active view; in a second instance when the change does affect the one or more columns; rewriting the active view using a condition that includes a primary key obtained from the transaction log; retrieving changed rows from the database using the condition; and providing an output of the rewritten active view to the entity, the output reflecting only the changed rows. - View Dependent Claims (18, 19, 20)
-
-
21. A method comprising:
-
creating a materialized view table based on one or more physical tables of a database; identifying, using a message pipeline of messages that manage changes to the database, one or more records that have been altered in the one or more physical tables by the messages during an interval of time; and updating the materialized view table to reflect the one or more records that were altered by the messages during the interval of time.
-
-
22. A method comprising:
-
registering a subscription for an entity to receive a notification relating to a personal health care record stored in a health care database; associating the subscription with a health care concept; and in an instance when a transaction log of the health care database is updated to include a value that relates to the health care concept, sending the notification to the entity.
-
Specification