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:

 

评分:0

我来说两句

显示全部

:loveliness: :handshake :victory: :funk: :time: :kiss: :call: :hug: :lol :'( :Q :L ;P :$ :P :o :@ :D :( :)

日历

« 2008-09-06  
 123456
78910111213
14151617181920
21222324252627
282930    

数据统计

  • 访问量: 549
  • 日志数: 34
  • 建立时间: 2008-04-05
  • 更新时间: 2008-08-18

RSS订阅

Open Toolbar