三步手工扩大Oracle数据库表空间
1、首先查看表空间的名字和所属文件 select tablespace_name, file_id, file_name, round(bytes/(1024*1024),0) total_space from dba_data_files order by tablespace_name; 2、增加数据文件 alter tablespace users add datafile '/
1、首先查看表空间的名字和所属文件
select tablespace_name, file_id, file_name, |
2、增加数据文件
alter tablespace users add datafile '/u01/oracle/oradata/umail/users02.dbf'size 4000M autoextend off; |
3、设定后查看表空间信息
SELECT A.TABLESPACE_NAME,A.BYTES TOTAL,B.BYTES USED, C.BYTES FREE, |
完成。
【相关文章】
精彩图集
精彩文章



