执行导出方案时报错:
EXP-00056: 遇到 ORACLE 错误 25153
ORA-25153: 临时表空间为空
EXP-00000: 导出终止失败
操作如下
M:\oracle\product\10.1.0\db_2\BIN>exp userid=scott/Sacc2010@myora1 tables=(emp)
file = c:\e1.dmp
Export: Release 10.1.0.2.0 - Production on 星期二 1月 14 15:32:04 2014
Copyright (c) 1982, 2004, Oracle. All rights reserved.
连接到: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
已导出 ZHS16GBK 字符集和 AL16UTF16 NCHAR 字符集
即将导出指定的表通过常规路径...
. . 正在导出表 EMP导出了 16 行
成功终止导出, 没有出现警告。
M:\oracle\product\10.1.0\db_2\BIN>exp system/Sacc2010@myora1 owner=(system,scott
) file=c:\d2.dmp
Export: Release 10.1.0.2.0 - Production on 星期二 1月 14 15:51:53 2014
Copyright (c) 1982, 2004, Oracle. All rights reserved.
连接到: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
已导出 ZHS16GBK 字符集和 AL16UTF16 NCHAR 字符集
即将导出指定的用户...
. 正在导出 pre-schema 过程对象和操作
. 正在导出用户 SYSTEM 的外部函数库名
. 正在导出用户 SCOTT 的外部函数库名
. 导出 PUBLIC 类型同义词
. 正在导出私有类型同义词
. 导出 PUBLIC 类型同义词
. 正在导出私有类型同义词
. 正在导出用户 SYSTEM 的对象类型定义
. 正在导出用户 SCOTT 的对象类型定义
即将导出 SYSTEM 的对象...
. 正在导出数据库链接
. 正在导出序号
. 正在导出簇定义
EXP-00056: 遇到 ORACLE 错误 25153
ORA-25153: 临时表空间为空
EXP-00000: 导出终止失败
处理方法:
SQL> alter tablespace temp add tempfile 'M:\oracle\product\10.1.0\oradata\myora1\emp01.dbf' size 20M reuse;
Tablespace altered
再执行:
M:\oracle\product\10.1.0\db_2\BIN>exp system/Sacc2010@myora1 owner=(system,scott
) file=c:\d2.dmp
提示:成功终止导出, 没有出现警告。
导出完成