• <fieldset id="8imwq"><menu id="8imwq"></menu></fieldset>
  • <bdo id="8imwq"><input id="8imwq"></input></bdo>
    最新文章專題視頻專題問答1問答10問答100問答1000問答2000關鍵字專題1關鍵字專題50關鍵字專題500關鍵字專題1500TAG最新視頻文章推薦1 推薦3 推薦5 推薦7 推薦9 推薦11 推薦13 推薦15 推薦17 推薦19 推薦21 推薦23 推薦25 推薦27 推薦29 推薦31 推薦33 推薦35 推薦37視頻文章20視頻文章30視頻文章40視頻文章50視頻文章60 視頻文章70視頻文章80視頻文章90視頻文章100視頻文章120視頻文章140 視頻2關鍵字專題關鍵字專題tag2tag3文章專題文章專題2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章專題3
    問答文章1 問答文章501 問答文章1001 問答文章1501 問答文章2001 問答文章2501 問答文章3001 問答文章3501 問答文章4001 問答文章4501 問答文章5001 問答文章5501 問答文章6001 問答文章6501 問答文章7001 問答文章7501 問答文章8001 問答文章8501 問答文章9001 問答文章9501
    當前位置: 首頁 - 科技 - 知識百科 - 正文

    UDE-00008ORA-31626ORA-06512ORA-25254

    來源:懂視網 責編:小采 時間:2020-11-09 14:48:44
    文檔

    UDE-00008ORA-31626ORA-06512ORA-25254

    UDE-00008ORA-31626ORA-06512ORA-25254:今天在導出一個模式的時候,約140GB,出現如下錯誤: UDE-00008: operation generated ORACLE error 31626 ORA-31626: job does not exist ORA-06512: at SYS.KUPC$QUE_INT, line 536 ORA-25254: time-out
    推薦度:
    導讀UDE-00008ORA-31626ORA-06512ORA-25254:今天在導出一個模式的時候,約140GB,出現如下錯誤: UDE-00008: operation generated ORACLE error 31626 ORA-31626: job does not exist ORA-06512: at SYS.KUPC$QUE_INT, line 536 ORA-25254: time-out

    今天在導出一個模式的時候,約140GB,出現如下錯誤: UDE-00008: operation generated ORACLE error 31626 ORA-31626: job does not exist ORA-06512: at SYS.KUPC$QUE_INT, line 536 ORA-25254: time-out in LISTEN while waiting for a message ORA-06512:

    今天在導出一個模式的時候,約140GB,出現如下錯誤:

    UDE-00008: operation generated ORACLE error 31626
    ORA-31626: job does not exist
    ORA-06512: at "SYS.KUPC$QUE_INT", line 536
    ORA-25254: time-out in LISTEN while waiting for a message
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 2772
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 3886
    ORA-06512: at line 1

    MOS上面給的解釋:

    CAUSE

    The problem is due to the fact that there are so-called orphaned Datapump jobs (i.e. Datapump actions that failed but are not cleaned up properly) still in the database.

    SOLUTION

    The solution is to clean the traces of these orphaned jobs by using the steps outlined in
    Note 336014.1 - How To Cleanup Orphaned DataPump Jobs In DBA_DATAPUMP_JOBS ?

    After that, restart the Datapump operation.


    UDE-00008 ORA-31626 ORA-06512 ORA-25254 - 第1張
    UDE-00008 ORA-31626 ORA-06512 ORA-25254 - 第2張 How To Cleanup Orphaned DataPump Jobs In DBA_DATAPUMP_JOBS ? (文檔 ID 336014.1) UDE-00008 ORA-31626 ORA-06512 ORA-25254 - 第3張 轉到底部

    In this Document

    Goal
    Solution
    Additional Resources

    APPLIES TO:

    Oracle Database – Enterprise Edition – Version 10.1.0.2 to 12.1.0.1 [Release 10.1 to 12.1]
    Oracle Database – Standard Edition – Version 10.1.0.2 to 12.1.0.1 [Release 10.1 to 12.1]
    Oracle Database – Personal Edition – Version 10.1.0.2 to 12.1.0.1 [Release 10.1 to 12.1]
    Enterprise Manager for Oracle Database – Version 10.1.0.2 to 12.1.0.6.0 [Release 10.1 to 12.1]
    Information in this document applies to any platform.
    ***Checked for relevance on 29-Apr-2014***

    GOAL

    How to cleanup orphaned Data Pump jobs in DBA_DATAPUMP_JOBS ?

    SOLUTION

    The jobs used in this example:
    - Export job SCOTT.EXPDP_20051121 is a schema level export that is running
    - Export job SCOTT.SYS_EXPORT_TABLE_01 is an orphaned table level export job
    - Export job SCOTT.SYS_EXPORT_TABLE_02 is a table level export job that was stopped
    - Export job SYSTEM.SYS_EXPORT_FULL_01 is a full database export job that is temporary stopped


    Step 1. Determine in SQL*Plus which Data Pump jobs exist in the database:

    %sqlplus /nolog

    CONNECT / as sysdba
    SET lines 200
    COL owner_name FORMAT a10;
    COL job_name FORMAT a20
    COL state FORMAT a12
    COL operation LIKE state
    COL job_mode LIKE state
    COL owner.object for a50

    – locate Data Pump jobs:

    SELECT owner_name, job_name, rtrim(operation) "OPERATION",
    rtrim(job_mode) "JOB_MODE", state, attached_sessions
    FROM dba_datapump_jobs
    WHERE job_name NOT LIKE 'BIN$%'
    ORDER BY 1,2;

    OWNER_NAME JOB_NAME OPERATION JOB_MODE STATE ATTACHED
    ———- ——————- ——— ——— ———– ——–
    SCOTT EXPDP_20051121 EXPORT SCHEMA EXECUTING 1
    SCOTT SYS_EXPORT_TABLE_01 EXPORT TABLE NOT RUNNING 0
    SCOTT SYS_EXPORT_TABLE_02 EXPORT TABLE NOT RUNNING 0
    SYSTEM SYS_EXPORT_FULL_01 EXPORT FULL NOT RUNNING 0

    Step 2. Ensure that the listed jobs in dba_datapump_jobs are not export/import Data Pump jobs that are active: status should be 'NOT RUNNING'.

    Step 3. Check with the job owner that the job with status 'NOT RUNNING' in dba_datapump_jobs is not an export/import Data Pump job that has been temporary stopped, but is actually a job that failed. (E.g. the full database export job by SYSTEM is not a job that failed, but was deliberately paused with STOP_JOB).

    Step 4. Determine in SQL*Plus the related master tables:

    – locate Data Pump master tables:

    SELECT o.status, o.object_id, o.object_type,
    o.owner||'.'||object_name "OWNER.OBJECT"
    FROM dba_objects o, dba_datapump_jobs j
    WHERE o.owner=j.owner_name AND o.object_name=j.job_name
    AND j.job_name NOT LIKE 'BIN$%' ORDER BY 4,2;

    STATUS OBJECT_ID OBJECT_TYPE OWNER.OBJECT
    ——- ———- ———— ————————-
    VALID 85283 TABLE SCOTT.EXPDP_20051121
    VALID 85215 TABLE SCOTT.SYS_EXPORT_TABLE_02
    VALID 85162 TABLE SYSTEM.SYS_EXPORT_FULL_01

    Step 5. For jobs that were stopped in the past and won't be restarted anymore, delete the master table. E.g.:

    DROP TABLE scott.sys_export_table_02;

    – For systems with recycle bin additionally run:
    purge dba_recyclebin;

    Step 6. Re-run the query on dba_datapump_jobs and dba_objects (step 1 and 4). If there are still jobs listed in dba_datapump_jobs, and these jobs do not have a master table anymore, cleanup the job while connected as the job owner. E.g.:

    CONNECT scott/tiger

    SET serveroutput on
    SET lines 100
    DECLARE
    h1 NUMBER;
    BEGIN
    h1 := DBMS_DATAPUMP.ATTACH('SYS_EXPORT_TABLE_01','SCOTT');
    DBMS_DATAPUMP.STOP_JOB (h1);
    END;
    /

    Note that after the call to the STOP_JOB procedure, it may take some time for the job to be removed. Query the view user_datapump_jobs to check whether the job has been removed:

    CONNECT scott/tiger

    SELECT * FROM user_datapump_jobs;

    Step 7. Confirm that the job has been removed:

    CONNECT / as sysdba
    SET lines 200
    COL owner_name FORMAT a10;
    COL job_name FORMAT a20
    COL state FORMAT a12
    COL operation LIKE state
    COL job_mode LIKE state
    COL owner.object for a50

    – locate Data Pump jobs:

    SELECT owner_name, job_name, rtrim(operation) "OPERATION",
    rtrim(job_mode) "JOB_MODE", state, attached_sessions
    FROM dba_datapump_jobs
    WHERE job_name NOT LIKE 'BIN$%'
    ORDER BY 1,2;

    OWNER_NAME JOB_NAME OPERATION JOB_MODE STATE ATTACHED
    ———- ——————- ——— ——— ———– ——–
    SCOTT EXPDP_20051121 EXPORT SCHEMA EXECUTING 1
    SYSTEM SYS_EXPORT_FULL_01 EXPORT FULL NOT RUNNING 0

    – locate Data Pump master tables:

    SELECT o.status, o.object_id, o.object_type,
    o.owner||'.'||object_name "OWNER.OBJECT"
    FROM dba_objects o, dba_datapump_jobs j
    WHERE o.owner=j.owner_name AND o.object_name=j.job_name
    AND j.job_name NOT LIKE 'BIN$%' ORDER BY 4,2;

    STATUS OBJECT_ID OBJECT_TYPE OWNER.OBJECT
    ——- ———- ———— ————————-
    VALID 85283 TABLE SCOTT.EXPDP_20051121
    VALID 85162 TABLE SYSTEM.SYS_EXPORT_FULL_01
    Remarks:
    1. Orphaned Data Pump jobs do not have an impact on new Data Pump jobs. The view dba_datapump_jobs is a view, based on gv$datapump_job, obj$, com$, and user$. The view shows the Data Pump jobs that are still running, or jobs for which the master table was kept in the database, or in case of an abnormal end of the Data Pump job (the orphaned job). If a new Data Pump job is started, a new entry will be created, which has no relation to the old Data Pump jobs.

    2. When starting the new Data Pump job and using a system generated name, we check the names of existing Data Pump jobs in the dba_datapump_job in order to obtain a unique new system generated jobname. Naturally, there needs to be enough free space for the new master table to be created in the schema that started the new Data Pump job.

    3. A Data Pump job is not the same as a job that is defined with DBMS_JOBS. Jobs created with DBMS_JOBS use there own processes. Data Pump jobs use a master process and worker process(es). In case a Data Pump still is temporary stopped (STOP_JOB while in interactive command mode), the Data Pump job still exists in the database (status: NOT RUNNING), while the master and worker process(es) are stopped and do not exist anymore. The client can attach to the job at a later time, and continue the job execution (START_JOB).

    4. The possibility of corruption when the master table of an active Data Pump job is deleted, depends on the Data Pump job.

    4.a. If the job is an export job, corruption is unlikely as the drop of the master table will only cause the Data Pump master and worker processes to abort. This situation is similar to aborting an export of the original export client.

    4.b. If the job is an import job then the situation is different. When dropping the master table, the Data Pump worker and master processes will abort. This will probably lead to an incomplete import: e.g. not all table data was imported, and/or table was imported incomplete, and indexes, views, etc. are missing. This situation is similar to aborting an import of the original import client.

    The drop of the master table itself, does not lead to any data dictionary corruption. If you keep the master table after the job completes (using the undocumented parameter: KEEP_MASTER=Y), then a drop of the master table afterwards, will not cause any corruption

    聲明:本網頁內容旨在傳播知識,若有侵權等問題請及時與本網聯系,我們將在第一時間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com

    文檔

    UDE-00008ORA-31626ORA-06512ORA-25254

    UDE-00008ORA-31626ORA-06512ORA-25254:今天在導出一個模式的時候,約140GB,出現如下錯誤: UDE-00008: operation generated ORACLE error 31626 ORA-31626: job does not exist ORA-06512: at SYS.KUPC$QUE_INT, line 536 ORA-25254: time-out
    推薦度:
    • 熱門焦點

    最新推薦

    猜你喜歡

    熱門推薦

    專題
    Top
    主站蜘蛛池模板: 久久久WWW成人免费精品| 精品多毛少妇人妻AV免费久久| 国产韩国精品一区二区三区| 精品久久久久久无码专区 | 亚洲av午夜成人片精品网站| 久久国产精品一区| 麻豆精品三级全部视频 | 亚洲精品动漫免费二区| 中文无码久久精品| 国产综合色在线精品| 久久精品国产91久久综合麻豆自制| 国产精品久久久久久久久免费| 老司机91精品网站在线观看| 国产精品 码ls字幕影视| 亚洲国产人成精品| 99精品在线观看| 久草视频精品在线| 99在线精品免费视频九九视| 国产成人精品cao在线| 亚洲国产精品嫩草影院在线观看 | 精品深夜AV无码一区二区| 国产精品热久久毛片| 无码少妇精品一区二区免费动态| 国产精品青草久久久久婷婷| 久久九九久精品国产| 第一福利永久视频精品| 日韩欧美国产精品第一页不卡| 久久精品无码专区免费青青 | 久久精品国产亚洲综合色| 亚洲精品国产va在线观看蜜芽| 久久精品国产精品青草| 亚洲国产一成久久精品国产成人综合| 国产精品1024香蕉在线观看| 欧美日韩综合精品| 国产成人精品亚洲精品| 精品国产午夜理论片不卡| 免费看一级毛片在线观看精品视频 | 99久久久精品免费观看国产| 久久se精品一区精品二区国产| 999久久久无码国产精品| 亚洲精品在线视频|