Drop tablespace一波三折
上一篇 /
下一篇 2008-05-26 02:32:00
/ 个人分类:Oracle
为了释放一些空间,企图drop tablespace,其步骤大致如下:
1:move table
alter table dbmt_constraint move tablespace users;
ora-00997 because of long datatype;
write a procedure to tranfer long datatype data into a normal datatype table;
create table a as select b.col1,b.col2,to_lob(b.collong) from b;
deal it, the same to second
exp, drop,create,imp
2:drop tablespace
ora-22868 because of lob object;
exp tables=table_name,drop table imp file=file_name.dmp indexfile=indexfile.txt,
cat indexfile.txt,modify tablespace info ,create table
imp file=file_name.dmp full=y ignore=y
3:lsvg -l |grep close not found conference lv
fuser -k /dev/rlvname
导入论坛
引用链接
收藏
分享给好友
推荐到圈子
管理
举报
TAG: