ZCA_BATCH_RUNS
Stores durable run headers for generic batch processes.
Details
-
Schema: FUSION
-
Object owner: ZCA
-
Object type: TABLE
-
Tablespace: Default
Primary Key
| Name | Columns |
|---|---|
|
ZCA_BATCH_RUNS_PK |
BATCH_RUN_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| BATCH_RUN_ID | NUMBER | 18 | Yes | Primary key for the batch process run. | |
| PROCESS_CODE | VARCHAR2 | 100 | Yes | Code that identifies the process using this run row. | |
| RUN_MODE | VARCHAR2 | 30 | Yes | Process run mode, such as ONE_TIME or INCREMENTAL. | |
| CONFIGURATION | CLOB | Locked process-specific configuration snapshot used for this run. | |||
| STATUS | VARCHAR2 | 30 | Yes | Run lifecycle status, such as PENDING, PROCESSING, COMPLETE, or ERROR. | |
| CURRENT_PHASE | VARCHAR2 | 100 | Current process-defined phase used for retry, resume, and troubleshooting. | ||
| CURRENT_BATCH_ID | NUMBER | 18 | Current batch being processed or retried. | ||
| START_TIME | TIMESTAMP | Timestamp when the run started. | |||
| END_TIME | TIMESTAMP | Timestamp when the run ended. | |||
| EXECUTION_SUMMARY | CLOB | Process-specific summary payload, such as counts, errors, and audit details. | |||
| REQUEST_ID | NUMBER | 18 | Enterprise Service Scheduler: indicates the request ID of the job that created or last updated the row. | ||
| CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | |
| CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
| LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | |
| LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | ||
| LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | ||
| OBJECT_VERSION_NUMBER | NUMBER | 9 | Yes | Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried. |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| ZCA_BATCH_RUNS_N1 | Non Unique | Default | STATUS, PROCESS_CODE, RUN_MODE, "START_TIME" |
| ZCA_BATCH_RUNS_N2 | Non Unique | Default | REQUEST_ID |
| ZCA_BATCH_RUNS_PK | Unique | Default | BATCH_RUN_ID |