Rules Engine Optimisation Techniques

Previous Next

The Rules Engine automatically optimises its action by applying a number of techniques. Most of these techniques consist of applying logic that reduces the number of actions that need to be executed whilst ensuring at the same time that the data result is the same.

DELETE FROM    ORDER_HISTORY
WHERE EXISTS   (SELECT    ''
             FROM   ORDER t1
             WHERE  ORDER_HISTORY.ID=t1.ID
             AND    t1.STATUS = 'CLOSED')
)

 

collapseLocal evaluation of SQL functions
collapseVoid condition resolution
collapseLocal values
collapseRow binding
collapseUpdate change checks
collapseSet-oriented processing
collapseLocal calculation
collapseNo childless parent cascade