Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-2982

Massive performance degradation from 5.2.0.M1 to 5.2.0.M2

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 5.2.0.CR1
    • 5.2.0.M2
    • drools-core (expert)
    • None

    Description

      the drools-planner SolutionInitializer takes 75 minutes to complete im 5.2.0.M2
      5.2.0.M1 took 9,5 Minutes

      It also seems that accumulation queries with init, action, result sections break down completely in performance.
      The following query takes now 3 minutes 45 secs to complete. Before it was ~1 sec.
      The cardinalities:
      PostingPeriodOpt = 5
      MediumLocationOpt = 25000
      MediumBookingOpt = 13000

      query "queryMediumPartlyTaken"
      $pp : PostingPeriodOpt()
      $mlo : MediumLocationOpt(mTypeId == $pp.mTypeId)
      $mp: MediumPeriodUsage( subOptimal > 0 ) from accumulate(
      $mbo : MediumBookingOpt ( mediId == $mlo.mediId, eval(timeInterval.overlaps($pp.getCycle())) ),
      init ( MediumPeriodUsage $mpu = new MediumPeriodUsage($mlo, $pp); ),
      action( $mpu.addBooking( $mbo.getIndexRange() ); ),
      result( $mpu )
      )
      end

      Attachments

        Issue Links

          Activity

            People

              etirelli@redhat.com Edson Tirelli
              oomphar Roman Novak (Inactive)
              Archiver:
              rhn-support-ceverson Clark Everson

              Dates

                Created:
                Updated:
                Resolved:
                Archived:

                PagerDuty