Schedules and Jobs
SYSADMIN.ScheduleJobExtraProperties
This table supplies information on all additional properties of jobs.
Column Name | Type | Description |
---|---|---|
| biginteger | Job ID |
| string | Property name |
| string | Property value |
SYSADMIN.ScheduleJobs
This table supplies information on jobs.
Column Name | Type | Description |
---|---|---|
| biginteger | Job ID |
| string | Unique name |
| string | Job type (e.g. recommended optimization, cleanup, etc.) |
| string | Description of the current job |
| clob | Script data (specific for SQL jobs) |
| boolean | Flag to signal whether the job is enabled or disabled |
| boolean | Flag to signal whether jobs of a particular type may be deleted |
| boolean | Flag to signal whether jobs should be executed for an incremental update (specific for optimization jobs) |
| string | New row check expression (specific for incremental optimization jobs) |
| string | Identity expression (specific for incremental optimization jobs) |
| boolean | Flag to signal if an incremental job should delete old data or not (specific for incremental optimization jobs) |
| string | Types of indexes allowed for this optimization job (specific for optimization jobs) |
| boolean | Flag to signal if native statistics should be gathered or not when a replication job is completed (specific for optimization jobs) |
| string | String representing the status that the indexes must have to be created after completing the replication |
| biginteger | Optimization ID (specific for optimization jobs) |
| integer | Number of parallel runs allowed for the job |
| integer | Number of job retry attempts in case the job is failing |
| integer | Delay in seconds between the retry attempts |
| integer | Timeout configured individually for this job if any (in minutes) |
| boolean | Indicates if |
| boolean | Indicates if |
| string | Status of last execution of |
| string | Reason why the execution of |
| timestamp | Timestamp when the job was triggered to start (actual execution may start later if the job is queued) |
| timestamp | Timestamp when the actual job execution started |
| timestamp | Timestamp when the job finished execution |
| timestamp | Timestamp when |
| timestamp | Timestamp when |
| string | Account that was used to create |
| string | Account that was used to last modify |
| string | Warnings risen during the last job run if any |
| string | Name of the job owner |
| string | Runner of the job (CALLER or OWNER) |
| string | Job UUID |
Columns lastStartTime
, lastStartExecTime,
and lastEndTime
are available since v25.2
SYSADMIN.Schedules
This table supplies information on schedules.
Column Name | Type | Description |
---|---|---|
| biginteger | Schedule ID |
| biginteger | Job ID |
| string | Schedule type |
| biginteger | Interval in minutes |
| biginteger | Start delay in minutes |
| string | Cron expression |
| boolean | Flag to signal if the schedule is enabled or not |
| string | *** |
| timestamp | Timestamp of the next expected execution |
| timestamp | Timestamp of schedule creation |
| timestamp | Timestamp of schedule modification |
| string | User who created the schedule |
| string | User who modified the schedule |
| string | Unique name for the schedule |
| string | Name of a queue handler |
| string | Name of the schedule owner |
| string | Schedule UUID |
| string | Time zone for schedule ("timezoneId" from SYSADMIN.Timezones) |
SYSADMIN.JobQueue
This table supplies information on jobs in queues.
Column Name | Type | Description |
---|---|---|
| string | Job queue item ID |
| long | Position in the queue |
| integer | Item priority |
| biginteger | Virtual database ID |
| biginteger | Job ID |
| biginteger | Schedule ID |
| string | Queue handler name |
SYSADMIN.JobQueueHandlersStats
This table supplies state thread pool information for each job queue handler.
Column Name | Type | Description |
---|---|---|
| string | Id column |
| string | Name of the thread |
| string | Queue handler name |
| string | Name of the queue handler which job is supposed to use |
| biginteger | Id of the virtual database where the job should run |
jobId | biginteger | Id of the running job |
scheduleId | biginteger | Id of the schedule that triggered the job |
runId | biginteger | Id of the job run in the |
startTime | timestamp | Start time of the job |
jobName | string |
|
jobDescr | string | Job description |
runState | string | Service field providing debug information for our engineers |
SYSADMIN.JobQueueStats
This table supplies information on job queue handlers statistics. There is a row for every queue handler and an additional row with queueHandler
name <total>
for total statistics.
Column Name | Type | Description |
---|---|---|
| string | Queue handler name |
| integer | Thread count of this queue handler |
| integer | Shows total max job queue size in <total> row. -1 for all other rows |
| integer | Number of currently running jobs |
| long | Number of finished job runs |
| long | Number of jobs in the queue |
SYSADMIN.Timezones Table
This table supplies information about time zones and their UTC offset
Value | Description |
---|---|
| Unique ID of the time zone itself |
| Time zone name |
| UTC offset currently applied to the time zone |
| Daylight saving time UTC offset of the time zone |
| Standard time UTC offset of the time zone |