ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Interactive & Batch job

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Interactive & Batch job

    Hi,

    can anyone xplain the Difference between Interactive Job and Batch job w.r.t performance.
    Thanks in advance

    Rgds,
    Kevin.

  • #2
    Re: Interactive & Batch job

    Run long running process in batch or have users complain that the system is running like an old dog.
    Hunting down the future ms. Ex DeadManWalks. *certain restrictions apply

    Comment


    • #3
      Re: Interactive & Batch job

      Interactive job is started by the user and basically wait for user input. When user enters data then program takes some action. The user's speed largely determines the rate at which work is accomplished but Batch jobs process a large chunk of data all at once and are non-interactive in terms of user input. Hence i think it is useless to compare both the entities as both of them plays entirely different role.
      Thanks,

      Abhishek KUMAR

      Comment


      • #4
        Re: Interactive & Batch job

        True that, unless he/she wants to know the difference in running a process interactively or in batch.

        I don't know if batch does better and record blocking or not.

        I have only noticed a performance difference when running a query. most* of the time running in batch runs faster then running the same query interactively.
        Hunting down the future ms. Ex DeadManWalks. *certain restrictions apply

        Comment


        • #5
          Re: Interactive & Batch job

          For the most part, running the same program in batch is quicker than running interactively.

          I may be wrong, but the iSeries (As/400) was always optimised for batch running.
          You don't stop playing games because you get old, You get old because you stop playing games!

          Comment


          • #6
            Re: Interactive & Batch job

            I have only noticed a performance difference when running a query. most* of the time running in batch runs faster then running the same query interactively.
            Actually, when interactive it is optimized for returning the first rows as fast as possible. When run in batch, its optimized for returning the entire result set as fast as possible.

            But batch performance is also dependent on system resources. Batch usually runs at a lower priority than interactive, so if system resources are constrained, it might run slower.

            Comment


            • #7
              Re: Interactive & Batch job

              It also depends on the machine that you've got. Some models are designed to be more a server than a user machine.

              Also, apparently IBM instituted limits on certain resource usage. One of them being CPU speed. I do believe there was a court case about this in the past 2 years and I believe the ruling was that they are no longer allowed to restrict the CPU speed.
              Regards

              Kit
              http://www.ecofitonline.com
              DeskfIT - ChangefIT - XrefIT
              ___________________________________
              There are only 3 kinds of people -
              Those that can count and those that can't.

              Comment

              Working...
              X