- 最后登录
- 2023-8-16
- 在线时间
- 1686 小时
- 威望
- 2135
- 金钱
- 50532
- 注册时间
- 2011-10-12
- 阅读权限
- 200
- 帖子
- 5207
- 精华
- 39
- 积分
- 2135
- UID
- 2
|
2#
发表于 2012-7-9 21:49:56
1* SELECT JOB_ID, EXECUTION_ID, STEP_ID, STEP_NAME, STEP_TYPE, ITERATE_PARAM, ITERATE_PARAM_INDEX, COMMAND_TYPE, TIMEZONE_REGION FROM SYSMAN.MGMT_JOB_EXECUTION J
SQL> /
JOB_ID EXECUTION_ID STEP_ID STEP_NAME STEP_TYPE ITERATE_PARAM
-------------------------------- -------------------------------- ---------- ---------------------------------------------------------------- ---------- --------------------------------
ITERATE_PARAM_INDEX COMMAND_TYPE TIMEZONE_REGION
------------------- ------------ ----------------------------------------------------------------
C35FDD904E6DA7B6E040A8C0BF016E1A C4668A1B2E06E383E040A8C0BF0118DC 21 REFRESH_FROM_METALINK_JOB 7
-1 -04:00
C35FDD904E6DA7B6E040A8C0BF016E1A C4668A1B2E06E383E040A8C0BF0118DC 22 RefreshFromMetalinkJob 2
-1 -04:00
C35FDD904E6DA7B6E040A8C0BF016E1A C4668A1B2E06E383E040A8C0BF0118DC 23 RefreshFromMetalink 1
-1 1 -04:00
C466ADDE3E8ADE06E040A8C0BF011894 C466ADDE3E8DDE06E040A8C0BF011894 24 BACKUP_G10R25_000001 7
-1 -4:0
C466ADDE3E8ADE06E040A8C0BF011894 C466ADDE3E8DDE06E040A8C0BF011894 25 main 2
-1 -4:0
C466ADDE3E8ADE06E040A8C0BF011894 C466ADDE3E8DDE06E040A8C0BF011894 26 blackout 2
-1 -4:0
C466ADDE3E8ADE06E040A8C0BF011894 C466ADDE3E8DDE06E040A8C0BF011894 27 PreBackup 8
-1 1 -4:0
7 rows selected.
MGMT_JOB_EXECUTION
rem MGMT_JOB_EXECUTION
rem
rem PURPOSE
rem The MGMT_JOB_EXECUTION table tracks the status of all the steps
rem and stepsets of each execution of a job.
rem
rem COLUMNS
rem JOB_ID The id of the job
rem
rem EXECUTION_ID The execution id of this execution.
rem
rem STEP_NAME The name of the step
rem
rem STEP_TYPE The step type; See MGMT_JOB_EXECPLAN
rem
rem STEP_ID The step id
rem
rem SOURCE_STEP_ID The step id of the corresponding step if this is a
rem restart execution
rem
rem ORIGINAL_STEP_ID If this step id is copied from another step in
rem a source execution, the "original" step id
rem
rem RESTART_MODE For stepsets and jobs, this value overrides the
rem actual restart mode that their constituent steps may have
rem
rem COMMAND_TYPE 0 for short-running, 1 for long-running
rem
rem ITERATE_PARAM For iterative stepsets (or thier children), the
rem current value of the param to iterate over
rem
rem PARENT_STEP_ID The sequence number of the parent step-set
rem
rem STEP_STATUS The status of the step. Possible values are
rem 1 SCHEDULED
rem 2 EXECUTING
rem 3 ABORTED
rem 4 FAILED
rem 5 COMPLETED
rem
rem STEP_STATUS_CODE The "status code" of the step
rem
rem NUM_CHILDREN The number of child step(sets) of this stepset
rem that are scheduled for execution.
rem
rem NUM_CHILDREN_COMPLETED In the case of a stepset, the number of
rem children of this stepset that are finished executing (whether
rem they failed, completed, or aborted).
rem
rem OUTPUT_ID The output ID of this step.
rem
rem ERROR_ID The ID corresponding to the error text for this step
rem
rem START_TIME The start time of this step
rem
rem END_TIME The end time of this step
rem
rem TIMEZONE_REGION The timezone region associated with this
rem execution
rem
rem SEQUENCE_NUMBER The sequence number of the last chunk that was used
rem to update the status/output/error of this step. This avoids
rem multiple updates. This only applies to async remote ops.
rem
rem DISPATCHER_ID The ID of the dispatcher that is currently processing
rem this step; zero (0) if none
rem
rem EMD_URL For asynchronous remote operations only: the URL of the emd
rem that the remote op was dispatched to
rem
CREATE TABLE MGMT_JOB_EXECUTION (
job_id RAW(16),
execution_id RAW(16),
step_id INTEGER,
source_step_id INTEGER,
original_step_id INTEGER DEFAULT -1,
restart_mode INTEGER DEFAULT 1,
step_name VARCHAR2(64),
step_type NUMBER(1),
command_type NUMBER(1),
iterate_param VARCHAR2(32),
iterate_param_index NUMBER(8),
parent_step_id INTEGER,
step_status NUMBER(2),
step_status_code NUMBER(5) DEFAULT 0,
num_children INTEGER DEFAULT 0,
num_children_completed INTEGER DEFAULT 0,
output_id RAW(16) DEFAULT NULL,
error_id RAW(16) DEFAULT NULL,
start_time DATE,
end_time DATE DEFAULT NULL,
timezone_region VARCHAR2(64),
sequence_number NUMBER(6) DEFAULT -1,
dispatcher_id INTEGER DEFAULT -1,
emd_url VARCHAR2(1024) DEFAULT NULL,
CONSTRAINT PK_MGMT_JOB_EXECUTION PRIMARY KEY(step_id)
) PCTFREE 30
MONITORING;
|
|