SQL> create tablespace he datafile‘/home/oracle/he.dbf‘ size 10m autoextend on;
SQL> alter tablespace he offline normal;
SQL> !
[[email protected] ~]$ mv he.dbf /u01/app/oracle/oradata/VDEDU/he.dbf
[[email protected] ~]$ 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;
原文地址:https://www.cnblogs.com/xingxingdiandian/p/9167501.html
时间: 2024-11-14 13:02:55