ORACLE 转移表空间
来源:互联网 发布:seo关键词排名软件 编辑:程序博客网 时间:2024/04/29 07:23
1.单表转移表空间
场景:有表user存放在表空间oldspace下,需把表user移动到表空间newspace下
执行语句:
alter table user move tablespace newspace;
commit;
2.用户scott下的所有表都转移至表空间newspace下
select 'alter table'||table_name||'move tablespace newspace;commit;'
from user_tables where owner='scott'
但是表user被移动到表空间newspace后,表user上的索引是不是自动转移到表空间newspace
3.索引转移表空间,例如,user表上的索引idx_user
alter index idx_user rebuild tablespace newspace
4.用户scott下的所有索引都转移至表空间newspace下
select 'alter index'||index_name||'rebuild tablespace newspace;commit;'
from user_indexs where owner='scott'
作者“lelong”
0 0
- ORACLE 转移表空间
- ORACLE 转移表空间
- Oracle 10g表转移表空间
- 备忘:oracle用户表转移表空间
- oracle转移表空间和索引
- Oracle表空间数据文件转移方法
- Oracle表空间物理位置转移
- Oracle数据库压缩表空间,进行转移表
- oracle 利用exp/imp做表空间转移
- ORACLE 不同表空间转移数据 问题解决方法
- oracle将审计日志转移到其它表空间
- 转移表空间步骤
- 数据库表空间转移
- 转移表到新的表空间
- 空间转移
- 空间转移
- oracle数据库中的数据导入与导出命令/表空间的转移
- 如何转移表空间存储位置?
- word无法创建工作文件 请检查临时环境变量 问题
- Android定制出厂默认输入法
- mongodb安装笔记【服务没有及时响应或控制请求】
- delphi中如何给工程文件重新命名
- 安装ADOBE LIVECYCLE DESIGNER 9.0后SFP无法使用LAYOUT的解决
- ORACLE 转移表空间
- ORA-609 - opiodr aborting process unknown ospid (18874448) as a result of ORA-609
- 一周学会Linux学习笔记(二)
- Android绘制图片的几种方式
- openMP的一点使用经验
- c#中bin,obj,properties文件夹的作用
- [Linux] 用户切换 - su和sudo
- 转:event.keyCode用法及列表
- [转载]蛋白质相互作用数据库