简化一下: 1、export要减少数据文件的表空间,例: c:\>exp test/test file=tbs.dmp tablespace=(tbs) 2、使用include content子句删除表空间,例: sql>drop tablespace tbs including contents; c:>del \oracle\oradata\tbs*.dbf 3、重建表空间,例: sql>create tablespace tbs datafile '\oracle\oradata\tbs01.dbf' size 500m; 4、import表空间的所有数据对象,例: c:\>imp test/test file=tbs.tmp full=y ignore=y log=tbs.log
一种方案: 1、使用exp逻辑导出在该表空间的用户的所有对象; 2、删除用户,删除表空间数据文件,并重建表空间,增加用户; 3、使用imp导入相应的对象;
17,377
社区成员
95,127
社区内容
加载中
试试用AI创作助手写篇文章吧