首页 > 其他 > 详细

open状态调整空间数据文件位置和名称

时间:2018-06-11 16:38:00      阅读:197      评论:0      收藏:0      [点我收藏+]

SQL> create tablespace he datafile‘/home/oracle/he.dbf‘ size 10m autoextend on;
SQL> alter tablespace he offline normal;
SQL> !
[oracle@ly003 ~]$ mv he.dbf /u01/app/oracle/oradata/VDEDU/he.dbf
[oracle@ly003 ~]$ sqlplus / as sysdba
SQL> alter tablespace he rename datafile ‘/home/oracle/he.dbf‘to‘/u01/app/oracle/oradata/VDEDU/he.dbf‘;
SQL> alter tablespace he online;
SQL> alter tablespace he rename to her;

open状态调整空间数据文件位置和名称

原文:https://www.cnblogs.com/xingxingdiandian/p/9167501.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!