Show TOC

Background documentationRegular Activities for SAP CPS Locate this document in the navigation structure

 

All housekeeping has been scheduled to run in intervals of 15 minutes by default, which should be sufficient for most systems. When your system is very busy and one or more of the following jobs runs for too long or uses too many system resources at any given point in time, you might want to consider scheduling these jobs less frequently or at specific times.

  • System_UpdateJobStatistics - updates the runtime statistics of jobs

  • System_ProcessKeepClauses - calculates the keep clauses for jobs, to determine if a job has to be deleted or not

  • System_DeleteJobFiles - deletes the output and log files of deleted jobs

Please note that changing the periodicity of these jobs can have the following consequences:

  • statistics data will tend to be outdated the more you widen the interval

  • keep clauses will be honored late the more you widen the interval which can affect disk space and overall performance

  • the total amount of disk space used by jobs for output and logs at peak times will increase, since the output is deleted later files will pile-up

The Following submit frames are associated with the above job definitions and should be used to influence their periodicity:

  • System_UpdateJobStatisticsSubmitFrame

  • System_ProcessKeepClausesSubmitFrame

  • System_DeleteJobFilesSubmitFrame

See the Tuning SAP CPS and Submit Frames sections for instructions on changing the submit frames.

Automatically Deleting Jobs

You control the size of the job history (number of jobs in the repository) with the keep clauses which can be specified on the job definition. By default, all jobs are kept, it is however strongly recommended to specify a keep clause for every job that is to be scheduled regularly.

Deleting Jobs

There are two basic ways of deleting jobs in the user interface:

  • You can select one or more in the job monitor (the same way you would on your platform, for example, hold down the Shift key as you choose on Microsoft Windows) and use the context menu.

  • You can delete all completed jobs of a job definition using the context menu of the job definition.

When you are in an emergency situation and you need to delete a great number of old jobs to free-up diskspace or increase database performance, you can use the job definition System_RemoveOldJobs. Please do not schedule the job definition regularly, use keep clauses instead.