-----扩充表空间----- ###新建表空间
- create tablespace 表空间名 datafile '/u01/app/oracle/oradata/XE/control.dbf'
size 50M
autoextend on next 1M maxsize 100M; ###查找表空间
select tablespace_name,file_id,file_name,round(bytes/(1024*1024),0) total_space from dba_data_files order by tablespace_name
###扩充默认大小 alter database datafile '/u01/app/oracle/oradata/XE/SJ_BUZMGT.dbf' resize 500m; ###修改追加大小和最大容量 alter database datafile '/u01/app/oracle/oradata/XE/SJ_BUZMGT.dbf' autoextend on next 10m maxsize 600m;