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

More efficient way of getting batch job executions by job name

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: