oracle报警ORA-25153: Temporary Tablespace is Empty解决方法
Mon Jan 05 22:00:13 2015
Errors in file c:\oracle\product\10.2.0\admin\netdb\bdump\netdb_j001_19228.trc:
ORA-25153: Temporary Tablespace is Empty
解决方案
1. Ensure you have a good backup before proceeding.
--备份数据库
2. Create a copy of the SYSMAN.MGMT_METRICS_RAW table:
--通过下面SQL命令,重新拷贝一个SYSMAN.MGMT_METRICS_RAW
SQL> create table SYSMAN.MGMT_METRICS_RAW_COPY as select* from SYSMAN.MGMT_METRICS_RAW;
3. Truncate the table:
--通过下面命令清除SYSMAN.MGMT_METRICS_RAW内容
SQL> truncate table SYSMAN.MGMT_METRICS_RAW;
May need to disable trigger: "sysman.raw_metrics_after_insert"before proceeding.
Re-enableafter the insert.
先尝试执行上述truncate命令,如有触发器导致不能执行成功,再停止触发器。(图形客户端,打开触发器,找到对应对象,禁用触发器。)
4. Re-insert the rows:
--通过下面命令,用拷贝表恢复原表内容。
SQL> insert into SYSMAN.MGMT_METRICS_RAW select* from SYSMAN.MGMT_METRICS_RAW_COPY;
SQL> commit;
--注意,insert完要commit提交才能生效。
5. Drop the copy table:
--恢复完成后,删除拷贝表。非必须操作,最后扫尾时执行即可。
SQL> drop table SYSMAN.MGMT_METRICS_RAW_COPY;

浙公网安备 33010602011771号