oracle数据库如何创建表空间,临时表空间

目标 1.创建表空间 lxy

       2.创建临时表空间tmp_lxy

create tablespace lxy datafile '/u01/app/oracle/oradata/LXY/lxy.dbf' size 50M;
create temporary tablespace tmp_lxy tempfile '/u01/app/oracle/oradata/LXY/tmp_lxy.dbf' size 50M; 

数据文件路径: $ORACLE_BASE/oradata/<ORACLE_SID> 

数据文件格式 .dbf

表空间需要指定datafile

临时表空间需要指定tempfile

原文地址:https://www.cnblogs.com/liuxiya/p/6142126.html