一、程序報錯,沒法進行修改操做,經過日誌,看到以下錯誤oracle
二、經過google查詢,問題是表空間文件不夠了google
SELECT a.tablespace_name "表空間名",a.bytes / 1024 / 1024 "表空間大小(M)",(a.bytes - b.bytes) / 1024 / 1024 "已使用空間(M)",b.bytes / 1024 / 1024 "空閒空間(M)",round(((a.bytes - b.bytes) / a.bytes) * 100, 2) "使用比" FROM (SELECT tablespace_name, sum(bytes) bytes FROM dba_data_files GROUP BY tablespace_name) a,(SELECT tablespace_name, sum(bytes) bytes, max(bytes) largest FROM dba_free_space GROUP BY tablespace_name) b WHERE a.tablespace_name = b.tablespace_name ORDER BY ((a.bytes - b.bytes) / a.bytes) DESC;
三、查看錶空間文件位置spa
SELECT * FROM dba_data_files WHERE tablespace_name = 'LMSTEST';
四、增長表空間文件日誌
alter tablespace LMSTEST add datafile '/home/oracle/data/lmstest.dbf' size 5120M;