ORA-10615:Invalid tablespace type for temporary tablespace
2011-08-24 14:00
826 查看
使用dmp方法导完库后,发现某些查询报错:ORA-10615:Invalid tablespace type for temporary tablespace
意思是说:临时表空间的表空间类型弄错了!
问题分析
当前执行的sql:
分析一下,这是一个连结查询,需要用到临时表空间(如果加上where关联条件就不会报错了);
再看看当前登录的用户,对应的临时表空间 居然是一个 持久表空间,而不是临时表空间,所以这就是问题的原因了。
解决办法
将当前用户对应的临时表空间换成一个真正的临时表空间(可以删除重建,也可以使用系统默认的临时表空间TEMP):
再执行上面的查询,不再报错了~
意思是说:临时表空间的表空间类型弄错了!
问题分析
当前执行的sql:
select * from tab_a, table_b
分析一下,这是一个连结查询,需要用到临时表空间(如果加上where关联条件就不会报错了);
再看看当前登录的用户,对应的临时表空间 居然是一个 持久表空间,而不是临时表空间,所以这就是问题的原因了。
解决办法
将当前用户对应的临时表空间换成一个真正的临时表空间(可以删除重建,也可以使用系统默认的临时表空间TEMP):
-- Modify the user alter user RES temporary tablespace TEMP;
再执行上面的查询,不再报错了~
相关文章推荐
- ORA-10635: Invalid segment or tablespace type
- ORA-10635: Invalid segment or tablespace type
- ORA-10635: Invalid segment or tablespace type
- ORA-10635: Invalid segment or tablespace type
- ORA-10635: Invalid segment or tablespace type
- ORA-10635: Invalid segment or tablespace type
- ORA-10635: Invalid segment or tablespace type
- ORA-39921: Default Partition (Table) Tablespace USERS for TP not contained in transportable set
- 遇到错误 ORA-01536: space quota exceeded for tablespace 'XXX'
- ORA-25153: Temporary Tablespace is Empty
- ORA-32773: operation not supported for smallfile tablespace TOOLS
- 使用EXP导出库出现ORA-25153: Temporary Tablespace is Empty
- ORA-25153: Temporary Tablespace is Empty
- 由 ORA-01536: space quota exceeded for tablespace 引出的研究
- ORA-01536: space quota exceeded for tablespace
- ora-01658 unable to create initial extent for segment in tablespace
- ORA-25153: Temporary Tablespace is Empty
- ora-01552 :cannot use system rollback segment for non-system tablespace 解决
- Oracle 10g 异常:ORA-01658:unable to create INITIAL extent for segmnet in tablespace SYSTEM
- ora-01536 space quota exceeded for tablespace