Skip to main content
Skip table of contents

Schedules and Jobs

SYSADMIN.ScheduleJobExtraProperties

This table supplies information on all additional properties of jobs.

Column Name

Type

Description

jobId

bigintegerJob ID
name stringProperty name
valstringProperty value

SYSADMIN.ScheduleJobs

This table supplies information on jobs.

Column Name

Type

Description

id

bigintegerJob ID
jobNamestringUnique name
jobTypestringJob type (e.g. recommended optimization, cleanup, etc.)
descriptionstringDescription of the current job
scriptclobScript data (specific for SQL jobs)
disabledbooleanFlag to signal whether the job is enabled or disabled
deletablebooleanFlag to signal whether jobs of a particular type may be deleted
incrementalbooleanFlag to signal whether jobs should be executed for an incremental update (specific for optimization jobs)
newRowCheckExpressionstringNew row check expression (specific for incremental optimization jobs)
identityExpressionstringIdentity expression (specific for incremental optimization jobs)
deleteOldDatabooleanFlag to signal if an incremental job should delete old data or not (specific for incremental optimization jobs)
allowIndexCreationstringTypes of indexes allowed for this optimization job (specific for optimization jobs)
gatherNativeStatsbooleanFlag to signal if native statistics should be gathered or not when a replication job is completed (specific for optimization jobs)
indexCreationByStatusstringString representing the status that the indexes must have to be created after completing the replication
groupIdbigintegerOptimization ID (specific for optimization jobs)
parallelRunsAllowed integer

Number of parallel runs allowed for the job

retryCounter integerNumber of job retry attempts in case the job is failing
retryDelayintegerDelay in seconds between the retry attempts
runTimeoutintegerTimeout configured individually for this job if any (in minutes)
runningbooleanIndicates if scheduleJob is currently running or not
inQueuebooleanIndicates if scheduleJob is currently in a queue
lastExecutionStatusstringStatus of last execution of scheduleJob
lastExecutionFailureReasonstringReason why the execution of scheduleJob failed
creationDatetimestampTimestamp when scheduleJob was created
lastModifiedDatetimestampTimestamp when scheduleJob was last modified
creatorstringAccount that was used to create scheduleJob
modifierstringAccount that was used to last modify scheduleJob
lastWarningsstringWarnings risen during the last job run if any
ownerstringName of the job owner
runAsstringRunner of the job (CALLER or OWNER)
uuidstringJob UUID
uuid, owner, and runAs columns in SYSADMIN.ScheduleJobs are available since v4.1

SYSADMIN.Schedules

This table supplies information on schedules.

Column Name

Type

Description

id

bigintegerSchedule ID
jobIDbigintegerJob ID
typestringSchedule type
intervalbigintegerInterval in minutes
startDelaybigintegerStart delay in minutes
cronExpressionstringCron expression
enabledbooleanFlag to signal if the schedule is enabled or not
chainStringstring***
nextFireTimetimestampTimestamp of the next expected execution
creationDatetimestampTimestamp of schedule creation
lastModifiedDatetimestampTimestamp of schedule modification
creatorstringUser who created the schedule
modifierstringUser who modified the schedule
scheduleNamestringUnique name for the schedule
queueHandlerstringName of a queue handler
ownerstringName of the schedule owner
uuidstringSchedule UUID

uuid and owner columns in SYSADMIN.Schedules are available since v4.1

SYSADMIN.JobQueue

This table supplies information on jobs in queues.

Column Name

Type

Description

id

stringJob queue item ID
positionlongPosition in the queue
priorityintegerItem priority
vdbIDbigintegerVirtual database ID
jobIDbigintegerJob ID
scheduleIDbigintegerSchedule ID
queueHandlerstringQueue handler name

SYSADMIN.JobQueueHandlersStats

This table supplies state  thread pool information for each job queue handler.

Column Name

Type

Description

idstring

Id column

threadName stringName of the thread

queueHandler

stringQueue handler name

desiredHandler

stringName of the queue handler which job is supposed to use

vdbId

bigintegerId of the virtual database where the job should run
jobId
bigintegerId of the running job
scheduleId
bigintegerId of the schedule that triggered the job
runId
bigintegerId of the job run in the SYSLOG.JobLogs system table
startTime

timestamp

Start time of the job
jobName

string

jobName value for the running job
jobDescr
stringJob description
runState
stringService field providing debug information for our engineers

SYSADMIN.JobQueueHandlersStats table is available since v4.1

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

queueHandlerstringQueue handler name
threadCountintegerThread count of this queue handler
maxQueueSizeintegerShows total max job queue size in <total> row. -1 for all other rows
currentlyRunningintegerNumber of currently running jobs
totalRunslongNumber of finished job runs
estimatedInQueuelongNumber of jobs in the queue
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.