重建临时表空间
可以在线做
sql>create temporary tablespace temp1 tempfile '/dev/vg_data04/rlv_data232'; ---建立过渡表空间。
sql>alter database default temporary tablespace temp1; ---切换默认临时表空间TEMP1
sql>drop tablespace temp including contents and datafiles; ---删除原来的表空间
sql>create temporary tablespace temp tempfile
'/dev/vg_data01/rlv_temp1',
'/dev/vg_data01/rlv_temp2',
'/dev/vg_data01/rlv_temp3',
......
'/dev/vg_data01/rlv_temp10'; ---建立TEMP表空间
sql>alter database default temporary tablespace temp; ---切换默认临时表空间TEMP
sql>drop tablespace temp1 including contents and datafiles; ---删除TEMP1过渡表空间
阅读(1137) | 评论(0) | 转发(0) |