The invention discloses a
batch processing task
running time prediction method and a related device, and the method comprises the steps: taking a batch node in a
batch processing task as a target batch node, obtaining a job set executed by the target batch node, taking one job in the job set as a target job, and obtaining the target job; and obtaining the running duration of the target job according to the
daytime online transaction volume, the I / O
throughput, the CPU resource and the CF resource of the target job, obtaining the running duration of the target batch node according to the running duration of the target job, and obtaining the running duration of the
batch processing task according to the running duration of the target batch node. Therefore, the operation duration of the job can be accurately predicted through the factors influencing the operation duration, including the
daytime online transaction volume, the I / O
throughput, the CPU resources and the CF resources, so that the operation duration of the batch nodes and the operation duration of the batch
processing tasks are obtained, the operation monitoring of the batch
processing tasks is realized, and the operation efficiency of the batch
processing tasks is improved. Therefore, resource conflicts can be avoided in advance by increasing resources, pausing execution of some jobs and the like.