SAP ASE: What to Check When defaultServerUpdateStats Is Missing

If the defaultServerUpdateStats job is missing from SAP ASE Job Scheduler, first find out whether the job was deleted or whether Job Scheduler itself is unavailable. Creating another statistics job without checking the existing maintenance setup can result in duplicate maintenance.

Check Job Scheduler

Connect to ASE with an authorized account and review the server configuration.

select @@version
go
sp_configure 'enable job scheduler'
go
  1. Review the job list and history using the management interface supported by your ASE release. Look for the job name, target server and schedule.
  2. Check the ASE error log and Job Scheduler Agent log for login, startup or execution errors. Confirm that sybmgmtdb is accessible.
  3. Compare the current configuration with a known-good backup of the job definition or a similar system at the same release. Check whether DBACOCKPIT or another maintenance tool is already scheduling statistics updates.

Restore the maintenance job

If the original job really is missing, use the documented Job Scheduler server-level update statistics template to rebuild an appropriate maintenance job. Verify the original owner, target, threshold and schedule before enabling it. If the exact default job needs to be restored, follow the release-specific SAP procedure rather than guessing at its internal commands.

Schedule the work outside peak processing hours. A server-wide statistics operation can consume CPU and I/O and influence execution plans. Check the first execution and job history after enabling the new schedule.

References

SAP Note: 3792789

SAP Help: Using Job Scheduler to Update Statistics

SAP Help: Using Templates to Create Jobs

You May Also Like

Leave a Reply?