[rules-users] Large data sets

Wolfgang Laun wolfgang.laun at gmail.com
Tue Mar 11 05:23:35 EDT 2014


If you can insert one fact, you can insert many facts: just write a
loop getting the objects and calling session.insert(.).

Other decisions depend on the structure of your rule base, and what
needs to be done with the facts: can they be processed one by one or
do they all have to be together in Working Memory, e.g., to find
matching pairs, conflicting groups,...

-W


On 11/03/2014, Mercier Jonathan <jmercier at genoscope.cns.fr> wrote:
> On 11/03/2014, Raja Sekhar <raja.amirapu at gmail.com> wrote:
>> Hi
>> Is it a good approach to apply rules on large data-sets ranging 100,000
>> to
>> 50 million records Of course it depends upon the logic written in the
>> rule
>> conditions and consequences.
> Wolfgang you say:
>
> Yes, it depends. And on what the consequences do. And on how you
> insert and call fireAllRules().
>
>
> I am interested by a little example how to insert large data set and
> call them efficiently.
>
> Regards
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>


More information about the rules-users mailing list