Note
This view is available starting with V3.2.1.
Purpose
This view displays an overview of the submitted tasks.
Applicability
This view is available only for OceanBase Database in Oracle-compatible mode.
Columns
| Column | Type | Nullable | Description |
|---|---|---|---|
| JOB | NUMBER(38) | NO | The task identifier. This value remains unchanged after the task is imported, exported, or executed again. |
| LOG_USER | VARCHAR2(128) | NO | The user who submitted the task. |
| PRIV_USER | VARCHAR2(128) | NO | The user to which the default privileges apply. |
| SCHEMA_USER | VARCHAR2(128) | NO | The default schema user for parsing the task. |
| LAST_DATE | DATE | YES | The date when the task was last successfully executed. |
| LAST_SEC | VARCHAR2(32) | YES | The start time of the last successful execution of the task. |
| THIS_DATE | DATE | YES | The date when the task started to be executed. |
| THIS_SEC | VARCHAR2(32) | YES | The start time of the successful execution of the task. |
| NEXT_DATE | DATE | NO | The date when the task will be executed next. |
| NEXT_SEC | VARCHAR2(32) | YES | The start time of the next execution of the task. |
| TOTAL_TIME | NUMBER | YES | The total elapsed time (in seconds) spent on the task since its first execution. This value is cumulative. |
| BROKEN | VARCHAR2(1) | YES | Indicates whether to run the task:
|
| INTERVAL | VARCHAR2(200) | NO | A date function. Records the time interval from the start time of the task to the start time of the next execution. |
| FAILURES | NUMBER(38) | YES | Records the number of successful and failed executions since the last successful execution of the task. |
| WHAT | VARCHAR2(4000) | YES | The body of the anonymous PL/SQL block that is executed for the task. |
| NLS_ENV | VARCHAR2(4000) | YES | Session parameters that describe the NLS environment of the task. |
| MISC_ENV | NULL | YES | Other session parameters applicable to the task. |
| INSTANCE | VARCHAR2(128) | YES | The zone where the task is executed or is being executed. This column is empty by default. |
References
DBA_JOBS