ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Drop tablespace一波三折

Drop tablespace一波三折

原创 Linux操作系统 作者:jiaochangjun 时间:2008-05-26 02:32:00 0 删除 编辑

为了释放一些空间,企图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

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/13132547/viewspace-310276/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: Hp_Oracle aio 异常
请登录后发表评论 登录
全部评论

注册时间:2008-04-05

  • 博文量
    32
  • 访问量
    48849