ITPub博客

首页 > 应用开发 > IT综合 > 重命名tempfile遇到的问题

重命名tempfile遇到的问题

原创 IT综合 作者:laobie 时间:2007-07-12 07:10:33 0 删除 编辑

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/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: 谁用多少undo?
请登录后发表评论 登录
全部评论
  • 博文量
    4
  • 访问量
    4122