文档解释
ORA-31675: worker process interrupt for unexpected death of master process
Cause: A worker process was requested to clean up and exit (signaled by PMON, doing cleanup because the master process died unexpectedly).
Action: If this error occurs from a Data Pump client (e.g. expdp or impdp), it means that the master process for the operation died unexpectedly. Check the log file for the operaton and the trace file for the master process for any additional information. Try the operation again. If the error occurs again, contact Oracle Customer Support and report the error.
ORA-31675是Oracle数据库错误,发生在重建一个重要的组件时。一个重要的组件(例如,一个索引或者一个表)由多个进程完成,其中一个主要的进程发生意外的死亡,就会发出ORA-31675错误。
Oracle官方解释是:“工作进程被中断,因为主进程意外死亡。”
常见的情况就是主要的进程正在重建一个重要的组件的时候死亡,而且重建的时候已经产生了很多的子进程了。
一般处理方法及步骤
1.在检查主进程死亡原因之前,可以使用“alter system kill session”杀死子进程,以避免表被锁定,因为子进程会持续运行。
2.然后根据死亡原因,重新启动进程,继续重建表。
3.可以使用“ALTER TABLE table_name
MOVE TABLESPACE new_tablespace;”命令重新建立表,以恢复表状态。
4.如果存在索引,可以使用“ALTER INDEX index_name REBUILD;”重新建立索引。