首页 > 应用开发 > IT综合 > 重命名tempfile遇到的问题
10gR2以前的版本, 如果temp tablespace 是 locally managed, 不能 rename, 只能drop 老的, 然后加新的.
[@more@]
具体操作:
alter database tempfile 'old_temp_file' offline;
alter database tempfile 'old_temp_file' drop;
alter tablespace temp add tempfile 'new_tempfile' size ... ;
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/10434417/viewspace-926112/ ,如需转载,请注明出处,否则将追究法律责任。