Use of the filter for the simplest needs Expression

On the project I'm working on, I use rule Manager to evaluate hundreds of rules against the simple events based on a table alias (a line at a time, as the documents are). However, my needs are evolving to support multiple sets of rules that would be assessed against incoming data conditionally. It will also be managing versions of rulesets.

These requirements do not appear to correspond to the way that rules Manager stores its rules, where all rows in a table of the Rule are always evaluated, and any creation of a new category of rule requires a new table, recall stored proc etc... I am mainly concerned about the proliferation of tables of the class rule I added new sets of rules. Given that I don't use any of the advanced features that offers of management rules on the Expression of basic filter functionality (for example the complex events), I'm looking for in a simple ExpFil of installation and use of the EVALUATION operator. This will allow me to store several rulesets in the same table of expressions (separated by a field of type or ruleset_id) and does not require as much structural work to add new sets of rules.

Things seem to work very well in my first attempts, but I think that my main question is proc PROCESS_RULES of RM doesn't on the optimization of the assessment of the rules in the rule Manager - no additional optimization which is not offered by the basic functionality of ExpFil? Everything I do is a simple query to find the rules corresponding to a specific document:

SELECT cr.*
OF COMP_RULE_TEST cr, doct DOC_TABLE
WHERE doct.doc_id = 123
AND EVALUATE (cr. RULE_COND, FApprcomp.GetVarchar (doct.rowid)) = 1;

Thank you!

Hello

Simple rules, there no notable performance only difference between Manager rules and filter expression. Please ensure that the indexes are created for the Expression column (they are automatically created for the rule Classes).

Just to be complete: If you want to use several data structures and to define simple rules on the structures of the individual event, you can set a rule to structure class composite event and not really to define complex rules. For example, a rule configured for the table attributes class two alias, po and if maybe two simple rules that are associated with the simple event matching.

Rule condition 1:
    
          itemName = 'Router' 
    

Rule condition 2:
    
          destState = 'CA' 
        

For a new line in the associated table of attribute "po", rules defined with the name of the corresponding event are evaluated.

Hope this helps,
-Aravind.

Tags: Oracle

Similar Questions

Maybe you are looking for