Uploaded image for project: 'ODE'
  1. ODE
  2. ODE-1049

Query optimization to findRoute and dequeueMessage queries - MATCHER job

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.3.7, 1.4
    • BPEL Runtime
    • None

    Description

      During the execution of MATCHER job the CorrelationKeySet used will only contain pre initialised correlation keys.

      https://github.com/apache/ode/blob/ode-1.3.x/bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/PICK.java#L87
      https://github.com/apache/ode/blob/ode-1.3.x/bpel-runtime/src/main/java/org/apache/ode/bpel/runtime/EH_EVENT.java#L120

      Hence we can directly use the CorrelationKeySet's canonical value instead of its subsets for both findRoute and dequeueMessage method calls within matcherEvent.

      This avoids the use of SQL IN clause in the findRoute and dequeueMessage queries and improves the execution time of these queries.

      Attachments

        Issue Links

          Activity

            People

              sathwik Sathwik
              sathwik Sathwik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: