Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-14946

More efficient way of getting batch job executions by job name

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 25.0.0.Beta1, 25.0.0.Final
    • 24.0.0.Final
    • Batch
    • None

      Currently BatchJobExecutionResource.refreshChildren() method first loads all job instances by job name, and iterate through job instances to get job executions for each job instance. This is not efficient and has resulted in too many db queries, and sometimes high memory consumption and frequent GC activities.

      A more efficient way is to be able to retrieve all job executions belonging to a job in one operation.

            cfang@redhat.com Cheng Fang
            cfang@redhat.com Cheng Fang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: