Trigger generation in an active database management system
First Claim
1. In an active database management system in which an update process updates data in a repository and an extract process extracts from said repository data added by said update process, said update process having an update view of data in said repository, said extract process having an extract view of data in said repository that may differ from said update view, a method for automatically starting said extract process in response to the committing of update data to said repository by said update process, said method comprising the steps of:
- (a) in response to the committing of update data to said repository by said update process, determining whether any of said update data is within said extract view;
(b) in response to a determination that least some of said update data is within said extract view, evaluating a predetermined condition specified for said extract process; and
(c) in response to an evaluation of said predetermined condition as true, starting said extract process to extract from said repository data added by said update process that is within said extract view.
0 Assignments
0 Petitions
Accused Products
Abstract
Triggers for automatically starting an extract process in response to the committing of update data to a repository by an update process. In one embodiment, triggers are associated with particular extract processes and are started upon the committing of update data to the repository by an update process. Upon being started, each trigger determines whether any of the update data is within the extract view of the extract process that it is associated with and, if so, evaluates a predetermined condition specified for the trigger. If the condition is satisfied, the trigger translates the update data within the extract view into the extract view and starts the extract process. In another embodiment, triggers are bound to repository entities within the view of an extract process and are started upon the updating of the corresponding entities. Upon being started, each trigger evaluates a predetermined condition specified for entity post-image and, if the condition is satisfied, adds the post-image to data being accumulated for the extract process. Upon the commitment of the update, all extract processes for which data has been accumulated are started after making available the data accumulated for the process. In yet another embodiment, if the condition specified for the entity post-image is satisfied, the trigger executes a trigger query against the updated entity instance to dynamically generate a list of triggers which are then executed.
89 Citations
16 Claims
-
1. In an active database management system in which an update process updates data in a repository and an extract process extracts from said repository data added by said update process, said update process having an update view of data in said repository, said extract process having an extract view of data in said repository that may differ from said update view, a method for automatically starting said extract process in response to the committing of update data to said repository by said update process, said method comprising the steps of:
-
(a) in response to the committing of update data to said repository by said update process, determining whether any of said update data is within said extract view; (b) in response to a determination that least some of said update data is within said extract view, evaluating a predetermined condition specified for said extract process; and (c) in response to an evaluation of said predetermined condition as true, starting said extract process to extract from said repository data added by said update process that is within said extract view. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. In an active database management system in which an update process updates data in a repository and an extract process extracts from said repository data added by said update process, said update process having an update view of data in said repository, said extract process having an extract view of data in said repository that may differ from said update view, apparatus for automatically starting said extract process in response to the committing of update data to said repository by said update process, said apparatus comprising:
-
(a) means responsive to the committing of update data to said repository by said update process for determining whether any of said update data is within said extract view; (b) means responsive to a determination that at least some of said update data is within said extract view for evaluating a predetermined condition specified for said extract process; and (c) means responsive to an evaluation of said predetermined condition as true for starting said extract process to extract from said repository data added by said update process that is within said extract view. - View Dependent Claims (9)
-
-
10. A program storage device readable by a machine, tangibly embodying a program of instructions executable by the machine to perform method steps for automatically starting an extract process in response to the committing of update data to a repository by an update process in an active database management system in which an update process updates data in a repository and an extract process extracts from said repository data added by said update process, said update process having an update view of data in said repository, said extract process having an extract view of data in said repository that may differ from said update view, said method steps comprising:
-
(a) in response to the committing of update data to said repository by said update process, determining whether any of said update data is within said extract view; (b) in response to a determination that least some of said update data is within said extract view, evaluating a predetermined condition specified for said extract process; and (c) in response to an evaluation of said predetermined condition as true, starting said extract process to extract from said repository data added by said update process that is within said extract view. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
Specification