



























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




























Range Predicates, Marking-Based [Hans96b, Ston90] (large memory, complicated storage)
[Forg82,Mira87] (smaller rule set)
Parallel Processing [Gupt89,Hell98]
ECA Model Indexing (not scalable)
create trigger
Example : Real Estate Database
Triggers for stock ticker notification
when stock.ticker = ‘GOOG’ and stock.value < 500 do notify_person(P1)
when stock.ticker = ‘MSFT’ and stock.value < 30 do notify_person(P2)
when stock.ticker = ‘ORCL’ and stock.value < 20 do notify_person(P3)
when stock.ticker = ‘GOOG’ do notify_person(P4)
T4: stock.ticker = ‘GOOG’
T1: stock.ticker = ‘GOOG’ and stock.value < 500 T2: stock.ticker = ‘MSFT’ and stock.value < 30 T3: stock.ticker = ‘ORCL’ and stock.value < 20
Main Structures
A-Treat Network to represent a trigger
Root
stock.ticker = const1 stock.value < const
alpha-node (^) alpha-node
predicates
Node 1 Node 2