Effect Preservation in Transaction Processing in Rule Triggering Systems
نویسندگان
چکیده
Rules provide an expressive means for implementing database behavior: They cope withchanges and their ramifications. Rules are commonly used for integrity enforcement, i.e., forrepairing database actions in a way that integrity constraints are kept. Yet, Rule TriggeringSystems fall short in enforcing effect preservation, i.e., guaranteeing that repairing events donot undo each other, and in particular, do not undo the original triggering event.A method for enforcement of effect preservation on updates in general rule triggering systemsis suggested. The method derives transactions from rules, and then splits the work betweencompile time and run time. At compile time, a data structure is constructed, that analyzes theexecution sequences of a transaction and computes minimal conditions for effect preservation.The transaction code is augmented with instructions that navigate along the data structure andtest the computed minimal conditions.This method produces minimal effect preserving transactions, and under certain conditions,provides meaningful improvement over the quadratic overhead of pure run time procedures. Fortransactions without loops, the run time overhead is linear in the size of the transaction, andfor general transactions, the run time overhead depends linearly on the length of the executionsequence and the number of loop repetitions. The method is currently being implemented withina traditional database system.
منابع مشابه
Analysis of Applying Event-triggered Strategy on the Model Predictive Control
In this paper, the event-triggered strategy in the case of finite-horizon model predictive control (MPC) is studied and its advantages over the input to state stability (ISS) Lyapunov based triggering rule is discussed. In the MPC triggering rule, all the state trajectories in the receding horizon are considered to obtain the triggering rule. Clearly, the finite horizon MPC is sub-optimal with ...
متن کاملPriority Assignment in Real - Time Active Databases 1 2
Active databases and real-time databases have been important areas of research in the recent past. It has been recognized that many beneets can be gained by integrating active and real-time database technologies. However, there has not been much work done in the area of transaction processing in active real-time databases. This paper deals with an important aspect of transaction processing in a...
متن کاملPriority assignment in real - time active databases 1
Active databases and real-time databases have been important areas of research in the recent past. It has been recognized that many benefits can be gained by integrating real-time and active database technologies. However, not much work has been done in the area of transaction processing in real-time active databases. This paper deals with an important aspect of transaction processing in real-t...
متن کاملA Framework for the Specification of Active Rule Language Semantics
We present a formal framework that can be used to specify and study a number of different semantics for rule execution in active databases. We shall consider the core of several active rule languages that are already available (e.g., Ariel, Starburst and HiPAC) but whose rule execution is specified only by informal descriptions. The framework is based on a generic active rule language and relie...
متن کاملRule Contexts in Active Databases - A Mechanism for Dynamic Rule Grouping
Engineering applications that use Active DBMSs (ADBMSs) often need to group activities into modes that are shifted during the execution of different tasks. This paper presents a mechanism for grouping rules into contexts that can be activated and deactivated dynamically. The ADBMS monitors only those events that affect rules of activated contexts. By dynamic rule grouping the rules to be monito...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Acta Cybern.
دوره 18 شماره
صفحات -
تاریخ انتشار 2008