1.表空间offline
SQL> alter tablespace t_tbs offline;
Tablespace altered.
2.在os上移动数据文件并重命名
3.修改数据库重命名
SQL> alter database rename file 'E:\oracle\product\10.2.0\oradata\orcl\ORCL\DATAFILE\O1_MF_T_TBS_9WZ8XO0Z_.DBF' to 'E:\oracle\product\10.2.0\oradata\o
rcl\t_tbs01.dbf';
Database altered.
4.表空间online
SQL> alter tablespace t_tbs online;
Tablespace altered.
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/26937943/viewspace-1225707/ ,如需转载,请注明出处,否则将追究法律责任。