SQL> create tablespace eh datafile '/home/oracle/eh.dbf'size 10m autoextend on;
SQL> shutdown immediate
SQL> !
[oracle@ly003 ~]$ mv eh.dbf /u01/app/oracle/oradata/VDEDU/eh.dbf
[oracle@ly003 ~]$ sqlplus / as sysdba
SQL> startup mount
SQL> alter database open;
mount状态调整空间数据文件位置和名称
![](https://img2024.cnblogs.com/blog/35695/202408/35695-20240826070647288-243310440.jpg)